bundler-talks 0.0.3 → 0.0.4
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/CHANGELOG.md +5 -0
- data/README.md +5 -2
- data/lib/bundler-talks/patches.rb +11 -4
- data/lib/bundler-talks/version.rb +1 -1
- metadata +2 -2
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -20,9 +20,10 @@ This gem using gem `talks` and overwrites some of bundler methods when you call
|
|
20
20
|
$ gem install bundler-talks
|
21
21
|
$ bundler-talks install # instead of just `bundle install`
|
22
22
|
$ bundler-talks update # instead of just `bundle update`
|
23
|
+
$ bundler-talks exec # instead of just `bundle exec`
|
23
24
|
```
|
24
25
|
|
25
|
-
You can work with `bundler-talks update/install` just the same as with original `bundle update/install` - with some options and customizations:
|
26
|
+
You can work with `bundler-talks update/install/exec` just the same as with original `bundle update/install/exec` - with some options and customizations:
|
26
27
|
|
27
28
|
```bash
|
28
29
|
$ bundler-talks update rails
|
@@ -40,10 +41,12 @@ I did it by myself
|
|
40
41
|
|
41
42
|
### Contributors
|
42
43
|
|
43
|
-
* @gazay
|
44
|
+
* @gazay
|
44
45
|
|
45
46
|
### A lot of thanks
|
46
47
|
|
48
|
+
* @imanel for exec method
|
49
|
+
|
47
50
|
You can help me with this fun gem and I'll gladly add you here, or above
|
48
51
|
|
49
52
|
## License
|
@@ -7,16 +7,23 @@ module Bundler
|
|
7
7
|
|
8
8
|
original_install_method = instance_method :install
|
9
9
|
define_method :install do
|
10
|
-
Talks.info '
|
10
|
+
Talks.info 'Bundle install started'
|
11
11
|
original_install_method.bind(self).call
|
12
|
-
Talks.info '
|
12
|
+
Talks.info 'Bundle install ended'
|
13
13
|
end
|
14
14
|
|
15
15
|
original_update_method = instance_method :update
|
16
16
|
define_method :update do |*gems|
|
17
|
-
Talks.info '
|
17
|
+
Talks.info 'Bundle update started'
|
18
18
|
original_update_method.bind(self).call(*gems)
|
19
|
-
Talks.info '
|
19
|
+
Talks.info 'Bundle update ended'
|
20
|
+
end
|
21
|
+
|
22
|
+
original_exec_method = instance_method :exec
|
23
|
+
define_method :exec do |*args|
|
24
|
+
Talks.info 'Bundle exec started'
|
25
|
+
original_exec_method.bind(self).call(*args)
|
26
|
+
Talks.info 'Bundle exec ended'
|
20
27
|
end
|
21
28
|
end
|
22
29
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bundler-talks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-05-
|
12
|
+
date: 2012-05-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: talks
|