rubocop-lts-ruby 0.1.3 → 0.1.5

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: 4ec3eae97ac47cce60799e7bf78212eb547040f5c623603074e280eb5e09ced4
4
- data.tar.gz: f7b66a223e7405c286ed9d9774f25d46104aaec99411a133bdc371d918d385c8
3
+ metadata.gz: 5cc2a202081a30d2872b143023dc74b26934ae80b06612631a3caf87a1d2fc3a
4
+ data.tar.gz: b79f44cfa75b5a4dd6a3e12732fccd6e14c157c86a253e46ceea2541f28fbf7b
5
5
  SHA512:
6
- metadata.gz: 4d21a3ba66e4d5e1071374c7fe3968dd3548c81c7479a8222f7adde371697ef6a378d593c737d240d76149fa920f44f1d86d12f8754e9ed4e25438db692cb1c3
7
- data.tar.gz: dc33958d02a565aa553e65907fbccf0534f48a8bfe891da6dfaea55a3fc177f6c3fc25a97e50db5772d239bf8daf55afc7590190bc68e30b666f7fc7634b873b
6
+ metadata.gz: 63c244aecd5f29f462a6fdbcda8e12f8103182624ec89bd72fc212a5e5e36d9194c1a5672f3271e6f28ed497a8170d22c1750c8aacde4662340fc10701da13ea
7
+ data.tar.gz: c12c9ca7cca3172fccd69c2c1875f9a09626b7370c189250fa0b5b197e73afd51634c5a07c667445afae5dd777623433f68eef872d2c17c8f279b3b4dd0f6dfa
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -30,6 +30,53 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
32
 
33
+ ## [0.1.5] - 2026-10-01
34
+
35
+ - TAG: [v0.1.5][0.1.5t]
36
+ - COVERAGE: 97.47% -- 77/79 lines in 6 files
37
+ - BRANCH COVERAGE: 78.57% -- 11/14 branches in 6 files
38
+ - 44.44% documented
39
+
40
+ ### Added
41
+
42
+ - kettle-jem-template-20260913-001 - Templating now also surfaces a review
43
+ entry in `dependency_conflicts.resolve` when a direct development
44
+ dependency doesn't support one or more of this project's declared
45
+ `engines:` and has no template-managed modular home (e.g. `sqlite3` on
46
+ `jruby`). Review each entry and pick a resolution per the project's own
47
+ engine support needs.
48
+
49
+ ### Changed
50
+
51
+ - [kc] kettle-jem/prepare: updated 14 project files:
52
+ - dependencies (14)
53
+
54
+ - [kc] kettle-jem/template: updated 23 project files:
55
+ - code and tests (1)
56
+ - dependencies (2)
57
+ - other (2)
58
+ - workflows (18)
59
+
60
+ ### Fixed
61
+
62
+ - Lint/LtsRuby/UnavailableMethod now reports instance APIs only when the receiver is an explicit matching constructor, avoiding guesses about untyped local receivers.
63
+
64
+ ## [0.1.4] - 2026-09-08
65
+
66
+ - TAG: [v0.1.4][0.1.4t]
67
+ - COVERAGE: 97.47% -- 77/79 lines in 6 files
68
+ - BRANCH COVERAGE: 78.57% -- 11/14 branches in 6 files
69
+ - 44.44% documented
70
+
71
+ ### Changed
72
+
73
+ - [kc] kettle-jem/prepare: updated 6 project files:
74
+ - dependencies (6)
75
+
76
+ - [kc] kettle-jem/template: updated 4 project files:
77
+ - dependencies (2)
78
+ - other (2)
79
+
33
80
  ## [0.1.3] - 2026-09-07
34
81
 
35
82
  - TAG: [v0.1.3][0.1.3t]
@@ -166,7 +213,11 @@ Please file a bug if you notice a violation of semantic versioning.
166
213
 
167
214
  - Generated dep-heads workflows now include their checked-in appraisal Gemfile, and Ruby 3.1 stdlib appraisal references resolve to an existing modular Gemfile.
