rubygems-bundler 0.2.7 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
File without changes
@@ -11,8 +11,9 @@ File.open('nmake.bat', 'w') { |f| }
11
11
  # Copy wrapper
12
12
  require 'fileutils'
13
13
  require 'rubygems'
14
- wrapper=File.expand_path('../../bin/bundler_wrapper', Dir.getwd)
15
- destination=File.expand_path('bin/bundler_wrapper', Gem.dir)
16
- FileUtils.mkdir_p(File.join(Gem.dir, 'bin'), :verbose => true)
14
+ bindir = Gem.respond_to?(:bindir,true) ? Gem.send(:bindir) : File.join(Gem.dir, 'bin')
15
+ wrapper=File.expand_path('../../bin/ruby_bundler_wrapper', Dir.getwd)
16
+ destination=File.expand_path('ruby_bundler_wrapper', bindir)
17
+ FileUtils.mkdir_p(bindir, :verbose => true)
17
18
  FileUtils.cp(wrapper, destination, :verbose => true)
18
19
  File.chmod(0775, destination)
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "rubygems-bundler"
3
- s.version = "0.2.7"
4
- s.date = "2011-09-21"
3
+ s.version = "0.2.8"
4
+ s.date = "2011-12-27"
5
5
  s.summary = "Make rubygems generate bundler aware executable wrappers"
6
6
  s.email = "mpapis@gmail.com"
7
7
  s.homepage = "http://mpapis.github.com/rubygems-bundler"
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
9
9
  s.has_rdoc = false
10
10
  s.authors = ["Michal Papis"]
11
11
  s.files = [
12
- "bin/bundler_wrapper",
12
+ "bin/ruby_bundler_wrapper",
13
13
  "ext/wrapper_installer/extconf.rb",
14
14
  "lib/rubygems_bundler/regenerate_binstubs_command.rb",
15
15
  "lib/rubygems_bundler/rubygems_bundler_installer.rb",
@@ -21,13 +21,15 @@ Gem::Specification.new do |s|
21
21
  ]
22
22
  s.extensions = ["ext/wrapper_installer/extconf.rb"]
23
23
  s.post_install_message = <<-TEXT
24
- ===============================================================================
24
+ ==================================================================================
25
25
 
26
26
  rubygems-bundler allows running gem executables in Gemfile specified versions!
27
27
 
28
+ Note: from 0.2.8 the wrapper name changes, you need to repeat instructions bellow.
29
+
28
30
  First step is to add following line to ~/.gemrc
29
31
 
30
- custom_shebang: $env bundler_wrapper
32
+ custom_shebang: $env ruby_bundler_wrapper
31
33
 
32
34
  To make all the executables bundler compatible run:
33
35
 
@@ -45,6 +47,6 @@ For more information read:
45
47
 
46
48
  https://github.com/mpapis/rubygems-bundler
47
49
 
48
- ===============================================================================
50
+ ==================================================================================
49
51
  TEXT
50
52
  end
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: 25
5
- prerelease: false
4
+ hash: 7
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 7
10
- version: 0.2.7
9
+ - 8
10
+ version: 0.2.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michal Papis
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-21 00:00:00 +02:00
19
- default_executable:
18
+ date: 2011-12-27 00:00:00 Z
20
19
  dependencies: []
21
20
 
22
21
  description: Integrate Rubygems and Bundler
@@ -28,7 +27,7 @@ extensions:
28
27
  extra_rdoc_files: []
29
28
 
30
29
  files:
31
- - bin/bundler_wrapper
30
+ - bin/ruby_bundler_wrapper
32
31
  - ext/wrapper_installer/extconf.rb
33
32
  - lib/rubygems_bundler/regenerate_binstubs_command.rb
34
33
  - lib/rubygems_bundler/rubygems_bundler_installer.rb
@@ -37,18 +36,19 @@ files:
37
36
  - LICENSE
38
37
  - README.md
39
38
  - rubygems-bundler.gemspec
40
- has_rdoc: true
41
39
  homepage: http://mpapis.github.com/rubygems-bundler
42
40
  licenses: []
43
41
 
44
42
  post_install_message: |
45
- ===============================================================================
43
+ ==================================================================================
46
44
 
47
45
  rubygems-bundler allows running gem executables in Gemfile specified versions!
48
46
 
47
+ Note: from 0.2.8 the wrapper name changes, you need to repeat instructions bellow.
48
+
49
49
  First step is to add following line to ~/.gemrc
50
50
 
51
- custom_shebang: $env bundler_wrapper
51
+ custom_shebang: $env ruby_bundler_wrapper
52
52
 
53
53
  To make all the executables bundler compatible run:
54
54
 
@@ -66,7 +66,7 @@ post_install_message: |
66
66
 
67
67
  https://github.com/mpapis/rubygems-bundler
68
68
 
69
- ===============================================================================
69
+ ==================================================================================
70
70
 
71
71
  rdoc_options: []
72
72
 
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  requirements: []
94
94
 
95
95
  rubyforge_project:
96
- rubygems_version: 1.3.7
96
+ rubygems_version: 1.8.10
97
97
  signing_key:
98
98
  specification_version: 3
99
99
  summary: Make rubygems generate bundler aware executable wrappers