hipchat 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/hipchat/capistrano.rb +5 -5
- metadata +12 -9
- data/.gitignore +0 -21
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.1
|
data/lib/hipchat/capistrano.rb
CHANGED
|
@@ -21,10 +21,10 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
21
21
|
if hipchat_send_notification
|
|
22
22
|
on_rollback do
|
|
23
23
|
hipchat_client[hipchat_room_name].
|
|
24
|
-
send(deploy_user, "#{human} cancelled deployment of #{application} to #{
|
|
24
|
+
send(deploy_user, "#{human} cancelled deployment of #{application} to #{env}.", hipchat_announce)
|
|
25
25
|
end
|
|
26
26
|
|
|
27
|
-
message = "#{human} is deploying #{application} to #{
|
|
27
|
+
message = "#{human} is deploying #{application} to #{env}"
|
|
28
28
|
message << " (with migrations)" if hipchat_with_migrations
|
|
29
29
|
message << "."
|
|
30
30
|
|
|
@@ -35,7 +35,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
35
35
|
|
|
36
36
|
task :notify_deploy_finished do
|
|
37
37
|
hipchat_client[hipchat_room_name].
|
|
38
|
-
send(deploy_user, "#{human} finished deploying #{application} to #{
|
|
38
|
+
send(deploy_user, "#{human} finished deploying #{application} to #{env}.", hipchat_announce)
|
|
39
39
|
end
|
|
40
40
|
|
|
41
41
|
def deploy_user
|
|
@@ -54,8 +54,8 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
54
54
|
end)
|
|
55
55
|
end
|
|
56
56
|
|
|
57
|
-
def
|
|
58
|
-
fetch(:hipchat_env, fetch(:rails_env, "production"))
|
|
57
|
+
def env
|
|
58
|
+
fetch(:hipchat_env, fetch(:rack_env, fetch(:rails_env, "production")))
|
|
59
59
|
end
|
|
60
60
|
end
|
|
61
61
|
|
metadata
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hipchat
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
+
hash: 21
|
|
4
5
|
prerelease: false
|
|
5
6
|
segments:
|
|
6
7
|
- 0
|
|
7
8
|
- 2
|
|
8
|
-
-
|
|
9
|
-
version: 0.2.
|
|
9
|
+
- 1
|
|
10
|
+
version: 0.2.1
|
|
10
11
|
platform: ruby
|
|
11
12
|
authors:
|
|
12
13
|
- david
|
|
@@ -14,7 +15,7 @@ autorequire:
|
|
|
14
15
|
bindir: bin
|
|
15
16
|
cert_chain: []
|
|
16
17
|
|
|
17
|
-
date:
|
|
18
|
+
date: 2011-06-11 00:00:00 +01:00
|
|
18
19
|
default_executable:
|
|
19
20
|
dependencies:
|
|
20
21
|
- !ruby/object:Gem::Dependency
|
|
@@ -25,6 +26,7 @@ dependencies:
|
|
|
25
26
|
requirements:
|
|
26
27
|
- - ">="
|
|
27
28
|
- !ruby/object:Gem::Version
|
|
29
|
+
hash: 3
|
|
28
30
|
segments:
|
|
29
31
|
- 0
|
|
30
32
|
version: "0"
|
|
@@ -38,6 +40,7 @@ dependencies:
|
|
|
38
40
|
requirements:
|
|
39
41
|
- - ">="
|
|
40
42
|
- !ruby/object:Gem::Version
|
|
43
|
+
hash: 13
|
|
41
44
|
segments:
|
|
42
45
|
- 1
|
|
43
46
|
- 2
|
|
@@ -56,7 +59,6 @@ extra_rdoc_files:
|
|
|
56
59
|
- README.textile
|
|
57
60
|
files:
|
|
58
61
|
- .document
|
|
59
|
-
- .gitignore
|
|
60
62
|
- LICENSE
|
|
61
63
|
- README.textile
|
|
62
64
|
- Rakefile
|
|
@@ -73,8 +75,8 @@ homepage: http://github.com/david/hipchat
|
|
|
73
75
|
licenses: []
|
|
74
76
|
|
|
75
77
|
post_install_message:
|
|
76
|
-
rdoc_options:
|
|
77
|
-
|
|
78
|
+
rdoc_options: []
|
|
79
|
+
|
|
78
80
|
require_paths:
|
|
79
81
|
- lib
|
|
80
82
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
@@ -82,6 +84,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
82
84
|
requirements:
|
|
83
85
|
- - ">="
|
|
84
86
|
- !ruby/object:Gem::Version
|
|
87
|
+
hash: 3
|
|
85
88
|
segments:
|
|
86
89
|
- 0
|
|
87
90
|
version: "0"
|
|
@@ -90,6 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
90
93
|
requirements:
|
|
91
94
|
- - ">="
|
|
92
95
|
- !ruby/object:Gem::Version
|
|
96
|
+
hash: 3
|
|
93
97
|
segments:
|
|
94
98
|
- 0
|
|
95
99
|
version: "0"
|
|
@@ -100,6 +104,5 @@ rubygems_version: 1.3.7
|
|
|
100
104
|
signing_key:
|
|
101
105
|
specification_version: 3
|
|
102
106
|
summary: Ruby library to interact with HipChat
|
|
103
|
-
test_files:
|
|
104
|
-
|
|
105
|
-
- spec/spec_helper.rb
|
|
107
|
+
test_files: []
|
|
108
|
+
|