graphql-activerecord 0.7.3 → 0.8.0.pre.alpha1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/graphql-activerecord.gemspec +2 -3
- data/lib/graphql/models/definition_helpers/associations.rb +1 -1
- data/lib/graphql/models/mutator.rb +1 -1
- data/lib/graphql/models/version.rb +1 -1
- metadata +12 -27
- data/CHANGELOG.md +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a18a5d24f96c94faa11072b275606e9160f6ecb
|
4
|
+
data.tar.gz: fc4d9b955200937dddc40a03ed00ba8f063e5eb7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a34c305a0ccd72210795eb982206e53e6bf3c094339bc0bf62ab501eea5f41b62ed2860caa06b12c194fae102e64d9e71946bd7c68c4d4a4c73d5c122fd31e39
|
7
|
+
data.tar.gz: f1d52a786acc02b0e6f9c406ea4a1cebaa23c29d2760a3a5bc02122ff3b68475d2b95f8eb70409323fe35736e1dca9bafa67d198d2ac74a380d5f931c6ab6e25
|
@@ -21,9 +21,8 @@ Gem::Specification.new do |spec|
|
|
21
21
|
|
22
22
|
spec.add_runtime_dependency "activesupport", "~> 4.2"
|
23
23
|
spec.add_runtime_dependency "activerecord", "~> 4.2"
|
24
|
-
spec.add_runtime_dependency "graphql", "
|
25
|
-
spec.add_runtime_dependency "graphql-batch", "
|
26
|
-
spec.add_runtime_dependency 'graphql-relay', '>= 0.9.5'
|
24
|
+
spec.add_runtime_dependency "graphql", "~> 0.18.4"
|
25
|
+
spec.add_runtime_dependency "graphql-batch", "~> 0.2.4"
|
27
26
|
|
28
27
|
spec.add_development_dependency "bundler", "~> 1.11"
|
29
28
|
spec.add_development_dependency "rake", "~> 10.0"
|
@@ -202,7 +202,7 @@ module GraphQL
|
|
202
202
|
object_to_base_model: object_to_model
|
203
203
|
})
|
204
204
|
|
205
|
-
GraphQL::
|
205
|
+
GraphQL::Define::AssignConnection.call(graph_type, camel_name, type_lambda) do
|
206
206
|
resolve -> (model, args, context) do
|
207
207
|
return nil unless model
|
208
208
|
return GraphSupport.secure(model.public_send(association), context)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphql-activerecord
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0.pre.alpha1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Foster
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -42,44 +42,30 @@ dependencies:
|
|
42
42
|
name: graphql
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
47
|
+
version: 0.18.4
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
54
|
+
version: 0.18.4
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: graphql-batch
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 0.2.1
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 0.2.1
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: graphql-relay
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
59
|
+
- - "~>"
|
74
60
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
61
|
+
version: 0.2.4
|
76
62
|
type: :runtime
|
77
63
|
prerelease: false
|
78
64
|
version_requirements: !ruby/object:Gem::Requirement
|
79
65
|
requirements:
|
80
|
-
- - "
|
66
|
+
- - "~>"
|
81
67
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
68
|
+
version: 0.2.4
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: bundler
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -147,7 +133,6 @@ files:
|
|
147
133
|
- ".gitignore"
|
148
134
|
- ".rspec"
|
149
135
|
- ".travis.yml"
|
150
|
-
- CHANGELOG.md
|
151
136
|
- CODE_OF_CONDUCT.md
|
152
137
|
- Gemfile
|
153
138
|
- LICENSE.txt
|
@@ -210,9 +195,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
210
195
|
version: '0'
|
211
196
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
212
197
|
requirements:
|
213
|
-
- - "
|
198
|
+
- - ">"
|
214
199
|
- !ruby/object:Gem::Version
|
215
|
-
version:
|
200
|
+
version: 1.3.1
|
216
201
|
requirements: []
|
217
202
|
rubyforge_project:
|
218
203
|
rubygems_version: 2.4.8
|