capistrano-fiesta 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f688344d1b9807d268fb083032325ca69888a57
|
4
|
+
data.tar.gz: 536f6963a665b905d1c0fc1c90abd44bd047ce4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f30a3630f84004730af25f00def47a49c41e0d01066d44cc0b7d79912746d5781b2b7a6de781251bd06026ec97d42933697cb23208fe350da061e31caf596bd3
|
7
|
+
data.tar.gz: 3d1cd7f2d81a0a2c8d4bb86430ec32672c970184200f4f3a90cc4781e7fa1440379a20bb98b505ffc49ef39f119485df5049959b2581dfb2b2ce6eae4692fbb7
|
@@ -4,15 +4,12 @@ require "capistrano/fiesta/github"
|
|
4
4
|
require "capistrano/fiesta/draft"
|
5
5
|
require "capistrano/fiesta/editor"
|
6
6
|
require "capistrano/fiesta/logger"
|
7
|
+
require "capistrano/fiesta/slack_dummy"
|
7
8
|
require "capistrano/fiesta/story"
|
8
9
|
|
9
10
|
module Capistrano
|
10
11
|
module Fiesta
|
11
12
|
class Report
|
12
|
-
class << self
|
13
|
-
attr_accessor :chat_client
|
14
|
-
end
|
15
|
-
|
16
13
|
attr_reader :stories
|
17
14
|
|
18
15
|
def initialize(github_url, last_release: nil, comment: nil)
|
@@ -26,8 +23,6 @@ module Capistrano
|
|
26
23
|
options[:payload] = options.fetch(:payload, {}).merge(text: text)
|
27
24
|
chat.post(options)
|
28
25
|
text
|
29
|
-
rescue NameError => e
|
30
|
-
Logger.warn "Install Slackistrano to announce releases on Slack (#{e.message})"
|
31
26
|
end
|
32
27
|
|
33
28
|
def create_release(name = nil)
|
@@ -66,7 +61,9 @@ module Capistrano
|
|
66
61
|
end
|
67
62
|
|
68
63
|
def chat
|
69
|
-
|
64
|
+
Slackistrano
|
65
|
+
rescue NameError
|
66
|
+
SlackDummy.new
|
70
67
|
end
|
71
68
|
end
|
72
69
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-fiesta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jens Balvig
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -174,6 +174,7 @@ files:
|
|
174
174
|
- lib/capistrano/fiesta/github.rb
|
175
175
|
- lib/capistrano/fiesta/logger.rb
|
176
176
|
- lib/capistrano/fiesta/report.rb
|
177
|
+
- lib/capistrano/fiesta/slack_dummy.rb
|
177
178
|
- lib/capistrano/fiesta/story.rb
|
178
179
|
- lib/capistrano/fiesta/version.rb
|
179
180
|
- lib/capistrano/tasks/fiesta.rake
|