active_record-nested_attributes-destroy_if 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b3f9cedfeb35032c5d40a02c4b2c0733a3b9577ba4461038dccf551ac11cc350
4
- data.tar.gz: d08dec119e05d52874ca47436a83dae3eb117642113ee227cca5b85d39da40fb
3
+ metadata.gz: d56e8c00af23e990dcd632555134bf0e2e30dea27b9ec3d5c36206ec1e0d3569
4
+ data.tar.gz: 6f9848d9b2da9e36048f825e10483100d079018b2a468c140c1b4d1a77e12171
5
5
  SHA512:
6
- metadata.gz: bfb80b4fef7e1c456b582fb85a99aae4a5ca96e9440afed23b6be96fb2c838509ad96f1a69fc4117e3ab52dc690d3ce836b5218f09eec67f8c856eb3634a55f7
7
- data.tar.gz: 4e96432270e348e0c1e2688814958eb99f0951e73e014864ab7bf38cc88f3ea2d491d41a7c5562d5cce749fb28c79f7a90a6ec76b805d82d3386885740226cb4
6
+ metadata.gz: 0ce6638255bfd2d3f12e4bf2a563d9d09980d737ba90e7cf6670a86b37f9bf3d5dadecb35117b46e746e754518fb24950a0923bd921e40e35d501f7542e1c0bb
7
+ data.tar.gz: 96d9b7fa7c3f4b3b1e787f89e841167fc0429fd1e8cb4eafeb6140ff7a68b0f820acf00b09b49efc72ccaf504d1531e70271419c9ee7196c368d9e8c742b0a34
@@ -3,5 +3,11 @@ sudo: false
3
3
  language: ruby
4
4
  cache: bundler
5
5
  rvm:
6
- - 2.6.3
6
+ - 2.5
7
+ - 2.6
8
+ - 2.7
9
+ gemfile:
10
+ - gemfiles/rails_5.1.gemfile
11
+ - gemfiles/rails_5.2.gemfile
12
+ - gemfiles/rails_6.0.gemfile
7
13
  before_install: gem install bundler -v 2.0.1
@@ -0,0 +1,12 @@
1
+ appraise "rails-5.1" do
2
+ gem "rails", "~>5.1.0"
3
+ end
4
+
5
+ appraise "rails-5.2" do
6
+ gem "rails", "~>5.2.0"
7
+ end
8
+
9
+ appraise "rails-6.0" do
10
+ gem "rails", "~>6.0.0"
11
+ end
12
+
@@ -1,24 +1,27 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- active_record-nested_attributes-destroy_if (0.1.0)
5
- activerecord (~> 5.2.0)
4
+ active_record-nested_attributes-destroy_if (0.2.0)
5
+ activerecord (>= 5.1, < 6.1)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activemodel (5.2.4.1)
11
- activesupport (= 5.2.4.1)
12
- activerecord (5.2.4.1)
13
- activemodel (= 5.2.4.1)
14
- activesupport (= 5.2.4.1)
15
- arel (>= 9.0)
16
- activesupport (5.2.4.1)
10
+ activemodel (6.0.2.1)
11
+ activesupport (= 6.0.2.1)
12
+ activerecord (6.0.2.1)
13
+ activemodel (= 6.0.2.1)
14
+ activesupport (= 6.0.2.1)
15
+ activesupport (6.0.2.1)
17
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
18
17
  i18n (>= 0.7, < 2)
19
18
  minitest (~> 5.1)
20
19
  tzinfo (~> 1.1)
21
- arel (9.0.0)
20
+ zeitwerk (~> 2.2)
21
+ appraisal (2.2.0)
22
+ bundler
23
+ rake
24
+ thor (>= 0.14.0)
22
25
  byebug (11.1.0)
23
26
  concurrent-ruby (1.1.5)
24
27
  diff-lcs (1.3)
@@ -40,15 +43,18 @@ GEM
40
43
  rspec-support (~> 3.9.0)
41
44
  rspec-support (3.9.2)
42
45
  sqlite3 (1.4.2)
46
+ thor (1.0.1)
43
47
  thread_safe (0.3.6)
44
48
  tzinfo (1.2.6)
45
49
  thread_safe (~> 0.1)
