capistrano-hipchat 0.1.0 → 0.1.1

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: 3054abc01910d450cf3d04767f74bbb8c998ea6d
4
- data.tar.gz: cddb33d9fe0a0de27bca12b41e935ae206db0dcd
3
+ metadata.gz: e143138a180c0422803ace475011b94288a18b80
4
+ data.tar.gz: 7096f742c1774ec06f753ca32f18993acf35617a
5
5
  SHA512:
6
- metadata.gz: 7230c0d62dccf8243a236bcfe413c84409779a25a44ff2b8f47de051c6a2d47a954cacd098c5ff8468ce936346ee232e0c17b0867b47bcd586b9e6dad099b38b
7
- data.tar.gz: 895b8ace40d436d1ab164f7aacabf14f40aa305bf8109bc72c3f149dc95171a9725fb5bf08a318c2dac5050052bf71bbe75057c8ec185e67d1426e8cb58d9afb
6
+ metadata.gz: ea58b14f53a802a6ebed82b4180d48fd652d97cb12d7f3cc0b36a4420fbf863e8b65051e8ffd99df755c9997f3f4e3a843d0bba1fede067cd732a5a7b931b3df
7
+ data.tar.gz: 73b7e3229c26a74f0f3bd7a482a33ac356f720d2091109d3f89c77d29afd96578ab9824dc2a7370e57181ad70d0a6ad0d33d30f161b0029be9994b26b546997e
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Hipchat
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
@@ -1,7 +1,7 @@
1
1
  namespace :hipchat do
2
2
 
3
3
  task :notify_deploy_failed do
4
- message = "#{local_user.strip} cancelled deployment of #{fetch(:application)} to #{fetch(:stage)}."
4
+ message = "#{fetch(:local_user, local_user).strip} cancelled deployment of #{fetch(:application)} to #{fetch(:stage)}."
5
5
 
6
6
  fetch(:hipchat_room)
7
7
  .send(fetch(:hipchat_bot_name, "Deployer"), message, message_notification: false, color: 'red')
@@ -10,7 +10,7 @@ namespace :hipchat do
10
10
  task :notify_deploy_started do
11
11
  commits = `git log --no-color --max-count=5 --pretty=format:' - %an: %s' --abbrev-commit --no-merges #{fetch(:previous_revision, "HEAD")}..#{fetch(:current_revision, "HEAD")}`
12
12
  commits.gsub!("\n", "<br />")
13
- message = "#{local_user.strip} is deploying #{fetch(:application)} to #{fetch(:stage)} <br />"
13
+ message = "#{fetch(:local_user, local_user).strip} is deploying #{fetch(:application)} to #{fetch(:stage)} <br />"
14
14
  message << commits
15
15
 
16
16
  fetch(:hipchat_room)
@@ -18,7 +18,7 @@ namespace :hipchat do
18
18
  end
19
19
 
20
20
  task :notify_deploy_finished do
21
- message = "#{local_user.strip} finished deploying #{fetch(:application)} to #{fetch(:stage)}."
21
+ message = "#{fetch(:local_user, local_user).strip} finished deploying #{fetch(:application)} to #{fetch(:stage)}."
22
22
 
23
23
  fetch(:hipchat_room)
24
24
  .send(fetch(:hipchat_bot_name, "Deployer"), message, message_notification: false, color: 'green')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-hipchat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Restorando
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-15 00:00:00.000000000 Z
11
+ date: 2015-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -108,3 +108,4 @@ specification_version: 4
108
108
  summary: Notifies in a hipchat room about a new deployment showing the git log for
109
109
  the latests commits included in the current deploy.
110
110
  test_files: []
111
+ has_rdoc: