rubygems-bundler 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/.noexec.yaml ADDED
@@ -0,0 +1,2 @@
1
+ exclude:
2
+ - tf
data/.travis.yml CHANGED
@@ -3,20 +3,16 @@ rvm:
3
3
  - 1.8.7
4
4
  - 1.9.2
5
5
  - 1.9.3
6
+ - 2.0.0
6
7
  - ruby-head
7
- - jruby-18mode
8
- - jruby-19mode
9
- - jruby-head
10
8
  - rbx-18mode
11
9
  - rbx-19mode
12
- jdk:
13
- - openjdk7
14
- env:
15
- - 'JRUBY_OPTS="-X-C --server -J-XX:+TieredCompilation"'
16
10
  before_install:
17
11
  - 'rm -rf $rvm_path/gems/*/{bin,gems}/rubygems-bundler-* $rvm_path/gems/*/bin/ruby_*_wrapper'
18
12
  - hash -r
19
- - gem install rake
13
+ - 'curl -L https://get.smf.sh | sh'
14
+ - 'export PATH=~/.sm/bin:$PATH'
15
+ - 'sm ext install gem mpapis/sm_gem'
20
16
  install: gem install tf -v '>=0.4.1'
21
17
  before_script:
22
18
  - unset BUNDLE_GEMFILE
@@ -30,10 +26,26 @@ notifications:
30
26
  - mpapis@gmail.com
31
27
  on_failure: change
32
28
  matrix:
29
+ include:
30
+ - rvm: jruby-18mode
31
+ env: 'JRUBY_OPTS="-X-C --server -J-XX:+TieredCompilation"'
32
+ jdk: openjdk7
33
+ - rvm: jruby-19mode
34
+ env: 'JRUBY_OPTS="-X-C --server -J-XX:+TieredCompilation"'
35
+ jdk: openjdk7
36
+ - rvm: jruby-head
37
+ env: 'JRUBY_OPTS="-X-C --server -J-XX:+TieredCompilation"'
38
+ jdk: openjdk7
33
39
  allow_failures:
34
40
  - rvm: jruby-18mode
41
+ env: 'JRUBY_OPTS="-X-C --server -J-XX:+TieredCompilation"'
42
+ jdk: openjdk7
35
43
  - rvm: jruby-19mode
44
+ env: 'JRUBY_OPTS="-X-C --server -J-XX:+TieredCompilation"'
45
+ jdk: openjdk7
36
46
  - rvm: jruby-head
47
+ env: 'JRUBY_OPTS="-X-C --server -J-XX:+TieredCompilation"'
48
+ jdk: openjdk7
37
49
  - rvm: rbx-18mode
38
50
  - rvm: rbx-19mode
39
51
  - rvm: ruby-head
data/README.md CHANGED
@@ -20,10 +20,10 @@ And you're done!
20
20
  ## Configuration
21
21
 
22
22
  ### ~/.gemrc
23
-
24
- It's no more required to modify `~/.gemrc` anymore,
23
+
24
+ You no longer need to modify `~/.gemrc`,
25
25
  just remove the old entry to be sure it works as expected.
26
- In case you need to use your own `custom_shebang`
26
+ If you need to use your own `custom_shebang`,
27
27
  you can define it in `~/.gemrc` to override the default:
28
28
 
29
29
  custom_shebang: $env <your_custom_shebang_program>
@@ -67,7 +67,8 @@ Things not going the way you'd like? Try your command again with
67
67
 