50
+ zeitwerk (2.2.2)
46
51
 
47
52
  PLATFORMS
48
53
  ruby
49
54
 
50
55
  DEPENDENCIES
51
56
  active_record-nested_attributes-destroy_if!
57
+ appraisal
52
58
  bundler (~> 2.0)
53
59
  byebug
54
60
  rake (~> 10.0)
data/README.md CHANGED
@@ -1,18 +1,8 @@
1
- # ActiveRecord::NestedAttributesDestroyIf
1
+ # ActiveRecord::NestedAttributes::DestroyIf
2
2
 
3
- Adds a `:destroy_if` option to `.accepts_nested_attributes_for`, which is basically a stronger version of `:reject_if` that also destroys existing records.
4
-
5
- ## Installation
6
-
7
- Add this line to your application's Gemfile:
8
-
9
- ```ruby
10
- gem 'active_record-nested_attributes-destroy_if'
11
- ```
3
+ [![Build Status](https://travis-ci.org/botandrose/active_record-nested_attributes-destroy_if.svg?branch=master)](https://travis-ci.org/botandrose/active_record-nested_attributes-destroy_if)
12
4
 
13
- And then execute:
14
-
15
- $ bundle
5
+ Adds a `:destroy_if` option to `.accepts_nested_attributes_for`, which is basically a stronger version of `:reject_if` that also destroys existing records.
16
6
 
17
7
  ## Usage
18
8
 
@@ -23,9 +23,10 @@ Gem::Specification.new do |spec|
23
23
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
24
  spec.require_paths = ["lib"]
25
25
 
26
- spec.add_dependency "activerecord", "~>5.2.0"
26
+ spec.add_dependency "activerecord", ">=5.1", "<6.1"
27
27
 
28
28
  spec.add_development_dependency "bundler", "~> 2.0"
29
+ spec.add_development_dependency "appraisal"
29
30
  spec.add_development_dependency "rake", "~> 10.0"
30
31
  spec.add_development_dependency "rspec", "~> 3.0"
31
32
  spec.add_development_dependency "sqlite3"
@@ -0,0 +1,2 @@
1
+ ---
2
+ BUNDLE_RETRY: "1"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~>5.0.0"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~>5.1.0"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,144 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ active_record-nested_attributes-destroy_if (0.2.0)
5
+ activerecord (>= 5.1, < 6.1)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ actioncable (5.1.7)
11
+ actionpack (= 5.1.7)
12
+ nio4r (~> 2.0)
13
+ websocket-driver (~> 0.6.1)
14
+ actionmailer (5.1.7)
15
+ actionpack (= 5.1.7)
16
+ actionview (= 5.1.7)
17
+ activejob (= 5.1.7)
18
+ mail (~> 2.5, >= 2.5.4)
19
+ rails-dom-testing (~> 2.0)
20
+ actionpack (5.1.7)
21
+ actionview (= 5.1.7)
22
+ activesupport (= 5.1.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.1.7)
28
+ activesupport (= 5.1.7)
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.7)
34
+ activesupport (= 5.1.7)
35
+ globalid (>= 0.3.6)
36
+ activemodel (5.1.7)
37
+ activesupport (= 5.1.7)
38
+ activerecord (5.1.7)
39
+ activemodel (= 5.1.7)
40
+ activesupport (= 5.1.7)
41
+ arel (~> 8.0)
42
+ activesupport (5.1.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 (8.0.0)
52
+ builder (3.2.4)
53
+ byebug (11.1.1)
54
+ concurrent-ruby (1.1.5)
55
+ crass (1.0.6)
56
+ diff-lcs (1.3)
57
+ erubi (1.9.0)
58
+ globalid (0.4.2)
59
+ activesupport (>= 4.2.0)
60
+ i18n (1.8.2)
61
+ concurrent-ruby (~> 1.0)
62
+ loofah (2.4.0)
63
+ crass (~> 1.0.2)
64
+ nokogiri (>= 1.5.9)
65
+ mail (2.7.1)
66
+ mini_mime (>= 0.1.1)
67
+ method_source (0.9.2)
68
+ mini_mime (1.0.2)
69
+ mini_portile2 (2.4.0)
70
+ minitest (5.14.0)
71
+ nio4r (2.5.2)
72
+ nokogiri (1.10.7)
73
+ mini_portile2 (~> 2.4.0)
74
+ rack (2.1.1)
75
+ rack-test (1.1.0)
76
+ rack (>= 1.0, < 3)
77
+ rails (5.1.7)
78
+ actioncable (= 5.1.7)
79
+ actionmailer (= 5.1.7)
80
+ actionpack (= 5.1.7)
81
+ actionview (= 5.1.7)
82
+ activejob (= 5.1.7)
83
+ activemodel (= 5.1.7)
84
+ activerecord (= 5.1.7)
85
+ activesupport (= 5.1.7)
86
+ bundler (>= 1.3.0)
87
+ railties (= 5.1.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.3.0)
93
+ loofah (~> 2.3)
94
+ railties (5.1.7)
95
+ actionpack (= 5.1.7)
96
+ activesupport (= 5.1.7)
97
+ method_source
98
+ rake (>= 0.8.7)
99
+ thor (>= 0.18.1, < 2.0)
100
+ rake (10.5.0)
101
+ rspec (3.9.0)
102
+ rspec-core (~> 3.9.0)
103
+ rspec-expectations (~> 3.9.0)
104
+ rspec-mocks (~> 3.9.0)
105
+ rspec-core (3.9.1)
106
+ rspec-support (~> 3.9.1)
107
+ rspec-expectations (3.9.0)
108
+ diff-lcs (>= 1.2.0, < 2.0)
109
+ rspec-support (~> 3.9.0)
110
+ rspec-mocks (3.9.1)
111
+ diff-lcs (>= 1.2.0, < 2.0)
112
+ rspec-support (~> 3.9.0)
113
+ rspec-support (3.9.2)
114
+ sprockets (4.0.0)
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.4.2)
122
+ thor (1.0.1)
123
+ thread_safe (0.3.6)
124
+ tzinfo (1.2.6)
125
+ thread_safe (~> 0.1)
126
+ websocket-driver (0.6.5)
127
+ websocket-extensions (>= 0.1.0)
128
+ websocket-extensions (0.1.4)
129
+
130
+ PLATFORMS
131
+ ruby
132
+
133
+ DEPENDENCIES
134
+ active_record-nested_attributes-destroy_if!
135
+ appraisal
136
+ bundler (~> 2.0)
137
+ byebug
138
+ rails (~> 5.1.0)
139
+ rake (~> 10.0)
140
+ rspec (~> 3.0)
141
+ sqlite3
142
+
143
+ BUNDLED WITH
144
+ 2.1.4
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~>5.2.0"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,152 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ active_record-nested_attributes-destroy_if (0.2.0)
5
+ activerecord (>= 5.1, < 6.1)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ actioncable (5.2.4.1)
11
+ actionpack (= 5.2.4.1)
12
+ nio4r (~> 2.0)
13
+ websocket-driver (>= 0.6.1)
14
+ actionmailer (5.2.4.1)
15
+ actionpack (= 5.2.4.1)
16
+ actionview (= 5.2.4.1)
17
+ activejob (= 5.2.4.1)
18
+ mail (~> 2.5, >= 2.5.4)
19
+ rails-dom-testing (~> 2.0)
20
+ actionpack (5.2.4.1)
21
+ actionview (= 5.2.4.1)
22
+ activesupport (= 5.2.4.1)
23
+ rack (~> 2.0, >= 2.0.8)
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.4.1)
28
+ activesupport (= 5.2.4.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.4.1)
34
+ activesupport (= 5.2.4.1)
35
+ globalid (>= 0.3.6)
36
+ activemodel (5.2.4.1)
37
+ activesupport (= 5.2.4.1)
38
+ activerecord (5.2.4.1)
39
+ activemodel (= 5.2.4.1)
40
+ activesupport (= 5.2.4.1)
41
+ arel (>= 9.0)
42
+ activestorage (5.2.4.1)
43
+ actionpack (= 5.2.4.1)
44
+ activerecord (= 5.2.4.1)
45
+ marcel (~> 0.3.1)
46
+ activesupport (5.2.4.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.4)
57
+ byebug (11.1.1)
58
+ concurrent-ruby (1.1.5)
59
+ crass (1.0.6)
60
+ diff-lcs (1.3)
61
+ erubi (1.9.0)
62
+ globalid (0.4.2)
63
+ activesupport (>= 4.2.0)
64
+ i18n (1.8.2)
65
+ concurrent-ruby (~> 1.0)
66
+ loofah (2.4.0)
67
+ crass (~> 1.0.2)
68
+ nokogiri (>= 1.5.9)
69
+ mail (2.7.1)
70
+ mini_mime (>= 0.1.1)
71
+ marcel (0.3.3)
72
+ mimemagic (~> 0.3.2)
73
+ method_source (0.9.2)
74
+ mimemagic (0.3.3)
75
+ mini_mime (1.0.2)
76
+ mini_portile2 (2.4.0)
77
+ minitest (5.14.0)
78
+ nio4r (2.5.2)
79
+ nokogiri (1.10.7)
80
+ mini_portile2 (~> 2.4.0)
81
+ rack (2.1.1)
82
+ rack-test (1.1.0)
83
+ rack (>= 1.0, < 3)
84
+ rails (5.2.4.1)
85
+ actioncable (= 5.2.4.1)
86
+ actionmailer (= 5.2.4.1)
87
+ actionpack (= 5.2.4.1)
88
+ actionview (= 5.2.4.1)
89
+ activejob (= 5.2.4.1)
90
+ activemodel (= 5.2.4.1)
91
+ activerecord (= 5.2.4.1)
92
+ activestorage (= 5.2.4.1)
93
+ activesupport (= 5.2.4.1)
94
+ bundler (>= 1.3.0)
95
+ railties (= 5.2.4.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.3.0)
101
+ loofah (~> 2.3)
102
+ railties (5.2.4.1)
103
+ actionpack (= 5.2.4.1)
104
+ activesupport (= 5.2.4.1)
105
+ method_source
106
+ rake (>= 0.8.7)
107
+ thor (>= 0.19.0, < 2.0)
108
+ rake (10.5.0)
109
+ rspec (3.9.0)
110
+ rspec-core (~> 3.9.0)
111
+ rspec-expectations (~> 3.9.0)
112
+ rspec-mocks (~> 3.9.0)
113
+ rspec-core (3.9.1)
114
+ rspec-support (~> 3.9.1)
115
+ rspec-expectations (3.9.0)
116
+ diff-lcs (>= 1.2.0, < 2.0)
117
+ rspec-support (~> 3.9.0)
118
+ rspec-mocks (3.9.1)
119
+ diff-lcs (>= 1.2.0, < 2.0)
120
+ rspec-support (~> 3.9.0)
121
+ rspec-support (3.9.2)
122
+ sprockets (4.0.0)
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.4.2)
130
+ thor (1.0.1)
131
+ thread_safe (0.3.6)
132
+ tzinfo (1.2.6)
133
+ thread_safe (~> 0.1)
134
+ websocket-driver (0.7.1)
135
+ websocket-extensions (>= 0.1.0)
136
+ websocket-extensions (0.1.4)
137
+
138
+ PLATFORMS
139
+ ruby
140
+
141
+ DEPENDENCIES
142
+ active_record-nested_attributes-destroy_if!
143
+ appraisal
144
+ bundler (~> 2.0)
145
+ byebug
146
+ rails (~> 5.2.0)
147
+ rake (~> 10.0)
148
+ rspec (~> 3.0)
149
+ sqlite3
150
+
151
+ BUNDLED WITH
152
+ 2.1.4
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~>6.0.0"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,168 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ active_record-nested_attributes-destroy_if (0.2.0)
5
+ activerecord (>= 5.1, < 6.1)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ actioncable (6.0.2.1)
11
+ actionpack (= 6.0.2.1)
12
+ nio4r (~> 2.0)
13
+ websocket-driver (>= 0.6.1)
14
+ actionmailbox (6.0.2.1)
15
+ actionpack (= 6.0.2.1)
16
+ activejob (= 6.0.2.1)
17
+ activerecord (= 6.0.2.1)
18
+ activestorage (= 6.0.2.1)
19
+ activesupport (= 6.0.2.1)
20
+ mail (>= 2.7.1)
21
+ actionmailer (6.0.2.1)
22
+ actionpack (= 6.0.2.1)
23
+ actionview (= 6.0.2.1)
24
+ activejob (= 6.0.2.1)
25
+ mail (~> 2.5, >= 2.5.4)
26
+ rails-dom-testing (~> 2.0)
27
+ actionpack (6.0.2.1)
28
+ actionview (= 6.0.2.1)
29
+ activesupport (= 6.0.2.1)
30
+ rack (~> 2.0, >= 2.0.8)
31
+ rack-test (>= 0.6.3)
32
+ rails-dom-testing (~> 2.0)
33
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
34
+ actiontext (6.0.2.1)
35
+ actionpack (= 6.0.2.1)
36
+ activerecord (= 6.0.2.1)
37
+ activestorage (= 6.0.2.1)
38
+ activesupport (= 6.0.2.1)
39
+ nokogiri (>= 1.8.5)
40
+ actionview (6.0.2.1)
41
+ activesupport (= 6.0.2.1)
42
+ builder (~> 3.1)
43
+ erubi (~> 1.4)
44
+ rails-dom-testing (~> 2.0)
45
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
46
+ activejob (6.0.2.1)
47
+ activesupport (= 6.0.2.1)
48
+ globalid (>= 0.3.6)
49
+ activemodel (6.0.2.1)
50
+ activesupport (= 6.0.2.1)
51
+ activerecord (6.0.2.1)
52
+ activemodel (= 6.0.2.1)
53
+ activesupport (= 6.0.2.1)
54
+ activestorage (6.0.2.1)
55
+ actionpack (= 6.0.2.1)
56
+ activejob (= 6.0.2.1)
57
+ activerecord (= 6.0.2.1)
58
+ marcel (~> 0.3.1)
59
+ activesupport (6.0.2.1)
60
+ concurrent-ruby (~> 1.0, >= 1.0.2)
61
+ i18n (>= 0.7, < 2)
62
+ minitest (~> 5.1)
63
+ tzinfo (~> 1.1)
64
+ zeitwerk (~> 2.2)
65
+ appraisal (2.2.0)
66
+ bundler
67
+ rake
68
+ thor (>= 0.14.0)
69
+ builder (3.2.4)
70
+ byebug (11.1.1)
71
+ concurrent-ruby (1.1.5)
72
+ crass (1.0.6)
73
+ diff-lcs (1.3)
74
+ erubi (1.9.0)
75
+ globalid (0.4.2)
76
+ activesupport (>= 4.2.0)
77
+ i18n (1.8.2)
78
+ concurrent-ruby (~> 1.0)
79
+ loofah (2.4.0)
80
+ crass (~> 1.0.2)
81
+ nokogiri (>= 1.5.9)
82
+ mail (2.7.1)
83
+ mini_mime (>= 0.1.1)
84
+ marcel (0.3.3)
85
+ mimemagic (~> 0.3.2)
86
+ method_source (0.9.2)
87
+ mimemagic (0.3.3)
88
+ mini_mime (1.0.2)
89
+ mini_portile2 (2.4.0)
90
+ minitest (5.14.0)
91
+ nio4r (2.5.2)
92
+ nokogiri (1.10.7)
93
+ mini_portile2 (~> 2.4.0)
94
+ rack (2.1.1)
95
+ rack-test (1.1.0)
96
+ rack (>= 1.0, < 3)
97
+ rails (6.0.2.1)
98
+ actioncable (= 6.0.2.1)
99
+ actionmailbox (= 6.0.2.1)
100
+ actionmailer (= 6.0.2.1)
101
+ actionpack (= 6.0.2.1)
102
+ actiontext (= 6.0.2.1)
103
+ actionview (= 6.0.2.1)
104
+ activejob (= 6.0.2.1)
105
+ activemodel (= 6.0.2.1)
106
+ activerecord (= 6.0.2.1)
107
+ activestorage (= 6.0.2.1)
108
+ activesupport (= 6.0.2.1)
109
+ bundler (>= 1.3.0)
110
+ railties (= 6.0.2.1)
111
+ sprockets-rails (>= 2.0.0)
112
+ rails-dom-testing (2.0.3)
113
+ activesupport (>= 4.2.0)
114
+ nokogiri (>= 1.6)
115
+ rails-html-sanitizer (1.3.0)
116
+ loofah (~> 2.3)
117
+ railties (6.0.2.1)
118
+ actionpack (= 6.0.2.1)
119
+ activesupport (= 6.0.2.1)
120
+ method_source
121
+ rake (>= 0.8.7)
122
+ thor (>= 0.20.3, < 2.0)
123
+ rake (10.5.0)
124
+ rspec (3.9.0)
125
+ rspec-core (~> 3.9.0)
126
+ rspec-expectations (~> 3.9.0)
127
+ rspec-mocks (~> 3.9.0)
128
+ rspec-core (3.9.1)
129
+ rspec-support (~> 3.9.1)
130
+ rspec-expectations (3.9.0)
131
+ diff-lcs (>= 1.2.0, < 2.0)
132
+ rspec-support (~> 3.9.0)
133
+ rspec-mocks (3.9.1)
134
+ diff-lcs (>= 1.2.0, < 2.0)
135
+ rspec-support (~> 3.9.0)
136
+ rspec-support (3.9.2)
137
+ sprockets (4.0.0)
138
+ concurrent-ruby (~> 1.0)
139
+ rack (> 1, < 3)
140
+ sprockets-rails (3.2.1)
141
+ actionpack (>= 4.0)
142
+ activesupport (>= 4.0)
143
+ sprockets (>= 3.0.0)
144
+ sqlite3 (1.4.2)
145
+ thor (1.0.1)
146
+ thread_safe (0.3.6)
147
+ tzinfo (1.2.6)
148
+ thread_safe (~> 0.1)
149
+ websocket-driver (0.7.1)
150
+ websocket-extensions (>= 0.1.0)
151
+ websocket-extensions (0.1.4)
152
+ zeitwerk (2.2.2)
153
+
154
+ PLATFORMS
155
+ ruby
156
+
157
+ DEPENDENCIES
158
+ active_record-nested_attributes-destroy_if!
159
+ appraisal
160
+ bundler (~> 2.0)
161
+ byebug
162
+ rails (~> 6.0.0)
163
+ rake (~> 10.0)
164
+ rspec (~> 3.0)
165
+ sqlite3
166
+
167
+ BUNDLED WITH
168
+ 2.1.4
@@ -1,6 +1,6 @@
1
1
  module ActiveRecord
2
2
  module NestedAttributesDestroyIf
3
- VERSION = "0.1.0"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_record-nested_attributes-destroy_if
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-01-23 00:00:00.000000000 Z
11
+ date: 2020-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '5.1'
20
+ - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: 5.2.0
22
+ version: '6.1'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
- version: 5.2.0
29
+ version: '5.1'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '6.1'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: bundler
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -38,6 +44,20 @@ dependencies:
38
44
  - - "~>"
39
45
  - !ruby/object:Gem::Version
40
46
  version: '2.0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: appraisal
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
41
61
  - !ruby/object:Gem::Dependency
42
62
  name: rake
43
63
  requirement: !ruby/object:Gem::Requirement
@@ -107,6 +127,7 @@ files:
107
127
  - ".ruby-gemset"
108
128
  - ".ruby-version"
109
129
  - ".travis.yml"
130
+ - Appraisals
110
131
  - Gemfile
111
132
  - Gemfile.lock
112
133
  - LICENSE.txt
@@ -115,6 +136,14 @@ files:
115
136
  - active_record-nested_attributes-destroy_if.gemspec
116
137
  - bin/console
117
138
  - bin/setup
139
+ - gemfiles/.bundle/config
140
+ - gemfiles/rails_5.0.gemfile
141
+ - gemfiles/rails_5.1.gemfile
142
+ - gemfiles/rails_5.1.gemfile.lock
143
+ - gemfiles/rails_5.2.gemfile
144
+ - gemfiles/rails_5.2.gemfile.lock
145
+ - gemfiles/rails_6.0.gemfile
146
+ - gemfiles/rails_6.0.gemfile.lock
118
147
  - lib/active_record/nested_attributes/destroy_if.rb
119
148
  - lib/active_record/nested_attributes/destroy_if/version.rb
120
149
  homepage: https://github.com/botandrose/active_record-nested_attributes-destroy_if