specs_for 0.2.0 → 0.3.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: 49cbe4e021b76ac0fcf642d68e4047a591c1618b47e97360822d7a7fc8f691c0
4
- data.tar.gz: e82d6767e86e83dc4e2b97a9de51121e497a64cf70744dad1e4ea4c256083391
3
+ metadata.gz: 1b932f4747e94ad314a82fe725c7fd11a9b65e36b6c810cb6d919fd9614da9d6
4
+ data.tar.gz: 582864fdbfbca17391ebee663302ca60d0eab43ad0152bc8a07dcbc844e365e7
5
5
  SHA512:
6
- metadata.gz: 54b8e0df1127883a36f8b87c5ec57aa60e86a290f08fbddb413cf7061fd00a8ebffc9f090a2600a440afadf957f2bc5b30f38ba865e59105bf0211ee83d266be
7
- data.tar.gz: 4e1409fce1fceba6b3763cce5c824c0fc298bf64cf0cae6cd784f27800ea984982f2abd71119db95875a51e914639f5f28ff20939eb42cea92d2a30f94be76c0
6
+ metadata.gz: 97bfe82164f9ae90b50e108643a941912fb75ec4e28c42ca37f870b061bda5077afb1d56208a305d0d5ea5562b7a57d08cafa246174d830622e2f0640da7d069
7
+ data.tar.gz: 3ea6a451957dc24b9ff8e907c453966ee6cfa91b4233936eb3405868cf2f363f373d04661c64a8e0de057c88fabb210a321fc688ce6eac4717eee6ef24e86e34
data/README.md CHANGED
@@ -43,6 +43,17 @@ specs-for -s lib/my_class.rb
43
43
  specs-for -n lib/my_class.rb
44
44
  ```
45
45
 
46
+ ### Bundler context and standalone usage
47
+
48
+ `specs-for` is designed to run as a standalone CLI, independent of the current
49
+ project's Gemfile dependency constraints.
50
+
51
+ - Prefer: `specs-for ...`
52
+ - Avoid: `bundle exec specs-for ...` (this forces the current project's Bundler context)
53
+
54
+ When invoked with `bundle exec`, RubyGems resolution is controlled by that
55
+ project's bundle, which can cause version conflicts unrelated to `specs-for`.
56
+
46
57
  ### Path mapping
47
58
 
48
59
  Source files are mapped to spec files by replacing the first `app/` or `lib/`
data/bin/specs_for CHANGED
@@ -1,7 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # frozen_string_literal: true
3
3
 
4
- require "bundler/setup"
5
4
  require "specs_for"
6
5
 
7
6
  SpecsFor.new.run
@@ -3,7 +3,9 @@
3
3
  class SpecsFor
4
4
  RELEASES = [
5
5
  ["0.1.0", "2026-03-25", "Initial release"],
6
- ["0.2.0", "2026-05-06", "Add support for tags and improved file search"]
6
+ ["0.2.0", "2026-05-06", "Add support for tags and improved file search"],
7
+ ["0.2.1", "2026-05-06", "Replace specs-for with specs_for in the url"],
8
+ ["0.3.0", "2026-05-06", "Make specs-for be independent of bundler"]
7
9
  ]
8
10
  VERSION = RELEASES.last.first
9
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: specs_for
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alan Stebbens
@@ -9,20 +9,6 @@ bindir: bin
9
9
  cert_chain: []
10
10
  date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
- - !ruby/object:Gem::Dependency
13
- name: bundler
14
- requirement: !ruby/object:Gem::Requirement
15
- requirements:
16
- - - ">="
17
- - !ruby/object:Gem::Version
18
- version: 4.0.0
19
- type: :runtime
20
- prerelease: false
21
- version_requirements: !ruby/object:Gem::Requirement
22
- requirements:
23
- - - ">="
24
- - !ruby/object:Gem::Version
25
- version: 4.0.0
26
12
  - !ruby/object:Gem::Dependency
27
13
  name: json
28
14
  requirement: !ruby/object:Gem::Requirement
@@ -186,13 +172,13 @@ files:
186
172
  - lib/specs_for/runner.rb
187
173
  - lib/specs_for/version.rb
188
174
  - sig/specs_for.rbs
189
- homepage: https://github.com/aks/specs-for
175
+ homepage: https://github.com/aks/specs_for
190
176
  licenses:
191
177
  - MIT
192
178
  metadata:
193
- homepage_uri: https://github.com/aks/specs-for
194
- source_code_uri: https://github.com/aks/specs-for
195
- changelog_uri: https://github.com/aks/specs-for/blob/main/CHANGELOG.md
179
+ homepage_uri: https://github.com/aks/specs_for
180
+ source_code_uri: https://github.com/aks/specs_for
181
+ changelog_uri: https://github.com/aks/specs_for/blob/main/CHANGELOG.md
196
182
  rdoc_options: []
197
183
  require_paths:
198
184
  - lib