168
215
 
169
- [Unreleased]: https://github.com/rubocop-lts/rubocop-lts-ruby/compare/v0.1.3...HEAD
216
+ [Unreleased]: https://github.com/rubocop-lts/rubocop-lts-ruby/compare/v0.1.5...HEAD
217
+ [0.1.5]: https://github.com/rubocop-lts/rubocop-lts-ruby/compare/v0.1.4...v0.1.5
218
+ [0.1.5t]: https://github.com/rubocop-lts/rubocop-lts-ruby/releases/tag/v0.1.5
219
+ [0.1.4]: https://github.com/rubocop-lts/rubocop-lts-ruby/compare/v0.1.3...v0.1.4
220
+ [0.1.4t]: https://github.com/rubocop-lts/rubocop-lts-ruby/releases/tag/v0.1.4
170
221
  [0.1.3]: https://github.com/rubocop-lts/rubocop-lts-ruby/compare/v0.1.2...v0.1.3
171
222
  [0.1.3t]: https://github.com/rubocop-lts/rubocop-lts-ruby/releases/tag/v0.1.3
172
223
  [0.1.2]: https://github.com/rubocop-lts/rubocop-lts-ruby/compare/v0.1.1...v0.1.2
@@ -11,7 +11,8 @@ module RuboCop
11
11
  #
12
12
  # RuboCop's TargetRubyVersion handles syntax and version-aware style rules,
13
13
  # but it does not provide a complete runtime API compatibility database.
14
- # This cop fills that gap for explicit receiver calls in the catalog.
14
+ # This cop fills that gap for receiver calls whose owner is explicit in
15
+ # the syntax. Untyped local receivers are intentionally ignored.
15
16
  class UnavailableMethod < Base
16
17
  MSG = "%<owner>s#%<method>s is unavailable before Ruby %<version>s."
17
18
 
@@ -46,7 +47,7 @@ module RuboCop
46
47
  def entry_applies?(node, entry)
47
48
  case entry.receiver_type
48
49
  when :instance
49
- !node.receiver.const_type?
50
+ constructed_instance_of?(node.receiver, entry.owner)
50
51
  when :constant
51
52
  node.receiver.const_type? && node.receiver.const_name == entry.owner
52
53
  when :constructed_instance
@@ -6,7 +6,7 @@ module RuboCop
6
6
  # Version namespace for this gem.
7
7
  module Version
8
8
  # Current gem version.
9
- VERSION = "0.1.3"
9
+ VERSION = "0.1.5"
10
10
  end
11
11
  # Current gem version exposed at the traditional constant location.
12
12
  VERSION = Version::VERSION # Traditional Constant Location
@@ -120,7 +120,7 @@ Gem::Specification.new do |spec|
120
120
  # and preferably a modular one (see gemfiles/modular/*.gemfile).
121
121
 
122
122
  # Dev, Test, & Release Tasks
123
- spec.add_development_dependency("kettle-dev", "~> 3.0", ">= 3.0.33") # ruby >= 3.2.0
123
+ spec.add_development_dependency("kettle-dev", "~> 3.1", ">= 3.1.5") # ruby >= 3.2.0
124
124
 
125
125
  # Security
126
126
  spec.add_development_dependency("bundler-audit", "~> 0.9.3") # ruby >= 2.0.0
@@ -134,18 +134,18 @@ Gem::Specification.new do |spec|
134
134
  # Testing
135
135
  # Loads version files in anonymous namespaces for coverage without constant redefinition warnings.
136
136
  spec.add_development_dependency("anonymous_loader", "~> 0.1", ">= 0.1.3") # ruby >= 2.2.0
