slackistrano 0.0.3 → 0.0.4
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.
- checksums.yaml +4 -4
- data/.travis.yml +4 -0
- data/README.md +3 -1
- data/Rakefile +2 -0
- data/lib/slackistrano/tasks/slack.rake +2 -3
- data/lib/slackistrano/version.rb +1 -1
- data/slackistrano.gemspec +2 -1
- metadata +17 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cd9f66b1c14873c85e1a6dc48062ea52bea137e6
|
|
4
|
+
data.tar.gz: 2d16038edb00208dbca39fe136700cb2d44bdd60
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a6d8f72d6d9cacbc87de172e9cf1260ce969650323cfa09e1b15d353de03fb29622dbafdddca3a940604f564016e4d3f7c3c9d00af6778c3db56a801f6b3f8a7
|
|
7
|
+
data.tar.gz: 9ddc5183a852fdb69894e7dddd1babba4991ffa5c9a098d4c4efd21ee98a8ca3a3644d8b176466a6e800edaa1496f1cf40b7a29dbf3c788e5599c82fe39d0587
|
data/.travis.yml
ADDED
data/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# Slackistrano
|
|
2
2
|
|
|
3
3
|
[](http://badge.fury.io/rb/slackistrano)
|
|
4
|
+
[](https://codeclimate.com/github/supremegolf/slackistrano)
|
|
5
|
+
[](https://travis-ci.org/supremegolf/slackistrano)
|
|
4
6
|
|
|
5
7
|
Send notifications to [Slack](https://slack.com) about [Capistrano](http://www.capistranorb.com) deployments.
|
|
6
8
|
|
|
@@ -16,7 +18,7 @@ If you need Capistrano v2 support, check out [capistrano-slack](https://github.c
|
|
|
16
18
|
|
|
17
19
|
Add this line to your application's Gemfile:
|
|
18
20
|
|
|
19
|
-
gem 'slackistrano'
|
|
21
|
+
gem 'slackistrano', require: false
|
|
20
22
|
|
|
21
23
|
And then execute:
|
|
22
24
|
|
data/Rakefile
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
|
|
2
1
|
namespace :slack do
|
|
3
2
|
namespace :deploy do
|
|
4
3
|
task :starting do
|
|
5
4
|
run_locally do
|
|
6
|
-
text = "#{ENV['USER'] || ENV['USERNAME']} has started deploying branch #{fetch :branch} of #{fetch :application} to #{fetch :
|
|
5
|
+
text = "#{ENV['USER'] || ENV['USERNAME']} has started deploying branch #{fetch :branch} of #{fetch :application} to #{fetch :stage, 'unknown stage'}."
|
|
7
6
|
Slackistrano.post(
|
|
8
7
|
team: fetch(:slack_team),
|
|
9
8
|
token: fetch(:slack_token),
|
|
@@ -19,7 +18,7 @@ namespace :slack do
|
|
|
19
18
|
|
|
20
19
|
task :finished do
|
|
21
20
|
run_locally do
|
|
22
|
-
text = "#{ENV['USER'] || ENV['USERNAME']} has finished deploying branch #{fetch :branch} of #{fetch :application} to #{fetch :
|
|
21
|
+
text = "#{ENV['USER'] || ENV['USERNAME']} has finished deploying branch #{fetch :branch} of #{fetch :application} to #{fetch :stage, 'unknown stage'}."
|
|
23
22
|
Slackistrano.post(
|
|
24
23
|
team: fetch(:slack_team),
|
|
25
24
|
token: fetch(:slack_token),
|
data/lib/slackistrano/version.rb
CHANGED
data/slackistrano.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: slackistrano
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Philip Hallstrom
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2014-02-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|
|
@@ -24,6 +24,20 @@ dependencies:
|
|
|
24
24
|
- - '>='
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '0'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: rake
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - '>='
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '0'
|
|
34
|
+
type: :development
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - '>='
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '0'
|
|
27
41
|
description: ''
|
|
28
42
|
email:
|
|
29
43
|
- philip@supremegolf.com
|
|
@@ -32,6 +46,7 @@ extensions: []
|
|
|
32
46
|
extra_rdoc_files: []
|
|
33
47
|
files:
|
|
34
48
|
- .gitignore
|
|
49
|
+
- .travis.yml
|
|
35
50
|
- Gemfile
|
|
36
51
|
- LICENSE.txt
|
|
37
52
|
- README.md
|