parentry 1.7.0 → 1.9.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: 9f1f3b24aab789263d1d9a37a1d508d914cff2aec62fecde73ca362f3c515017
4
- data.tar.gz: '094eb55292d2538004729cffb4aa2693a73136ddfb4397478bf1c9e0a3ca1c91'
3
+ metadata.gz: dc5ffff21d2218eee1f1314253681b34fe0f03fe715227ccbdf379498fb82236
4
+ data.tar.gz: 5dd8994001e9395c63e6bc4168ae8a36acd153797a5ace10fd2caab6e69dc36e
5
5
  SHA512:
6
- metadata.gz: 42d8ecc037279704e7105549beffaf5f40f1b86c7ebc079261ab9a6d8058d9d504e218e536c980edf5118a249f12362fc6b558611b176e7e98053ac7938ddb64
7
- data.tar.gz: 3b66618773b4ec79daf699d4b5cdee40cc73ddf84422945ddd0a3aecc806b29d85e58d0d382cf794ffe3885e4a875cbcc445986a4c8bb7592af57fb5c0b308ab
6
+ metadata.gz: 2e8980306c9407db88af2d9a0ab1e3860e91bba6cbd3f60939ab190d0d8b829a6dfa8a0a7ec4eaccd6ae113c05c63ba0fdadbc5283423d8ced356a78039a4f41
7
+ data.tar.gz: d45678b63aa03a1c521bbe5c0937c6a84f12fba48b87cc57f09e8332609fee0a2e0d126dc14468a2bbf87853501305d7c559f30f08f7c849b9ed3a9ea835c239
@@ -10,13 +10,13 @@ jobs:
10
10
  strategy:
11
11
  matrix:
12
12
  ruby:
13
- - '3.1'
14
13
  - '3.2'
15
14
  - '3.3'
15
+ - '3.4'
16
16
  activerecord:
17
- - 6.1.0
18
- - 7.0.0
19
- - 7.1.0
17
+ - 7.2.0
18
+ - 8.0.0
19
+ - 8.1.0
20
20
  strategy:
21
21
  - array
22
22
  - ltree
@@ -50,10 +50,5 @@ jobs:
50
50
  sudo apt-get -yqq install libpq-dev
51
51
 
52
52
  - name: Run tests with RSpec
53
- uses: paambaati/codeclimate-action@v2.7.5
54
- env:
55
- CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
56
- STRATEGY: ${{ matrix.strategy }}
57
- with:
58
- coverageCommand: bundle exec rspec
59
- debug: false
53
+ run: |
54
+ bundle exec rspec
data/.rubocop.yml CHANGED
@@ -4,7 +4,7 @@ inherit_mode:
4
4
 
5
5
  AllCops:
6
6
  NewCops: enable
7
- TargetRubyVersion: 3.1
7
+ TargetRubyVersion: 3.2
8
8
  Exclude:
9
9
  - gemfiles/**
10
10
 
@@ -14,7 +14,7 @@ Layout/LineLength:
14
14
  Layout/MultilineMethodCallIndentation:
15
15
  EnforcedStyle: indented_relative_to_receiver
16
16
 
17
- Naming/PredicateName:
17
+ Naming/PredicatePrefix:
18
18
  AllowedMethods:
19
19
  - has_many
20
20
 
data/.tool-versions CHANGED
@@ -1 +1 @@
1
- ruby 3.3.4
1
+ ruby 3.4.7
data/Appraisals CHANGED
@@ -1,23 +1,11 @@
1
- appraise 'activerecord_6.1.0' do
2
- gem 'activerecord', '~> 6.1', '< 6.2'
3
- gem 'base64'
4
- gem 'bigdecimal'
5
- gem 'drb'
6
- gem 'mutex_m'
7
- end
8
-
9
- appraise 'activerecord_7.0.0' do
10
- gem 'activerecord', '~> 7.0', '< 7.1'
11
- gem 'base64'
12
- gem 'bigdecimal'
13
- gem 'drb'
14
- gem 'mutex_m'
1
+ appraise 'activerecord_7.2.0' do
2
+ gem 'activerecord', '~> 7.2', '< 8'
15
3
  end
16
4
 
17
- appraise 'activerecord_7.1.0' do
18
- gem 'activerecord', '~> 7.1', '< 7.2'
5
+ appraise 'activerecord_8.0.0' do
6
+ gem 'activerecord', '8.0.0', '< 8.1'
19
7
  end
20
8
 
21
- appraise 'activerecord_7.2.0' do
22
- gem 'activerecord', '~> 7.2', '< 8'
9
+ appraise 'activerecord_8.1.0' do
10
+ gem 'activerecord', '8.1.0', '< 8.2'
23
11
  end
data/Gemfile CHANGED
@@ -4,12 +4,15 @@ source 'https://rubygems.org'
4
4
  gemspec
5
5
 
6
6
  gem 'appraisal'
7
- gem 'bundler', '~> 2'
8
- gem 'combustion', '~> 1.4'
7
+ gem 'bundler'
8
+ gem 'combustion'
9
9
  gem 'database_cleaner', '~> 2'
10
+ gem 'ostruct'
10
11
  gem 'pg', '~> 1.5'
11
- gem 'pry', '~> 0.13'
12
- gem 'rake', '~> 13'
13
- gem 'rspec-rails', '~> 6.1'
14
- gem 'rubocop-rspec', '~> 2'
12
+ gem 'pry'
13
+ gem 'rake'
14
+ gem 'rspec-rails'
15
+ gem 'rubocop-rspec'
15
16
  gem 'simplecov', '~> 0.20'
17
+ # The following version lock is necessary to support Ruby 3.1
18
+ gem 'zeitwerk', '~> 2.6.0'
@@ -3,15 +3,17 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "appraisal"
6
- gem "bundler", "~> 2"
7
- gem "combustion", "~> 1.4"
6
+ gem "bundler"
7
+ gem "combustion"
8
8
  gem "database_cleaner", "~> 2"
9
+ gem "ostruct"
9
10
  gem "pg", "~> 1.5"
10
- gem "pry", "~> 0.13"
11
- gem "rake", "~> 13"
12
- gem "rspec-rails", "~> 6.1"
13
- gem "rubocop-rspec", "~> 2"
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.7.0)
5
- activerecord (>= 6.1, < 8)
4
+ parentry (1.9.0)
5
+ activerecord (>= 7.1, < 8.2)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actionpack (7.2.0)
11
- actionview (= 7.2.0)
12
- activesupport (= 7.2.0)
10
+ actionpack (7.2.2.2)
11
+ actionview (= 7.2.2.2)
12
+ activesupport (= 7.2.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.0)
22
- activesupport (= 7.2.0)
21
+ actionview (7.2.2.2)
22
+ activesupport (= 7.2.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.0)
28
- activesupport (= 7.2.0)
29
- activerecord (7.2.0)
30
- activemodel (= 7.2.0)
31
- activesupport (= 7.2.0)
27
+ activemodel (7.2.2.2)
28
+ activesupport (= 7.2.2.2)
29
+ activerecord (7.2.2.2)
30
+ activemodel (= 7.2.2.2)
31
+ activesupport (= 7.2.2.2)
32
32
  timeout (>= 0.4.0)
33
- activesupport (7.2.0)
33
+ activesupport (7.2.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)
@@ -45,163 +46,172 @@ GEM
45
46
  bundler
46
47
  rake
47
48
  thor (>= 0.14.0)
48
- ast (2.4.2)
49
- base64 (0.2.0)
50
- bigdecimal (3.1.8)
49
+ ast (2.4.3)
50
+ base64 (0.3.0)
51
+ benchmark (0.4.1)
52
+ bigdecimal (3.3.1)
51
53
  builder (3.3.0)
52
54
  coderay (1.1.3)
53
55
  combustion (1.5.0)
54
56
  activesupport (>= 3.0.0)
55
57
  railties (>= 3.0.0)
56
58
  thor (>= 0.14.6)
57
- concurrent-ruby (1.3.4)
58
- connection_pool (2.4.1)
59
+ concurrent-ruby (1.3.5)
60
+ connection_pool (2.5.4)
59
61
  crass (1.0.6)
60
- database_cleaner (2.0.2)
62
+ database_cleaner (2.1.0)
61
63
  database_cleaner-active_record (>= 2, < 3)
62
- database_cleaner-active_record (2.2.0)
64
+ database_cleaner-active_record (2.2.2)
63
65
  activerecord (>= 5.a)
64
- database_cleaner-core (~> 2.0.0)
66
+ database_cleaner-core (~> 2.0)
65
67
  database_cleaner-core (2.0.1)
66
- diff-lcs (1.5.1)
68
+ date (3.4.1)
69
+ diff-lcs (1.6.2)
67
70
  docile (1.4.1)
68
- drb (2.2.1)
69
- erubi (1.13.0)
70
- i18n (1.14.5)
71
+ drb (2.2.3)
72
+ erb (5.1.1)
73
+ erubi (1.13.1)
74
+ i18n (1.14.7)
71
75
  concurrent-ruby (~> 1.0)
72
- io-console (0.7.2)
73
- irb (1.14.0)
76
+ io-console (0.8.1)
77
+ irb (1.15.2)
78
+ pp (>= 0.6.0)
74
79
  rdoc (>= 4.0.0)
75
80
  reline (>= 0.4.2)
76
- json (2.7.2)
77
- language_server-protocol (3.17.0.3)
78
- logger (1.6.0)
79
- loofah (2.22.0)
81
+ json (2.15.1)
82
+ language_server-protocol (3.17.0.5)
83
+ lint_roller (1.1.0)
84
+ logger (1.7.0)
85
+ loofah (2.24.1)
80
86
  crass (~> 1.0.2)
81
87
  nokogiri (>= 1.12.0)
82
88
  method_source (1.1.0)
83
- minitest (5.25.0)
84
- nokogiri (1.16.7-x86_64-darwin)
89
+ mini_portile2 (2.8.9)
90
+ minitest (5.26.0)
91
+ nokogiri (1.18.10)
92
+ mini_portile2 (~> 2.8.2)
85
93
  racc (~> 1.4)
86
- parallel (1.26.2)
87
- parser (3.3.4.2)
94
+ ostruct (0.6.3)
95
+ parallel (1.27.0)
96
+ parser (3.3.9.0)
88
97
  ast (~> 2.4.1)
89
98
  racc
90
- pg (1.5.7)
91
- pry (0.14.2)
99
+ pg (1.6.2)
100
+ pp (0.6.3)
101
+ prettyprint
102
+ prettyprint (0.2.0)
103
+ prism (1.5.2)
104
+ pry (0.15.2)
92
105
  coderay (~> 1.1)
93
106
  method_source (~> 1.0)
94
- psych (5.1.2)
107
+ psych (5.2.6)
108
+ date
95
109
  stringio
96
110
  racc (1.8.1)
97
- rack (3.1.7)
98
- rack-session (2.0.0)
111
+ rack (3.1.18)
112
+ rack-session (2.1.1)
113
+ base64 (>= 0.1.0)
99
114
  rack (>= 3.0.0)
100
- rack-test (2.1.0)
115
+ rack-test (2.2.0)
101
116
  rack (>= 1.3)
102
- rackup (2.1.0)
117
+ rackup (2.2.1)
103
118
  rack (>= 3)
104
- webrick (~> 1.8)
105
- rails-dom-testing (2.2.0)
119
+ rails-dom-testing (2.3.0)
106
120
  activesupport (>= 5.0.0)
107
121
  minitest
108
122
  nokogiri (>= 1.6)
109
- rails-html-sanitizer (1.6.0)
123
+ rails-html-sanitizer (1.6.2)
110
124
  loofah (~> 2.21)
111
- nokogiri (~> 1.14)
112
- railties (7.2.0)
113
- actionpack (= 7.2.0)
114
- activesupport (= 7.2.0)
125
+ nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
126
+ railties (7.2.2.2)
127
+ actionpack (= 7.2.2.2)
128
+ activesupport (= 7.2.2.2)
115
129
  irb (~> 1.13)
116
130
  rackup (>= 1.0.0)
117
131
  rake (>= 12.2)
118
132
  thor (~> 1.0, >= 1.2.2)
119
133
  zeitwerk (~> 2.6)
120
134
  rainbow (3.1.1)
121
- rake (13.2.1)
122
- rdoc (6.7.0)
135
+ rake (13.3.0)
136
+ rdoc (6.15.0)
137
+ erb
123
138
  psych (>= 4.0.0)
124
- regexp_parser (2.9.2)
125
- reline (0.5.9)
139
+ tsort
140
+ regexp_parser (2.11.3)
141
+ reline (0.6.2)
126
142
  io-console (~> 0.5)
127
- rexml (3.3.5)
128
- strscan
129
- rspec-core (3.13.0)
143
+ rspec-core (3.13.5)
130
144
  rspec-support (~> 3.13.0)
131
- rspec-expectations (3.13.1)
145
+ rspec-expectations (3.13.5)
132
146
  diff-lcs (>= 1.2.0, < 2.0)
133
147
  rspec-support (~> 3.13.0)
134
- rspec-mocks (3.13.1)
148
+ rspec-mocks (3.13.5)
135
149
  diff-lcs (>= 1.2.0, < 2.0)
136
150
  rspec-support (~> 3.13.0)
137
- rspec-rails (6.1.4)
138
- actionpack (>= 6.1)
139
- activesupport (>= 6.1)
140
- railties (>= 6.1)
151
+ rspec-rails (8.0.2)
152
+ actionpack (>= 7.2)
153
+ activesupport (>= 7.2)
154
+ railties (>= 7.2)
141
155
  rspec-core (~> 3.13)
142
156
  rspec-expectations (~> 3.13)
143
157
  rspec-mocks (~> 3.13)
144
158
  rspec-support (~> 3.13)
145
- rspec-support (3.13.1)
146
- rubocop (1.65.1)
159
+ rspec-support (3.13.6)
160
+ rubocop (1.81.1)
147
161
  json (~> 2.3)
148
- language_server-protocol (>= 3.17.0)
162
+ language_server-protocol (~> 3.17.0.2)
163
+ lint_roller (~> 1.1.0)
149
164
  parallel (~> 1.10)
150
165
  parser (>= 3.3.0.2)
151
166
  rainbow (>= 2.2.2, < 4.0)
152
- regexp_parser (>= 2.4, < 3.0)
153
- rexml (>= 3.2.5, < 4.0)
154
- rubocop-ast (>= 1.31.1, < 2.0)
167
+ regexp_parser (>= 2.9.3, < 3.0)
168
+ rubocop-ast (>= 1.47.1, < 2.0)
155
169
  ruby-progressbar (~> 1.7)
156
- unicode-display_width (>= 2.4.0, < 3.0)
157
- rubocop-ast (1.32.0)
158
- parser (>= 3.3.1.0)
159
- rubocop-capybara (2.21.0)
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)
169
- rubocop (~> 1.61)
170
+ unicode-display_width (>= 2.4.0, < 4.0)
171
+ rubocop-ast (1.47.1)
172
+ parser (>= 3.3.7.2)
173
+ prism (~> 1.4)
174
+ rubocop-rspec (3.7.0)
175
+ lint_roller (~> 1.1)
176
+ rubocop (~> 1.72, >= 1.72.1)
170
177
  ruby-progressbar (1.13.0)
171
- securerandom (0.3.1)
178
+ securerandom (0.4.1)
172
179
  simplecov (0.22.0)
173
180
  docile (~> 1.1)
174
181
  simplecov-html (~> 0.11)
175
182
  simplecov_json_formatter (~> 0.1)
176
- simplecov-html (0.12.3)
183
+ simplecov-html (0.13.2)
177
184
  simplecov_json_formatter (0.1.4)
178
- stringio (3.1.1)
179
- strscan (3.1.0)
180
- thor (1.3.1)
181
- timeout (0.4.1)
185
+ stringio (3.1.7)
186
+ thor (1.4.0)
187
+ timeout (0.4.3)
188
+ tsort (0.2.0)
182
189
  tzinfo (2.0.6)
183
190
  concurrent-ruby (~> 1.0)
184
- unicode-display_width (2.5.0)
185
- useragent (0.16.10)
186
- webrick (1.8.1)
187
- zeitwerk (2.6.17)
191
+ unicode-display_width (3.2.0)
192
+ unicode-emoji (~> 4.1)
193
+ unicode-emoji (4.1.0)
194
+ useragent (0.16.11)
195
+ zeitwerk (2.6.18)
188
196
 
189
197
  PLATFORMS
190
- x86_64-darwin
198
+ ruby
191
199
 
192
200
  DEPENDENCIES
193
201
  activerecord (~> 7.2, < 8)
194
202
  appraisal
195
- bundler (~> 2)
196
- combustion (~> 1.4)
203
+ bundler
204
+ combustion
197
205
  database_cleaner (~> 2)
206
+ ostruct
198
207
  parentry!
199
208
  pg (~> 1.5)
200
- pry (~> 0.13)
201
- rake (~> 13)
202
- rspec-rails (~> 6.1)
203
- rubocop-rspec (~> 2)
209
+ pry
210
+ rake
211
+ rspec-rails
212
+ rubocop-rspec
204
213
  simplecov (~> 0.20)
214
+ zeitwerk (~> 2.6.0)
205
215
 
206
216
  BUNDLED WITH
207
- 2.5.17
217
+ 2.7.2
@@ -3,15 +3,17 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "appraisal"
6
- gem "bundler", "~> 2"
7
- gem "combustion", "~> 1.4"
6
+ gem "bundler"
7
+ gem "combustion"
8
8
  gem "database_cleaner", "~> 2"
9
+ gem "ostruct"
9
10
  gem "pg", "~> 1.5"
10
- gem "pry", "~> 0.13"
11
- gem "rake", "~> 13"
12
- gem "rspec-rails", "~> 6.1"
13
- gem "rubocop-rspec", "~> 2"
11
+ gem "pry"
12
+ gem "rake"
13
+ gem "rspec-rails"
14
+ gem "rubocop-rspec"
14
15
  gem "simplecov", "~> 0.20"
15
- gem "activerecord", "~> 7.1", "< 7.2"
16
+ gem "zeitwerk", "~> 2.6.0"
17
+ gem "activerecord", "8.0.0", "< 8.1"
16
18
 
17
19
  gemspec path: "../"