appraisal2 3.2.4 → 3.2.6
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +63 -1
- data/README.md +19 -5
- data/lib/appraisal/command.rb +45 -8
- data/lib/appraisal/gem_manager/bundler_adapter.rb +29 -20
- data/lib/appraisal/version.rb +1 -1
- data.tar.gz.sig +3 -2
- metadata +19 -19
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f5b5c74dc4c68ab1742b06a4a442c5b439e381bf28e404ca57c008de25022fe7
|
|
4
|
+
data.tar.gz: f20781e8f9321af3011d74125c623d514567b95f341f549fb77bc5c6a7d61e09
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d42c33c9a5715ecf218f9aff0a19524023c5551d9ba888090345e3593ceb52dd4ce2c6c26f2114a951ed5f8409849193561e33bbf211e69308dec6564cb7ae95
|
|
7
|
+
data.tar.gz: 921e8622297fbd7973df2908fde342227f32c7802ee3d98a47ba973cffbd31ea4c30800b08ca3a1516ae7f6f7b9b766f91912c77f6fc5f762a82f55106bb73f6
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -30,6 +30,64 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
30
30
|
|
|
31
31
|
### Security
|
|
32
32
|
|
|
33
|
+
## [3.2.6] - 2026-10-21
|
|
34
|
+
|
|
35
|
+
- TAG: [v3.2.6][3.2.6t]
|
|
36
|
+
- COVERAGE: 91.00% -- 940/1033 lines in 29 files
|
|
37
|
+
- BRANCH COVERAGE: 79.07% -- 204/258 branches in 29 files
|
|
38
|
+
- 43.78% documented
|
|
39
|
+
|
|
40
|
+
### Changed
|
|
41
|
+
|
|
42
|
+
- [kc] kettle-jem/prepare: updated 20 project files:
|
|
43
|
+
- configuration (1)
|
|
44
|
+
- dependencies (19)
|
|
45
|
+
|
|
46
|
+
- [kc] kettle-jem/template: updated 38 project files:
|
|
47
|
+
- code and tests (2)
|
|
48
|
+
- dependencies (2)
|
|
49
|
+
- documentation (2)
|
|
50
|
+
- other (1)
|
|
51
|
+
- workflows (31)
|
|
52
|
+
|
|
53
|
+
## [3.2.5] - 2026-09-29
|
|
54
|
+
|
|
55
|
+
- TAG: [v3.2.5][3.2.5t]
|
|
56
|
+
- COVERAGE: 91.00% -- 940/1033 lines in 29 files
|
|
57
|
+
- BRANCH COVERAGE: 79.07% -- 204/258 branches in 29 files
|
|
58
|
+
- 43.78% documented
|
|
59
|
+
|
|
60
|
+
### Added
|
|
61
|
+
|
|
62
|
+
- kettle-jem-template-20260913-001 - Templating now also surfaces a review
|
|
63
|
+
entry in `dependency_conflicts.resolve` when a direct development
|
|
64
|
+
dependency doesn't support one or more of this project's declared
|
|
65
|
+
`engines:` and has no template-managed modular home (e.g. `sqlite3` on
|
|
66
|
+
`jruby`). Review each entry and pick a resolution per the project's own
|
|
67
|
+
engine support needs.
|
|
68
|
+
|
|
69
|
+
### Changed
|
|
70
|
+
|
|
71
|
+
- [kc] kettle-jem/prepare: updated 60 project files:
|
|
72
|
+
- dependencies (60)
|
|
73
|
+
- [kc] kettle-jem/template: updated 73 project files:
|
|
74
|
+
- code and tests (7)
|
|
75
|
+
- dependencies (2)
|
|
76
|
+
- other (4)
|
|
77
|
+
- workflows (60)
|
|
78
|
+
|
|
79
|
+
### Fixed
|
|
80
|
+
|
|
81
|
+
- Use argument-vector execution for internal Bundler and RubyGems probes so locked appraisals work on Windows.
|
|
82
|
+
|
|
83
|
+
- Launch locked Bundler subprocesses with argument-safe invocation on Windows.
|
|
84
|
+
|
|
85
|
+
- Run acceptance subprocesses with argument-safe, platform-independent environment handling.
|
|
86
|
+
|
|
87
|
+
- Keep Bundler check, install, and path configuration commands as argument vectors on Windows.
|
|
88
|
+
|
|
89
|
+
- Skip the style-only RuboCop toolchain in the Ruby 3.2 appraisal bundle.
|
|
90
|
+
|
|
33
91
|
## [3.2.4] - 2026-09-11
|
|
34
92
|
|
|
35
93
|
- TAG: [v3.2.4][3.2.4t]
|
|
@@ -641,7 +699,11 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
641
699
|
- code coverage tracked with Coveralls, QLTY.sh, and the kettle-soup-cover gem
|
|
642
700
|
- other minor fixes and improvements
|
|
643
701
|
|
|
644
|
-
[Unreleased]: https://github.com/appraisal-rb/appraisal2/compare/v3.2.
|
|
702
|
+
[Unreleased]: https://github.com/appraisal-rb/appraisal2/compare/v3.2.6...HEAD
|
|
703
|
+
[3.2.6]: https://github.com/appraisal-rb/appraisal2/compare/v3.2.5...v3.2.6
|
|
704
|
+
[3.2.6t]: https://github.com/appraisal-rb/appraisal2/releases/tag/v3.2.6
|
|
705
|
+
[3.2.5]: https://github.com/appraisal-rb/appraisal2/compare/v3.2.4...v3.2.5
|
|
706
|
+
[3.2.5t]: https://github.com/appraisal-rb/appraisal2/releases/tag/v3.2.5
|
|
645
707
|
[3.2.4]: https://github.com/appraisal-rb/appraisal2/compare/v3.2.3...v3.2.4
|
|
646
708
|
[3.2.4t]: https://github.com/appraisal-rb/appraisal2/releases/tag/v3.2.4
|
|
647
709
|
[3.2.3]: https://github.com/appraisal-rb/appraisal2/compare/v3.2.2...v3.2.3
|
data/README.md
CHANGED
|
@@ -48,7 +48,7 @@ Appraisal2 adds:
|
|
|
48
48
|
| Tokens to Remember | [![Gem name][⛳️name-img]][⛳️gem-name] [![Gem namespace][⛳️namespace-img]][⛳️gem-namespace] |
|
|
49
49
|
|-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
50
50
|
| Works with JRuby | [![JRuby 9.2 Compat][💎jruby-9.2i]][🚎jruby-9.2-wf] [![JRuby 9.3 Compat][💎jruby-9.3i]][🚎jruby-9.3-wf] <br/> [![JRuby 9.4 Compat][💎jruby-9.4i]][🚎jruby-9.4-wf] [![JRuby 10.0 Compat][💎jruby-10.0i]][🚎jruby-10.0-wf] [![JRuby current Compat][💎jruby-c-i]][🚎10-j-wf] [![JRuby HEAD Compat][💎jruby-headi]][🚎3-hd-wf]|
|
|
51
|
-
| Works with Truffle Ruby | [![Truffle Ruby 22.3 Compat][💎truby-22.3i]][🚎truby-22.3-wf] [![Truffle Ruby 23.
|
|
51
|
+
| Works with Truffle Ruby | [![Truffle Ruby 22.3 Compat][💎truby-22.3i]][🚎truby-22.3-wf] [![Truffle Ruby 23.1 Compat][💎truby-23.1i]][🚎truby-23.1-wf] <br/> [![Truffle Ruby 24.2 Compat][💎truby-24.2i]][🚎truby-24.2-wf] [![Truffle Ruby 25.0 Compat][💎truby-25.0i]][🚎truby-25.0-wf] [![Truffle Ruby 33.0 Compat][💎truby-33.0i]][🚎truby-33.0-wf] [![Truffle Ruby current Compat][💎truby-c-i]][🚎9-t-wf]|
|
|
52
52
|
| Works with MRI Ruby 4 | [![Ruby current Compat][💎ruby-c-i]][🚎11-c-wf] [![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf]|
|
|
53
53
|
| Works with MRI Ruby 3 | [![Ruby 3.0 Compat][💎ruby-3.0i]][🚎ruby-3.0-wf] [![Ruby 3.1 Compat][💎ruby-3.1i]][🚎ruby-3.1-wf] [![Ruby 3.2 Compat][💎ruby-3.2i]][🚎ruby-3.2-wf] [![Ruby 3.3 Compat][💎ruby-3.3i]][🚎ruby-3.3-wf] [![Ruby 3.4 Compat][💎ruby-3.4i]][🚎ruby-3.4-wf]|
|
|
54
54
|
| Works with MRI Ruby 2 | ![Ruby 2.0 Compat][💎ruby-2.0i] ![Ruby 2.1 Compat][💎ruby-2.1i] ![Ruby 2.2 Compat][💎ruby-2.2i] ![Ruby 2.3 Compat][💎ruby-2.3i] <br/> [![Ruby 2.4 Compat][💎ruby-2.4i]][🚎ruby-2.4-wf] [![Ruby 2.5 Compat][💎ruby-2.5i]][🚎ruby-2.5-wf] [![Ruby 2.6 Compat][💎ruby-2.6i]][🚎ruby-2.6-wf] [![Ruby 2.7 Compat][💎ruby-2.7i]][🚎ruby-2.7-wf]|
|
|
@@ -88,6 +88,23 @@ The _amazing_ test matrix is powered by the kettle-dev stack.
|
|
|
88
88
|
|
|
89
89
|
</details>
|
|
90
90
|
|
|
91
|
+
### Runtime and Platform Support
|
|
92
|
+
|
|
93
|
+
Support tiers describe what this project's CI actually exercises, not what may
|
|
94
|
+
work in an untested environment:
|
|
95
|
+
|
|
96
|
+
- **Parallel support**: CI runs the test suite with multiple workers available.
|
|
97
|
+
- **Unsupported**: the engine/platform combination is not covered by CI and is
|
|
98
|
+
not a project compatibility claim.
|
|
99
|
+
|
|
100
|
+
| Ruby engine/version | Linux | macOS | Windows | Notes |
|
|
101
|
+
|---------------------|-------|-------|---------|-------|
|
|
102
|
+
| MRI 3.1-3.4 | Parallel support | Unsupported | Unsupported | Versioned Ruby workflows run on Linux. |
|
|
103
|
+
| MRI current | Parallel support | Parallel support | Unsupported | Current Ruby workflow covers the declared OS platforms. |
|
|
104
|
+
| MRI head | Parallel support | Unsupported | Unsupported | CI is allowed to fail while Ruby is in development. |
|
|
105
|
+
| JRuby (all CI lanes) | Parallel support | Unsupported | Unsupported | Engine workflows run on Linux; macOS and Windows are not exercised by CI. |
|
|
106
|
+
| TruffleRuby (all CI lanes) | Parallel support | Unsupported | Unsupported | Never shipped a Windows build (zero Windows assets across 66 releases scanned 2026-10-10); setup-ruby hard-fails ([source](https://github.com/ruby/setup-ruby/blob/master/README.md)) |
|
|
107
|
+
|
|
91
108
|
### Federated DVCS
|
|
92
109
|
|
|
93
110
|
<details markdown="1">
|
|
@@ -697,7 +714,6 @@ Thanks for RTFM. ☺️
|
|
|
697
714
|
[🚎jruby-9.4-wf]: https://github.com/appraisal-rb/appraisal2/actions/workflows/jruby-9.4.yml
|
|
698
715
|
[🚎jruby-10.0-wf]: https://github.com/appraisal-rb/appraisal2/actions/workflows/jruby-10.0.yml
|
|
699
716
|
[🚎truby-22.3-wf]: https://github.com/appraisal-rb/appraisal2/actions/workflows/truffleruby-22.3.yml
|
|
700
|
-
[🚎truby-23.0-wf]: https://github.com/appraisal-rb/appraisal2/actions/workflows/truffleruby-23.0.yml
|
|
701
717
|
[🚎truby-23.1-wf]: https://github.com/appraisal-rb/appraisal2/actions/workflows/truffleruby-23.1.yml
|
|
702
718
|
[🚎truby-24.2-wf]: https://github.com/appraisal-rb/appraisal2/actions/workflows/truffleruby-24.2.yml
|
|
703
719
|
[🚎truby-25.0-wf]: https://github.com/appraisal-rb/appraisal2/actions/workflows/truffleruby-25.0.yml
|
|
@@ -740,13 +756,11 @@ Thanks for RTFM. ☺️
|
|
|
740
756
|
[💎ruby-c-i]: https://img.shields.io/badge/Ruby-current-CC342D?style=for-the-badge&logo=ruby&logoColor=green
|
|
741
757
|
[💎ruby-headi]: https://img.shields.io/badge/Ruby-HEAD-CC342D?style=for-the-badge&logo=ruby&logoColor=blue
|
|
742
758
|
[💎truby-22.3i]: https://img.shields.io/badge/Truffle_Ruby-22.3-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
|
743
|
-
[💎truby-23.0i]: https://img.shields.io/badge/Truffle_Ruby-23.0-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
|
744
759
|
[💎truby-23.1i]: https://img.shields.io/badge/Truffle_Ruby-23.1-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
|
745
760
|
[💎truby-24.2i]: https://img.shields.io/badge/Truffle_Ruby-24.2-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
|
746
761
|
[💎truby-25.0i]: https://img.shields.io/badge/Truffle_Ruby-25.0-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
|
747
762
|
[💎truby-33.0i]: https://img.shields.io/badge/Truffle_Ruby-33.0-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
|
748
763
|
[💎truby-c-i]: https://img.shields.io/badge/Truffle_Ruby-current-34BCB1?style=for-the-badge&logo=ruby&logoColor=green
|
|
749
|
-
[💎truby-headi]: https://img.shields.io/badge/Truffle_Ruby-HEAD-34BCB1?style=for-the-badge&logo=ruby&logoColor=blue
|
|
750
764
|
[💎jruby-9.2i]: https://img.shields.io/badge/JRuby-9.2-FBE742?style=for-the-badge&logo=ruby&logoColor=red
|
|
751
765
|
[💎jruby-9.3i]: https://img.shields.io/badge/JRuby-9.3-FBE742?style=for-the-badge&logo=ruby&logoColor=red
|
|
752
766
|
[💎jruby-9.4i]: https://img.shields.io/badge/JRuby-9.4-FBE742?style=for-the-badge&logo=ruby&logoColor=red
|
|
@@ -779,7 +793,7 @@ Thanks for RTFM. ☺️
|
|
|
779
793
|
[📌gitmoji]: https://gitmoji.dev
|
|
780
794
|
[📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
|
|
781
795
|
[🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
|
|
782
|
-
[🧮kloc-img]: https://img.shields.io/badge/KLOC-1.
|
|
796
|
+
[🧮kloc-img]: https://img.shields.io/badge/KLOC-1.033-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
|
|
783
797
|
[🔐security]: https://github.com/appraisal-rb/appraisal2/blob/main/SECURITY.md
|
|
784
798
|
[🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
|
|
785
799
|
[📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
data/lib/appraisal/command.rb
CHANGED
|
@@ -41,6 +41,7 @@ module Appraisal
|
|
|
41
41
|
@gemfile = options[:gemfile]
|
|
42
42
|
@env = options.fetch(:env, {})
|
|
43
43
|
@skip_bundle_exec = options.fetch(:skip_bundle_exec, false)
|
|
44
|
+
@allow_failure = options[:allow_failure] || false
|
|
44
45
|
@command = @skip_bundle_exec ? command : command_starting_with_bundle(command)
|
|
45
46
|
end
|
|
46
47
|
|
|
@@ -138,7 +139,15 @@ module Appraisal
|
|
|
138
139
|
end
|
|
139
140
|
process_env["APPRAISAL_INITIALIZED"] = "1"
|
|
140
141
|
|
|
141
|
-
|
|
142
|
+
succeeded = if command.is_a?(Array)
|
|
143
|
+
Kernel.system(process_env, *command_arguments(bundler_version))
|
|
144
|
+
else
|
|
145
|
+
Kernel.system(process_env, command_text)
|
|
146
|
+
end
|
|
147
|
+
return succeeded if @allow_failure
|
|
148
|
+
|
|
149
|
+
exit(1) unless succeeded
|
|
150
|
+
succeeded
|
|
142
151
|
end
|
|
143
152
|
|
|
144
153
|
def ensure_bundler_is_available(process_env)
|
|
@@ -149,14 +158,14 @@ module Appraisal
|
|
|
149
158
|
# Ruby engines, Bundler may be available through the active app bundle
|
|
150
159
|
# while a manually scrubbed RubyGems spec lookup cannot see it through the
|
|
151
160
|
# current GEM_HOME/GEM_PATH.
|
|
152
|
-
return if
|
|
161
|
+
return if system_command(process_env, ["bundle", "-v"])
|
|
153
162
|
|
|
154
163
|
# Check if any version of bundler is available through RubyGems.
|
|
155
|
-
return if
|
|
164
|
+
return if system_command(rubygems_env, bundler_available_command)
|
|
156
165
|
|
|
157
166
|
puts ">> Bundler not found, attempting to install..."
|
|
158
167
|
# If that fails, try to install the latest stable version
|
|
159
|
-
return if
|
|
168
|
+
return if system_command(rubygems_env, ruby_gem_command("install", "bundler"))
|
|
160
169
|
|
|
161
170
|
puts
|
|
162
171
|
puts <<-ERROR.rstrip
|
|
@@ -174,10 +183,13 @@ manually.
|
|
|
174
183
|
|
|
175
184
|
rubygems_env = rubygems_command_env(process_env)
|
|
176
185
|
|
|
177
|
-
return if
|
|
186
|
+
return if system_command(rubygems_env, bundler_available_command(locked_version))
|
|
178
187
|
|
|
179
188
|
puts ">> Bundler #{locked_version} not found, attempting to install..."
|
|
180
|
-
return if
|
|
189
|
+
return if system_command(
|
|
190
|
+
rubygems_env,
|
|
191
|
+
ruby_gem_command("install", "bundler", "-v", locked_version, "--no-document")
|
|
192
|
+
)
|
|
181
193
|
|
|
182
194
|
puts
|
|
183
195
|
puts <<-ERROR.rstrip
|
|
@@ -228,7 +240,19 @@ manually.
|
|
|
228
240
|
specs = Gem::Specification.find_all_by_name("bundler"#{requirement})
|
|
229
241
|
exit(specs.empty? ? 1 : 0)
|
|
230
242
|
RUBY
|
|
231
|
-
|
|
243
|
+
[RbConfig.ruby, "--disable=gems", "-e", code]
|
|
244
|
+
end
|
|
245
|
+
|
|
246
|
+
def ruby_gem_command(*arguments)
|
|
247
|
+
[RbConfig.ruby, "--disable=gems", "-S", "gem", *arguments]
|
|
248
|
+
end
|
|
249
|
+
|
|
250
|
+
def system_command(environment, command)
|
|
251
|
+
if command.is_a?(Array)
|
|
252
|
+
system(environment, *command)
|
|
253
|
+
else
|
|
254
|
+
system(environment, command)
|
|
255
|
+
end
|
|
232
256
|
end
|
|
233
257
|
|
|
234
258
|
def announce(command_text = command_as_string)
|
|
@@ -269,10 +293,23 @@ manually.
|
|
|
269
293
|
end
|
|
270
294
|
|
|
271
295
|
def versioned_bundler_command(version)
|
|
272
|
-
script = %(
|
|
296
|
+
script = %(require "rubygems"; Gem::Specification.find_by_name("bundler", #{version.inspect}).activate; load Gem.bin_path("bundler", "bundle"))
|
|
273
297
|
Shellwords.join([RbConfig.ruby, "-e", script])
|
|
274
298
|
end
|
|
275
299
|
|
|
300
|
+
def command_arguments(bundler_version)
|
|
301
|
+
return command unless bundler_version
|
|
302
|
+
|
|
303
|
+
script = %(require "rubygems"; Gem::Specification.find_by_name("bundler", #{bundler_version.inspect}).activate; load Gem.bin_path("bundler", "bundle"))
|
|
304
|
+
command.flat_map do |argument|
|
|
305
|
+
if argument == "bundle"
|
|
306
|
+
[RbConfig.ruby, "-e", script]
|
|
307
|
+
else
|
|
308
|
+
[argument]
|
|
309
|
+
end
|
|
310
|
+
end
|
|
311
|
+
end
|
|
312
|
+
|
|
276
313
|
def test_environment
|
|
277
314
|
return {} unless ENV["APPRAISAL_UNDER_TEST"] == "1"
|
|
278
315
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
require "shellwords"
|
|
4
|
-
|
|
5
3
|
require "appraisal/utils"
|
|
4
|
+
require "set"
|
|
6
5
|
|
|
7
6
|
require_relative "base"
|
|
8
7
|
|
|
@@ -22,20 +21,19 @@ module Appraisal
|
|
|
22
21
|
end
|
|
23
22
|
|
|
24
23
|
def install(options = {})
|
|
25
|
-
|
|
24
|
+
env = install_environment(options)
|
|
25
|
+
command_options = {:env => env, :gemfile => gemfile_path}
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
commands.unshift(check_command.join(" "))
|
|
27
|
+
if options["path"]
|
|
28
|
+
Command.new(path_config_command(options["path"]), :gemfile => gemfile_path).run
|
|
30
29
|
end
|
|
31
30
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
command_options[:env] = env unless env.empty?
|
|
31
|
+
unless install_options_require_execution?(options)
|
|
32
|
+
check_options = command_options.merge(:allow_failure => true)
|
|
33
|
+
return if Command.new(check_command, check_options).run
|
|
34
|
+
end
|
|
37
35
|
|
|
38
|
-
Command.new(
|
|
36
|
+
Command.new(install_command(options), command_options).run
|
|
39
37
|
end
|
|
40
38
|
|
|
41
39
|
def update(gems = [])
|
|
@@ -45,13 +43,23 @@ module Appraisal
|
|
|
45
43
|
private
|
|
46
44
|
|
|
47
45
|
def check_command
|
|
48
|
-
|
|
49
|
-
|
|
46
|
+
["bundle", "check", "--gemfile", gemfile_path]
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
def install_options_require_execution?(options)
|
|
50
|
+
return true if options["path"]
|
|
51
|
+
return true if options["without"] && !options["without"].empty?
|
|
52
|
+
return true if options["full-index"]
|
|
53
|
+
return true if options.key?("jobs") && options["jobs"] != 1
|
|
54
|
+
return true if options.key?("retry") && options["retry"] != 1
|
|
55
|
+
|
|
56
|
+
false
|
|
50
57
|
end
|
|
51
58
|
|
|
52
59
|
def install_command(options = {})
|
|
53
|
-
|
|
54
|
-
|
|
60
|
+
command = ["bundle", "install", "--gemfile", gemfile_path]
|
|
61
|
+
bundle_options(options).each { |argument| command.push(argument) }
|
|
62
|
+
command
|
|
55
63
|
end
|
|
56
64
|
|
|
57
65
|
def update_command(gems)
|
|
@@ -84,15 +92,16 @@ module Appraisal
|
|
|
84
92
|
full_options.delete("path")
|
|
85
93
|
|
|
86
94
|
full_options.each do |flag, val|
|
|
87
|
-
|
|
95
|
+
option_value = val.is_a?(Set) ? val.to_a.join(" ") : String(val)
|
|
96
|
+
options_strings.push("--#{flag}", option_value)
|
|
88
97
|
end
|
|
89
98
|
|
|
90
|
-
options_strings
|
|
99
|
+
options_strings
|
|
91
100
|
end
|
|
92
101
|
|
|
93
|
-
def path_config_command(path
|
|
102
|
+
def path_config_command(path)
|
|
94
103
|
relative_path = project_root.join(path)
|
|
95
|
-
"bundle config set --local path
|
|
104
|
+
["bundle", "config", "set", "--local", "path", relative_path.to_s]
|
|
96
105
|
end
|
|
97
106
|
|
|
98
107
|
def install_environment(options)
|
data/lib/appraisal/version.rb
CHANGED
|
@@ -4,7 +4,7 @@ module Appraisal
|
|
|
4
4
|
# Version namespace for this gem.
|
|
5
5
|
module Version
|
|
6
6
|
# Current gem version.
|
|
7
|
-
VERSION = "3.2.
|
|
7
|
+
VERSION = "3.2.6"
|
|
8
8
|
end
|
|
9
9
|
# Current gem version exposed at the traditional constant location.
|
|
10
10
|
VERSION = Version::VERSION # Traditional Constant Location
|
data.tar.gz.sig
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
w(j�� �4��Z�d,��#�l�(b����ؿ�`G�JH���Ҭk�WN'��Kt��1��v�f�����<.�~aAˀ���u�ihB�j�U���C4�L"%��B+���Nʽ�C|��=��El��1w�a��>��ȑ�_�5���%��
|
|
2
|
+
�����$x�*�ӡ�"��j� �-^�#�I[��kz��P������ �=��_
|
|
3
|
+
ʖ�Ⱦ�C��:�;5�l��k����T C���'_~p/��Jɫrǘi*ol Wع�X�����`:���6�x���x�:R�9E �$PRhw�T�f�+�+�@z�X^u�#A�89i��6{h2^�8A�E���ҥ:����t`$G��
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: appraisal2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.2.
|
|
4
|
+
version: 3.2.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Joe Ferris
|
|
@@ -125,7 +125,7 @@ dependencies:
|
|
|
125
125
|
version: '3.1'
|
|
126
126
|
- - ">="
|
|
127
127
|
- !ruby/object:Gem::Version
|
|
128
|
-
version: 3.1.
|
|
128
|
+
version: 3.1.19
|
|
129
129
|
type: :development
|
|
130
130
|
prerelease: false
|
|
131
131
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -135,7 +135,7 @@ dependencies:
|
|
|
135
135
|
version: '3.1'
|
|
136
136
|
- - ">="
|
|
137
137
|
- !ruby/object:Gem::Version
|
|
138
|
-
version: 3.1.
|
|
138
|
+
version: 3.1.19
|
|
139
139
|
- !ruby/object:Gem::Dependency
|
|
140
140
|
name: bundler-audit
|
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -199,7 +199,7 @@ dependencies:
|
|
|
199
199
|
version: '2.0'
|
|
200
200
|
- - ">="
|
|
201
201
|
- !ruby/object:Gem::Version
|
|
202
|
-
version: 2.0.
|
|
202
|
+
version: 2.0.27
|
|
203
203
|
type: :development
|
|
204
204
|
prerelease: false
|
|
205
205
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -209,27 +209,27 @@ dependencies:
|
|
|
209
209
|
version: '2.0'
|
|
210
210
|
- - ">="
|
|
211
211
|
- !ruby/object:Gem::Version
|
|
212
|
-
version: 2.0.
|
|
212
|
+
version: 2.0.27
|
|
213
213
|
- !ruby/object:Gem::Dependency
|
|
214
214
|
name: turbo_tests2
|
|
215
215
|
requirement: !ruby/object:Gem::Requirement
|
|
216
216
|
requirements:
|
|
217
217
|
- - "~>"
|
|
218
218
|
- !ruby/object:Gem::Version
|
|
219
|
-
version: '
|
|
219
|
+
version: '4.0'
|
|
220
220
|
- - ">="
|
|
221
221
|
- !ruby/object:Gem::Version
|
|
222
|
-
version:
|
|
222
|
+
version: 4.0.0
|
|
223
223
|
type: :development
|
|
224
224
|
prerelease: false
|
|
225
225
|
version_requirements: !ruby/object:Gem::Requirement
|
|
226
226
|
requirements:
|
|
227
227
|
- - "~>"
|
|
228
228
|
- !ruby/object:Gem::Version
|
|
229
|
-
version: '
|
|
229
|
+
version: '4.0'
|
|
230
230
|
- - ">="
|
|
231
231
|
- !ruby/object:Gem::Version
|
|
232
|
-
version:
|
|
232
|
+
version: 4.0.0
|
|
233
233
|
- !ruby/object:Gem::Dependency
|
|
234
234
|
name: ruby-progressbar
|
|
235
235
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -253,7 +253,7 @@ dependencies:
|
|
|
253
253
|
version: '1.0'
|
|
254
254
|
- - ">="
|
|
255
255
|
- !ruby/object:Gem::Version
|
|
256
|
-
version: 1.0.
|
|
256
|
+
version: 1.0.9
|
|
257
257
|
type: :development
|
|
258
258
|
prerelease: false
|
|
259
259
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -263,7 +263,7 @@ dependencies:
|
|
|
263
263
|
version: '1.0'
|
|
264
264
|
- - ">="
|
|
265
265
|
- !ruby/object:Gem::Version
|
|
266
|
-
version: 1.0.
|
|
266
|
+
version: 1.0.9
|
|
267
267
|
- !ruby/object:Gem::Dependency
|
|
268
268
|
name: gitmoji-regex
|
|
269
269
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -273,7 +273,7 @@ dependencies:
|
|
|
273
273
|
version: '2.0'
|
|
274
274
|
- - ">="
|
|
275
275
|
- !ruby/object:Gem::Version
|
|
276
|
-
version: 2.0.
|
|
276
|
+
version: 2.0.15
|
|
277
277
|
type: :development
|
|
278
278
|
prerelease: false
|
|
279
279
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -283,7 +283,7 @@ dependencies:
|
|
|
283
283
|
version: '2.0'
|
|
284
284
|
- - ">="
|
|
285
285
|
- !ruby/object:Gem::Version
|
|
286
|
-
version: 2.0.
|
|
286
|
+
version: 2.0.15
|
|
287
287
|
- !ruby/object:Gem::Dependency
|
|
288
288
|
name: activesupport
|
|
289
289
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -375,7 +375,7 @@ dependencies:
|
|
|
375
375
|
version: '1.0'
|
|
376
376
|
- - ">="
|
|
377
377
|
- !ruby/object:Gem::Version
|
|
378
|
-
version: 1.0.
|
|
378
|
+
version: 1.0.17
|
|
379
379
|
type: :development
|
|
380
380
|
prerelease: false
|
|
381
381
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -385,7 +385,7 @@ dependencies:
|
|
|
385
385
|
version: '1.0'
|
|
386
386
|
- - ">="
|
|
387
387
|
- !ruby/object:Gem::Version
|
|
388
|
-
version: 1.0.
|
|
388
|
+
version: 1.0.17
|
|
389
389
|
- !ruby/object:Gem::Dependency
|
|
390
390
|
name: silent_stream
|
|
391
391
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -454,10 +454,10 @@ licenses:
|
|
|
454
454
|
- MIT
|
|
455
455
|
metadata:
|
|
456
456
|
homepage_uri: https://appraisal2.galtzo.com
|
|
457
|
-
source_code_uri: https://github.com/appraisal-rb/appraisal2/tree/v3.2.
|
|
458
|
-
changelog_uri: https://github.com/appraisal-rb/appraisal2/blob/v3.2.
|
|
457
|
+
source_code_uri: https://github.com/appraisal-rb/appraisal2/tree/v3.2.6
|
|
458
|
+
changelog_uri: https://github.com/appraisal-rb/appraisal2/blob/v3.2.6/CHANGELOG.md
|
|
459
459
|
bug_tracker_uri: https://github.com/appraisal-rb/appraisal2/issues
|
|
460
|
-
documentation_uri: https://www.rubydoc.info/gems/appraisal2/3.2.
|
|
460
|
+
documentation_uri: https://www.rubydoc.info/gems/appraisal2/3.2.6
|
|
461
461
|
funding_uri: https://github.com/sponsors/pboling
|
|
462
462
|
wiki_uri: https://github.com/appraisal-rb/appraisal2/wiki
|
|
463
463
|
news_uri: https://www.railsbling.com/tags/appraisal2
|
|
@@ -487,7 +487,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
487
487
|
- !ruby/object:Gem::Version
|
|
488
488
|
version: '0'
|
|
489
489
|
requirements: []
|
|
490
|
-
rubygems_version: 4.0.
|
|
490
|
+
rubygems_version: 4.0.20
|
|
491
491
|
specification_version: 4
|
|
492
492
|
summary: "\U0001F50D️ Find out what your Ruby gems are worth"
|
|
493
493
|
test_files: []
|
metadata.gz.sig
CHANGED
|
Binary file
|