rubygems-bundler 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/bin/bundler_wrapper +3 -1
- data/rubygems-bundler.gemspec +3 -3
- metadata +54 -26
data/README.md
CHANGED
@@ -12,7 +12,7 @@ And follow the on screen instructions
|
|
12
12
|
# Description
|
13
13
|
|
14
14
|
This gem is intended to fill in the integration gap between
|
15
|
-
Bundler and Rubygems, it also
|
15
|
+
Bundler and Rubygems, it also backports shebang customization
|
16
16
|
from rubygems 1.9 to older versions - down to 1.3.7.
|
17
17
|
|
18
18
|
With this gem rubygems generated wrappers will allow to
|
data/bin/bundler_wrapper
CHANGED
@@ -3,10 +3,12 @@
|
|
3
3
|
require 'rubygems'
|
4
4
|
|
5
5
|
original_file=ARGV[0]
|
6
|
+
original_file_name=File.basename(original_file)
|
7
|
+
ENV['USE_BUNDLER'] = 'no' if original_file_name =~ /^bundle/
|
6
8
|
use_bundler = (ENV['USE_BUNDLER']||'').downcase
|
7
9
|
try_bundler = %w{try check possibly}.include? use_bundler
|
8
10
|
force_bundler = %w{force require yes true on}.include? use_bundler
|
9
|
-
blacklisted = (ENV['BUNDLER_BLACKLIST']||'').split(/\s/).include?
|
11
|
+
blacklisted = (ENV['BUNDLER_BLACKLIST']||'').split(/\s/).include? original_file_name
|
10
12
|
|
11
13
|
if !blacklisted && (try_bundler || force_bundler)
|
12
14
|
begin
|
data/rubygems-bundler.gemspec
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "rubygems-bundler"
|
3
|
-
s.version = "0.2.
|
4
|
-
s.date = "2011-06-
|
3
|
+
s.version = "0.2.5"
|
4
|
+
s.date = "2011-06-28"
|
5
5
|
s.summary = "Make rubygems generate bundler aware executable wrappers"
|
6
6
|
s.email = "mpapis@gmail.com"
|
7
|
-
s.homepage = "
|
7
|
+
s.homepage = "http://mpapis.github.com/rubygems-bundler"
|
8
8
|
s.description = "Integrate Rubygems and Bundler"
|
9
9
|
s.has_rdoc = false
|
10
10
|
s.authors = ["Michal Papis"]
|
metadata
CHANGED
@@ -1,23 +1,27 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubygems-bundler
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.4
|
3
|
+
version: !ruby/object:Gem::Version
|
5
4
|
prerelease:
|
5
|
+
version: 0.2.5
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Michal Papis
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
12
|
+
|
13
|
+
date: 2011-06-28 00:00:00 Z
|
13
14
|
dependencies: []
|
15
|
+
|
14
16
|
description: Integrate Rubygems and Bundler
|
15
17
|
email: mpapis@gmail.com
|
16
18
|
executables: []
|
17
|
-
|
19
|
+
|
20
|
+
extensions:
|
18
21
|
- ext/wrapper_installer/extconf.rb
|
19
22
|
extra_rdoc_files: []
|
20
|
-
|
23
|
+
|
24
|
+
files:
|
21
25
|
- bin/bundler_wrapper
|
22
26
|
- ext/wrapper_installer/extconf.rb
|
23
27
|
- lib/rubygems_bundler/regenerate_binstubs_command.rb
|
@@ -27,34 +31,58 @@ files:
|
|
27
31
|
- LICENSE
|
28
32
|
- README.md
|
29
33
|
- rubygems-bundler.gemspec
|
30
|
-
homepage:
|
34
|
+
homepage: http://mpapis.github.com/rubygems-bundler
|
31
35
|
licenses: []
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
36
|
+
|
37
|
+
post_install_message: |
|
38
|
+
===============================================================================
|
39
|
+
|
40
|
+
rubygems-bundler allows running gem executables in Gemfile specified versions!
|
41
|
+
|
42
|
+
First step is to add following line to ~/.gemrc
|
43
|
+
|
44
|
+
custom_shebang: $env bundler_wrapper
|
45
|
+
|
46
|
+
To make all the executables bundler compatible run:
|
47
|
+
|
48
|
+
gem regenerate_binstubs # only once
|
49
|
+
|
50
|
+
To always use bundler add the following line to ~/.rvmrc or ~/.bashrc
|
51
|
+
|
52
|
+
export USE_BUNDLER=force
|
53
|
+
|
54
|
+
Relogin or call in every open shell:
|
55
|
+
|
56
|
+
export USE_BUNDLER=force
|
57
|
+
|
58
|
+
For more information read:
|
59
|
+
|
60
|
+
https://github.com/mpapis/rubygems-bundler
|
61
|
+
|
62
|
+
===============================================================================
|
63
|
+
|
39
64
|
rdoc_options: []
|
40
|
-
|
65
|
+
|
66
|
+
require_paths:
|
41
67
|
- lib
|
42
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
68
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
43
69
|
none: false
|
44
|
-
requirements:
|
45
|
-
- -
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version:
|
48
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: "0"
|
74
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
49
75
|
none: false
|
50
|
-
requirements:
|
51
|
-
- -
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version:
|
76
|
+
requirements:
|
77
|
+
- - ">="
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: "0"
|
54
80
|
requirements: []
|
81
|
+
|
55
82
|
rubyforge_project:
|
56
83
|
rubygems_version: 1.8.5
|
57
84
|
signing_key:
|
58
85
|
specification_version: 3
|
59
86
|
summary: Make rubygems generate bundler aware executable wrappers
|
60
87
|
test_files: []
|
88
|
+
|