tdc 0.6.2 → 1.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: 825ed25bb1ab3ebbf3d084dcb6505ea173f323dea4ee9d71997b12c11be1e57e
4
- data.tar.gz: 67ccebba1b6aa4e5f8653329a566b2dd7edd7509caaacf322fc06b2dc9df5629
3
+ metadata.gz: 0a69f764e6f93543b72af27f9a0eb836facc587760fc048a07e707826e4e7091
4
+ data.tar.gz: f46a558dde529aed72e854f072f150fd5c322cfc78b2552fa1ef5aeb862a6be3
5
5
  SHA512:
6
- metadata.gz: 12379bc219f81c304035ae2855076511c56b8c99bde1dcd88ca629cee29fa661b7037c8d975a07b453f400ace7b467cdbd028fb8108b450694d7e0e5b952002b
7
- data.tar.gz: 14b96dd59f0e137bf2c702d4e875764b68e887c07ece3e62544ada23ecb02614a73cff3ab087ba29f361fb88e63ba51e6499c1d67b7629091a5c236c07b590f8
6
+ metadata.gz: 9fedca3fe8d2292531e2d0cbbcc11e4f40e2d27471aa4dc07cc1de26f96ff2b9bed5bad0f513373729686c44e81a666d3e54a5928081626851444ab60bcc72d4
7
+ data.tar.gz: 0fc7c07105dc4159cd87df5d6fd99323837b55c32cb2648a704c33e8eab13e031e4903c1f14de4d659aa35615d185dbb18e06e8e33fbddaebea7f318a071180c
data/.rubocop.yml CHANGED
@@ -1,14 +1,18 @@
1
1
  require:
2
+ - rubocop-performance
2
3
  - rubocop-rake
3
4
  - rubocop-rspec
4
5
 
5
6
  AllCops:
6
7
  NewCops: enable
7
- TargetRubyVersion: 3.0
8
+ TargetRubyVersion: 3.1
8
9
 
9
10
  Exclude:
10
11
  - 'bin/**/*'
11
12
 
13
+ Gemspec/DevelopmentDependencies:
14
+ EnforcedStyle: gemspec
15
+
12
16
  Layout/LineLength:
13
17
  Max: 120
14
18
 
@@ -82,6 +86,8 @@ Style/FrozenStringLiteralComment:
82
86
 
83
87
  # We like to use the hash rocket in rake files.
84
88
  Style/HashSyntax:
89
+ EnforcedShorthandSyntax: never
90
+ EnforcedStyle: ruby19
85
91
  Exclude:
86
92
  - 'Rakefile'
87
93
 
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.1.4
1
+ 3.2.4
data/Appraisals CHANGED
@@ -1,7 +1,7 @@
1
- appraise "rails-6-1" do
2
- gem "rails", "6.1.3.2"
1
+ appraise "rails-7" do
2
+ gem "rails", "7.0.8.4"
3
3
  end
4
4
 
5
- appraise "rails-7" do
6
- gem "rails", "7.0.4.3"
5
+ appraise "rails-7-1" do
6
+ gem "rails", "7.1.3.4"
7
7
  end
data/CHANGELOG.md CHANGED
@@ -6,6 +6,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.0] - 2024-08-16
10
+
11
+ - Support Rails 7.0.x and 7.1.x
12
+ - Support Ruby 3.1
13
+
14
+ #### Breaking Changes
15
+
16
+ - Drop support for Ruby 3.0
17
+ - Drop support for Rails 6.1
18
+
9
19
  ## [0.6.2] - 2024-03-05
10
20
 
11
21
  - Better error message when a tag cannot be resolved
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "7.0.4.3"
5
+ gem "rails", "7.0.8.4"
6
6
 
7
7
  gemspec path: "../"
@@ -1,80 +1,80 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- tdc (0.6.0)
5
- activesupport (>= 6.0, < 7.1)
4
+ tdc (1.0)
5
+ activesupport (>= 7.0, < 7.2)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actioncable (7.0.4.3)
11
- actionpack (= 7.0.4.3)
12
- activesupport (= 7.0.4.3)
10
+ actioncable (7.0.8.4)
11
+ actionpack (= 7.0.8.4)
12
+ activesupport (= 7.0.8.4)
13
13
  nio4r (~> 2.0)
