cap-slack-notify 1.3.5 → 1.3.6

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.
Files changed (2) hide show
  1. data/lib/capistrano/slack_notify.rb +1 -3
  2. metadata +3 -3
@@ -21,8 +21,6 @@ module Capistrano
21
21
  end
22
22
 
23
23
  def call_slack_api(payload)
24
- puts repository
25
- puts repository_owner
26
24
  uri = URI.parse(slack_webhook_url)
27
25
  http = Net::HTTP.new(uri.host, uri.port)
28
26
  http.use_ssl = true
@@ -117,7 +115,7 @@ module Capistrano
117
115
  end
118
116
 
119
117
  def deploy_target
120
- [slack_app_name, branch].join('/') + (revision ? " (#{revision[0..5]})" : "")
118
+ [slack_app_name, branch].join('/') + (revision ? " (<https://github.com/#{repository_owner}/#{repository}/commit/#{revision[0..5]}|#{revision[0..5]}>)" : "")
121
119
  end
122
120
 
123
121
  def self.extended(configuration)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cap-slack-notify
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 3
9
- - 5
10
- version: 1.3.5
9
+ - 6
10
+ version: 1.3.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Parker Moore