mvn2 2.4.1 → 2.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: abeb38d819ecba8c2c09486e953b467a1f56cbbb
4
- data.tar.gz: eb796650d66fecc9a45c3f573cc9bc64eace5aad
3
+ metadata.gz: 0814ce28f0135e350c5c71e16c6e7e9eaf579248
4
+ data.tar.gz: 81ecc5a96184334fe52a904c4697860369ef624b
5
5
  SHA512:
6
- metadata.gz: efd137cf00e9625c97cd3cce54ac2afda443bcacd7c35ca2ec8f13d4b7230da27696a73350ec1eaddb0f1e377948bd4b0f4ecce55369a40c0c169b83b5a11091
7
- data.tar.gz: 8e3763127ac914a0114bc591c3bc3e5174e028ae701d02e0a682a521f54445a4678bf64f2c5536d4a68bbbb05aca28c29ef016df41c70613f3a1bb3dbca71581
6
+ metadata.gz: 8cc036e759fff153bf14ea57668f93366c0660cabb1f44c3d2290b2a734baae801d3c04a8c9c429229444ff30279aca9f1e57750fc0509255d146be8e3fbedfe
7
+ data.tar.gz: cf50a23dd726b4e2f66a0349d23b915864a2a7d8f6c17b2943d4ca8b5293d93934925e599aa24fb8ae2016cb711d00000b855eb43567313be95d71cbfcea6867
@@ -7,8 +7,10 @@ class GrowlPlugin
7
7
  register :option, sym: :no_sticky, names: %w(-n --no-sticky), desc: 'make the growl notification non-sticky'
8
8
 
9
9
  register(:notification, order: 100) { |options, _, cmd_clean, message_text|
10
+ path = Dir.getwd
11
+ path = path[(path.rindex('/')+1)..-1]
10
12
  begin
11
- `growlnotify -n Terminal -a Terminal#{(options[:no_sticky] ? '' : ' -s')} -m "#{message_text}" -t "#{cmd_clean}" 2>&1`
13
+ `growlnotify -n Terminal -a Terminal#{(options[:no_sticky] ? '' : ' -s')} -m "#{message_text}" -t "#{path}" 2>&1`
12
14
  end until $?.success?
13
15
  }
14
16
  end
data/lib/mvn2/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Mvn2
2
- VERSION = '2.4.1'
2
+ VERSION = '2.4.2'
3
3
  end
data/mvn2.gemspec CHANGED
@@ -22,6 +22,6 @@ Gem::Specification.new do |spec|
22
22
  spec.add_development_dependency 'bundler', '~> 1.5'
23
23
  spec.add_development_dependency 'rake', '~> 10.0'
24
24
 
25
- spec.add_dependency 'everyday-cli-utils', '>= 1.7.0'
25
+ spec.add_dependency 'everyday-cli-utils', '>= 1.7.3'
26
26
  spec.add_dependency 'everyday-plugins', '>= 1.0.0'
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mvn2
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.1
4
+ version: 2.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Henderson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-15 00:00:00.000000000 Z
11
+ date: 2014-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 1.7.0
47
+ version: 1.7.3
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 1.7.0
54
+ version: 1.7.3
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: everyday-plugins
57
57
  requirement: !ruby/object:Gem::Requirement