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 +4 -4
- data/lib/mvn2/plugin/growl.plugin.rb +3 -1
- data/lib/mvn2/version.rb +1 -1
- data/mvn2.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0814ce28f0135e350c5c71e16c6e7e9eaf579248
|
4
|
+
data.tar.gz: 81ecc5a96184334fe52a904c4697860369ef624b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 "#{
|
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
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.
|
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.
|
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-
|
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.
|
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.
|
54
|
+
version: 1.7.3
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: everyday-plugins
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|