capistrano-blaze 0.0.1 → 0.0.2
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.
data/README.md
CHANGED
data/lib/capistrano/blaze.rb
CHANGED
@@ -24,6 +24,14 @@ module Capistrano
|
|
24
24
|
res = Net::HTTP.start("#{@config.account}.campfirenow.com", port, :use_ssl => @config.ssl) do |http|
|
25
25
|
http.request(req)
|
26
26
|
end
|
27
|
+
|
28
|
+
if res.is_a?(Net::HTTPSuccess)
|
29
|
+
puts "Campfire message sent!"
|
30
|
+
else
|
31
|
+
puts "Campfire communication failed!"
|
32
|
+
puts res.inspect
|
33
|
+
puts res.body.inspect
|
34
|
+
end
|
27
35
|
end
|
28
36
|
|
29
37
|
def failure(context, exception)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-blaze
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-03-29 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement: &
|
16
|
+
requirement: &70096650930420 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '2.9'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70096650930420
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: webmock
|
27
|
-
requirement: &
|
27
|
+
requirement: &70096650929920 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: 1.8.4
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70096650929920
|
36
36
|
description: A simple campfire plugin for capistrano
|
37
37
|
email:
|
38
38
|
- iain@iain.nl
|
@@ -49,8 +49,8 @@ files:
|
|
49
49
|
- Rakefile
|
50
50
|
- capistrano-blaze.gemspec
|
51
51
|
- lib/capistrano/blaze.rb
|
52
|
+
- lib/capistrano/blaze/recipes.rb
|
52
53
|
- lib/capistrano/blaze/version.rb
|
53
|
-
- lib/capistrano/recipes.rb
|
54
54
|
- spec/camp_spec.rb
|
55
55
|
homepage: https://github.com/iain/capistrano-blaze
|
56
56
|
licenses: []
|