14
14
  websocket-driver (>= 0.6.1)
15
- actionmailbox (7.0.4.3)
16
- actionpack (= 7.0.4.3)
17
- activejob (= 7.0.4.3)
18
- activerecord (= 7.0.4.3)
19
- activestorage (= 7.0.4.3)
20
- activesupport (= 7.0.4.3)
15
+ actionmailbox (7.0.8.4)
16
+ actionpack (= 7.0.8.4)
17
+ activejob (= 7.0.8.4)
18
+ activerecord (= 7.0.8.4)
19
+ activestorage (= 7.0.8.4)
20
+ activesupport (= 7.0.8.4)
21
21
  mail (>= 2.7.1)
22
22
  net-imap
23
23
  net-pop
24
24
  net-smtp
25
- actionmailer (7.0.4.3)
26
- actionpack (= 7.0.4.3)
27
- actionview (= 7.0.4.3)
28
- activejob (= 7.0.4.3)
29
- activesupport (= 7.0.4.3)
25
+ actionmailer (7.0.8.4)
26
+ actionpack (= 7.0.8.4)
27
+ actionview (= 7.0.8.4)
28
+ activejob (= 7.0.8.4)
29
+ activesupport (= 7.0.8.4)
30
30
  mail (~> 2.5, >= 2.5.4)
31
31
  net-imap
32
32
  net-pop
33
33
  net-smtp
34
34
  rails-dom-testing (~> 2.0)
35
- actionpack (7.0.4.3)
36
- actionview (= 7.0.4.3)
37
- activesupport (= 7.0.4.3)
38
- rack (~> 2.0, >= 2.2.0)
35
+ actionpack (7.0.8.4)
36
+ actionview (= 7.0.8.4)
37
+ activesupport (= 7.0.8.4)
38
+ rack (~> 2.0, >= 2.2.4)
39
39
  rack-test (>= 0.6.3)
40
40
  rails-dom-testing (~> 2.0)
41
41
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
42
- actiontext (7.0.4.3)
43
- actionpack (= 7.0.4.3)
44
- activerecord (= 7.0.4.3)
45
- activestorage (= 7.0.4.3)
46
- activesupport (= 7.0.4.3)
42
+ actiontext (7.0.8.4)
43
+ actionpack (= 7.0.8.4)
44
+ activerecord (= 7.0.8.4)
45
+ activestorage (= 7.0.8.4)
46
+ activesupport (= 7.0.8.4)
47
47
  globalid (>= 0.6.0)
48
48
  nokogiri (>= 1.8.5)
49
- actionview (7.0.4.3)
50
- activesupport (= 7.0.4.3)
49
+ actionview (7.0.8.4)
50
+ activesupport (= 7.0.8.4)
51
51
  builder (~> 3.1)
52
52
  erubi (~> 1.4)
53
53
  rails-dom-testing (~> 2.0)
54
54
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
55
- activejob (7.0.4.3)
56
- activesupport (= 7.0.4.3)
55
+ activejob (7.0.8.4)
56
+ activesupport (= 7.0.8.4)
57
57
  globalid (>= 0.3.6)
58
- activemodel (7.0.4.3)
59
- activesupport (= 7.0.4.3)
60
- activerecord (7.0.4.3)
61
- activemodel (= 7.0.4.3)
62
- activesupport (= 7.0.4.3)
63
- activestorage (7.0.4.3)
64
- actionpack (= 7.0.4.3)
65
- activejob (= 7.0.4.3)
66
- activerecord (= 7.0.4.3)
67
- activesupport (= 7.0.4.3)
58
+ activemodel (7.0.8.4)
59
+ activesupport (= 7.0.8.4)
60
+ activerecord (7.0.8.4)
61
+ activemodel (= 7.0.8.4)
62
+ activesupport (= 7.0.8.4)
63
+ activestorage (7.0.8.4)
64
+ actionpack (= 7.0.8.4)
65
+ activejob (= 7.0.8.4)
66
+ activerecord (= 7.0.8.4)
67
+ activesupport (= 7.0.8.4)
68
68
  marcel (~> 1.0)
