crushserver 0.3.4 → 0.3.5

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/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :build:
3
3
  :minor: 3
4
- :patch: 4
4
+ :patch: 5
5
5
  :major: 0
data/crushserver.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{crushserver}
8
- s.version = "0.3.4"
8
+ s.version = "0.3.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["PJ Kelly", "Mason Browne"]
@@ -62,13 +62,13 @@ Capistrano::Configuration.instance(:must_exist).load do
62
62
  campfire = Tinder::Campfire.new ENV['CAMPFIRE_SUBDOMAIN'], :ssl => true, :token => ENV['CAMPFIRE_TOKEN']
63
63
  room = campfire.find_room_by_name ENV['CAMPFIRE_ROOM']
64
64
  snitch_message = fetch(:snitch_message) { ENV['MESSAGE'] || abort('Capfire snitch message is missing. Use set :snitch_message, "Your message"') }
65
- room.speak(snitch_message)
65
+ room.paste(snitch_message)
66
66
  end
67
67
  end
68
68
 
69
69
  desc "Send a message to the campfire chat room about the deploy start"
70
70
  task :snitch_start do
71
- message = "#{ENV['USER'].upcase} is deploying #{application.upcase}. Please stand by..."
71
+ message = "#{ENV['USER'].upcase} is deploying #{application.upcase} to #{stage.to_s.upcase}. Please stand by..."
72
72
  set :snitch_message, message
73
73
  snitch
74
74
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crushserver
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 4
10
- version: 0.3.4
9
+ - 5
10
+ version: 0.3.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - PJ Kelly