matching_bundle 0.3.3 → 0.3.4
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
- data/bin/matching_bundle +4 -4
- data/lib/matching_bundle/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7bb45ed9b4ca7255474e44ab7f0dea37e9e4192d24f10198c0a89ce91f7d5b9d
|
4
|
+
data.tar.gz: 33e67f71958e786eeed3a8fb5c0697000d9f9fc797d78e1e4212f0b6970b6214
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e747e812b2b6c6c5c0ae4c63584f046ed156bbe5850516b884894bd0e13a4fec5f2171a5f37ff5d51315b60099335f255d5816a789381f6b7b9c6bf420aa3319
|
7
|
+
data.tar.gz: 0c2b47e9f7434a347e20a9371b31182158cde4bad3ac392d8806d49f749a28041a0b1e82dc9163cc0612b73a9f01c34b5d152628a28852e0c705b4ff54b6633e
|
data/bin/matching_bundle
CHANGED
@@ -20,11 +20,11 @@ end
|
|
20
20
|
require 'matching_bundle'
|
21
21
|
# require_relative '../lib/matching_bundle' # use this for local debugging
|
22
22
|
if version = MatchingBundle.find_or_install_matching_version(content)
|
23
|
-
# some gem/ruby combinations do not support `bundle _1.2.3_`
|
24
|
-
if
|
25
|
-
exec "bundle", "_#{version}_", *ARGV
|
26
|
-
else
|
23
|
+
# some gem/ruby combinations do not support `bundle _1.2.3_` and exists with 0
|
24
|
+
if `bundle _#{version}_ --version 2>&1`.include?("Could not find command")
|
27
25
|
warn "Unable to use _#{version}_, falling back to default version"
|
26
|
+
else
|
27
|
+
exec "bundle", "_#{version}_", *ARGV
|
28
28
|
end
|
29
29
|
end
|
30
30
|
exec "bundle", *ARGV
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: matching_bundle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Grosser
|
@@ -40,7 +40,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '0'
|
42
42
|
requirements: []
|
43
|
-
rubygems_version: 3.0.
|
43
|
+
rubygems_version: 3.0.4
|
44
44
|
signing_key:
|
45
45
|
specification_version: 4
|
46
46
|
summary: Find a matching bundler version for a Gemfile and use it
|