68
68
  [#rubygems-bundler on irc.freenode.net](http://webchat.freenode.net/?channels=#rubygems-bundler)
69
69
 
70
- If you do not get relatively fast an answer make sure to leave an email to secure an later answer.
70
+ If you do not get an answer relatively quickly,
71
+ be sure to leave your email address so someone can get back to you later.
71
72
 
72
73
  ## How does this work (ruby_noexec_wrapper)
73
74
 
@@ -77,7 +78,7 @@ and every directory above it until it can find a `Gemfile`.
77
78
  If the executable you're running is present in your Gemfile,
78
79
  it switches to using that `Gemfile` instead (via `Bundle.setup`).
79
80
 
80
- Rubygems and Bundler integration, makes executable wrappers
81
+ Rubygems and Bundler integration makes executable wrappers
81
82
  generated by rubygems aware of bundler.
82
83
 
83
84
  rubygems-bundler was merged with [noexec gem](https://github.com/joshbuddy/noexec) in version **0.9.0**.
@@ -87,9 +88,9 @@ rubygems-bundler was merged with [noexec gem](https://github.com/joshbuddy/noexe
87
88
  rubygems-bundler-uninstaller
88
89
  gem uninstall rubygems-bundler
89
90
 
90
- this will set all gems to `/usr/bin/env ruby` which is one of the safest choices (especially when using rvm).
91
+ this will set all gems to `/usr/bin/env ruby`, which is one of the safest choices (especially when using rvm).
91
92
 
92
- In case of rvm additional steps will ensure this gem is removed and not installed again:
93
+ When using rvm, these additional steps will ensure this gem is removed and not installed again:
93
94
 
94
95
  rvm get stable --without-gems=rubygems-bundler
95
96
  rvm all-gemsets do gem uninstall --all --executables rubygems-bundler
@@ -1,3 +1,5 @@
1
+ require "yaml"
2
+
1
3
  module RubygemsBundler
2
4
  end
3
5
  RubygemsBundler::DEBUG = ENV.key?('NOEXEC_DEBUG')
@@ -1,3 +1,3 @@
1
1
  module RubygemsBundler
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
@@ -1,21 +1,29 @@
1
1
  : init
2
- export BUNDLE_GEMFILE=${TMPDIR:-/tmp}/Gemfile
3
- printf "source :rubygems\n\ngem 'haml'\n" > ${BUNDLE_GEMFILE}
2
+ export BUNDLE_GEMFILE=${TMPDIR:-/tmp}/rubygems-bunelr_bundler-test/Gemfile
3
+ mkdir -p ${BUNDLE_GEMFILE%/*} # status=0
4
+ printf "source :rubygems\n\ngem 'haml'\ngem 'heroku'\ngem 'jruby-openssl', :require => 'openssl', :platforms => :jruby\n" > ${BUNDLE_GEMFILE}
4
5
 
5
- yes | rake build
6
- yes | rake install # match=/installed/
7
- gem install bundler # status=0
6
+ yes | sm gem install # match=/installed/
7
+ gem regenerate_binstubs # status=0
8
+ gem install bundler # status=0
8
9
 
9
10
  bundle install
10
11
 
11
- head -n 1 $(which haml) # match=/env ruby_noexec_wrapper/
12
- which ruby_noexec_wrapper # status=0
12
+ : exclusion
13
+ head -n 1 $(which heroku) # match=/env ruby_noexec_wrapper/
14
+ yes | NOEXEC_DEBUG=1 heroku update # match=/Using .*/rubygems-bunelr_bundler-test/Gemfile/; match!=/Binary excluded by config/
15
+ printf "exclude:\n - heroku\n" > ${BUNDLE_GEMFILE%/*}/.noexec.yaml
16
+ yes | NOEXEC_DEBUG=1 heroku update # match!=/Using .*/rubygems-bunelr_bundler-test/Gemfile/; match=/Binary excluded by config/
17
+
18
+ : generated/removed
19
+ head -n 1 $(which haml) # match=/env ruby_noexec_wrapper/
20
+ which ruby_noexec_wrapper # status=0
13
21
 
14
22
  gem list # match=/haml/
15
23
  rubygems-bundler-uninstaller # match=/haml/
16
24
 
17
- head -n 1 $(which haml) # match!=/env ruby_noexec_wrapper/
18
- which ruby_noexec_wrapper # status=1
25
+ head -n 1 $(which haml) # match!=/env ruby_noexec_wrapper/
26
+ which ruby_noexec_wrapper # status=1
19
27
 
20
- gem uninstall -x haml # match=/Successfully uninstalled/
21
- rm -f ${BUNDLE_GEMFILE}
28
+ gem uninstall -x haml # match=/Successfully uninstalled/
29
+ rm -rf ${BUNDLE_GEMFILE%/*} # status=0
@@ -6,8 +6,7 @@ export PATH="${test_dir}/fake_gem_home/bin:$PATH"
6
6
  mkdir -p "${GEM_HOME}"
7
7
  printf "source :rubygems\n\ngem 'rails'\n" > "${test_dir}/Gemfile"
8
8
 
9
- yes | rake build
10
- yes | rake install # match=/installed/
9
+ yes | sm gem install # match=/installed/
11
10
  gem install bundler # status=0
12
11
 
13
12
  : test
@@ -1,8 +1,7 @@
1
1
  : init
2
- yes | rake build
3
- yes | rake install # match=/installed/
2
+ sm gem install # match=/installed/
4
3
 
5
- gem install haml # match=/1 gem installed/
4
+ yes | gem install haml # match=/1 gem installed/
6
5
 
7
6
  head -n 1 $(which haml) # match=/env ruby_noexec_wrapper/
8
7
  which ruby_noexec_wrapper # status=0
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: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 0
10
- version: 1.1.0
9
+ - 1
10
+ version: 1.1.1
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-09-05 00:00:00 Z
19
+ date: 2013-02-25 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: tf
@@ -45,7 +45,7 @@ extra_rdoc_files: []
45
45
  files:
46
46
  - .gem.config
47
47
  - .gitignore
48
- - .noexec.yml
48
+ - .noexec.yaml
49
49
  - .travis.yml
50
50
  - CHANGELOG.md
51
51
  - Gemfile
data/.noexec.yml DELETED
@@ -1,2 +0,0 @@
1
- exclude: [dtf]
2
-