capistrano-helpers 0.4.3 → 0.4.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.
- data/CHANGELOG.markdown +22 -0
- data/VERSION +1 -1
- data/capistrano-helpers.gemspec +2 -2
- data/lib/capistrano-helpers/campfire.rb +2 -2
- metadata +3 -3
data/CHANGELOG.markdown
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Capistrano-Helpers Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.4
|
|
4
|
+
|
|
5
|
+
Fixed:
|
|
6
|
+
|
|
7
|
+
* Using the newest version of the Tinder gem. At some point the Campfire API changed, so we're changing with it.
|
|
8
|
+
|
|
9
|
+
## 0.4.3
|
|
10
|
+
|
|
11
|
+
Removed:
|
|
12
|
+
|
|
13
|
+
* Functionality to seed roles. This sort of task should be done as a typical migration, not in a Capistrano recipe.
|
|
14
|
+
|
|
15
|
+
## 0.4.2
|
|
16
|
+
|
|
17
|
+
New:
|
|
18
|
+
|
|
19
|
+
* Adding cache folders for a Skyline installation.
|
|
20
|
+
|
|
21
|
+
Fixed:
|
|
22
|
+
|
|
23
|
+
* Misspellings with regards to the SkylineCMS gem fixed.
|
|
24
|
+
|
|
3
25
|
## 0.4.1
|
|
4
26
|
|
|
5
27
|
New:
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.4.
|
|
1
|
+
0.4.4
|
data/capistrano-helpers.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{capistrano-helpers}
|
|
8
|
-
s.version = "0.4.
|
|
8
|
+
s.version = "0.4.4"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Scott Woods"]
|
|
12
|
-
s.date = %q{2010-
|
|
12
|
+
s.date = %q{2010-08-04}
|
|
13
13
|
s.description = %q{A set of optional extensions to capistrano to make common tasks easier.}
|
|
14
14
|
s.email = %q{scott@westarete.com}
|
|
15
15
|
s.extra_rdoc_files = [
|
|
@@ -2,6 +2,7 @@ require File.dirname(__FILE__) + '/../capistrano-helpers' if ! defined?(Capistra
|
|
|
2
2
|
|
|
3
3
|
begin
|
|
4
4
|
# Campfire API gem for deploy notifications.
|
|
5
|
+
gem 'tinder', '>= 1.4.0'
|
|
5
6
|
require 'tinder'
|
|
6
7
|
rescue LoadError
|
|
7
8
|
abort "The campfire helper requires the tinder gem. Install it with: sudo gem install tinder"
|
|
@@ -18,8 +19,7 @@ CapistranoHelpers.with_configuration do
|
|
|
18
19
|
username = `whoami`.chomp
|
|
19
20
|
config_file = fetch(:campfire_config, 'config/campfire.yml')
|
|
20
21
|
config = YAML::load_file(config_file)
|
|
21
|
-
campfire = Tinder::Campfire.new(config['account'])
|
|
22
|
-
campfire.login(config['email'], config['password'])
|
|
22
|
+
campfire = Tinder::Campfire.new(config['account'], :username => config['email'], :password => config['password'])
|
|
23
23
|
room = campfire.find_room_by_name(config['room'])
|
|
24
24
|
room.speak("#{username} just deployed #{application} #{branch} to #{stage}")
|
|
25
25
|
room.leave
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 4
|
|
8
|
-
-
|
|
9
|
-
version: 0.4.
|
|
8
|
+
- 4
|
|
9
|
+
version: 0.4.4
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Scott Woods
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2010-
|
|
17
|
+
date: 2010-08-04 00:00:00 -04:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|