bumbler 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/bumbler.gemspec +1 -1
- data/lib/bumbler.rb +4 -20
- data/lib/bumbler/go.rb +18 -0
- data/lib/bumbler/version.rb +1 -1
- metadata +3 -2
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
|
data/bumbler.gemspec
CHANGED
data/lib/bumbler.rb
CHANGED
@@ -1,21 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
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
|
data/lib/bumbler/go.rb
ADDED
@@ -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
|
data/lib/bumbler/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: bumbler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
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-
|
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
|