capistrano-fiesta 1.0.0 → 1.0.1

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: 2fc4b1af2b47f2a45c0e8b60aadc60a658dbb4ea
4
- data.tar.gz: 1cb5f0e91853e6aedc27fd362e25682ef06affff
3
+ metadata.gz: 206b3d96f5d723a65054af6140203b71e9ed0f1a
4
+ data.tar.gz: c833355aeb16cb88ecf619bea67cc610fe2f2c53
5
5
  SHA512:
6
- metadata.gz: 9542290e2c26fc476a0d480cfdd0f9f93921db86cc8195470736d40b3a64516f9713b26e9768cc71eab84e6bae38425532599682ad1fb0e8e31129c998a5882b
7
- data.tar.gz: b57b86256495b92c2f5583d53fc9f895f12e225e4653ecf5d245b14832ac0bc11d81ba8e8c01794872957bf1c5c5806f5352125a49fe8fb61e9f601206ba7829
6
+ metadata.gz: 7b3f88316dd55c209298b7fa38531e8f323756fdee6da88053a169072a780187cb44d545c559a966ea7f7deced6eef89bbe54345a5d16322843626b5a0e194c4
7
+ data.tar.gz: 777207fcedb594c669fd69c58a96f8438b2b96b9c4a9658503ba99ac5427678a98665a9f037e9c5fae2c31a7f2d3127f12b5f2193e3becc90ca3a9b5105040e8
data/README.md CHANGED
@@ -3,14 +3,14 @@
3
3
  capistrano-fiesta integrates capistrano with GitHub pull requests and Slack, making
4
4
  sharing release reports with the rest of the team a breeze.
5
5
 
6
- When deploying, capistrano-fiesta will compile an editable list of merged pull
7
- request titles since the last release, pulling out any images from the descriptions so they can be attached as screenshots:
6
+ When deploying, capistrano-fiesta will compile an editable list of pull
7
+ requests merged to master since the last release, pulling out any images from the descriptions so they can be attached as screenshots:
8
8
 
9
- ![editor](https://cloud.githubusercontent.com/assets/104138/10676263/57b6bb44-7905-11e5-8df3-38e96a2a0685.png)
9
+ <img src="https://cloud.githubusercontent.com/assets/104138/10676263/57b6bb44-7905-11e5-8df3-38e96a2a0685.png" width="60%" />
10
10
 
11
11
  The edited content will be posted to Slack:
12
12
 
13
- ![slack](https://cloud.githubusercontent.com/assets/104138/10676270/63f627b4-7905-11e5-88e7-b60c08aada99.png)
13
+ <img src="https://cloud.githubusercontent.com/assets/104138/10676270/63f627b4-7905-11e5-88e7-b60c08aada99.png" width="60%" />
14
14
 
15
15
 
16
16
  ## Installing
@@ -27,7 +27,7 @@ The edited content will be posted to Slack:
27
27
  require 'capybara-fiesta'
28
28
  set :fiesta_slack_channel, '#release'
29
29
  ```
30
- 4. If you're using [hub](https://github.com/github/hub) your GitHub credentials should already be configured. Otherwise you can use the [ENV vars in Octokit](https://github.com/octokit/octokit.rb/blob/a98979107a4bf9741a05a1f751405f8a29f29b38/lib/octokit/default.rb#L42-L156) to configure GitHub access.
30
+ 4. If you're using [hub](https://github.com/github/hub) or [pt-flow](https://github.com/balvig/pt-flow), your GitHub credentials should already be configured. Otherwise you can use the [ENV vars in Octokit](https://github.com/octokit/octokit.rb/blob/a98979107a4bf9741a05a1f751405f8a29f29b38/lib/octokit/default.rb#L42-L156) to configure GitHub access.
31
31
 
32
32
  ## Contributing
33
33
 
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Fiesta
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
@@ -20,7 +20,7 @@ namespace :fiesta do
20
20
  report = Capistrano::Fiesta::Report.new(repo_url, last_release: fetch(:last_release))
21
21
  result = report.write
22
22
 
23
- if !result.empty?
23
+ if result && !result.empty?
24
24
  Slackistrano.post(
25
25
  team: fetch(:slack_team),
26
26
  token: fetch(:slack_token),
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.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Balvig
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-10-22 00:00:00.000000000 Z
11
+ date: 2015-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano