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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5ef00489390a7555cc3879ca19b849fc61036310
4
- data.tar.gz: e1da10810a18fd838ec6c839df5462b4fa8009a2
3
+ metadata.gz: 3a18a5d24f96c94faa11072b275606e9160f6ecb
4
+ data.tar.gz: fc4d9b955200937dddc40a03ed00ba8f063e5eb7
5
5
  SHA512:
6
- metadata.gz: 23aba9191ec732c544f1ea7f70b04caf817ecb3d007b2af4457031ebfc24ca26904dac989e46522f5bc90aacce2e225f15ec408d3bb512fb00166e6e47dfbdd7
7
- data.tar.gz: 3c0d6a0f97355b8ea959dd2995682f5dce5842d1f0e31352587c464bb8d3e2b00254febd0c13645bdce58ef68ba1935587170ff86b8121bb65bc548660b29d35
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", ">= 0.13.0"
25
- spec.add_runtime_dependency "graphql-batch", ">= 0.2.1"
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::Relay::Define::AssignConnection.call(graph_type, camel_name, type_lambda) do
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)
@@ -44,7 +44,7 @@ module GraphQL::Models
44
44
  end
45
45
  end
46
46
 
47
- changed_models.reject(&:destroyed?)
47
+ changed_models.reject(&:destroyed?).each(&:reload)
48
48
  end
49
49
  end
50
50
  end
@@ -1,5 +1,5 @@
1
1
  module GraphQL
2
2
  module Models
3
- VERSION = "0.7.3"
3
+ VERSION = "0.8.0-alpha1"
4
4
  end
5
5
  end
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.7.3
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-09-19 00:00:00.000000000 Z
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.13.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.13.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.9.5
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.9.5
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: '0'
200
+ version: 1.3.1
216
201
  requirements: []
217
202
  rubyforge_project:
218
203
  rubygems_version: 2.4.8
data/CHANGELOG.md DELETED
@@ -1,6 +0,0 @@
1
- # Changelog
2
-
3
- ## 0.7.2
4
-
5
- ### Breaking Changes
6
- - Changed models are no longer reloaded when you call `save!` on a mutator