bundler-common_gemfile 0.1.9 → 0.1.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: da9127d45f4269078997bf3934b503b9924165983f913dfd31d410b4e434b883
4
- data.tar.gz: 7045c803323145d458db7018abdf7110123555e37856ce745b55a80f81fa6b1a
3
+ metadata.gz: 5062c0f67e6f5381f5c1d68c1811399ae536a97e1126f3f950f2fa987b55b981
4
+ data.tar.gz: cb006c43e41baa6cbf365c225d5816e60a39c1255bf469750032885f60f97773
5
5
  SHA512:
6
- metadata.gz: 5199f218cab3611e33518868719c6d739654b178bb9e4d209af49e3e08c9d19040be363a6803962abf8e7d347b785d1f1b108f19c40a511be4c2d8fe31430002
7
- data.tar.gz: 78754b62ceb63064f8b7ce9cd903a1595fa5b46cee3bd44629980410dd9eb820343464d5b4ce8b6683a977ae79e8640deb11aa6d41a69e872f88defb478b59a4
6
+ metadata.gz: ed3231710c451d0fcd007912c5d57c132694a3bb1a57708b99474f33a92338d766db7f00283a7b16ca442b18569a8eca047e0202ebc1cfba901db90b54d30670
7
+ data.tar.gz: 111ab1307f173ca038150fd5be94f8cf1b78e75082ccdf5117c90fc90f1cfbe528b9709ae81b082345e5f9f88d11b55bd3a410ed72a37cb5ba182211654d1b51
@@ -39,15 +39,17 @@ module Bundler
39
39
  sources = context.instance_variable_get('@sources').all_sources
40
40
 
41
41
  sources.select { |s| s.is_a?(::Bundler::Source::Git) || s.is_a?(::Bundler::Source::Path) }.each do |source|
42
- source.instance_variable_set('@allow_cached', true) # allow git commands
42
+ source.instance_variable_set('@allow_remote', true) # allow git commands
43
+
43
44
  gem_path = if source.respond_to?('install_path')
44
45
  source.install_path # remote gem
45
46
  else
46
47
  source.expanded_original_path # local gem
47
48
  end
49
+ source.instance_variable_set('@install_path', nil) # unset
48
50
 
49
- if !File.exist?(gem_path) && source.is_a?(Bundler::Source::Git)
50
- puts " fetching #{source.name.to_s.green.bold} in search of common-gemfile"
51
+ if !File.exist?(gem_path) && source.is_a?(::Bundler::Source::Git)
52
+ puts "Fetching #{source.name.to_s.green.bold} in search of common-gemfile"
51
53
  source.specs
52
54
  end
53
55
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bundler-common_gemfile
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrzej Bisewski