137
- spec.add_development_dependency("appraisal2", "~> 3.2", ">= 3.2.3") # ruby >= 1.8.7, for testing against multiple versions of dependencies
138
- spec.add_development_dependency("kettle-test", "~> 2.0", ">= 2.0.21") # ruby >= 3.2.0
139
- spec.add_development_dependency("turbo_tests2", "~> 3.2", ">= 3.2.7") # ruby >= 2.4.0, default kettle-test runner
137
+ spec.add_development_dependency("appraisal2", "~> 3.2", ">= 3.2.5") # ruby >= 1.8.7, for testing against multiple versions of dependencies
138
+ spec.add_development_dependency("kettle-test", "~> 2.0", ">= 2.0.23") # ruby >= 3.2.0
139
+ spec.add_development_dependency("turbo_tests2", "~> 3.2", ">= 3.2.12") # ruby >= 2.4.0, default kettle-test runner
140
140
 
141
141
  # Releasing
142
142
  spec.add_development_dependency("ruby-progressbar", "~> 1.13") # ruby >= 0
143
- spec.add_development_dependency("stone_checksums", "~> 1.0", ">= 1.0.8") # ruby >= 2.2.0
143
+ spec.add_development_dependency("stone_checksums", "~> 1.0", ">= 1.0.9") # ruby >= 2.2.0
144
144
 
145
145
  # Development tasks
146
146
  # The cake is a lie. erb v2.2, the oldest release, was never compatible with Ruby 2.3.
147
147
  # This means we have no choice but to use the erb that shipped with Ruby 2.3
148
148
  # /opt/hostedtoolcache/Ruby/2.3.8/x64/lib/ruby/gems/2.3.0/gems/erb-2.2.2/lib/erb.rb:670:in `prepare_trim_mode': undefined method `match?' for "-":String (NoMethodError)
149
149
  # spec.add_development_dependency("erb", ">= 2.2") # ruby >= 2.3.0, not SemVer, old rubies get dropped in a patch.
150
- spec.add_development_dependency("gitmoji-regex", "~> 2.0", ">= 2.0.12") # ruby >= 2.4
150
+ spec.add_development_dependency("gitmoji-regex", "~> 2.0", ">= 2.0.13") # ruby >= 2.4
151
151
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-lts-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
@@ -97,20 +97,20 @@ dependencies:
97
97
  requirements:
98
98
  - - "~>"
99
99
  - !ruby/object:Gem::Version
100
- version: '3.0'
100
+ version: '3.1'
101
101
  - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: 3.0.33
103
+ version: 3.1.5
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '3.0'
110
+ version: '3.1'
111
111
  - - ">="
112
112
  - !ruby/object:Gem::Version
113
- version: 3.0.33
113
+ version: 3.1.5
114
114
  - !ruby/object:Gem::Dependency
115
115
  name: bundler-audit
116
116
  requirement: !ruby/object:Gem::Requirement
@@ -188,7 +188,7 @@ dependencies:
188
188
  version: '3.2'
189
189
  - - ">="
190
190
  - !ruby/object:Gem::Version
191
- version: 3.2.3
191
+ version: 3.2.5
192
192
  type: :development
193
193
  prerelease: false
194
194
  version_requirements: !ruby/object:Gem::Requirement
@@ -198,7 +198,7 @@ dependencies:
198
198
  version: '3.2'
199
199
  - - ">="
200
200
  - !ruby/object:Gem::Version
201
- version: 3.2.3
201
+ version: 3.2.5
202
202
  - !ruby/object:Gem::Dependency
203
203
  name: kettle-test
204
204
  requirement: !ruby/object:Gem::Requirement
@@ -208,7 +208,7 @@ dependencies:
208
208
  version: '2.0'
209
209
  - - ">="
210
210
  - !ruby/object:Gem::Version
211
- version: 2.0.21
211
+ version: 2.0.23
212
212
  type: :development
213
213
  prerelease: false
214
214
  version_requirements: !ruby/object:Gem::Requirement
@@ -218,7 +218,7 @@ dependencies:
218
218
  version: '2.0'
219
219
  - - ">="
220
220
  - !ruby/object:Gem::Version
221
- version: 2.0.21
221
+ version: 2.0.23
222
222
  - !ruby/object:Gem::Dependency
223
223
  name: turbo_tests2
224
224
  requirement: !ruby/object:Gem::Requirement
