capistrano-nc 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +3 -1
- data/capistrano-nc.gemspec +1 -1
- data/lib/capistrano-nc/tasks/nc.rake +10 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3bd39f7abc6b164289b237ffb244b75959025ba7
|
4
|
+
data.tar.gz: 080bf44790411987693464c2956429a5fda0a096
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac78dda7e526987342efe87d0a256f4334429f2d1f5ef675e6536fa081643f486b9f4aabd755c7113421f75e80c46da978e117f9194201610210fdb7383c5e5c
|
7
|
+
data.tar.gz: 8eef3e0cb48dc1f79098f9b83cef04920369dcabb66869b055652ec6fe15a9e86aab4dabd932aee5ba5a89262cd1db85d36f85e732260bcfa78f002053de0bc6
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -10,7 +10,7 @@ capistrano-nc integrates Capistrano and Mountain Lion's Notification Center.
|
|
10
10
|
|
11
11
|
```ruby
|
12
12
|
# Gemfile
|
13
|
-
gem 'capistrano-nc', '~> 0.1.
|
13
|
+
gem 'capistrano-nc', '~> 0.1.3'
|
14
14
|
```
|
15
15
|
|
16
16
|
```ruby
|
@@ -36,6 +36,8 @@ By default it will run the `nc:finished` task after your `deploy` or `deploy:mig
|
|
36
36
|
after `your:task`, `nc:finished`
|
37
37
|
```
|
38
38
|
|
39
|
+
Terminal.app is opened when the notification is clicked. To use an alternative terminal set `:nc_terminal` to the bundle identifier e.g. `set :nc_terminal, 'com.googlecode.iterm2'` for iTerm2.
|
40
|
+
|
39
41
|
## Contributors
|
40
42
|
|
41
43
|
- [Kir Shatrov](https://github.com/kirs/)
|
data/capistrano-nc.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
Gem::Specification.new do |gem|
|
3
3
|
gem.name = 'capistrano-nc'
|
4
|
-
gem.version = '0.1.
|
4
|
+
gem.version = '0.1.3'
|
5
5
|
gem.authors = ['Kir Shatrov']
|
6
6
|
gem.email = ['shatrov@me.com']
|
7
7
|
gem.summary = "Capistrano 3 integration with Mountain Lion's Notification Center"
|
@@ -22,9 +22,18 @@ namespace :nc do
|
|
22
22
|
"#{application} to #{announced_stage}"
|
23
23
|
end
|
24
24
|
|
25
|
-
|
25
|
+
terminal = fetch(:nc_terminal, 'com.apple.Terminal')
|
26
|
+
TerminalNotifier.notify(announcement, title: "Capistrano", sender: terminal, activate: terminal)
|
26
27
|
end
|
27
28
|
end
|
28
29
|
end
|
29
30
|
|
30
31
|
after 'deploy:finished', 'nc:finished'
|
32
|
+
|
33
|
+
namespace :load do
|
34
|
+
task :defaults do
|
35
|
+
|
36
|
+
set :nc_terminal, 'com.apple.Terminal'
|
37
|
+
|
38
|
+
end
|
39
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-nc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kir Shatrov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: terminal-notifier
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
version: '0'
|
76
76
|
requirements: []
|
77
77
|
rubyforge_project:
|
78
|
-
rubygems_version: 2.
|
78
|
+
rubygems_version: 2.2.1
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Capistrano 3 integration with Mountain Lion's Notification Center
|