bumbler 0.1.0 → 0.1.1

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.
data/README.md CHANGED
@@ -17,7 +17,7 @@ Add bumbler to your Gemfile if you want to use `bundle exec`
17
17
  ### Step 2:
18
18
  Add the following to your .profile, .bash_profile, .zshrc, .wtfrc or whatever shell config you use
19
19
 
20
- export RUBYOPT=-rbumbler
20
+ export RUBYOPT=-rbumbler/go
21
21
 
22
22
  ### Step 3:
23
23
  Restart your terminal
@@ -1,5 +1,5 @@
1
1
  # -*- encoding: utf-8 -*-
2
- $:.push File.expand_path("../lib", __FILE__)
2
+ $:.unshift File.expand_path("../lib", __FILE__)
3
3
  require "bumbler/version"
4
4
 
5
5
  Gem::Specification.new do |s|
@@ -1,21 +1,5 @@
1
- # Do nothing unless we're in a bundle
2
- begin
3
- require 'bundler'
4
- # This raises if there isn't a gemfile in our root
5
- Bundler.default_gemfile
6
-
7
- module Bumbler
8
- autoload :Hooks, 'bumbler/hooks'
9
- autoload :Bundler, 'bumbler/bundler'
10
- autoload :Progress, 'bumbler/progress'
11
-
12
- Hooks.hook_require!
13
- Hooks.watch_require!
14
-
15
- Bundler.start!
16
- Progress.start!
17
- end
18
-
19
- rescue
20
- # Welp, if we fail, we fail.
1
+ module Bumbler
2
+ autoload :Hooks, 'bumbler/hooks'
3
+ autoload :Bundler, 'bumbler/bundler'
4
+ autoload :Progress, 'bumbler/progress'
21
5
  end
@@ -0,0 +1,18 @@
1
+ require 'bumbler'
2
+
3
+ # Do nothing unless we're in a bundle
4
+ begin
5
+ require 'bundler'
6
+ # This raises if there isn't a gemfile in our root
7
+ Bundler.default_gemfile
8
+
9
+ # Kick it off
10
+ Bumbler::Hooks.hook_require!
11
+ Bumbler::Hooks.watch_require!
12
+
13
+ Bumbler::Bundler.start!
14
+ Bumbler::Progress.start!
15
+
16
+ rescue
17
+ # Welp, if we fail, we fail.
18
+ end
@@ -1,3 +1,3 @@
1
1
  module Bumbler
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: bumbler
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.0
5
+ version: 0.1.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Ian MacLeod
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-04-21 00:00:00 -07:00
13
+ date: 2011-04-22 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies: []
16
16
 
@@ -31,6 +31,7 @@ files:
31
31
  - bumbler.gemspec
32
32
  - lib/bumbler.rb
33
33
  - lib/bumbler/bundler.rb
34
+ - lib/bumbler/go.rb
34
35
  - lib/bumbler/hooks.rb
35
36
  - lib/bumbler/progress.rb
36
37
  - lib/bumbler/version.rb