ext_bundler 2.0.8 → 2.0.9

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: 58db1bc425a0b2c23d829ffa94d078eed27acd154dbb0a6a1f0ce9ce7949a669
4
- data.tar.gz: 3f2b3c66f1d72033489d1d34e108cdfc63e8a49f627801287e8a407b95e91c68
3
+ metadata.gz: fda963199ed8e6a6a154ae0cab107babc6cd4188c4f277d76313a73512d4acf9
4
+ data.tar.gz: abe9c8f56b5d8bc2c17fb51ddd848ddff01b6f7920335382b8a168985f28ea33
5
5
  SHA512:
6
- metadata.gz: c3f995515e4ce1f8b742bbb4e2afac790b864db30d775c1517888bbc0b537abbf6edb4eb973ce1f1aa291ed7231ab6729ba6255dc9241684cf4a55accf227628
7
- data.tar.gz: 1bce1e69138e9e26f6a0f322870104c42bfc1d6494888eb97f72aba81736515e9ea1eada0e7eb3b5cb039d2a0562f5ff53f83247f7f49f0e29e228986d6b11e0
6
+ metadata.gz: dd4b617551af3d0c239908ce6594f6696b63c5f7540abcd9cfb9dacab327d06c3d27f41679b1aa989d8f1a7fdd37cf1e7f48a8e92189be3122911b356aec882e
7
+ data.tar.gz: a7b51d9d0d4ec80d90524b13ba3d6d44ab1891b92d81693751c1c2f7a69ca7fb7bc7c27afb49664df9e273935407b7b4e027ad99e7273809e03d0ac8952662e8
data/lib/ext_bundler.rb CHANGED
@@ -10,8 +10,10 @@ module ExtBundler
10
10
  end.map(&:first).each{ |gem| require gem.to_s }
11
11
  end
12
12
  else
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 }
13
+ if File.exist? '.gem-dev'
14
+ @gem_dev_paths ||= File.readlines('.gem-dev').map(&:strip).compact
15
+ path = @gem_dev_paths.lazy.map{ |root| File.expand_path("#{root}/#{names}") }.find{ |path| Dir.exist? path }
16
+ end
15
17
  @@gem_dev[names.to_sym] ? gem(names, path: path, require: false) : gem(names, *args)
16
18
  @@gem_dev[names.to_sym] = {
17
19
  require: (args.last.is_a?(Hash) ? args.last : {})[:require].nil?,
@@ -1,3 +1,3 @@
1
1
  module ExtBundler
2
- VERSION = '2.0.8'
2
+ VERSION = '2.0.9'
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.8
4
+ version: 2.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrice Lebel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-25 00:00:00.000000000 Z
11
+ date: 2018-02-02 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.7.4
58
+ rubygems_version: 2.7.3
59
59
  signing_key:
60
60
  specification_version: 4
61
61
  summary: ExtBundler