retest 2.2.2 → 2.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: e3c873cec57f9fc325d7b69a04910bc00014af31c4e065c9aa978751a4828f20
4
- data.tar.gz: 2bbbb2031a9f0833ae37b954349d7134b8e2b4d3b6aa50b7b2edcfdd0b08e357
3
+ metadata.gz: 0e1f85f23a2480aa8ba17ec5a43cd3a4f00011908376b94be4d75d5c5c413c93
4
+ data.tar.gz: 20e98b0513e9b708cecfd1644feb0d3a9d61f858bc26bc3e9a48385f1e74186a
5
5
  SHA512:
6
- metadata.gz: 1c389288c74f66002ff5862d081dc116687748360cfd4e8df04cd5a2e3e462b58ba253a39923a6d625775ba9fd123a2866901517ee58bd12f07769a1d8799e52
7
- data.tar.gz: d6a80bca3f44cbe7ecd46d6bbcc72d237060b5e9eca7253f5b0579b72de0e20c59cacd083440597c90e72606ec36bd2c61b4bda6b4b6c6192a8a2d7b586f423a
6
+ metadata.gz: 016afcce2763dcfd44072a809fc4e7c18c8eec08622882a4214ad82babe554f8df864c156dd21bef2342ab993558ce06c33e56498f3bb9e544a04ac339b9a6bc
7
+ data.tar.gz: 83f58964d34d1e3a4d1bdd8477e941c6fa67ec700c39fddd98a371dfc501de2eea1a4d57861a0d3476638e60dce7b350b37e54c5dd4a7d3b5971e36eb7df63ec
data/Gemfile-3.4.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- retest (2.2.1)
4
+ retest (2.3.0)
5
5
  listen (~> 3.9)
6
6
  observer (~> 0.1)
7
7
  string-similarity (~> 2.1)
@@ -12,17 +12,7 @@ GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
14
  byebug (11.1.3)
15
- ffi (1.17.1)
16
- ffi (1.17.1-aarch64-linux-gnu)
17
- ffi (1.17.1-aarch64-linux-musl)
18
- ffi (1.17.1-arm-linux-gnu)
19
- ffi (1.17.1-arm-linux-musl)
20
- ffi (1.17.1-arm64-darwin)
21
- ffi (1.17.1-x86-linux-gnu)
22
- ffi (1.17.1-x86-linux-musl)
23
- ffi (1.17.1-x86_64-darwin)
24
- ffi (1.17.1-x86_64-linux-gnu)
25
- ffi (1.17.1-x86_64-linux-musl)
15
+ ffi (1.17.2)
26
16
  listen (3.9.0)
27
17
  rb-fsevent (~> 0.10, >= 0.10.3)
28
18
  rb-inotify (~> 0.9, >= 0.9.10)
@@ -49,16 +39,16 @@ GEM
49
39
  wisper (2.0.1)
50
40
 
51
41
  PLATFORMS
52
- aarch64-linux-gnu
42
+ aarch64-linux
53
43
  aarch64-linux-musl
54
- arm-linux-gnu
44
+ arm-linux
55
45
  arm-linux-musl
56
46
  arm64-darwin
57
47
  ruby
58
- x86-linux-gnu
48
+ x86-linux
59
49
  x86-linux-musl
60
50
  x86_64-darwin
61
- x86_64-linux-gnu
51
+ x86_64-linux
62
52
  x86_64-linux-musl
63
53
 
64
54
  DEPENDENCIES
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- retest (2.2.2)
4
+ retest (2.3.0)
5
5
  listen (~> 3.9)
6
6
  observer (~> 0.1)
7
7
  string-similarity (~> 2.1)
@@ -12,7 +12,7 @@ GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
14
  byebug (11.1.3)
15
- ffi (1.17.1)
15
+ ffi (1.17.2)
16
16
  listen (3.9.0)
17
17
  rb-fsevent (~> 0.10, >= 0.10.3)
18
18
  rb-inotify (~> 0.9, >= 0.9.10)
data/README.md CHANGED
@@ -100,9 +100,27 @@ Bug reports and pull requests are welcome at [GitHub](https://github.com/alexb52
100
100
  Want to contribute to Retest? Follow these steps to set up your environment
101
101
 
102
102
  1. Clone the repo and install dependencies: `bin/setup`
103
- 2. Run tests to ensure everything is working: `rake test`
104
- 3. Experiment with an interactive console: `bin/console`
105
- 4. To run integration tests (e.g., for a Hanami app): `bin/test/hanami-app`
103
+ 2. Experiment with an interactive console: `bin/console`
104
+ 3. Run retest with local changes applied: `bin/debug`
105
+ 4. Run tests to ensure everything is working: `rake test`
106
+ 5. To run integration tests:
107
+ * bundler-app: `bin/test/bundler-app`
108
+ * git-ruby: `bin/test/git-ruby`
109
+ * hanami-app: `bin/test/hanami-app`
110
+ * rails-app: `bin/test/rails-app`
111
+ * rspec-rails: `bin/test/rspec-rails`
112
+ * rspec-ruby: `bin/test/rspec-ruby`
113
+ * ruby-app: `bin/test/ruby-app`
114
+ * ruby-bare: `bin/test/ruby-bare`
115
+
116
+ Note, we squash all PRs and may edit commit messages for clarity or consistency.
117
+
118
+ ## 🏁 Release
119
+
120
+ Ruby 3.4 requires to be bundled with Gemfile-3.4.
121
+ When creating a new version make sure to also bundle with 3.4
122
+
123
+ BUNDLE_GEMFILE=Gemfile-3.4 bundle install
106
124
 
107
125
  ## 📜 **License**
108
126
 
data/lib/retest/prompt.rb CHANGED
@@ -37,9 +37,8 @@ module Retest
37
37
  private
38
38
 
39
39
  def options(files, blank_option: 'none')
40
- result = {}
40
+ result = { blank_option => nil } # blank option first
41
41
  files.each { |file| result[file] = file }
42
- result[blank_option] = nil # blank option last
43
42
  result
44
43
  end
45
44
 
@@ -1,3 +1,3 @@
1
1
  module Retest
2
- VERSION = "2.2.2"
2
+ VERSION = "2.3.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: retest
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.2
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexandre Barret
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2025-04-12 00:00:00.000000000 Z
10
+ date: 2025-05-23 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: string-similarity
@@ -80,7 +79,6 @@ dependencies:
80
79
  - - "~>"
81
80
  - !ruby/object:Gem::Version
82
81
  version: '0.1'
83
- description:
84
82
  email:
85
83
  - alex@abletech.nz
86
84
  executables:
@@ -150,7 +148,6 @@ licenses:
150
148
  metadata:
151
149
  homepage_uri: https://github.com/AlexB52/retest
152
150
  source_code_uri: https://github.com/AlexB52/retest
153
- post_install_message:
154
151
  rdoc_options: []
155
152
  require_paths:
156
153
  - lib
@@ -165,8 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
165
162
  - !ruby/object:Gem::Version
166
163
  version: '0'
167
164
  requirements: []
168
- rubygems_version: 3.4.14
169
- signing_key:
165
+ rubygems_version: 3.6.2
170
166
  specification_version: 4
171
167
  summary: A simple command line tool to watch file change and run its matching spec.
172
168
  test_files: []