active_record-json_associations 0.6.10 → 0.6.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -0
- data/Appraisals +12 -0
- data/active_record-json_associations.gemspec +1 -0
- data/gemfiles/rails_5.0.gemfile +7 -0
- data/gemfiles/rails_5.0.gemfile.lock +144 -0
- data/gemfiles/rails_5.1.gemfile +7 -0
- data/gemfiles/rails_5.1.gemfile.lock +144 -0
- data/gemfiles/rails_5.2.gemfile +7 -0
- data/gemfiles/rails_5.2.gemfile.lock +152 -0
- data/lib/active_record/json_associations.rb +1 -1
- data/lib/active_record/json_associations/version.rb +1 -1
- metadata +22 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46ecbfb0c93b2de000a895224b44d50f497c4f68
|
4
|
+
data.tar.gz: 8edb3dd23c27de5896e9733485ebbee48d53592a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e09431602e770d422d4f28e409e1f366e5df6c0ce2934ee8ec4a9c5e1d831146091edc0d211f7aaf4b59077340a03007aa327f146976ceb4d3ec21d3a05737dc
|
7
|
+
data.tar.gz: c09f9d5f8c10bc767f5b62ce334979fa850ae9c2d83d19e1a1cbe4993bff6fd715d031ec0966d56accc2eba8ce0b6fa2923e578a70fb335a21f8d9f7519f826b
|
data/.travis.yml
CHANGED
data/Appraisals
ADDED
@@ -21,6 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.add_dependency "activerecord"
|
22
22
|
|
23
23
|
spec.add_development_dependency "bundler", "~> 1.6"
|
24
|
+
spec.add_development_dependency "appraisal"
|
24
25
|
spec.add_development_dependency "rake"
|
25
26
|
spec.add_development_dependency "rspec"
|
26
27
|
spec.add_development_dependency "sqlite3"
|
@@ -0,0 +1,144 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
active_record-json_associations (0.6.10)
|
5
|
+
activerecord
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
actioncable (5.0.7)
|
11
|
+
actionpack (= 5.0.7)
|
12
|
+
nio4r (>= 1.2, < 3.0)
|
13
|
+
websocket-driver (~> 0.6.1)
|
14
|
+
actionmailer (5.0.7)
|
15
|
+
actionpack (= 5.0.7)
|
16
|
+
actionview (= 5.0.7)
|
17
|
+
activejob (= 5.0.7)
|
18
|
+
mail (~> 2.5, >= 2.5.4)
|
19
|
+
rails-dom-testing (~> 2.0)
|
20
|
+
actionpack (5.0.7)
|
21
|
+
actionview (= 5.0.7)
|
22
|
+
activesupport (= 5.0.7)
|
23
|
+
rack (~> 2.0)
|
24
|
+
rack-test (~> 0.6.3)
|
25
|
+
rails-dom-testing (~> 2.0)
|
26
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
27
|
+
actionview (5.0.7)
|
28
|
+
activesupport (= 5.0.7)
|
29
|
+
builder (~> 3.1)
|
30
|
+
erubis (~> 2.7.0)
|
31
|
+
rails-dom-testing (~> 2.0)
|
32
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
33
|
+
activejob (5.0.7)
|
34
|
+
activesupport (= 5.0.7)
|
35
|
+
globalid (>= 0.3.6)
|
36
|
+
activemodel (5.0.7)
|
37
|
+
activesupport (= 5.0.7)
|
38
|
+
activerecord (5.0.7)
|
39
|
+
activemodel (= 5.0.7)
|
40
|
+
activesupport (= 5.0.7)
|
41
|
+
arel (~> 7.0)
|
42
|
+
activesupport (5.0.7)
|
43
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
44
|
+
i18n (>= 0.7, < 2)
|
45
|
+
minitest (~> 5.1)
|
46
|
+
tzinfo (~> 1.1)
|
47
|
+
appraisal (2.2.0)
|
48
|
+
bundler
|
49
|
+
rake
|
50
|
+
thor (>= 0.14.0)
|
51
|
+
arel (7.1.4)
|
52
|
+
builder (3.2.3)
|
53
|
+
byebug (10.0.2)
|
54
|
+
concurrent-ruby (1.0.5)
|
55
|
+
crass (1.0.4)
|
56
|
+
diff-lcs (1.3)
|
57
|
+
erubis (2.7.0)
|
58
|
+
globalid (0.4.1)
|
59
|
+
activesupport (>= 4.2.0)
|
60
|
+
i18n (1.1.0)
|
61
|
+
concurrent-ruby (~> 1.0)
|
62
|
+
loofah (2.2.2)
|
63
|
+
crass (~> 1.0.2)
|
64
|
+
nokogiri (>= 1.5.9)
|
65
|
+
mail (2.7.0)
|
66
|
+
mini_mime (>= 0.1.1)
|
67
|
+
method_source (0.9.0)
|
68
|
+
mini_mime (1.0.1)
|
69
|
+
mini_portile2 (2.3.0)
|
70
|
+
minitest (5.11.3)
|
71
|
+
nio4r (2.3.1)
|
72
|
+
nokogiri (1.8.4)
|
73
|
+
mini_portile2 (~> 2.3.0)
|
74
|
+
rack (2.0.5)
|
75
|
+
rack-test (0.6.3)
|
76
|
+
rack (>= 1.0)
|
77
|
+
rails (5.0.7)
|
78
|
+
actioncable (= 5.0.7)
|
79
|
+
actionmailer (= 5.0.7)
|
80
|
+
actionpack (= 5.0.7)
|
81
|
+
actionview (= 5.0.7)
|
82
|
+
activejob (= 5.0.7)
|
83
|
+
activemodel (= 5.0.7)
|
84
|
+
activerecord (= 5.0.7)
|
85
|
+
activesupport (= 5.0.7)
|
86
|
+
bundler (>= 1.3.0)
|
87
|
+
railties (= 5.0.7)
|
88
|
+
sprockets-rails (>= 2.0.0)
|
89
|
+
rails-dom-testing (2.0.3)
|
90
|
+
activesupport (>= 4.2.0)
|
91
|
+
nokogiri (>= 1.6)
|
92
|
+
rails-html-sanitizer (1.0.4)
|
93
|
+
loofah (~> 2.2, >= 2.2.2)
|
94
|
+
railties (5.0.7)
|
95
|
+
actionpack (= 5.0.7)
|
96
|
+
activesupport (= 5.0.7)
|
97
|
+
method_source
|
98
|
+
rake (>= 0.8.7)
|
99
|
+
thor (>= 0.18.1, < 2.0)
|
100
|
+
rake (12.3.1)
|
101
|
+
rspec (3.8.0)
|
102
|
+
rspec-core (~> 3.8.0)
|
103
|
+
rspec-expectations (~> 3.8.0)
|
104
|
+
rspec-mocks (~> 3.8.0)
|
105
|
+
rspec-core (3.8.0)
|
106
|
+
rspec-support (~> 3.8.0)
|
107
|
+
rspec-expectations (3.8.1)
|
108
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
109
|
+
rspec-support (~> 3.8.0)
|
110
|
+
rspec-mocks (3.8.0)
|
111
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
112
|
+
rspec-support (~> 3.8.0)
|
113
|
+
rspec-support (3.8.0)
|
114
|
+
sprockets (3.7.2)
|
115
|
+
concurrent-ruby (~> 1.0)
|
116
|
+
rack (> 1, < 3)
|
117
|
+
sprockets-rails (3.2.1)
|
118
|
+
actionpack (>= 4.0)
|
119
|
+
activesupport (>= 4.0)
|
120
|
+
sprockets (>= 3.0.0)
|
121
|
+
sqlite3 (1.3.13)
|
122
|
+
thor (0.20.0)
|
123
|
+
thread_safe (0.3.6)
|
124
|
+
tzinfo (1.2.5)
|
125
|
+
thread_safe (~> 0.1)
|
126
|
+
websocket-driver (0.6.5)
|
127
|
+
websocket-extensions (>= 0.1.0)
|
128
|
+
websocket-extensions (0.1.3)
|
129
|
+
|
130
|
+
PLATFORMS
|
131
|
+
ruby
|
132
|
+
|
133
|
+
DEPENDENCIES
|
134
|
+
active_record-json_associations!
|
135
|
+
appraisal
|
136
|
+
bundler (~> 1.6)
|
137
|
+
byebug
|
138
|
+
rails (~> 5.0.0)
|
139
|
+
rake
|
140
|
+
rspec
|
141
|
+
sqlite3
|
142
|
+
|
143
|
+
BUNDLED WITH
|
144
|
+
1.14.4
|
@@ -0,0 +1,144 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
active_record-json_associations (0.6.10)
|
5
|
+
activerecord
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
actioncable (5.1.6)
|
11
|
+
actionpack (= 5.1.6)
|
12
|
+
nio4r (~> 2.0)
|
13
|
+
websocket-driver (~> 0.6.1)
|
14
|
+
actionmailer (5.1.6)
|
15
|
+
actionpack (= 5.1.6)
|
16
|
+
actionview (= 5.1.6)
|
17
|
+
activejob (= 5.1.6)
|
18
|
+
mail (~> 2.5, >= 2.5.4)
|
19
|
+
rails-dom-testing (~> 2.0)
|
20
|
+
actionpack (5.1.6)
|
21
|
+
actionview (= 5.1.6)
|
22
|
+
activesupport (= 5.1.6)
|
23
|
+
rack (~> 2.0)
|
24
|
+
rack-test (>= 0.6.3)
|
25
|
+
rails-dom-testing (~> 2.0)
|
26
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
27
|
+
actionview (5.1.6)
|
28
|
+
activesupport (= 5.1.6)
|
29
|
+
builder (~> 3.1)
|
30
|
+
erubi (~> 1.4)
|
31
|
+
rails-dom-testing (~> 2.0)
|
32
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
33
|
+
activejob (5.1.6)
|
34
|
+
activesupport (= 5.1.6)
|
35
|
+
globalid (>= 0.3.6)
|
36
|
+
activemodel (5.1.6)
|
37
|
+
activesupport (= 5.1.6)
|
38
|
+
activerecord (5.1.6)
|
39
|
+
activemodel (= 5.1.6)
|
40
|
+
activesupport (= 5.1.6)
|
41
|
+
arel (~> 8.0)
|
42
|
+
activesupport (5.1.6)
|
43
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
44
|
+
i18n (>= 0.7, < 2)
|
45
|
+
minitest (~> 5.1)
|
46
|
+
tzinfo (~> 1.1)
|
47
|
+
appraisal (2.2.0)
|
48
|
+
bundler
|
49
|
+
rake
|
50
|
+
thor (>= 0.14.0)
|
51
|
+
arel (8.0.0)
|
52
|
+
builder (3.2.3)
|
53
|
+
byebug (10.0.2)
|
54
|
+
concurrent-ruby (1.0.5)
|
55
|
+
crass (1.0.4)
|
56
|
+
diff-lcs (1.3)
|
57
|
+
erubi (1.7.1)
|
58
|
+
globalid (0.4.1)
|
59
|
+
activesupport (>= 4.2.0)
|
60
|
+
i18n (1.1.0)
|
61
|
+
concurrent-ruby (~> 1.0)
|
62
|
+
loofah (2.2.2)
|
63
|
+
crass (~> 1.0.2)
|
64
|
+
nokogiri (>= 1.5.9)
|
65
|
+
mail (2.7.0)
|
66
|
+
mini_mime (>= 0.1.1)
|
67
|
+
method_source (0.9.0)
|
68
|
+
mini_mime (1.0.1)
|
69
|
+
mini_portile2 (2.3.0)
|
70
|
+
minitest (5.11.3)
|
71
|
+
nio4r (2.3.1)
|
72
|
+
nokogiri (1.8.4)
|
73
|
+
mini_portile2 (~> 2.3.0)
|
74
|
+
rack (2.0.5)
|
75
|
+
rack-test (1.1.0)
|
76
|
+
rack (>= 1.0, < 3)
|
77
|
+
rails (5.1.6)
|
78
|
+
actioncable (= 5.1.6)
|
79
|
+
actionmailer (= 5.1.6)
|
80
|
+
actionpack (= 5.1.6)
|
81
|
+
actionview (= 5.1.6)
|
82
|
+
activejob (= 5.1.6)
|
83
|
+
activemodel (= 5.1.6)
|
84
|
+
activerecord (= 5.1.6)
|
85
|
+
activesupport (= 5.1.6)
|
86
|
+
bundler (>= 1.3.0)
|
87
|
+
railties (= 5.1.6)
|
88
|
+
sprockets-rails (>= 2.0.0)
|
89
|
+
rails-dom-testing (2.0.3)
|
90
|
+
activesupport (>= 4.2.0)
|
91
|
+
nokogiri (>= 1.6)
|
92
|
+
rails-html-sanitizer (1.0.4)
|
93
|
+
loofah (~> 2.2, >= 2.2.2)
|
94
|
+
railties (5.1.6)
|
95
|
+
actionpack (= 5.1.6)
|
96
|
+
activesupport (= 5.1.6)
|
97
|
+
method_source
|
98
|
+
rake (>= 0.8.7)
|
99
|
+
thor (>= 0.18.1, < 2.0)
|
100
|
+
rake (12.3.1)
|
101
|
+
rspec (3.8.0)
|
102
|
+
rspec-core (~> 3.8.0)
|
103
|
+
rspec-expectations (~> 3.8.0)
|
104
|
+
rspec-mocks (~> 3.8.0)
|
105
|
+
rspec-core (3.8.0)
|
106
|
+
rspec-support (~> 3.8.0)
|
107
|
+
rspec-expectations (3.8.1)
|
108
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
109
|
+
rspec-support (~> 3.8.0)
|
110
|
+
rspec-mocks (3.8.0)
|
111
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
112
|
+
rspec-support (~> 3.8.0)
|
113
|
+
rspec-support (3.8.0)
|
114
|
+
sprockets (3.7.2)
|
115
|
+
concurrent-ruby (~> 1.0)
|
116
|
+
rack (> 1, < 3)
|
117
|
+
sprockets-rails (3.2.1)
|
118
|
+
actionpack (>= 4.0)
|
119
|
+
activesupport (>= 4.0)
|
120
|
+
sprockets (>= 3.0.0)
|
121
|
+
sqlite3 (1.3.13)
|
122
|
+
thor (0.20.0)
|
123
|
+
thread_safe (0.3.6)
|
124
|
+
tzinfo (1.2.5)
|
125
|
+
thread_safe (~> 0.1)
|
126
|
+
websocket-driver (0.6.5)
|
127
|
+
websocket-extensions (>= 0.1.0)
|
128
|
+
websocket-extensions (0.1.3)
|
129
|
+
|
130
|
+
PLATFORMS
|
131
|
+
ruby
|
132
|
+
|
133
|
+
DEPENDENCIES
|
134
|
+
active_record-json_associations!
|
135
|
+
appraisal
|
136
|
+
bundler (~> 1.6)
|
137
|
+
byebug
|
138
|
+
rails (~> 5.1.0)
|
139
|
+
rake
|
140
|
+
rspec
|
141
|
+
sqlite3
|
142
|
+
|
143
|
+
BUNDLED WITH
|
144
|
+
1.14.4
|
@@ -0,0 +1,152 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
active_record-json_associations (0.6.10)
|
5
|
+
activerecord
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
actioncable (5.2.1)
|
11
|
+
actionpack (= 5.2.1)
|
12
|
+
nio4r (~> 2.0)
|
13
|
+
websocket-driver (>= 0.6.1)
|
14
|
+
actionmailer (5.2.1)
|
15
|
+
actionpack (= 5.2.1)
|
16
|
+
actionview (= 5.2.1)
|
17
|
+
activejob (= 5.2.1)
|
18
|
+
mail (~> 2.5, >= 2.5.4)
|
19
|
+
rails-dom-testing (~> 2.0)
|
20
|
+
actionpack (5.2.1)
|
21
|
+
actionview (= 5.2.1)
|
22
|
+
activesupport (= 5.2.1)
|
23
|
+
rack (~> 2.0)
|
24
|
+
rack-test (>= 0.6.3)
|
25
|
+
rails-dom-testing (~> 2.0)
|
26
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
27
|
+
actionview (5.2.1)
|
28
|
+
activesupport (= 5.2.1)
|
29
|
+
builder (~> 3.1)
|
30
|
+
erubi (~> 1.4)
|
31
|
+
rails-dom-testing (~> 2.0)
|
32
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
33
|
+
activejob (5.2.1)
|
34
|
+
activesupport (= 5.2.1)
|
35
|
+
globalid (>= 0.3.6)
|
36
|
+
activemodel (5.2.1)
|
37
|
+
activesupport (= 5.2.1)
|
38
|
+
activerecord (5.2.1)
|
39
|
+
activemodel (= 5.2.1)
|
40
|
+
activesupport (= 5.2.1)
|
41
|
+
arel (>= 9.0)
|
42
|
+
activestorage (5.2.1)
|
43
|
+
actionpack (= 5.2.1)
|
44
|
+
activerecord (= 5.2.1)
|
45
|
+
marcel (~> 0.3.1)
|
46
|
+
activesupport (5.2.1)
|
47
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
48
|
+
i18n (>= 0.7, < 2)
|
49
|
+
minitest (~> 5.1)
|
50
|
+
tzinfo (~> 1.1)
|
51
|
+
appraisal (2.2.0)
|
52
|
+
bundler
|
53
|
+
rake
|
54
|
+
thor (>= 0.14.0)
|
55
|
+
arel (9.0.0)
|
56
|
+
builder (3.2.3)
|
57
|
+
byebug (10.0.2)
|
58
|
+
concurrent-ruby (1.0.5)
|
59
|
+
crass (1.0.4)
|
60
|
+
diff-lcs (1.3)
|
61
|
+
erubi (1.7.1)
|
62
|
+
globalid (0.4.1)
|
63
|
+
activesupport (>= 4.2.0)
|
64
|
+
i18n (1.1.0)
|
65
|
+
concurrent-ruby (~> 1.0)
|
66
|
+
loofah (2.2.2)
|
67
|
+
crass (~> 1.0.2)
|
68
|
+
nokogiri (>= 1.5.9)
|
69
|
+
mail (2.7.0)
|
70
|
+
mini_mime (>= 0.1.1)
|
71
|
+
marcel (0.3.3)
|
72
|
+
mimemagic (~> 0.3.2)
|
73
|
+
method_source (0.9.0)
|
74
|
+
mimemagic (0.3.2)
|
75
|
+
mini_mime (1.0.1)
|
76
|
+
mini_portile2 (2.3.0)
|
77
|
+
minitest (5.11.3)
|
78
|
+
nio4r (2.3.1)
|
79
|
+
nokogiri (1.8.4)
|
80
|
+
mini_portile2 (~> 2.3.0)
|
81
|
+
rack (2.0.5)
|
82
|
+
rack-test (1.1.0)
|
83
|
+
rack (>= 1.0, < 3)
|
84
|
+
rails (5.2.1)
|
85
|
+
actioncable (= 5.2.1)
|
86
|
+
actionmailer (= 5.2.1)
|
87
|
+
actionpack (= 5.2.1)
|
88
|
+
actionview (= 5.2.1)
|
89
|
+
activejob (= 5.2.1)
|
90
|
+
activemodel (= 5.2.1)
|
91
|
+
activerecord (= 5.2.1)
|
92
|
+
activestorage (= 5.2.1)
|
93
|
+
activesupport (= 5.2.1)
|
94
|
+
bundler (>= 1.3.0)
|
95
|
+
railties (= 5.2.1)
|
96
|
+
sprockets-rails (>= 2.0.0)
|
97
|
+
rails-dom-testing (2.0.3)
|
98
|
+
activesupport (>= 4.2.0)
|
99
|
+
nokogiri (>= 1.6)
|
100
|
+
rails-html-sanitizer (1.0.4)
|
101
|
+
loofah (~> 2.2, >= 2.2.2)
|
102
|
+
railties (5.2.1)
|
103
|
+
actionpack (= 5.2.1)
|
104
|
+
activesupport (= 5.2.1)
|
105
|
+
method_source
|
106
|
+
rake (>= 0.8.7)
|
107
|
+
thor (>= 0.19.0, < 2.0)
|
108
|
+
rake (12.3.1)
|
109
|
+
rspec (3.8.0)
|
110
|
+
rspec-core (~> 3.8.0)
|
111
|
+
rspec-expectations (~> 3.8.0)
|
112
|
+
rspec-mocks (~> 3.8.0)
|
113
|
+
rspec-core (3.8.0)
|
114
|
+
rspec-support (~> 3.8.0)
|
115
|
+
rspec-expectations (3.8.1)
|
116
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
117
|
+
rspec-support (~> 3.8.0)
|
118
|
+
rspec-mocks (3.8.0)
|
119
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
120
|
+
rspec-support (~> 3.8.0)
|
121
|
+
rspec-support (3.8.0)
|
122
|
+
sprockets (3.7.2)
|
123
|
+
concurrent-ruby (~> 1.0)
|
124
|
+
rack (> 1, < 3)
|
125
|
+
sprockets-rails (3.2.1)
|
126
|
+
actionpack (>= 4.0)
|
127
|
+
activesupport (>= 4.0)
|
128
|
+
sprockets (>= 3.0.0)
|
129
|
+
sqlite3 (1.3.13)
|
130
|
+
thor (0.20.0)
|
131
|
+
thread_safe (0.3.6)
|
132
|
+
tzinfo (1.2.5)
|
133
|
+
thread_safe (~> 0.1)
|
134
|
+
websocket-driver (0.7.0)
|
135
|
+
websocket-extensions (>= 0.1.0)
|
136
|
+
websocket-extensions (0.1.3)
|
137
|
+
|
138
|
+
PLATFORMS
|
139
|
+
ruby
|
140
|
+
|
141
|
+
DEPENDENCIES
|
142
|
+
active_record-json_associations!
|
143
|
+
appraisal
|
144
|
+
bundler (~> 1.6)
|
145
|
+
byebug
|
146
|
+
rails (~> 5.2.0)
|
147
|
+
rake
|
148
|
+
rspec
|
149
|
+
sqlite3
|
150
|
+
|
151
|
+
BUNDLED WITH
|
152
|
+
1.14.4
|
@@ -49,7 +49,7 @@ module ActiveRecord
|
|
49
49
|
}
|
50
50
|
end
|
51
51
|
|
52
|
-
def has_many many, scope = nil, options
|
52
|
+
def has_many many, scope = nil, **options, &extension
|
53
53
|
unless (scope.is_a?(Hash) && scope[:json_foreign_key]) || (options.is_a?(Hash) && options[:json_foreign_key])
|
54
54
|
return super
|
55
55
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Micah Geisel
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.6'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: appraisal
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: rake
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -104,11 +118,18 @@ files:
|
|
104
118
|
- ".gitignore"
|
105
119
|
- ".rspec"
|
106
120
|
- ".travis.yml"
|
121
|
+
- Appraisals
|
107
122
|
- Gemfile
|
108
123
|
- LICENSE.txt
|
109
124
|
- README.md
|
110
125
|
- Rakefile
|
111
126
|
- active_record-json_associations.gemspec
|
127
|
+
- gemfiles/rails_5.0.gemfile
|
128
|
+
- gemfiles/rails_5.0.gemfile.lock
|
129
|
+
- gemfiles/rails_5.1.gemfile
|
130
|
+
- gemfiles/rails_5.1.gemfile.lock
|
131
|
+
- gemfiles/rails_5.2.gemfile
|
132
|
+
- gemfiles/rails_5.2.gemfile.lock
|
112
133
|
- lib/active_record/json_associations.rb
|
113
134
|
- lib/active_record/json_associations/version.rb
|
114
135
|
- spec/json_associations_spec.rb
|