ext_bundler 2.0.7 → 2.0.8

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
- SHA1:
3
- metadata.gz: 6fb6397772ebcd91daf9d042028b61fa80953266
4
- data.tar.gz: 1215c22cb54c96c422ac1e1aa72200cd958412f9
2
+ SHA256:
3
+ metadata.gz: 58db1bc425a0b2c23d829ffa94d078eed27acd154dbb0a6a1f0ce9ce7949a669
4
+ data.tar.gz: 3f2b3c66f1d72033489d1d34e108cdfc63e8a49f627801287e8a407b95e91c68
5
5
  SHA512:
6
- metadata.gz: ac9f661f1dcd0932da0615fa53186af526aa81f32403cd7295da14706d8ab531d6101d5b2a0d67c39e33a76cab53834683e019cfdb0b070375da1377f3355189
7
- data.tar.gz: b58c455b001475b024bcea89405b9a2c845e59f2b3865a105d110fcac878baf4a3bc6a73eca1851da10fe1f03286b82391eccd029589a4becdeb24c0db5fce3c
6
+ metadata.gz: c3f995515e4ce1f8b742bbb4e2afac790b864db30d775c1517888bbc0b537abbf6edb4eb973ce1f1aa291ed7231ab6729ba6255dc9241684cf4a55accf227628
7
+ data.tar.gz: 1bce1e69138e9e26f6a0f322870104c42bfc1d6494888eb97f72aba81736515e9ea1eada0e7eb3b5cb039d2a0562f5ff53f83247f7f49f0e29e228986d6b11e0
@@ -10,9 +10,9 @@ module ExtBundler
10
10
  end.map(&:first).each{ |gem| require gem.to_s }
11
11
  end
12
12
  else
13
- # TODO allow multiple paths
14
- @gem_dev_path ||= File.readlines('.gem-dev').first.strip if File.exist?('.gem-dev')
15
- @@gem_dev[names.to_sym] ? gem(names, path: "#{@gem_dev_path}/#{names}", require: false) : gem(names, *args)
13
+ @gem_dev_paths ||= File.readlines('.gem-dev').map(&:strip).compact
14
+ path = @gem_dev_paths.lazy.map{ |root| File.expand_path("#{root}/#{names}") }.find{ |path| Dir.exist? path }
15
+ @@gem_dev[names.to_sym] ? gem(names, path: path, require: false) : gem(names, *args)
16
16
  @@gem_dev[names.to_sym] = {
17
17
  require: (args.last.is_a?(Hash) ? args.last : {})[:require].nil?,
18
18
  groups: @groups.dup,
@@ -1,3 +1,3 @@
1
1
  module ExtBundler
2
- VERSION = '2.0.7'
2
+ VERSION = '2.0.8'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ext_bundler
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.7
4
+ version: 2.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrice Lebel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-18 00:00:00.000000000 Z
11
+ date: 2018-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -55,7 +55,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
55
55
  version: '0'
56
56
  requirements: []
57
57
  rubyforge_project:
58
- rubygems_version: 2.6.13
58
+ rubygems_version: 2.7.4
59
59
  signing_key:
60
60
  specification_version: 4
61
61
  summary: ExtBundler