capistrano-slack-notify 1.3.1 → 1.3.2

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: 2eabc296f392bf542e0d1753dc0e60dfe2f5b28d
4
- data.tar.gz: 96f885b05b834f4c83aed14e468bc8caa86fbef0
3
+ metadata.gz: c7b90a65b741bbea86a5d11ea726d16041d3b1d1
4
+ data.tar.gz: 4e3e33c0190a54141b512ccf74c81919a0a2707f
5
5
  SHA512:
6
- metadata.gz: 69057fab4b36a5c795d783aaeabfd57af4fabe5fc1f86e961322a88dd5b02831e0c247919de649e1655f666b7c3f2b77aae1261636c851981905e5641025e832
7
- data.tar.gz: 29e8952660b17923c01403fecd8ef40e8a332a82ccd2b76b648a735bf31eb6fa6da97335b238ad78c2675c21b61dc9395ac9a7a0c8fb10c10847ee7bfde1e6f0
6
+ metadata.gz: 3361b70a78c1c5e0637486925ea62eec069b21315db382b1e750e912ff32fc703f697b192f2953aadd9641833e1c28452626489209b8357dd2d3b5f84459672d
7
+ data.tar.gz: b785489263cb58406481c0225e0759094f0f4cea4d2ff12a15d05ec43e8d77049ce5552c34581aa6030a5ebd2f76028ae9c055639ae634d47832ceb9ccb00dce
@@ -91,8 +91,12 @@ module Capistrano
91
91
  fetch(:slack_destination, stage)
92
92
  end
93
93
 
94
+ def repository
95
+ fetch(:repository, 'origin')
96
+ end
97
+
94
98
  def revision
95
- @revision ||= `git rev-parse #{branch}`.chomp
99
+ @revision ||= `git ls-remote #{repository} #{branch}`.split(" ").first
96
100
  end
97
101
 
98
102
  def deploy_target
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-slack-notify
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Parker Moore
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-14 00:00:00.000000000 Z
11
+ date: 2015-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  requirements: []
83
83
  rubyforge_project:
84
- rubygems_version: 2.2.3
84
+ rubygems_version: 2.2.5
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: Minimalist Capistrano 2 notifier for Slack.