69
69
  mini_mime (>= 1.1.0)
70
- activesupport (7.0.4.3)
70
+ activesupport (7.0.8.4)
71
71
  concurrent-ruby (~> 1.0, >= 1.0.2)
72
72
  i18n (>= 1.6, < 2)
73
73
  minitest (>= 5.1)
74
74
  tzinfo (~> 2.0)
75
- addressable (2.8.1)
76
- public_suffix (>= 2.0.2, < 6.0)
77
- appraisal (2.4.1)
75
+ addressable (2.8.7)
76
+ public_suffix (>= 2.0.2, < 7.0)
77
+ appraisal (2.5.0)
78
78
  bundler
79
79
  rake
80
80
  thor (>= 0.14.0)
@@ -83,189 +83,225 @@ GEM
83
83
  descendants_tracker (~> 0.0.4)
84
84
  ice_nine (~> 0.11.0)
85
85
  thread_safe (~> 0.3, >= 0.3.1)
86
- builder (3.2.4)
86
+ bigdecimal (3.1.8)
87
+ builder (3.3.0)
88
+ childprocess (5.1.0)
89
+ logger (~> 1.5)
87
90
  coercible (1.0.0)
88
91
  descendants_tracker (~> 0.0.1)
89
- concurrent-ruby (1.2.2)
92
+ concurrent-ruby (1.3.4)
90
93
  crass (1.0.6)
91
- date (3.3.3)
94
+ date (3.3.4)
92
95
  descendants_tracker (0.0.4)
93
96
  thread_safe (~> 0.3, >= 0.3.1)
94
- diff-lcs (1.5.0)
95
- docile (1.4.0)
96
- equalizer (0.0.11)
97
- erubi (1.12.0)
98
- flay (2.13.0)
97
+ diff-lcs (1.5.1)
98
+ docile (1.4.1)
99
+ dry-configurable (1.2.0)
100
+ dry-core (~> 1.0, < 2)
101
+ zeitwerk (~> 2.6)
102
+ dry-core (1.0.1)
103
+ concurrent-ruby (~> 1.0)
104
+ zeitwerk (~> 2.6)
105
+ dry-inflector (1.1.0)
106
+ dry-initializer (3.1.1)
107
+ dry-logic (1.5.0)
108
+ concurrent-ruby (~> 1.0)
109
+ dry-core (~> 1.0, < 2)
110
+ zeitwerk (~> 2.6)
111
+ dry-schema (1.13.4)
112
+ concurrent-ruby (~> 1.0)
113
+ dry-configurable (~> 1.0, >= 1.0.1)
114
+ dry-core (~> 1.0, < 2)
115
+ dry-initializer (~> 3.0)
116
+ dry-logic (>= 1.4, < 2)
117
+ dry-types (>= 1.7, < 2)
118
+ zeitwerk (~> 2.6)
119
+ dry-types (1.7.2)
120
+ bigdecimal (~> 3.0)
121
+ concurrent-ruby (~> 1.0)
122
+ dry-core (~> 1.0)
123
+ dry-inflector (~> 1.0)
124
+ dry-logic (~> 1.4)
125
+ zeitwerk (~> 2.6)
126
+ erubi (1.13.0)
127
+ flay (2.13.3)
99
128
  erubi (~> 1.10)
100
129
  path_expander (~> 1.0)
101
130
  ruby_parser (~> 3.0)
102
131
  sexp_processor (~> 4.0)
103
- flog (4.6.6)
132
+ flog (4.8.0)
104
133
  path_expander (~> 1.0)
105
134
  ruby_parser (~> 3.1, > 3.1.0)
106
135
  sexp_processor (~> 4.8)
