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 +5 -0
- data/lib/rubygems-bundler/version.rb +1 -1
- data/lib/rubygems_plugin.rb +4 -2
- metadata +4 -4
data/CHANGELOG.md
CHANGED
data/lib/rubygems_plugin.rb
CHANGED
@@ -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:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
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-
|
19
|
+
date: 2012-05-18 00:00:00 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: dtf
|