cap-slack-notify 1.3.2 → 1.3.3

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 +4 -0
  2. metadata +3 -3
@@ -96,6 +96,10 @@ module Capistrano
96
96
  @revision ||= `git rev-parse #{branch}`.chomp
97
97
  end
98
98
 
99
+ def repository
100
+ @repo ||= fetch(:repository, nil)
101
+ end
102
+
99
103
  def deploy_target
100
104
  [slack_app_name, branch].join('/') + (revision ? " (#{revision[0..5]})" : "")
101
105
  end
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: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 3
9
- - 2
10
- version: 1.3.2
9
+ - 3
10
+ version: 1.3.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Parker Moore