107
- globalid (1.1.0)
108
- activesupport (>= 5.0)
109
- i18n (1.12.0)
136
+ globalid (1.2.1)
137
+ activesupport (>= 6.1)
138
+ i18n (1.14.5)
110
139
  concurrent-ruby (~> 1.0)
111
140
  ice_nine (0.11.2)
112
- json (2.6.3)
113
- kwalify (0.7.2)
114
- launchy (2.5.2)
141
+ json (2.7.2)
142
+ language_server-protocol (3.17.0.3)
143
+ launchy (3.0.1)
115
144
  addressable (~> 2.8)
116
- loofah (2.19.1)
145
+ childprocess (~> 5.0)
146
+ logger (1.6.0)
147
+ loofah (2.22.0)
117
148
  crass (~> 1.0.2)
118
- nokogiri (>= 1.5.9)
149
+ nokogiri (>= 1.12.0)
119
150
  mail (2.8.1)
120
151
  mini_mime (>= 0.1.1)
121
152
  net-imap
122
153
  net-pop
123
154
  net-smtp
124
- marcel (1.0.2)
125
- method_source (1.0.0)
126
- mini_mime (1.1.2)
127
- minitest (5.18.0)
128
- net-imap (0.3.4)
155
+ marcel (1.0.4)
156
+ method_source (1.1.0)
157
+ mini_mime (1.1.5)
158
+ minitest (5.25.0)
159
+ net-imap (0.4.14)
129
160
  date
130
161
  net-protocol
131
162
  net-pop (0.1.2)
132
163
  net-protocol
133
- net-protocol (0.2.1)
164
+ net-protocol (0.2.2)
134
165
  timeout
135
- net-smtp (0.3.3)
166
+ net-smtp (0.5.0)
136
167
  net-protocol
137
- nio4r (2.5.8)
138
- nokogiri (1.14.2-x86_64-darwin)
168
+ nio4r (2.7.3)
169
+ nokogiri (1.16.7-arm64-darwin)
139
170
  racc (~> 1.4)
140
- parallel (1.22.1)
141
- parser (3.2.1.1)
171
+ parallel (1.26.2)
172
+ parser (3.3.4.2)
142
173
  ast (~> 2.4.1)
143
- path_expander (1.1.1)
144
- public_suffix (5.0.1)
145
- racc (1.6.2)
146
- rack (2.2.6.4)
147
- rack-test (2.0.2)
174
+ racc
175
+ path_expander (1.1.2)
176
+ public_suffix (6.0.1)
177
+ racc (1.8.1)
178
+ rack (2.2.9)
179
+ rack-test (2.1.0)
148
180
  rack (>= 1.3)
149
- rails (7.0.4.3)
150
- actioncable (= 7.0.4.3)
151
- actionmailbox (= 7.0.4.3)
152
- actionmailer (= 7.0.4.3)
153
- actionpack (= 7.0.4.3)
154
- actiontext (= 7.0.4.3)
155
- actionview (= 7.0.4.3)
156
- activejob (= 7.0.4.3)
157
- activemodel (= 7.0.4.3)
158
- activerecord (= 7.0.4.3)
159
- activestorage (= 7.0.4.3)
160
- activesupport (= 7.0.4.3)
181
+ rails (7.0.8.4)
182
+ actioncable (= 7.0.8.4)
183
+ actionmailbox (= 7.0.8.4)
184
+ actionmailer (= 7.0.8.4)
185
+ actionpack (= 7.0.8.4)
186
+ actiontext (= 7.0.8.4)
187
+ actionview (= 7.0.8.4)
188
+ activejob (= 7.0.8.4)
189
+ activemodel (= 7.0.8.4)
190
+ activerecord (= 7.0.8.4)
191
+ activestorage (= 7.0.8.4)
192
+ activesupport (= 7.0.8.4)
161
193
  bundler (>= 1.15.0)
162
- railties (= 7.0.4.3)
163
- rails-dom-testing (2.0.3)
164
- activesupport (>= 4.2.0)
194
+ railties (= 7.0.8.4)
195
+ rails-dom-testing (2.2.0)
196
+ activesupport (>= 5.0.0)
197
+ minitest
165
198
  nokogiri (>= 1.6)
