├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── workflows │ ├── ci.yml │ ├── danger.yml │ └── rubocop.yml ├── .gitignore ├── .rspec ├── .rubocop.yml ├── .rubocop_todo.yml ├── CHANGELOG.md ├── CONTRIBUTING.md ├── Dangerfile ├── Gemfile ├── Gemfile.danger ├── LICENSE ├── README.md ├── RELEASING.md ├── Rakefile ├── UPGRADING.md ├── graphlient.gemspec ├── lib ├── graphlient.rb └── graphlient │ ├── adapters.rb │ ├── adapters │ ├── http.rb │ └── http │ │ ├── adapter.rb │ │ ├── faraday_adapter.rb │ │ └── http_adapter.rb │ ├── client.rb │ ├── errors.rb │ ├── errors │ ├── client_error.rb │ ├── connection_failed_error.rb │ ├── error.rb │ ├── execution_error.rb │ ├── faraday_server_error.rb │ ├── graphql_error.rb │ ├── http_options_error.rb │ ├── http_server_error.rb │ ├── server_error.rb │ └── timeout_error.rb │ ├── extensions.rb │ ├── extensions │ └── query.rb │ ├── query.rb │ ├── schema.rb │ └── version.rb └── spec ├── graphlient ├── adapters │ └── http │ │ ├── faraday_adapter_spec.rb │ │ └── http_adapter_spec.rb ├── client_query_spec.rb ├── client_schema_spec.rb ├── extensions │ └── query_spec.rb ├── github_query_spec.rb ├── query_spec.rb ├── schema_spec.rb ├── static_client_query_spec.rb └── webmock_client_query_spec.rb ├── spec_helper.rb └── support ├── context ├── dummy_client.rb └── github_client.rb ├── dummy_app.rb ├── dummy_schema.rb ├── fixtures ├── github │ ├── schema.yml │ ├── user.yml │ └── viewer.yml └── invoice_api.json ├── mutations └── create_invoice.rb ├── queries └── query.rb ├── schema └── github.json ├── types ├── invoice_type.rb └── mutation_type.rb └── vcr.rb /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/danger.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/.github/workflows/danger.yml -------------------------------------------------------------------------------- /.github/workflows/rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/.github/workflows/rubocop.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --format documentation 2 | --color -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.rubocop_todo.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/.rubocop_todo.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Dangerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/Dangerfile -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.danger: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/Gemfile.danger -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/README.md -------------------------------------------------------------------------------- /RELEASING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/RELEASING.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/Rakefile -------------------------------------------------------------------------------- /UPGRADING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/UPGRADING.md -------------------------------------------------------------------------------- /graphlient.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/graphlient.gemspec -------------------------------------------------------------------------------- /lib/graphlient.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/lib/graphlient.rb -------------------------------------------------------------------------------- /lib/graphlient/adapters.rb: -------------------------------------------------------------------------------- 1 | require_relative 'adapters/http' 2 | -------------------------------------------------------------------------------- /lib/graphlient/adapters/http.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/lib/graphlient/adapters/http.rb -------------------------------------------------------------------------------- /lib/graphlient/adapters/http/adapter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/lib/graphlient/adapters/http/adapter.rb -------------------------------------------------------------------------------- /lib/graphlient/adapters/http/faraday_adapter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/lib/graphlient/adapters/http/faraday_adapter.rb -------------------------------------------------------------------------------- /lib/graphlient/adapters/http/http_adapter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/lib/graphlient/adapters/http/http_adapter.rb -------------------------------------------------------------------------------- /lib/graphlient/client.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/lib/graphlient/client.rb -------------------------------------------------------------------------------- /lib/graphlient/errors.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/lib/graphlient/errors.rb -------------------------------------------------------------------------------- /lib/graphlient/errors/client_error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/lib/graphlient/errors/client_error.rb -------------------------------------------------------------------------------- /lib/graphlient/errors/connection_failed_error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/lib/graphlient/errors/connection_failed_error.rb -------------------------------------------------------------------------------- /lib/graphlient/errors/error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/lib/graphlient/errors/error.rb -------------------------------------------------------------------------------- /lib/graphlient/errors/execution_error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/lib/graphlient/errors/execution_error.rb -------------------------------------------------------------------------------- /lib/graphlient/errors/faraday_server_error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/lib/graphlient/errors/faraday_server_error.rb -------------------------------------------------------------------------------- /lib/graphlient/errors/graphql_error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/lib/graphlient/errors/graphql_error.rb -------------------------------------------------------------------------------- /lib/graphlient/errors/http_options_error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/lib/graphlient/errors/http_options_error.rb -------------------------------------------------------------------------------- /lib/graphlient/errors/http_server_error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/lib/graphlient/errors/http_server_error.rb -------------------------------------------------------------------------------- /lib/graphlient/errors/server_error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/lib/graphlient/errors/server_error.rb -------------------------------------------------------------------------------- /lib/graphlient/errors/timeout_error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/lib/graphlient/errors/timeout_error.rb -------------------------------------------------------------------------------- /lib/graphlient/extensions.rb: -------------------------------------------------------------------------------- 1 | require_relative 'extensions/query' 2 | -------------------------------------------------------------------------------- /lib/graphlient/extensions/query.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/lib/graphlient/extensions/query.rb -------------------------------------------------------------------------------- /lib/graphlient/query.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/lib/graphlient/query.rb -------------------------------------------------------------------------------- /lib/graphlient/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/lib/graphlient/schema.rb -------------------------------------------------------------------------------- /lib/graphlient/version.rb: -------------------------------------------------------------------------------- 1 | module Graphlient 2 | VERSION = '0.8.0'.freeze 3 | end 4 | -------------------------------------------------------------------------------- /spec/graphlient/adapters/http/faraday_adapter_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/spec/graphlient/adapters/http/faraday_adapter_spec.rb -------------------------------------------------------------------------------- /spec/graphlient/adapters/http/http_adapter_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/spec/graphlient/adapters/http/http_adapter_spec.rb -------------------------------------------------------------------------------- /spec/graphlient/client_query_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/spec/graphlient/client_query_spec.rb -------------------------------------------------------------------------------- /spec/graphlient/client_schema_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/spec/graphlient/client_schema_spec.rb -------------------------------------------------------------------------------- /spec/graphlient/extensions/query_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/spec/graphlient/extensions/query_spec.rb -------------------------------------------------------------------------------- /spec/graphlient/github_query_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/spec/graphlient/github_query_spec.rb -------------------------------------------------------------------------------- /spec/graphlient/query_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/spec/graphlient/query_spec.rb -------------------------------------------------------------------------------- /spec/graphlient/schema_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/spec/graphlient/schema_spec.rb -------------------------------------------------------------------------------- /spec/graphlient/static_client_query_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/spec/graphlient/static_client_query_spec.rb -------------------------------------------------------------------------------- /spec/graphlient/webmock_client_query_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/spec/graphlient/webmock_client_query_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/support/context/dummy_client.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/spec/support/context/dummy_client.rb -------------------------------------------------------------------------------- /spec/support/context/github_client.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/spec/support/context/github_client.rb -------------------------------------------------------------------------------- /spec/support/dummy_app.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/spec/support/dummy_app.rb -------------------------------------------------------------------------------- /spec/support/dummy_schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/spec/support/dummy_schema.rb -------------------------------------------------------------------------------- /spec/support/fixtures/github/schema.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/spec/support/fixtures/github/schema.yml -------------------------------------------------------------------------------- /spec/support/fixtures/github/user.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/spec/support/fixtures/github/user.yml -------------------------------------------------------------------------------- /spec/support/fixtures/github/viewer.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/spec/support/fixtures/github/viewer.yml -------------------------------------------------------------------------------- /spec/support/fixtures/invoice_api.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/spec/support/fixtures/invoice_api.json -------------------------------------------------------------------------------- /spec/support/mutations/create_invoice.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/spec/support/mutations/create_invoice.rb -------------------------------------------------------------------------------- /spec/support/queries/query.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/spec/support/queries/query.rb -------------------------------------------------------------------------------- /spec/support/schema/github.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/spec/support/schema/github.json -------------------------------------------------------------------------------- /spec/support/types/invoice_type.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/spec/support/types/invoice_type.rb -------------------------------------------------------------------------------- /spec/support/types/mutation_type.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/spec/support/types/mutation_type.rb -------------------------------------------------------------------------------- /spec/support/vcr.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashkan18/graphlient/HEAD/spec/support/vcr.rb --------------------------------------------------------------------------------