@@ -228,7 +228,7 @@ dependencies:
228
228
  version: '3.2'
229
229
  - - ">="
230
230
  - !ruby/object:Gem::Version
231
- version: 3.2.7
231
+ version: 3.2.12
232
232
  type: :development
233
233
  prerelease: false
234
234
  version_requirements: !ruby/object:Gem::Requirement
@@ -238,7 +238,7 @@ dependencies:
238
238
  version: '3.2'
239
239
  - - ">="
240
240
  - !ruby/object:Gem::Version
241
- version: 3.2.7
241
+ version: 3.2.12
242
242
  - !ruby/object:Gem::Dependency
243
243
  name: ruby-progressbar
244
244
  requirement: !ruby/object:Gem::Requirement
@@ -262,7 +262,7 @@ dependencies:
262
262
  version: '1.0'
263
263
  - - ">="
264
264
  - !ruby/object:Gem::Version
265
- version: 1.0.8
265
+ version: 1.0.9
266
266
  type: :development
267
267
  prerelease: false
268
268
  version_requirements: !ruby/object:Gem::Requirement
@@ -272,7 +272,7 @@ dependencies:
272
272
  version: '1.0'
273
273
  - - ">="
274
274
  - !ruby/object:Gem::Version
275
- version: 1.0.8
275
+ version: 1.0.9
276
276
  - !ruby/object:Gem::Dependency
277
277
  name: gitmoji-regex
278
278
  requirement: !ruby/object:Gem::Requirement
@@ -282,7 +282,7 @@ dependencies:
282
282
  version: '2.0'
283
283
  - - ">="
284
284
  - !ruby/object:Gem::Version
285
- version: 2.0.12
285
+ version: 2.0.13
286
286
  type: :development
287
287
  prerelease: false
288
288
  version_requirements: !ruby/object:Gem::Requirement
@@ -292,7 +292,7 @@ dependencies:
292
292
  version: '2.0'
293
293
  - - ">="
294
294
  - !ruby/object:Gem::Version
295
- version: 2.0.12
295
+ version: 2.0.13
296
296
  description: |
297
297
  RuboCop cops that detect use of Ruby core and standard library APIs that are
298
298
  unavailable for the configured TargetRubyVersion.
@@ -320,10 +320,10 @@ licenses:
320
320
  - MIT
321
321
  metadata:
322
322
  homepage_uri: https://github.com/rubocop-lts/rubocop-lts-ruby
323
- source_code_uri: https://github.com/rubocop-lts/rubocop-lts-ruby/tree/v0.1.3
324
- changelog_uri: https://github.com/rubocop-lts/rubocop-lts-ruby/blob/v0.1.3/CHANGELOG.md
323
+ source_code_uri: https://github.com/rubocop-lts/rubocop-lts-ruby/tree/v0.1.5
324
+ changelog_uri: https://github.com/rubocop-lts/rubocop-lts-ruby/blob/v0.1.5/CHANGELOG.md
325
325
  bug_tracker_uri: https://github.com/rubocop-lts/rubocop-lts-ruby/issues
326
- documentation_uri: https://www.rubydoc.info/gems/rubocop-lts-ruby/0.1.3
326
+ documentation_uri: https://www.rubydoc.info/gems/rubocop-lts-ruby/0.1.5
327
327
  funding_uri: https://github.com/sponsors/pboling
328
328
  wiki_uri: https://github.com/rubocop-lts/rubocop-lts-ruby/wiki
329
329
  news_uri: https://www.railsbling.com/tags/rubocop-lts-ruby
@@ -354,7 +354,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
354
354
  - !ruby/object:Gem::Version
355
355
  version: '0'
356
356
  requirements: []
357
- rubygems_version: 4.0.17
357
+ rubygems_version: 4.0.20
358
358
  specification_version: 4
359
359
  summary: "\U0001F6E1️ Std Lib Gating Cops-per-each Version of Ruby"
360
360
  test_files: []
metadata.gz.sig CHANGED
Binary file