rubygems-bundler 1.1.1 → 1.2.0.rc1
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/noexec.rb +6 -4
- data/lib/rubygems-bundler/version.rb +1 -1
- metadata +38 -52
data/CHANGELOG.md
CHANGED
@@ -23,8 +23,10 @@ else
|
|
23
23
|
|
24
24
|
module Bundler
|
25
25
|
class << self
|
26
|
-
def reset!
|
26
|
+
def reset!(rubygems_specs)
|
27
27
|
@load = nil
|
28
|
+
ENV.replace(ORIGINAL_ENV)
|
29
|
+
Bundler.rubygems.replace_entrypoints(rubygems_specs)
|
28
30
|
end
|
29
31
|
end
|
30
32
|
end
|
@@ -39,6 +41,7 @@ else
|
|
39
41
|
end
|
40
42
|
|
41
43
|
def candidate?(gemfile, bin)
|
44
|
+
rubygems_specs = Gem::Specification._all
|
42
45
|
config_file = File.expand_path('../.noexec.yaml', gemfile)
|
43
46
|
log "Considering #{config_file.inspect}"
|
44
47
|
if File.exist?(config_file)
|
@@ -60,12 +63,11 @@ else
|
|
60
63
|
return true if %w(ruby irb).include?(bin) || spec.executables.include?(bin)
|
61
64
|
end
|
62
65
|
false
|
63
|
-
rescue Bundler::BundlerError => e
|
66
|
+
rescue Bundler::BundlerError, Bundler::GemfileError => e
|
64
67
|
warn "Ignoring candidate #{gemfile}:\n#{e}" if RubygemsBundler::DEBUG
|
65
68
|
false
|
66
69
|
ensure
|
67
|
-
Bundler.reset!
|
68
|
-
ENV['BUNDLE_GEMFILE'] = nil
|
70
|
+
Bundler.reset!(rubygems_specs)
|
69
71
|
end
|
70
72
|
|
71
73
|
def setup
|
metadata
CHANGED
@@ -1,48 +1,43 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubygems-bundler
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 1
|
9
|
-
- 1
|
10
|
-
version: 1.1.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.2.0.rc1
|
5
|
+
prerelease: 6
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Josh Hull
|
14
9
|
- Michal Papis
|
15
10
|
autorequire:
|
16
11
|
bindir: bin
|
17
12
|
cert_chain: []
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
- !ruby/object:Gem::Dependency
|
13
|
+
date: 2013-04-24 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
22
16
|
name: tf
|
23
|
-
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
25
18
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
version: "0"
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '0'
|
33
23
|
type: :development
|
34
|
-
|
35
|
-
|
36
|
-
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ! '>='
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: '0'
|
31
|
+
description: Stop using bundle exec. Integrate Rubygems and Bundler. Make rubygems
|
32
|
+
generate bundler aware executable wrappers.
|
33
|
+
email:
|
37
34
|
- joshbuddy@gmail.com
|
38
35
|
- mpapis@gmail.com
|
39
|
-
executables:
|
36
|
+
executables:
|
40
37
|
- rubygems-bundler-uninstaller
|
41
38
|
extensions: []
|
42
|
-
|
43
39
|
extra_rdoc_files: []
|
44
|
-
|
45
|
-
files:
|
40
|
+
files:
|
46
41
|
- .gem.config
|
47
42
|
- .gitignore
|
48
43
|
- .noexec.yaml
|
@@ -67,38 +62,29 @@ files:
|
|
67
62
|
- test/dtf/rubygems_comment_test.sh
|
68
63
|
homepage: http://mpapis.github.com/rubygems-bundler
|
69
64
|
licenses: []
|
70
|
-
|
71
65
|
post_install_message:
|
72
66
|
rdoc_options: []
|
73
|
-
|
74
|
-
require_paths:
|
67
|
+
require_paths:
|
75
68
|
- lib
|
76
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
69
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
77
70
|
none: false
|
78
|
-
requirements:
|
79
|
-
- -
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
|
82
|
-
|
83
|
-
- 0
|
84
|
-
version: "0"
|
85
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ! '>='
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
75
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
86
76
|
none: false
|
87
|
-
requirements:
|
88
|
-
- -
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
|
91
|
-
segments:
|
92
|
-
- 0
|
93
|
-
version: "0"
|
77
|
+
requirements:
|
78
|
+
- - ! '>'
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: 1.3.1
|
94
81
|
requirements: []
|
95
|
-
|
96
82
|
rubyforge_project:
|
97
|
-
rubygems_version: 1.8.
|
83
|
+
rubygems_version: 1.8.25
|
98
84
|
signing_key:
|
99
85
|
specification_version: 3
|
100
86
|
summary: Stop using bundle exec
|
101
|
-
test_files:
|
87
|
+
test_files:
|
102
88
|
- test/dtf/bundler_comment_test.sh
|
103
89
|
- test/dtf/rails_and_gemfile_comment_test.sh
|
104
90
|
- test/dtf/rubygems_comment_test.sh
|