bundler-talks 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.0.4
4
+
5
+ * Added exec method (@imanel)
6
+ * Fixed typos in messages (@imanel)
7
+
3
8
  ## 0.0.2
4
9
 
5
10
  Init version
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 'Bunlde install started'
10
+ Talks.info 'Bundle install started'
11
11
  original_install_method.bind(self).call
12
- Talks.info 'Bunlde install ended'
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 'Bunlde update started'
17
+ Talks.info 'Bundle update started'
18
18
  original_update_method.bind(self).call(*gems)
19
- Talks.info 'Bunlde update ended'
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
@@ -1,3 +1,3 @@
1
1
  module BundlerTalks
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  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.3
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-23 00:00:00.000000000 Z
12
+ date: 2012-05-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: talks