captainu-chinook 0.1.7 → 0.1.8

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: 389258c295cba9e6ff4143cd09ccaac582e22163
4
- data.tar.gz: 5f255836c8101f91373ffa904a0bdbf8e1aef99e
3
+ metadata.gz: 53a09a71f61969ab51eb3faae0e20afe6a921d03
4
+ data.tar.gz: 365525cfbd713b6c5cc6842e06dd1b6e7d7f735c
5
5
  SHA512:
6
- metadata.gz: 07d87897e5940a04a60f1dc46ff961b7fc83525e4c5212561d001212bb483151116482d0474d2ae9c2f5a144761a9702cee6969409fa1da9a36df3de09a819be
7
- data.tar.gz: 632b9413ac17a03a1d0765fbe03b3aa066a72beb5823581eea2e0aa02def23aff9a0b6b1ec23419aedbe5d3b5288479bb055df0845f418c63d0d7d7cdff71c55
6
+ metadata.gz: cd9b0050eca9dc452f26cd6ee3ede18c7cdd4b8592cce2446d0830339a1e4f2159ffd14e186faacab5b153981998c7a72241fcaa1face723fc8459924c5d568a
7
+ data.tar.gz: 38d1f138faf5947f2a8886e846a3ca3b90d7adda74369e343ef64183ed5ce76cd541c7caee12a580ca768281efe9a2793496f7743a1d5624653124d0cc4a2f01
@@ -19,8 +19,7 @@ module Chinook::Capistrano
19
19
 
20
20
  message = "#{git_username} started a deploy of #{project_name} to #{stage} at #{Time.now.strftime('%r %Z')}."
21
21
 
22
- hipchat = ::HipChat::Client.new(fetch(:hipchat_token),
23
- api_version: 'v2')
22
+ hipchat = ::HipChat::Client.new(fetch(:hipchat_token))
24
23
  room = fetch(:hipchat_room)
25
24
  username = fetch(:hipchat_username, 'Deployment')
26
25
  hipchat[room].send(username, message, color: 'yellow')
@@ -38,8 +37,7 @@ module Chinook::Capistrano
38
37
 
39
38
  message = "#{git_username}'s deploy of #{project_name} to #{stage} has been rolled back at #{Time.now.strftime('%r %Z')}."
40
39
 
41
- hipchat = ::HipChat::Client.new(fetch(:hipchat_token),
42
- api_version: 'v2')
40
+ hipchat = ::HipChat::Client.new(fetch(:hipchat_token))
43
41
  room = fetch(:hipchat_room)
44
42
  username = fetch(:hipchat_username, 'Deployment')
45
43
  hipchat[room].send(username, message, color: 'red')
@@ -57,8 +55,7 @@ module Chinook::Capistrano
57
55
 
58
56
  message = "#{git_username}'s deploy of #{project_name} to #{stage} finished at #{Time.now.strftime('%r %Z')}."
59
57
 
60
- hipchat = ::HipChat::Client.new(fetch(:hipchat_token),
61
- api_version: 'v2')
58
+ hipchat = ::HipChat::Client.new(fetch(:hipchat_token))
62
59
  room = fetch(:hipchat_room)
63
60
  username = fetch(:hipchat_username, 'Deployment')
64
61
  hipchat[room].send(username, message, color: 'green')
@@ -1,3 +1,3 @@
1
1
  module Chinook
2
- VERSION = '0.1.7'
2
+ VERSION = '0.1.8'
3
3
  end
data/readme.markdown CHANGED
@@ -70,7 +70,7 @@ Notifies [HipChat](https://hipchat.com) when a deploy starts and/or stops. Uses
70
70
  - `after 'deploy', 'chinook:hipchat_end'`
71
71
  * Settings:
72
72
  - `:hipchat_room`: the room where notifications will be posted.
73
- - `:hipchat_token`: the API token of the user that this task will post as.
73
+ - `:hipchat_token`: the v1 API token that this task will post with.
74
74
  - `:hipchat_username`: the username that will display as the poster of this notification; default is "Deployment."
75
75
  - `:project_name`: the name of your project as it will show up in the notifications. *Optional; if not supplied, the value of `:application` will be used.*
76
76
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: captainu-chinook
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Kreeger