matching_bundle 0.3.2 → 0.3.3
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 +7 -3
- 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: a53eb53ce724e96fef14a78d30754bfc83d1e14b5057a45305b3cecf4e947f00
|
|
4
|
+
data.tar.gz: 702de7b23ff17e0f02414d5730fb0adb41f5aedd9adefdbe854f44634d06240a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 95fc992c36fec9386791629f0d01a536fdd0d3164a79da0182973cb29189b7f6e7da0b0d16e54c226fb8e23e69af66c01e9b80cadb251985726cc71f4790c6de
|
|
7
|
+
data.tar.gz: f688fecf36191e4b848c13ed6bcbf0931c4d150470b81e9e15dc25c96c81e7c0171e166f5edd0f1fbcddcbdec16c3233e99d3b5489ab34ef73eb2018268f5971
|
data/bin/matching_bundle
CHANGED
|
@@ -20,7 +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
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
# some gem/ruby combinations do not support `bundle _1.2.3_`
|
|
24
|
+
if system("bundle _#{version}_ --version &>/dev/null")
|
|
25
|
+
exec "bundle", "_#{version}_", *ARGV
|
|
26
|
+
else
|
|
27
|
+
warn "Unable to use _#{version}_, falling back to default version"
|
|
28
|
+
end
|
|
26
29
|
end
|
|
30
|
+
exec "bundle", *ARGV
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Grosser
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-06-
|
|
11
|
+
date: 2019-06-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description:
|
|
14
14
|
email: michael@grosser.it
|