active_record-json_associations 0.6.9 → 0.6.10
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fca3b8622a2b4f80748fd6e8b1055736849ea5e8
|
4
|
+
data.tar.gz: 91ff667adef8880708685356ac43621f0c4338db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ddd2a924f4e593b3e6f63d38619d41a7495c7b74fce5d1490c85f6f11be7d9f7180efe15b6191eab095ebeaaac72785907c47218b392b47e5bc852c612b1446
|
7
|
+
data.tar.gz: 8ee31eeeb4a56263aed118c8999b89771b574050172e37dd77bac01efb996683a0ca67ce3f113958b355e19ee9352a03ed07fce6533f970d39fc5de0083342e6
|
@@ -48,6 +48,13 @@ describe ActiveRecord::JsonAssociations do
|
|
48
48
|
subject.child_ids = [1,2,3]
|
49
49
|
expect(subject.child_ids).to eq [1,2,3]
|
50
50
|
end
|
51
|
+
|
52
|
+
it "can be pushed to" do
|
53
|
+
subject.child_ids << 1
|
54
|
+
subject.child_ids << 2
|
55
|
+
subject.child_ids << 3
|
56
|
+
expect(subject.child_ids).to eq [1,2,3]
|
57
|
+
end
|
51
58
|
end
|
52
59
|
|
53
60
|
describe "#child_ids=" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_record-json_associations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Micah Geisel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|