graphql-activerecord 0.5.3 → 0.5.4

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: 5f63df245be939677a257897b86b8f735c3d3d09
4
- data.tar.gz: 38d0ef56c37c671a42d52db544f701824cf7586e
3
+ metadata.gz: bcecb2063effc41338f80d629d054c2c0e6c6881
4
+ data.tar.gz: 8d7d98648bbf801ef9d9ed4a88fde65c0728e22f
5
5
  SHA512:
6
- metadata.gz: 2875f7bd450f32f9334afeb84f7585f1bfdc8373da85dc80b4cf5cc55e839142277e47c5535fe812f6fed03566d213e84b99c7bf92fd5b04dffae4c0c1817263
7
- data.tar.gz: cea674647fe7d2fb3341fb59a2c359e3b927a214ff28fc628bd5bf681d522e60eb2f629a608e90b590b294652c2881fed2924bfa44780c6e3ba8139c21858e2f
6
+ metadata.gz: e0f38f3e7fe6c173fbc2980b3117f9344232ca68bdd4f48758d06c337d482232a5019934ce75ae2eb38c7671ca275776c902ac34f22d78857a30db4119dde8b3
7
+ data.tar.gz: 86731a8685dc5a008cfbe03f7a898f99561cda12dc31614222c87cf823749e688dfe0c83c24351e1da42ca8fde92ce59f78dcd4a0e0f29b5fe3572b7553b9c66
@@ -56,7 +56,7 @@ module GraphQL
56
56
  association.loaded!
57
57
 
58
58
  if reflection.macro == :has_many
59
- association.target.slice!(0)
59
+ association.target.slice!(0..-1)
60
60
  association.target.concat(result)
61
61
  result.each do |m|
62
62
  association.set_inverse_instance(m)
@@ -1,5 +1,5 @@
1
1
  module GraphQL
2
2
  module Models
3
- VERSION = "0.5.3"
3
+ VERSION = "0.5.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql-activerecord
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Foster