capistrano-notifier 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/lib/capistrano/notifier/base.rb +2 -2
- data/lib/capistrano/notifier/version.rb +1 -1
- metadata +4 -9
data/Gemfile
CHANGED
@@ -18,7 +18,7 @@ class Capistrano::Notifier::Base
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def git_current_revision
|
21
|
-
cap.current_revision[0,7
|
21
|
+
cap.current_revision.try(:[], 0,7) if cap.respond_to?(:current_revision)
|
22
22
|
end
|
23
23
|
|
24
24
|
def git_log
|
@@ -28,7 +28,7 @@ class Capistrano::Notifier::Base
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def git_previous_revision
|
31
|
-
cap.previous_revision[0,7
|
31
|
+
cap.previous_revision.try(:[], 0,7) if cap.respond_to?(:previous_revision)
|
32
32
|
end
|
33
33
|
|
34
34
|
def git_range
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-notifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-05-28 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: actionmailer
|
@@ -151,21 +151,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
151
151
|
- - ! '>='
|
152
152
|
- !ruby/object:Gem::Version
|
153
153
|
version: '0'
|
154
|
-
segments:
|
155
|
-
- 0
|
156
|
-
hash: -700121420444324432
|
157
154
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
158
155
|
none: false
|
159
156
|
requirements:
|
160
157
|
- - ! '>='
|
161
158
|
- !ruby/object:Gem::Version
|
162
159
|
version: '0'
|
163
|
-
segments:
|
164
|
-
- 0
|
165
|
-
hash: -700121420444324432
|
166
160
|
requirements: []
|
167
161
|
rubyforge_project:
|
168
|
-
rubygems_version: 1.8.
|
162
|
+
rubygems_version: 1.8.23
|
169
163
|
signing_key:
|
170
164
|
specification_version: 3
|
171
165
|
summary: Capistrano Notifier
|
@@ -175,3 +169,4 @@ test_files:
|
|
175
169
|
- spec/capistrano/notifier/statsd_spec.rb
|
176
170
|
- spec/capistrano/notifier_spec.rb
|
177
171
|
- spec/spec_helper.rb
|
172
|
+
has_rdoc:
|