166
- rails-html-sanitizer (1.5.0)
167
- loofah (~> 2.19, >= 2.19.1)
168
- railties (7.0.4.3)
169
- actionpack (= 7.0.4.3)
170
- activesupport (= 7.0.4.3)
199
+ rails-html-sanitizer (1.6.0)
200
+ loofah (~> 2.21)
201
+ nokogiri (~> 1.14)
202
+ railties (7.0.8.4)
203
+ actionpack (= 7.0.8.4)
204
+ activesupport (= 7.0.8.4)
171
205
  method_source
172
206
  rake (>= 12.2)
173
207
  thor (~> 1.0)
174
208
  zeitwerk (~> 2.5)
175
209
  rainbow (3.1.1)
176
- rake (13.0.6)
177
- reek (6.1.4)
178
- kwalify (~> 0.7.0)
179
- parser (~> 3.2.0)
210
+ rake (13.2.1)
211
+ reek (6.3.0)
212
+ dry-schema (~> 1.13.0)
213
+ parser (~> 3.3.0)
180
214
  rainbow (>= 2.0, < 4.0)
181
- regexp_parser (2.7.0)
182
- rexml (3.2.5)
183
- rspec (3.12.0)
184
- rspec-core (~> 3.12.0)
185
- rspec-expectations (~> 3.12.0)
186
- rspec-mocks (~> 3.12.0)
187
- rspec-core (3.12.1)
188
- rspec-support (~> 3.12.0)
189
- rspec-expectations (3.12.2)
215
+ rexml (~> 3.1)
216
+ regexp_parser (2.9.2)
217
+ rexml (3.3.5)
218
+ strscan
219
+ rspec (3.13.0)
220
+ rspec-core (~> 3.13.0)
221
+ rspec-expectations (~> 3.13.0)
222
+ rspec-mocks (~> 3.13.0)
223
+ rspec-core (3.13.0)
224
+ rspec-support (~> 3.13.0)
225
+ rspec-expectations (3.13.1)
190
226
  diff-lcs (>= 1.2.0, < 2.0)
191
- rspec-support (~> 3.12.0)
192
- rspec-mocks (3.12.4)
227
+ rspec-support (~> 3.13.0)
228
+ rspec-mocks (3.13.1)
193
229
  diff-lcs (>= 1.2.0, < 2.0)
194
- rspec-support (~> 3.12.0)
195
- rspec-support (3.12.0)
196
- rubocop (1.48.1)
230
+ rspec-support (~> 3.13.0)
231
+ rspec-support (3.13.1)
232
+ rubocop (1.65.1)
197
233
  json (~> 2.3)
234
+ language_server-protocol (>= 3.17.0)
198
235
  parallel (~> 1.10)
199
- parser (>= 3.2.0.0)
236
+ parser (>= 3.3.0.2)
200
237
  rainbow (>= 2.2.2, < 4.0)
201
- regexp_parser (>= 1.8, < 3.0)
238
+ regexp_parser (>= 2.4, < 3.0)
202
239
  rexml (>= 3.2.5, < 4.0)
203
- rubocop-ast (>= 1.26.0, < 2.0)
240
+ rubocop-ast (>= 1.31.1, < 2.0)
204
241
  ruby-progressbar (~> 1.7)
205
242
  unicode-display_width (>= 2.4.0, < 3.0)
206
- rubocop-ast (1.27.0)
207
- parser (>= 3.2.1.0)
208
- rubocop-capybara (2.17.1)
209
- rubocop (~> 1.41)
210
- rubocop-performance (1.16.0)
211
- rubocop (>= 1.7.0, < 2.0)
212
- rubocop-ast (>= 0.4.0)
243
+ rubocop-ast (1.32.0)
244
+ parser (>= 3.3.1.0)
245
+ rubocop-performance (1.21.1)
246
+ rubocop (>= 1.48.1, < 2.0)
247
+ rubocop-ast (>= 1.31.1, < 2.0)
213
248
  rubocop-rake (0.6.0)
