capistrano-notify-hubot 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -16,7 +16,7 @@ namespace :notify_hubot do
|
|
16
16
|
end
|
17
17
|
end
|
18
18
|
|
19
|
-
task :
|
19
|
+
task :starting => :set_log_level do
|
20
20
|
on roles(:notify_hubot) do |host|
|
21
21
|
set :temp_id, Digest::SHA1.hexdigest(Time.now.to_f.to_s)[8..16]
|
22
22
|
set :title, "Begin Deploy"
|
@@ -25,7 +25,7 @@ namespace :notify_hubot do
|
|
25
25
|
message_hubot
|
26
26
|
end
|
27
27
|
end
|
28
|
-
after :
|
28
|
+
after :starting, :unset_log_level
|
29
29
|
|
30
30
|
task :updated => :set_log_level do
|
31
31
|
on roles(:notify_hubot) do |host|
|
@@ -2,7 +2,7 @@ namespace :notify_hubot do
|
|
2
2
|
namespace :check do
|
3
3
|
|
4
4
|
desc 'Ensure all notify_hubot specific settings are set, and warn and exit if not.'
|
5
|
-
before 'deploy:
|
5
|
+
before 'deploy:starting', :settings do
|
6
6
|
{
|
7
7
|
(File.dirname(__FILE__) + "/examples/config/deploy.rb") => 'config/deploy.rb'
|
8
8
|
}.each do |abs, rel|
|
@@ -4,7 +4,7 @@ lock '3.2.1'
|
|
4
4
|
##### capistrano-notify-hubot
|
5
5
|
### ------------------------------------------------------------------
|
6
6
|
set :deployment_username, ENV['USER']
|
7
|
-
before 'deploy:
|
7
|
+
before 'deploy:starting', 'notify_hubot:deploy:starting'
|
8
8
|
after 'deploy:updated', 'notify_hubot:deploy:updated'
|
9
9
|
after 'deploy:finished', 'notify_hubot:deploy:finished'
|
10
10
|
set :hubot_room, "hackery"
|
metadata
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-notify-hubot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- david amick
|
@@ -13,6 +14,7 @@ dependencies:
|
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: capistrano
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - ~>
|
18
20
|
- !ruby/object:Gem::Version
|
@@ -20,6 +22,7 @@ dependencies:
|
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
27
|
- - ~>
|
25
28
|
- !ruby/object:Gem::Version
|
@@ -27,6 +30,7 @@ dependencies:
|
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: deployinator
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
35
|
- - ~>
|
32
36
|
- !ruby/object:Gem::Version
|
@@ -34,6 +38,7 @@ dependencies:
|
|
34
38
|
type: :runtime
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
43
|
- - ~>
|
39
44
|
- !ruby/object:Gem::Version
|
@@ -41,6 +46,7 @@ dependencies:
|
|
41
46
|
- !ruby/object:Gem::Dependency
|
42
47
|
name: rake
|
43
48
|
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
44
50
|
requirements:
|
45
51
|
- - ~>
|
46
52
|
- !ruby/object:Gem::Version
|
@@ -48,6 +54,7 @@ dependencies:
|
|
48
54
|
type: :runtime
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
51
58
|
requirements:
|
52
59
|
- - ~>
|
53
60
|
- !ruby/object:Gem::Version
|
@@ -55,6 +62,7 @@ dependencies:
|
|
55
62
|
- !ruby/object:Gem::Dependency
|
56
63
|
name: sshkit
|
57
64
|
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
58
66
|
requirements:
|
59
67
|
- - ~>
|
60
68
|
- !ruby/object:Gem::Version
|
@@ -62,6 +70,7 @@ dependencies:
|
|
62
70
|
type: :runtime
|
63
71
|
prerelease: false
|
64
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
65
74
|
requirements:
|
66
75
|
- - ~>
|
67
76
|
- !ruby/object:Gem::Version
|
@@ -81,27 +90,28 @@ files:
|
|
81
90
|
homepage: https://github.com/snarlysodboxer/capistrano-notify-hubot
|
82
91
|
licenses:
|
83
92
|
- GNU
|
84
|
-
metadata: {}
|
85
93
|
post_install_message:
|
86
94
|
rdoc_options: []
|
87
95
|
require_paths:
|
88
96
|
- lib
|
89
97
|
required_ruby_version: !ruby/object:Gem::Requirement
|
98
|
+
none: false
|
90
99
|
requirements:
|
91
|
-
- - '>='
|
100
|
+
- - ! '>='
|
92
101
|
- !ruby/object:Gem::Version
|
93
102
|
version: 1.9.3
|
94
103
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
|
+
none: false
|
95
105
|
requirements:
|
96
|
-
- - '>='
|
106
|
+
- - ! '>='
|
97
107
|
- !ruby/object:Gem::Version
|
98
108
|
version: '0'
|
99
109
|
requirements:
|
100
110
|
- A Hubot instance
|
101
111
|
rubyforge_project:
|
102
|
-
rubygems_version:
|
112
|
+
rubygems_version: 1.8.23.2
|
103
113
|
signing_key:
|
104
|
-
specification_version:
|
114
|
+
specification_version: 3
|
105
115
|
summary: Notify Hubot during Capistrano Deployments
|
106
116
|
test_files: []
|
107
117
|
has_rdoc:
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: b70037cfb00a5396ea44e4090ccb623725a576ca
|
4
|
-
data.tar.gz: ca4e98212b3c5b5efe15118ab43875b4011f5ce2
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: ac76a0cc4eb3c963824d8533bb6d2f4209b52f3661421eb3d0f3c42edc6ad849415f5a0a7c32baffc6a9c601e90e706cacf79105780662433aafbad0e61df910
|
7
|
-
data.tar.gz: cebf4ce0c1f28ec0fa2a5709659834237c09bcdb8483c7d61c569a37827df082832514800adc5818281697c97fb1380c6131fd88187ce0d89baa2751c2c421a2
|