rubygems-bundler 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.2
4
+ date: 2012-05-18
5
+
6
+ - fix #24 disable loading plugin in case of disabled shared gems in bundler
7
+
3
8
  ## 1.0.1
4
9
  date: 2012-05-17
5
10
 
@@ -1,3 +1,3 @@
1
1
  module RubygemsBundler
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
@@ -7,8 +7,10 @@ rubygems_bundler_spec =
7
7
 
8
8
  called_version = __FILE__.sub(/^.*\/rubygems-bundler-([^\/]+)\/.*$/,'\1')
9
9
 
10
- # continue only if loaded and called versions all the same
11
- if rubygems_bundler_spec and rubygems_bundler_spec.version.to_s == called_version
10
+ # continue only if loaded and called versions all the same, and not shared gems disabled in bundler
11
+ if rubygems_bundler_spec and rubygems_bundler_spec.version.to_s == called_version and
12
+ ( !defined?(Bundler) || ( defined?(Bundler) && !Bundler.settings[:disable_shared_gems]) )
13
+
12
14
  require 'rubygems/version'
13
15
  require 'rubygems-bundler/wrapper'
14
16
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubygems-bundler
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 1
10
- version: 1.0.1
9
+ - 2
10
+ version: 1.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Josh Hull
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2012-05-17 00:00:00 Z
19
+ date: 2012-05-18 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: dtf