214
249
  rubocop (~> 1.0)
215
- rubocop-rspec (2.19.0)
216
- rubocop (~> 1.33)
217
- rubocop-capybara (~> 2.17)
250
+ rubocop-rspec (3.0.4)
251
+ rubocop (~> 1.61)
218
252
  ruby-progressbar (1.13.0)
219
- ruby_parser (3.20.0)
253
+ ruby_parser (3.21.1)
254
+ racc (~> 1.5)
220
255
  sexp_processor (~> 4.16)
221
- rubycritic (4.7.0)
222
- flay (~> 2.8)
223
- flog (~> 4.4)
224
- launchy (>= 2.0.0)
225
- parser (>= 2.6.0)
226
- rainbow (~> 3.0)
256
+ rubycritic (4.9.0)
257
+ flay (~> 2.13)
258
+ flog (~> 4.7)
259
+ launchy (>= 2.5.2)
260
+ parser (>= 3.2.2.1)
261
+ rainbow (~> 3.1.1)
227
262
  reek (~> 6.0, < 7.0)
228
- ruby_parser (~> 3.8)
229
- simplecov (>= 0.17.0)
230
- tty-which (~> 0.4.0)
231
- virtus (~> 1.0)
232
- sexp_processor (4.16.1)
263
+ rexml
264
+ ruby_parser (~> 3.20)
265
+ simplecov (>= 0.22.0)
266
+ tty-which (~> 0.5.0)
267
+ virtus (~> 2.0)
268
+ sexp_processor (4.17.2)
233
269
  simplecov (0.22.0)
234
270
  docile (~> 1.1)
235
271
  simplecov-html (~> 0.11)
236
272
  simplecov_json_formatter (~> 0.1)
237
273
  simplecov-html (0.12.3)
238
274
  simplecov_json_formatter (0.1.4)
239
- thor (1.2.1)
275
+ strscan (3.1.0)
276
+ thor (1.3.1)
240
277
  thread_safe (0.3.6)
241
- timeout (0.3.2)
242
- tty-which (0.4.2)
278
+ timeout (0.4.1)
279
+ tty-which (0.5.0)
243
280
  tzinfo (2.0.6)
244
281
  concurrent-ruby (~> 1.0)
245
- unicode-display_width (2.4.2)
246
- virtus (1.0.5)
282
+ unicode-display_width (2.5.0)
283
+ virtus (2.0.0)
247
284
  axiom-types (~> 0.1)
248
285
  coercible (~> 1.0)
249
286
  descendants_tracker (~> 0.0, >= 0.0.3)
250
- equalizer (~> 0.0, >= 0.0.9)
251
- websocket-driver (0.7.5)
287
+ websocket-driver (0.7.6)
252
288
  websocket-extensions (>= 0.1.0)
253
289
  websocket-extensions (0.1.5)
254
- zeitwerk (2.6.7)
290
+ zeitwerk (2.6.17)
255
291
 
256
292
  PLATFORMS
257
- x86_64-darwin-22
293
+ arm64-darwin-23
258
294
 
259
295
  DEPENDENCIES
260
- appraisal (~> 2.4)
261
- rails (= 7.0.4.3)
262
- rake (~> 13.0)
263
- rspec (~> 3.12)
264
- rubocop (~> 1.48)
265
- rubocop-performance (~> 1.16)
296
+ appraisal (~> 2.5)
297
+ rails (= 7.0.8.4)
298
+ rake (~> 13.2)
299
+ rspec (~> 3.13)
300
+ rubocop (~> 1.65)
301
+ rubocop-performance (~> 1.21)
266
302
  rubocop-rake (~> 0.6)
267
- rubocop-rspec (~> 2.19)
268
- rubycritic (>= 4.7)
303
+ rubocop-rspec (~> 3.0)
304
+ rubycritic (~> 4.9)
269
305
  simplecov (~> 0.22)
270
306
  tdc!
271
307
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "6.1.3.2"
5
+ gem "rails", "7.1.3.4"
6
6
 
7
7
  gemspec path: "../"