capistrano-slack 1.1.3

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f57ba393054b11d3d3a4195000fa59ba18a9909c
4
+ data.tar.gz: e26baf721b34525656df09f8533faf834b93e126
5
+ SHA512:
6
+ metadata.gz: 11ba6179f181c92339afbd44aad1467ae1d09fb2365702d7c657a826b87cb8e8698d738e2a52b918af4d5cb0ce5dd48476de2cba3f460d3166fdeef8a0c9d993
7
+ data.tar.gz: 2c01a51f20303675f948941b23566b03240a39dc3b2e3792ad65c925d3032f58bd536fde7194f2a0caa3db678cb89725d6a3b6fad460fb4b5d78477104dbb825
data/.document ADDED
@@ -0,0 +1,11 @@
1
+ # .document is used by rdoc and yard to know how to generate documentation
2
+ # for example, it can be used to control how rdoc gets built when you do `gem install foo`
3
+
4
+ README.rdoc
5
+ lib/**/*.rb
6
+ bin/*
7
+
8
+ # Files below this - are treated as 'extra files', and aren't parsed for ruby code
9
+ -
10
+ features/**/*.feature
11
+ LICENSE
data/Gemfile ADDED
@@ -0,0 +1,13 @@
1
+ source :gemcutter
2
+
3
+ gem "capistrano"
4
+ gem "capistrano-log_with_awesome", "~> 0.0.2"
5
+
6
+ group :development do
7
+ gem "rspec", ">= 2.5.0"
8
+ gem "bundler", ">= 1.0.9"
9
+ gem "jeweler", "~> 1.8.0"
10
+ gem "capistrano-spec"
11
+ gem "yard"
12
+ gem "bluecloth" # for README.markdown
13
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,85 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ bluecloth (2.2.0)
5
+ capistrano (2.13.4)
6
+ highline
7
+ net-scp (>= 1.0.0)
8
+ net-sftp (>= 2.0.0)
9
+ net-ssh (>= 2.0.14)
10
+ net-ssh-gateway (>= 1.1.0)
11
+ capistrano-campfire (0.2.0)
12
+ capistrano
13
+ tinder
14
+ capistrano-log_with_awesome (0.0.2)
15
+ capistrano (>= 2.5.14)
16
+ capistrano-spec (0.1.0)
17
+ diff-lcs (1.1.3)
18
+ eventmachine (1.0.0)
19
+ faraday (0.8.4)
20
+ multipart-post (~> 1.1)
21
+ faraday_middleware (0.8.8)
22
+ faraday (>= 0.7.4, < 0.9)
23
+ git (1.2.5)
24
+ hashie (1.2.0)
25
+ highline (1.6.15)
26
+ http_parser.rb (0.5.3)
27
+ jeweler (1.8.4)
28
+ bundler (~> 1.0)
29
+ git (>= 1.2.5)
30
+ rake
31
+ rdoc
32
+ jruby-pageant (1.1.1)
33
+ json (1.7.5)
34
+ mime-types (1.19)
35
+ multi_json (1.3.6)
36
+ multipart-post (1.1.5)
37
+ net-scp (1.0.4)
38
+ net-ssh (>= 1.99.1)
39
+ net-sftp (2.0.5)
40
+ net-ssh (>= 2.0.9)
41
+ net-ssh (2.6.0)
42
+ jruby-pageant (>= 1.1.1)
43
+ net-ssh-gateway (1.1.0)
44
+ net-ssh (>= 1.99.1)
45
+ rake (0.9.2.2)
46
+ rdoc (3.12)
47
+ json (~> 1.4)
48
+ rspec (2.11.0)
49
+ rspec-core (~> 2.11.0)
50
+ rspec-expectations (~> 2.11.0)
51
+ rspec-mocks (~> 2.11.0)
52
+ rspec-core (2.11.1)
53
+ rspec-expectations (2.11.3)
54
+ diff-lcs (~> 1.1.3)
55
+ rspec-mocks (2.11.3)
56
+ simple_oauth (0.1.9)
57
+ tinder (1.9.1)
58
+ eventmachine (>= 0.12.0, < 2)
59
+ faraday (~> 0.8)
60
+ faraday_middleware (~> 0.8)
61
+ hashie (~> 1.0)
62
+ json (~> 1.6)
63
+ mime-types (~> 1.16)
64
+ multi_json (~> 1.0)
65
+ multipart-post (~> 1.1)
66
+ twitter-stream (~> 0.1)
67
+ twitter-stream (0.1.16)
68
+ eventmachine (>= 0.12.8)
69
+ http_parser.rb (~> 0.5.1)
70
+ simple_oauth (~> 0.1.4)
71
+ yard (0.8.3)
72
+
73
+ PLATFORMS
74
+ ruby
75
+
76
+ DEPENDENCIES
77
+ bluecloth
78
+ bundler (>= 1.0.9)
79
+ capistrano
80
+ capistrano-campfire (~> 0.2.0)
81
+ capistrano-log_with_awesome (~> 0.0.2)
82
+ capistrano-spec
83
+ jeweler (~> 1.8.0)
84
+ rspec (>= 2.5.0)
85
+ yard
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2010 Joshua Nichols
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.markdown ADDED
@@ -0,0 +1,12 @@
1
+ # Capistrano Slack
2
+
3
+ Push deployment messages to Slack
4
+
5
+
6
+ ```ruby
7
+
8
+ require 'capistrano/slack'
9
+ set :slack_token, "webhook_token" # comes from inbound webhook integration
10
+ set :slack_room, "#general"
11
+
12
+ ```
data/Rakefile ADDED
@@ -0,0 +1,34 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+ begin
4
+ Bundler.setup(:default, :development)
5
+ rescue Bundler::BundlerError => e
6
+ $stderr.puts e.message
7
+ $stderr.puts "Run `bundle install` to install missing gems"
8
+ exit e.status_code
9
+ end
10
+ require 'rake'
11
+
12
+ require 'jeweler'
13
+ Jeweler::Tasks.new do |gem|
14
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
15
+ gem.name = "capistrano-mountaintop"
16
+ gem.summary = %Q{Announce capistrano deploys from a mountaintop with campfire}
17
+ gem.description = %Q{Announce capistrano deploys from a mountaintop with campfire}
18
+ gem.email = "josh@technicalpickles.com"
19
+ gem.homepage = "http://github.com/technicalpickles/capistrano-mountaintop"
20
+ gem.authors = ["Joshua Nichols"]
21
+ gem.version = "1.1.3"
22
+ end
23
+ Jeweler::RubygemsDotOrgTasks.new
24
+
25
+ require 'rspec/core'
26
+ require 'rspec/core/rake_task'
27
+ RSpec::Core::RakeTask.new(:spec) do |spec|
28
+ spec.pattern = FileList['spec/**/*_spec.rb']
29
+ end
30
+
31
+ task :default => :spec
32
+
33
+ require 'yard'
34
+ YARD::Rake::YardocTask.new
@@ -0,0 +1,71 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "capistrano-slack"
8
+ s.version = "1.1.3"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Joshua Nichols", "Justin McNally"]
12
+ s.date = "2012-12-10"
13
+ s.description = "Announce capistrano deploys to slack"
14
+ s.email = "josh@technicalpickles.com justin@kohactive.com"
15
+ s.extra_rdoc_files = [
16
+ "LICENSE",
17
+ "README.markdown"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ "Gemfile",
22
+ "Gemfile.lock",
23
+ "LICENSE",
24
+ "README.markdown",
25
+ "Rakefile",
26
+ "capistrano-slack.gemspec",
27
+ "lib/capistrano-slack.rb",
28
+ "spec/.rspec",
29
+ "spec/capistrano-slack_spec.rb",
30
+ "spec/spec_helper.rb",
31
+ "spec/support/capistrano.rb"
32
+ ]
33
+ s.homepage = "http://github.com/j-mcnally/capistrano-slack"
34
+ s.require_paths = ["lib"]
35
+ s.rubygems_version = "1.8.23"
36
+ s.summary = "Announce capistrano deploys to slack"
37
+
38
+ if s.respond_to? :specification_version then
39
+ s.specification_version = 3
40
+
41
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
42
+ s.add_runtime_dependency(%q<capistrano>, [">= 0"])
43
+ s.add_runtime_dependency(%q<capistrano-log_with_awesome>, ["~> 0.0.2"])
44
+ s.add_development_dependency(%q<rspec>, [">= 2.5.0"])
45
+ s.add_development_dependency(%q<bundler>, [">= 1.0.9"])
46
+ s.add_development_dependency(%q<jeweler>, ["~> 1.8.0"])
47
+ s.add_development_dependency(%q<capistrano-spec>, [">= 0"])
48
+ s.add_development_dependency(%q<yard>, [">= 0"])
49
+ s.add_development_dependency(%q<bluecloth>, [">= 0"])
50
+ else
51
+ s.add_dependency(%q<capistrano>, [">= 0"])
52
+ s.add_dependency(%q<capistrano-log_with_awesome>, ["~> 0.0.2"])
53
+ s.add_dependency(%q<rspec>, [">= 2.5.0"])
54
+ s.add_dependency(%q<bundler>, [">= 1.0.9"])
55
+ s.add_dependency(%q<jeweler>, ["~> 1.8.0"])
56
+ s.add_dependency(%q<capistrano-spec>, [">= 0"])
57
+ s.add_dependency(%q<yard>, [">= 0"])
58
+ s.add_dependency(%q<bluecloth>, [">= 0"])
59
+ end
60
+ else
61
+ s.add_dependency(%q<capistrano>, [">= 0"])
62
+ s.add_dependency(%q<capistrano-log_with_awesome>, ["~> 0.0.2"])
63
+ s.add_dependency(%q<rspec>, [">= 2.5.0"])
64
+ s.add_dependency(%q<bundler>, [">= 1.0.9"])
65
+ s.add_dependency(%q<jeweler>, ["~> 1.8.0"])
66
+ s.add_dependency(%q<capistrano-spec>, [">= 0"])
67
+ s.add_dependency(%q<yard>, [">= 0"])
68
+ s.add_dependency(%q<bluecloth>, [">= 0"])
69
+ end
70
+ end
71
+
@@ -0,0 +1 @@
1
+ require 'capistrano/slack'
data/spec/.rspec ADDED
@@ -0,0 +1 @@
1
+ --color
File without changes
@@ -0,0 +1,21 @@
1
+ require 'bundler'
2
+ begin
3
+ Bundler.setup(:default, :development)
4
+ rescue Bundler::BundlerError => e
5
+ $stderr.puts e.message
6
+ $stderr.puts "Run `bundle install` to install missing gems"
7
+ exit e.status_code
8
+ end
9
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
10
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
11
+ require 'capistrano-mountaintop'
12
+ require 'rspec'
13
+ require 'rspec/autorun'
14
+
15
+ # Requires supporting files with custom matchers and macros, etc,
16
+ # in ./support/ and its subdirectories.
17
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
18
+
19
+ RSpec.configure do |config|
20
+
21
+ end
@@ -0,0 +1,6 @@
1
+ require 'capistrano/spec'
2
+
3
+ RSpec.configure do |config|
4
+ config.include Capistrano::Spec::Helpers
5
+ config.include Capistrano::Spec::Matchers
6
+ end
metadata ADDED
@@ -0,0 +1,170 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: capistrano-slack
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.3
5
+ platform: ruby
6
+ authors:
7
+ - Joshua Nichols
8
+ - Justin McNally
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-12-10 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: capistrano
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - '>='
19
+ - !ruby/object:Gem::Version
20
+ version: '0'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - '>='
26
+ - !ruby/object:Gem::Version
27
+ version: '0'
28
+ - !ruby/object:Gem::Dependency
29
+ name: capistrano-log_with_awesome
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ~>
33
+ - !ruby/object:Gem::Version
34
+ version: 0.0.2
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ~>
40
+ - !ruby/object:Gem::Version
41
+ version: 0.0.2
42
+ - !ruby/object:Gem::Dependency
43
+ name: rspec
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - '>='
47
+ - !ruby/object:Gem::Version
48
+ version: 2.5.0
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - '>='
54
+ - !ruby/object:Gem::Version
55
+ version: 2.5.0
56
+ - !ruby/object:Gem::Dependency
57
+ name: bundler
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - '>='
61
+ - !ruby/object:Gem::Version
62
+ version: 1.0.9
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - '>='
68
+ - !ruby/object:Gem::Version
69
+ version: 1.0.9
70
+ - !ruby/object:Gem::Dependency
71
+ name: jeweler
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ~>
75
+ - !ruby/object:Gem::Version
76
+ version: 1.8.0
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ~>
82
+ - !ruby/object:Gem::Version
83
+ version: 1.8.0
84
+ - !ruby/object:Gem::Dependency
85
+ name: capistrano-spec
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - '>='
89
+ - !ruby/object:Gem::Version
90
+ version: '0'
91
+ type: :development
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - '>='
96
+ - !ruby/object:Gem::Version
97
+ version: '0'
98
+ - !ruby/object:Gem::Dependency
99
+ name: yard
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - '>='
103
+ - !ruby/object:Gem::Version
104
+ version: '0'
105
+ type: :development
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - '>='
110
+ - !ruby/object:Gem::Version
111
+ version: '0'
112
+ - !ruby/object:Gem::Dependency
113
+ name: bluecloth
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - '>='
117
+ - !ruby/object:Gem::Version
118
+ version: '0'
119
+ type: :development
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ description: Announce capistrano deploys to slack
127
+ email: josh@technicalpickles.com justin@kohactive.com
128
+ executables: []
129
+ extensions: []
130
+ extra_rdoc_files:
131
+ - LICENSE
132
+ - README.markdown
133
+ files:
134
+ - .document
135
+ - Gemfile
136
+ - Gemfile.lock
137
+ - LICENSE
138
+ - README.markdown
139
+ - Rakefile
140
+ - capistrano-slack.gemspec
141
+ - lib/capistrano-slack.rb
142
+ - spec/.rspec
143
+ - spec/capistrano-slack_spec.rb
144
+ - spec/spec_helper.rb
145
+ - spec/support/capistrano.rb
146
+ homepage: http://github.com/j-mcnally/capistrano-slack
147
+ licenses: []
148
+ metadata: {}
149
+ post_install_message:
150
+ rdoc_options: []
151
+ require_paths:
152
+ - lib
153
+ required_ruby_version: !ruby/object:Gem::Requirement
154
+ requirements:
155
+ - - '>='
156
+ - !ruby/object:Gem::Version
157
+ version: '0'
158
+ required_rubygems_version: !ruby/object:Gem::Requirement
159
+ requirements:
160
+ - - '>='
161
+ - !ruby/object:Gem::Version
162
+ version: '0'
163
+ requirements: []
164
+ rubyforge_project:
165
+ rubygems_version: 2.1.10
166
+ signing_key:
167
+ specification_version: 3
168
+ summary: Announce capistrano deploys to slack
169
+ test_files: []
170
+ has_rdoc: