parentry 1.7.0 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +5 -1
- data/.tool-versions +1 -1
- data/Appraisals +4 -8
- data/Gemfile +9 -6
- data/gemfiles/activerecord_7.0.0.gemfile +8 -6
- data/gemfiles/activerecord_7.0.0.gemfile.lock +64 -74
- data/gemfiles/activerecord_7.1.0.gemfile +8 -6
- data/gemfiles/activerecord_7.1.0.gemfile.lock +79 -96
- data/gemfiles/activerecord_7.2.0.gemfile +8 -6
- data/gemfiles/activerecord_7.2.0.gemfile.lock +62 -70
- data/gemfiles/activerecord_8.0.0.gemfile +19 -0
- data/gemfiles/activerecord_8.0.0.gemfile.lock +200 -0
- data/lib/parentry/strategy/array/instance_methods.rb +3 -3
- data/lib/parentry/version.rb +1 -1
- data/parentry.gemspec +1 -1
- metadata +7 -7
- data/gemfiles/activerecord_6.1.0.gemfile +0 -21
- data/gemfiles/activerecord_6.1.0.gemfile.lock +0 -180
@@ -3,15 +3,17 @@
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
5
|
gem "appraisal"
|
6
|
-
gem "bundler"
|
7
|
-
gem "combustion"
|
6
|
+
gem "bundler"
|
7
|
+
gem "combustion"
|
8
8
|
gem "database_cleaner", "~> 2"
|
9
|
+
gem "ostruct"
|
9
10
|
gem "pg", "~> 1.5"
|
10
|
-
gem "pry"
|
11
|
-
gem "rake"
|
12
|
-
gem "rspec-rails"
|
13
|
-
gem "rubocop-rspec"
|
11
|
+
gem "pry"
|
12
|
+
gem "rake"
|
13
|
+
gem "rspec-rails"
|
14
|
+
gem "rubocop-rspec"
|
14
15
|
gem "simplecov", "~> 0.20"
|
16
|
+
gem "zeitwerk", "~> 2.6.0"
|
15
17
|
gem "activerecord", "~> 7.2", "< 8"
|
16
18
|
|
17
19
|
gemspec path: "../"
|
@@ -1,15 +1,15 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
parentry (1.
|
5
|
-
activerecord (>= 6.1, < 8)
|
4
|
+
parentry (1.8.0)
|
5
|
+
activerecord (>= 6.1, < 8.1)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actionpack (7.2.
|
11
|
-
actionview (= 7.2.
|
12
|
-
activesupport (= 7.2.
|
10
|
+
actionpack (7.2.2)
|
11
|
+
actionview (= 7.2.2)
|
12
|
+
activesupport (= 7.2.2)
|
13
13
|
nokogiri (>= 1.8.5)
|
14
14
|
racc
|
15
15
|
rack (>= 2.2.4, < 3.2)
|
@@ -18,20 +18,21 @@ GEM
|
|
18
18
|
rails-dom-testing (~> 2.2)
|
19
19
|
rails-html-sanitizer (~> 1.6)
|
20
20
|
useragent (~> 0.16)
|
21
|
-
actionview (7.2.
|
22
|
-
activesupport (= 7.2.
|
21
|
+
actionview (7.2.2)
|
22
|
+
activesupport (= 7.2.2)
|
23
23
|
builder (~> 3.1)
|
24
24
|
erubi (~> 1.11)
|
25
25
|
rails-dom-testing (~> 2.2)
|
26
26
|
rails-html-sanitizer (~> 1.6)
|
27
|
-
activemodel (7.2.
|
28
|
-
activesupport (= 7.2.
|
29
|
-
activerecord (7.2.
|
30
|
-
activemodel (= 7.2.
|
31
|
-
activesupport (= 7.2.
|
27
|
+
activemodel (7.2.2)
|
28
|
+
activesupport (= 7.2.2)
|
29
|
+
activerecord (7.2.2)
|
30
|
+
activemodel (= 7.2.2)
|
31
|
+
activesupport (= 7.2.2)
|
32
32
|
timeout (>= 0.4.0)
|
33
|
-
activesupport (7.2.
|
33
|
+
activesupport (7.2.2)
|
34
34
|
base64
|
35
|
+
benchmark (>= 0.3)
|
35
36
|
bigdecimal
|
36
37
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
37
38
|
connection_pool (>= 2.2.5)
|
@@ -47,6 +48,7 @@ GEM
|
|
47
48
|
thor (>= 0.14.0)
|
48
49
|
ast (2.4.2)
|
49
50
|
base64 (0.2.0)
|
51
|
+
benchmark (0.4.0)
|
50
52
|
bigdecimal (3.1.8)
|
51
53
|
builder (3.3.0)
|
52
54
|
coderay (1.1.3)
|
@@ -57,7 +59,7 @@ GEM
|
|
57
59
|
concurrent-ruby (1.3.4)
|
58
60
|
connection_pool (2.4.1)
|
59
61
|
crass (1.0.6)
|
60
|
-
database_cleaner (2.0
|
62
|
+
database_cleaner (2.1.0)
|
61
63
|
database_cleaner-active_record (>= 2, < 3)
|
62
64
|
database_cleaner-active_record (2.2.0)
|
63
65
|
activerecord (>= 5.a)
|
@@ -67,41 +69,43 @@ GEM
|
|
67
69
|
docile (1.4.1)
|
68
70
|
drb (2.2.1)
|
69
71
|
erubi (1.13.0)
|
70
|
-
i18n (1.14.
|
72
|
+
i18n (1.14.6)
|
71
73
|
concurrent-ruby (~> 1.0)
|
72
74
|
io-console (0.7.2)
|
73
|
-
irb (1.14.
|
75
|
+
irb (1.14.1)
|
74
76
|
rdoc (>= 4.0.0)
|
75
77
|
reline (>= 0.4.2)
|
76
|
-
json (2.
|
78
|
+
json (2.8.1)
|
77
79
|
language_server-protocol (3.17.0.3)
|
78
|
-
logger (1.6.
|
79
|
-
loofah (2.
|
80
|
+
logger (1.6.1)
|
81
|
+
loofah (2.23.1)
|
80
82
|
crass (~> 1.0.2)
|
81
83
|
nokogiri (>= 1.12.0)
|
82
84
|
method_source (1.1.0)
|
83
|
-
|
84
|
-
|
85
|
+
mini_portile2 (2.8.7)
|
86
|
+
minitest (5.25.1)
|
87
|
+
nokogiri (1.16.7)
|
88
|
+
mini_portile2 (~> 2.8.2)
|
85
89
|
racc (~> 1.4)
|
86
|
-
|
87
|
-
|
90
|
+
ostruct (0.6.1)
|
91
|
+
parallel (1.26.3)
|
92
|
+
parser (3.3.6.0)
|
88
93
|
ast (~> 2.4.1)
|
89
94
|
racc
|
90
|
-
pg (1.5.
|
95
|
+
pg (1.5.9)
|
91
96
|
pry (0.14.2)
|
92
97
|
coderay (~> 1.1)
|
93
98
|
method_source (~> 1.0)
|
94
|
-
psych (5.
|
99
|
+
psych (5.2.0)
|
95
100
|
stringio
|
96
101
|
racc (1.8.1)
|
97
|
-
rack (3.1.
|
102
|
+
rack (3.1.8)
|
98
103
|
rack-session (2.0.0)
|
99
104
|
rack (>= 3.0.0)
|
100
105
|
rack-test (2.1.0)
|
101
106
|
rack (>= 1.3)
|
102
|
-
rackup (2.
|
107
|
+
rackup (2.2.0)
|
103
108
|
rack (>= 3)
|
104
|
-
webrick (~> 1.8)
|
105
109
|
rails-dom-testing (2.2.0)
|
106
110
|
activesupport (>= 5.0.0)
|
107
111
|
minitest
|
@@ -109,9 +113,9 @@ GEM
|
|
109
113
|
rails-html-sanitizer (1.6.0)
|
110
114
|
loofah (~> 2.21)
|
111
115
|
nokogiri (~> 1.14)
|
112
|
-
railties (7.2.
|
113
|
-
actionpack (= 7.2.
|
114
|
-
activesupport (= 7.2.
|
116
|
+
railties (7.2.2)
|
117
|
+
actionpack (= 7.2.2)
|
118
|
+
activesupport (= 7.2.2)
|
115
119
|
irb (~> 1.13)
|
116
120
|
rackup (>= 1.0.0)
|
117
121
|
rake (>= 12.2)
|
@@ -122,50 +126,38 @@ GEM
|
|
122
126
|
rdoc (6.7.0)
|
123
127
|
psych (>= 4.0.0)
|
124
128
|
regexp_parser (2.9.2)
|
125
|
-
reline (0.5.
|
129
|
+
reline (0.5.11)
|
126
130
|
io-console (~> 0.5)
|
127
|
-
|
128
|
-
strscan
|
129
|
-
rspec-core (3.13.0)
|
131
|
+
rspec-core (3.13.2)
|
130
132
|
rspec-support (~> 3.13.0)
|
131
|
-
rspec-expectations (3.13.
|
133
|
+
rspec-expectations (3.13.3)
|
132
134
|
diff-lcs (>= 1.2.0, < 2.0)
|
133
135
|
rspec-support (~> 3.13.0)
|
134
|
-
rspec-mocks (3.13.
|
136
|
+
rspec-mocks (3.13.2)
|
135
137
|
diff-lcs (>= 1.2.0, < 2.0)
|
136
138
|
rspec-support (~> 3.13.0)
|
137
|
-
rspec-rails (
|
138
|
-
actionpack (>=
|
139
|
-
activesupport (>=
|
140
|
-
railties (>=
|
139
|
+
rspec-rails (7.0.1)
|
140
|
+
actionpack (>= 7.0)
|
141
|
+
activesupport (>= 7.0)
|
142
|
+
railties (>= 7.0)
|
141
143
|
rspec-core (~> 3.13)
|
142
144
|
rspec-expectations (~> 3.13)
|
143
145
|
rspec-mocks (~> 3.13)
|
144
146
|
rspec-support (~> 3.13)
|
145
147
|
rspec-support (3.13.1)
|
146
|
-
rubocop (1.
|
148
|
+
rubocop (1.68.0)
|
147
149
|
json (~> 2.3)
|
148
150
|
language_server-protocol (>= 3.17.0)
|
149
151
|
parallel (~> 1.10)
|
150
152
|
parser (>= 3.3.0.2)
|
151
153
|
rainbow (>= 2.2.2, < 4.0)
|
152
154
|
regexp_parser (>= 2.4, < 3.0)
|
153
|
-
|
154
|
-
rubocop-ast (>= 1.31.1, < 2.0)
|
155
|
+
rubocop-ast (>= 1.32.2, < 2.0)
|
155
156
|
ruby-progressbar (~> 1.7)
|
156
157
|
unicode-display_width (>= 2.4.0, < 3.0)
|
157
|
-
rubocop-ast (1.
|
158
|
+
rubocop-ast (1.34.1)
|
158
159
|
parser (>= 3.3.1.0)
|
159
|
-
rubocop-
|
160
|
-
rubocop (~> 1.41)
|
161
|
-
rubocop-factory_bot (2.26.1)
|
162
|
-
rubocop (~> 1.61)
|
163
|
-
rubocop-rspec (2.31.0)
|
164
|
-
rubocop (~> 1.40)
|
165
|
-
rubocop-capybara (~> 2.17)
|
166
|
-
rubocop-factory_bot (~> 2.22)
|
167
|
-
rubocop-rspec_rails (~> 2.28)
|
168
|
-
rubocop-rspec_rails (2.29.1)
|
160
|
+
rubocop-rspec (3.2.0)
|
169
161
|
rubocop (~> 1.61)
|
170
162
|
ruby-progressbar (1.13.0)
|
171
163
|
securerandom (0.3.1)
|
@@ -173,35 +165,35 @@ GEM
|
|
173
165
|
docile (~> 1.1)
|
174
166
|
simplecov-html (~> 0.11)
|
175
167
|
simplecov_json_formatter (~> 0.1)
|
176
|
-
simplecov-html (0.
|
168
|
+
simplecov-html (0.13.1)
|
177
169
|
simplecov_json_formatter (0.1.4)
|
178
|
-
stringio (3.1.
|
179
|
-
|
180
|
-
|
181
|
-
timeout (0.4.1)
|
170
|
+
stringio (3.1.2)
|
171
|
+
thor (1.3.2)
|
172
|
+
timeout (0.4.2)
|
182
173
|
tzinfo (2.0.6)
|
183
174
|
concurrent-ruby (~> 1.0)
|
184
|
-
unicode-display_width (2.
|
175
|
+
unicode-display_width (2.6.0)
|
185
176
|
useragent (0.16.10)
|
186
|
-
|
187
|
-
zeitwerk (2.6.17)
|
177
|
+
zeitwerk (2.6.18)
|
188
178
|
|
189
179
|
PLATFORMS
|
190
|
-
|
180
|
+
ruby
|
191
181
|
|
192
182
|
DEPENDENCIES
|
193
183
|
activerecord (~> 7.2, < 8)
|
194
184
|
appraisal
|
195
|
-
bundler
|
196
|
-
combustion
|
185
|
+
bundler
|
186
|
+
combustion
|
197
187
|
database_cleaner (~> 2)
|
188
|
+
ostruct
|
198
189
|
parentry!
|
199
190
|
pg (~> 1.5)
|
200
|
-
pry
|
201
|
-
rake
|
202
|
-
rspec-rails
|
203
|
-
rubocop-rspec
|
191
|
+
pry
|
192
|
+
rake
|
193
|
+
rspec-rails
|
194
|
+
rubocop-rspec
|
204
195
|
simplecov (~> 0.20)
|
196
|
+
zeitwerk (~> 2.6.0)
|
205
197
|
|
206
198
|
BUNDLED WITH
|
207
199
|
2.5.17
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem "appraisal"
|
6
|
+
gem "bundler"
|
7
|
+
gem "combustion"
|
8
|
+
gem "database_cleaner", "~> 2"
|
9
|
+
gem "ostruct"
|
10
|
+
gem "pg", "~> 1.5"
|
11
|
+
gem "pry"
|
12
|
+
gem "rake"
|
13
|
+
gem "rspec-rails"
|
14
|
+
gem "rubocop-rspec"
|
15
|
+
gem "simplecov", "~> 0.20"
|
16
|
+
gem "zeitwerk", "~> 2.6.0"
|
17
|
+
gem "activerecord", "8.0.0", "< 8.1"
|
18
|
+
|
19
|
+
gemspec path: "../"
|
@@ -0,0 +1,200 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
parentry (1.8.0)
|
5
|
+
activerecord (>= 6.1, < 8.1)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
actionpack (8.0.0)
|
11
|
+
actionview (= 8.0.0)
|
12
|
+
activesupport (= 8.0.0)
|
13
|
+
nokogiri (>= 1.8.5)
|
14
|
+
rack (>= 2.2.4)
|
15
|
+
rack-session (>= 1.0.1)
|
16
|
+
rack-test (>= 0.6.3)
|
17
|
+
rails-dom-testing (~> 2.2)
|
18
|
+
rails-html-sanitizer (~> 1.6)
|
19
|
+
useragent (~> 0.16)
|
20
|
+
actionview (8.0.0)
|
21
|
+
activesupport (= 8.0.0)
|
22
|
+
builder (~> 3.1)
|
23
|
+
erubi (~> 1.11)
|
24
|
+
rails-dom-testing (~> 2.2)
|
25
|
+
rails-html-sanitizer (~> 1.6)
|
26
|
+
activemodel (8.0.0)
|
27
|
+
activesupport (= 8.0.0)
|
28
|
+
activerecord (8.0.0)
|
29
|
+
activemodel (= 8.0.0)
|
30
|
+
activesupport (= 8.0.0)
|
31
|
+
timeout (>= 0.4.0)
|
32
|
+
activesupport (8.0.0)
|
33
|
+
base64
|
34
|
+
benchmark (>= 0.3)
|
35
|
+
bigdecimal
|
36
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
37
|
+
connection_pool (>= 2.2.5)
|
38
|
+
drb
|
39
|
+
i18n (>= 1.6, < 2)
|
40
|
+
logger (>= 1.4.2)
|
41
|
+
minitest (>= 5.1)
|
42
|
+
securerandom (>= 0.3)
|
43
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
44
|
+
uri (>= 0.13.1)
|
45
|
+
appraisal (2.5.0)
|
46
|
+
bundler
|
47
|
+
rake
|
48
|
+
thor (>= 0.14.0)
|
49
|
+
ast (2.4.2)
|
50
|
+
base64 (0.2.0)
|
51
|
+
benchmark (0.4.0)
|
52
|
+
bigdecimal (3.1.8)
|
53
|
+
builder (3.3.0)
|
54
|
+
coderay (1.1.3)
|
55
|
+
combustion (1.5.0)
|
56
|
+
activesupport (>= 3.0.0)
|
57
|
+
railties (>= 3.0.0)
|
58
|
+
thor (>= 0.14.6)
|
59
|
+
concurrent-ruby (1.3.4)
|
60
|
+
connection_pool (2.4.1)
|
61
|
+
crass (1.0.6)
|
62
|
+
database_cleaner (2.1.0)
|
63
|
+
database_cleaner-active_record (>= 2, < 3)
|
64
|
+
database_cleaner-active_record (2.2.0)
|
65
|
+
activerecord (>= 5.a)
|
66
|
+
database_cleaner-core (~> 2.0.0)
|
67
|
+
database_cleaner-core (2.0.1)
|
68
|
+
diff-lcs (1.5.1)
|
69
|
+
docile (1.4.1)
|
70
|
+
drb (2.2.1)
|
71
|
+
erubi (1.13.0)
|
72
|
+
i18n (1.14.6)
|
73
|
+
concurrent-ruby (~> 1.0)
|
74
|
+
io-console (0.7.2)
|
75
|
+
irb (1.14.1)
|
76
|
+
rdoc (>= 4.0.0)
|
77
|
+
reline (>= 0.4.2)
|
78
|
+
json (2.8.1)
|
79
|
+
language_server-protocol (3.17.0.3)
|
80
|
+
logger (1.6.1)
|
81
|
+
loofah (2.23.1)
|
82
|
+
crass (~> 1.0.2)
|
83
|
+
nokogiri (>= 1.12.0)
|
84
|
+
method_source (1.1.0)
|
85
|
+
mini_portile2 (2.8.7)
|
86
|
+
minitest (5.25.1)
|
87
|
+
nokogiri (1.16.7)
|
88
|
+
mini_portile2 (~> 2.8.2)
|
89
|
+
racc (~> 1.4)
|
90
|
+
ostruct (0.6.1)
|
91
|
+
parallel (1.26.3)
|
92
|
+
parser (3.3.6.0)
|
93
|
+
ast (~> 2.4.1)
|
94
|
+
racc
|
95
|
+
pg (1.5.9)
|
96
|
+
pry (0.14.2)
|
97
|
+
coderay (~> 1.1)
|
98
|
+
method_source (~> 1.0)
|
99
|
+
psych (5.2.0)
|
100
|
+
stringio
|
101
|
+
racc (1.8.1)
|
102
|
+
rack (3.1.8)
|
103
|
+
rack-session (2.0.0)
|
104
|
+
rack (>= 3.0.0)
|
105
|
+
rack-test (2.1.0)
|
106
|
+
rack (>= 1.3)
|
107
|
+
rackup (2.2.0)
|
108
|
+
rack (>= 3)
|
109
|
+
rails-dom-testing (2.2.0)
|
110
|
+
activesupport (>= 5.0.0)
|
111
|
+
minitest
|
112
|
+
nokogiri (>= 1.6)
|
113
|
+
rails-html-sanitizer (1.6.0)
|
114
|
+
loofah (~> 2.21)
|
115
|
+
nokogiri (~> 1.14)
|
116
|
+
railties (8.0.0)
|
117
|
+
actionpack (= 8.0.0)
|
118
|
+
activesupport (= 8.0.0)
|
119
|
+
irb (~> 1.13)
|
120
|
+
rackup (>= 1.0.0)
|
121
|
+
rake (>= 12.2)
|
122
|
+
thor (~> 1.0, >= 1.2.2)
|
123
|
+
zeitwerk (~> 2.6)
|
124
|
+
rainbow (3.1.1)
|
125
|
+
rake (13.2.1)
|
126
|
+
rdoc (6.7.0)
|
127
|
+
psych (>= 4.0.0)
|
128
|
+
regexp_parser (2.9.2)
|
129
|
+
reline (0.5.11)
|
130
|
+
io-console (~> 0.5)
|
131
|
+
rspec-core (3.13.2)
|
132
|
+
rspec-support (~> 3.13.0)
|
133
|
+
rspec-expectations (3.13.3)
|
134
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
135
|
+
rspec-support (~> 3.13.0)
|
136
|
+
rspec-mocks (3.13.2)
|
137
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
138
|
+
rspec-support (~> 3.13.0)
|
139
|
+
rspec-rails (7.0.1)
|
140
|
+
actionpack (>= 7.0)
|
141
|
+
activesupport (>= 7.0)
|
142
|
+
railties (>= 7.0)
|
143
|
+
rspec-core (~> 3.13)
|
144
|
+
rspec-expectations (~> 3.13)
|
145
|
+
rspec-mocks (~> 3.13)
|
146
|
+
rspec-support (~> 3.13)
|
147
|
+
rspec-support (3.13.1)
|
148
|
+
rubocop (1.68.0)
|
149
|
+
json (~> 2.3)
|
150
|
+
language_server-protocol (>= 3.17.0)
|
151
|
+
parallel (~> 1.10)
|
152
|
+
parser (>= 3.3.0.2)
|
153
|
+
rainbow (>= 2.2.2, < 4.0)
|
154
|
+
regexp_parser (>= 2.4, < 3.0)
|
155
|
+
rubocop-ast (>= 1.32.2, < 2.0)
|
156
|
+
ruby-progressbar (~> 1.7)
|
157
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
158
|
+
rubocop-ast (1.34.1)
|
159
|
+
parser (>= 3.3.1.0)
|
160
|
+
rubocop-rspec (3.2.0)
|
161
|
+
rubocop (~> 1.61)
|
162
|
+
ruby-progressbar (1.13.0)
|
163
|
+
securerandom (0.3.1)
|
164
|
+
simplecov (0.22.0)
|
165
|
+
docile (~> 1.1)
|
166
|
+
simplecov-html (~> 0.11)
|
167
|
+
simplecov_json_formatter (~> 0.1)
|
168
|
+
simplecov-html (0.13.1)
|
169
|
+
simplecov_json_formatter (0.1.4)
|
170
|
+
stringio (3.1.2)
|
171
|
+
thor (1.3.2)
|
172
|
+
timeout (0.4.2)
|
173
|
+
tzinfo (2.0.6)
|
174
|
+
concurrent-ruby (~> 1.0)
|
175
|
+
unicode-display_width (2.6.0)
|
176
|
+
uri (1.0.1)
|
177
|
+
useragent (0.16.10)
|
178
|
+
zeitwerk (2.6.18)
|
179
|
+
|
180
|
+
PLATFORMS
|
181
|
+
ruby
|
182
|
+
|
183
|
+
DEPENDENCIES
|
184
|
+
activerecord (= 8.0.0, < 8.1)
|
185
|
+
appraisal
|
186
|
+
bundler
|
187
|
+
combustion
|
188
|
+
database_cleaner (~> 2)
|
189
|
+
ostruct
|
190
|
+
parentry!
|
191
|
+
pg (~> 1.5)
|
192
|
+
pry
|
193
|
+
rake
|
194
|
+
rspec-rails
|
195
|
+
rubocop-rspec
|
196
|
+
simplecov (~> 0.20)
|
197
|
+
zeitwerk (~> 2.6.0)
|
198
|
+
|
199
|
+
BUNDLED WITH
|
200
|
+
2.5.20
|
@@ -15,7 +15,7 @@ module Parentry
|
|
15
15
|
def cascade_parentry
|
16
16
|
old_path, new_path = saved_changes[parentry_column]
|
17
17
|
parentry_scope.where(
|
18
|
-
["#{parentry_column} @> ARRAY[:tree] AND id != :id", { tree: old_path, id: }]
|
18
|
+
["#{parentry_column} @> ARRAY[:tree]::integer[] AND id != :id", { tree: old_path, id: }]
|
19
19
|
).update_all(
|
20
20
|
[
|
21
21
|
"#{parentry_column} = array_cat(ARRAY[?], #{parentry_column}[?:array_length(#{parentry_column}, 1)])",
|
@@ -25,11 +25,11 @@ module Parentry
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def subtree_conditions
|
28
|
-
["#{parentry_column} @> ARRAY[?]", parentry]
|
28
|
+
["#{parentry_column} @> ARRAY[?]::integer[]", parentry]
|
29
29
|
end
|
30
30
|
|
31
31
|
def ancestor_conditions
|
32
|
-
["#{parentry_column} <@ ARRAY[?]", parentry]
|
32
|
+
["#{parentry_column} <@ ARRAY[?]::integer[]", parentry]
|
33
33
|
end
|
34
34
|
end
|
35
35
|
end
|
data/lib/parentry/version.rb
CHANGED
data/parentry.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: parentry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hamed Asghari
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '6.1'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '8'
|
22
|
+
version: '8.1'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '6.1'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '8'
|
32
|
+
version: '8.1'
|
33
33
|
description:
|
34
34
|
email:
|
35
35
|
- hasghari@gmail.com
|
@@ -50,14 +50,14 @@ files:
|
|
50
50
|
- Rakefile
|
51
51
|
- bin/console
|
52
52
|
- bin/setup
|
53
|
-
- gemfiles/activerecord_6.1.0.gemfile
|
54
|
-
- gemfiles/activerecord_6.1.0.gemfile.lock
|
55
53
|
- gemfiles/activerecord_7.0.0.gemfile
|
56
54
|
- gemfiles/activerecord_7.0.0.gemfile.lock
|
57
55
|
- gemfiles/activerecord_7.1.0.gemfile
|
58
56
|
- gemfiles/activerecord_7.1.0.gemfile.lock
|
59
57
|
- gemfiles/activerecord_7.2.0.gemfile
|
60
58
|
- gemfiles/activerecord_7.2.0.gemfile.lock
|
59
|
+
- gemfiles/activerecord_8.0.0.gemfile
|
60
|
+
- gemfiles/activerecord_8.0.0.gemfile.lock
|
61
61
|
- lib/parentry.rb
|
62
62
|
- lib/parentry/class_methods.rb
|
63
63
|
- lib/parentry/instance_methods.rb
|
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
91
|
- !ruby/object:Gem::Version
|
92
92
|
version: '0'
|
93
93
|
requirements: []
|
94
|
-
rubygems_version: 3.5.
|
94
|
+
rubygems_version: 3.5.23
|
95
95
|
signing_key:
|
96
96
|
specification_version: 4
|
97
97
|
summary: ActiveRecord adapter for the Postgres ltree module
|
@@ -1,21 +0,0 @@
|
|
1
|
-
# This file was generated by Appraisal
|
2
|
-
|
3
|
-
source "https://rubygems.org"
|
4
|
-
|
5
|
-
gem "appraisal"
|
6
|
-
gem "bundler", "~> 2"
|
7
|
-
gem "combustion", "~> 1.4"
|
8
|
-
gem "database_cleaner", "~> 2"
|
9
|
-
gem "pg", "~> 1.5"
|
10
|
-
gem "pry", "~> 0.13"
|
11
|
-
gem "rake", "~> 13"
|
12
|
-
gem "rspec-rails", "~> 6.1"
|
13
|
-
gem "rubocop-rspec", "~> 2"
|
14
|
-
gem "simplecov", "~> 0.20"
|
15
|
-
gem "activerecord", "~> 6.1", "< 6.2"
|
16
|
-
gem "base64"
|
17
|
-
gem "bigdecimal"
|
18
|
-
gem "drb"
|
19
|
-
gem "mutex_m"
|
20
|
-
|
21
|
-
gemspec path: "../"
|