slackistrano 0.0.3 → 0.0.4

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: 8194a34a9dc8688b59c486cb4a5fd9cb98e22f16
4
- data.tar.gz: 2902162b56cdabedab3f70b0c39c2adb6bfe4939
3
+ metadata.gz: cd9f66b1c14873c85e1a6dc48062ea52bea137e6
4
+ data.tar.gz: 2d16038edb00208dbca39fe136700cb2d44bdd60
5
5
  SHA512:
6
- metadata.gz: 0a93278de3d2a14034701e93dfb08667e0e6c48d267d2a786e433119e227e0c715fdac05d5e92d8e9fbffbe8db74144c7f6b5faf6dfc70c9ef41c740343182a0
7
- data.tar.gz: 230e9ffac88d1cffd60ddeccee87d3f002370d8b8a9a8413fa8fb468fe9210be99fd755eac8c6b2f10c17f99dc84d3ee937703d840bc1d988cc6f9ee581694d6
6
+ metadata.gz: a6d8f72d6d9cacbc87de172e9cf1260ce969650323cfa09e1b15d353de03fb29622dbafdddca3a940604f564016e4d3f7c3c9d00af6778c3db56a801f6b3f8a7
7
+ data.tar.gz: 9ddc5183a852fdb69894e7dddd1babba4991ffa5c9a098d4c4efd21ee98a8ca3a3644d8b176466a6e800edaa1496f1cf40b7a29dbf3c788e5599c82fe39d0587
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.1.0
4
+ - 2.0.0
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # Slackistrano
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/slackistrano.png)](http://badge.fury.io/rb/slackistrano)
4
+ [![Code Climate](https://codeclimate.com/github/supremegolf/slackistrano.png)](https://codeclimate.com/github/supremegolf/slackistrano)
5
+ [![Build Status](https://travis-ci.org/supremegolf/slackistrano.png?branch=master)](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
@@ -7,3 +7,5 @@ Rake::TestTask.new(:test) do |test|
7
7
  test.pattern = 'test/**/test_*.rb'
8
8
  test.verbose = true
9
9
  end
10
+
11
+ task :default => :test
@@ -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 :rails_env, 'production'}."
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 :rails_env, 'production'}."
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),
@@ -1,3 +1,3 @@
1
1
  module Slackistrano
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
@@ -18,5 +18,6 @@ Gem::Specification.new do |gem|
18
18
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
19
19
  gem.require_paths = ["lib"]
20
20
 
21
- gem.add_dependency('json')
21
+ gem.add_dependency 'json'
22
+ gem.add_development_dependency 'rake'
22
23
  end
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.3
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: 2013-12-20 00:00:00.000000000 Z
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