ext_bundler 2.0.9 → 2.0.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fda963199ed8e6a6a154ae0cab107babc6cd4188c4f277d76313a73512d4acf9
4
- data.tar.gz: abe9c8f56b5d8bc2c17fb51ddd848ddff01b6f7920335382b8a168985f28ea33
3
+ metadata.gz: 17e212a615bd8894c60e4fd67943876a03882e45e2fdbad1f941c2b31a28911c
4
+ data.tar.gz: 2e3488e7ce6cb05c6ec4b2f5b91878c30b48e641d105957385085a79a5269361
5
5
  SHA512:
6
- metadata.gz: dd4b617551af3d0c239908ce6594f6696b63c5f7540abcd9cfb9dacab327d06c3d27f41679b1aa989d8f1a7fdd37cf1e7f48a8e92189be3122911b356aec882e
7
- data.tar.gz: a7b51d9d0d4ec80d90524b13ba3d6d44ab1891b92d81693751c1c2f7a69ca7fb7bc7c27afb49664df9e273935407b7b4e027ad99e7273809e03d0ac8952662e8
6
+ metadata.gz: 6a04a75a71426cd0bdb94753adfd4410dae3bb70de0ad7a6245c82316fa1f294613b23bf3012cc16821e4a3b066d9f3ef5a47daab1b5e81ea8cbfc79906c170e
7
+ data.tar.gz: 76b5998e7a9876a721605d45ff277704130861b29b3cdafda589d69d4b1f27d704b0181ca19d57b85188c27c12f0d1965c2fa702978a88e375f18abc2dd0c839
@@ -1,3 +1,3 @@
1
1
  module ExtBundler
2
- VERSION = '2.0.9'
2
+ VERSION = '2.0.10'
3
3
  end
data/lib/ext_bundler.rb CHANGED
@@ -46,8 +46,11 @@ module ExtBundler
46
46
  end
47
47
  version = @gemfile_lock.match(version)[1]
48
48
 
49
- if type
50
- options[type] = version
49
+ case type
50
+ when :ref
51
+ options[:ref] = version
52
+ when :tag
53
+ options[:tag] = "#{name}-v#{version}"
51
54
  else
52
55
  args.unshift(version)
53
56
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ext_bundler
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.9
4
+ version: 2.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrice Lebel