Skip to content

Commit 4679f30

Browse files
committed
Use correct version of GraphQL and ActiveRecord
1 parent 6dbe05a commit 4679f30

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

gemfiles/activerecord_3.gemfile.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PATH
22
remote: ../
33
specs:
44
graphql-query-resolver (0.1.0)
5-
graphql
5+
graphql (~> 1.0.0)
66

77
GEM
88
remote: https://rubygems.org/
@@ -26,7 +26,7 @@ GEM
2626
builder (3.0.4)
2727
byebug (9.0.6)
2828
diff-lcs (1.3)
29-
graphql (1.5.1)
29+
graphql (1.0.0)
3030
i18n (0.8.1)
3131
multi_json (1.12.1)
3232
rake (10.5.0)
@@ -53,13 +53,13 @@ PLATFORMS
5353
DEPENDENCIES
5454
activerecord (= 3.2.14)
5555
activesupport (= 3.2.14)
56-
appraisal
56+
appraisal (~> 2.1.0, >= 2.1.0)
5757
bundler (~> 1.11)
58-
byebug
58+
byebug (~> 9.0.6, >= 9.0.6)
5959
graphql-query-resolver!
6060
rake (~> 10.0)
6161
rspec (~> 3.0)
62-
sqlite3 (~> 1.3.12)
62+
sqlite3 (~> 1.3, >= 1.3.12)
6363

6464
BUNDLED WITH
6565
1.13.7

gemfiles/activerecord_4.gemfile.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PATH
22
remote: ../
33
specs:
44
graphql-query-resolver (0.1.0)
5-
graphql
5+
graphql (~> 1.0.0)
66

77
GEM
88
remote: https://rubygems.org/
@@ -28,7 +28,7 @@ GEM
2828
builder (3.2.3)
2929
byebug (9.0.6)
3030
diff-lcs (1.3)
31-
graphql (1.5.1)
31+
graphql (1.0.0)
3232
i18n (0.8.1)
3333
json (1.8.6)
3434
minitest (5.10.1)
@@ -57,13 +57,13 @@ PLATFORMS
5757

5858
DEPENDENCIES
5959
activerecord (= 4.2.0)
60-
appraisal
60+
appraisal (~> 2.1.0, >= 2.1.0)
6161
bundler (~> 1.11)
62-
byebug
62+
byebug (~> 9.0.6, >= 9.0.6)
6363
graphql-query-resolver!
6464
rake (~> 10.0)
6565
rspec (~> 3.0)
66-
sqlite3 (~> 1.3.12)
66+
sqlite3 (~> 1.3, >= 1.3.12)
6767

6868
BUNDLED WITH
6969
1.13.7

gemfiles/activerecord_5.gemfile.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PATH
22
remote: ../
33
specs:
44
graphql-query-resolver (0.1.0)
5-
graphql
5+
graphql (~> 1.0.0)
66

77
GEM
88
remote: https://rubygems.org/
@@ -26,7 +26,7 @@ GEM
2626
byebug (9.0.6)
2727
concurrent-ruby (1.0.5)
2828
diff-lcs (1.3)
29-
graphql (1.5.1)
29+
graphql (1.0.0)
3030
i18n (0.8.1)
3131
minitest (5.10.1)
3232
rake (10.5.0)
@@ -54,13 +54,13 @@ PLATFORMS
5454

5555
DEPENDENCIES
5656
activerecord (= 5.0.0)
57-
appraisal
57+
appraisal (~> 2.1.0, >= 2.1.0)
5858
bundler (~> 1.11)
59-
byebug
59+
byebug (~> 9.0.6, >= 9.0.6)
6060
graphql-query-resolver!
6161
rake (~> 10.0)
6262
rspec (~> 3.0)
63-
sqlite3 (~> 1.3.12)
63+
sqlite3 (~> 1.3, >= 1.3.12)
6464

6565
BUNDLED WITH
6666
1.13.7

graphql-query-resolver.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ Gem::Specification.new do |spec|
1919
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
2020
spec.require_paths = ["lib"]
2121

22-
spec.add_dependency "graphql", "~> 0.15.0"
22+
spec.add_dependency "graphql", "~> 1.0.0"
2323

2424
spec.add_development_dependency "bundler", "~> 1.11"
25-
spec.add_development_dependency "activerecord", "~> 3.2", ">= 3.2.14"
25+
spec.add_development_dependency "activerecord", "~> 5.0"
2626
spec.add_development_dependency "sqlite3", "~> 1.3", ">= 1.3.12"
2727
spec.add_development_dependency "appraisal", "~> 2.1.0", ">= 2.1.0"
2828
spec.add_development_dependency "byebug", "~> 9.0.6", ">= 9.0.6"

spec/support/graphql_schema.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191

9292
resolve -> (obj, args, ctx) {
9393
id = args['id']
94-
94+
9595
GraphQL::QueryResolver::run(Restaurant, ctx, RestaurantType) do
9696
Restaurant.find(id)
9797
end

0 commit comments

Comments
 (0)