standup 0.3.23 → 0.3.24

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 CHANGED
@@ -1 +1 @@
1
- 0.3.23
1
+ 0.3.24
data/scripts/resque.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  Standup.script :node do
2
2
  def run
3
- scripts.redis.install_from_resque unless File.exists?("/etc/init.d/redis-server")
3
+ scripts.redis.install_from_resque #unless File.exists?("/etc/init.d/redis-server")
4
4
 
5
5
  path_to_resque_exec = "#{scripts.webapp.app_path}/script/resque"
6
6
  upload script_file('resque'),
@@ -3,6 +3,6 @@
3
3
  if [ $1 = "ALL_QUEUES" ];then
4
4
  sudo -u www-data -E QUEUE=* VERBOSE=1 nohup rake environment resque:work& > log/resque_worker_$1_$2.log &
5
5
  else
6
- sudo -u www-data -E QUEUE=$queueName VERBOSE=1 nohup rake environment resque:work& > log/resque_worker_$1_$2.log &
6
+ sudo -u www-data -E QUEUE=$1 VERBOSE=1 nohup rake environment resque:work& > log/resque_worker_$1_$2.log &
7
7
  fi
8
8
  echo $(($! - 1)) > tmp/pids/resque_$1_$2.pid
@@ -1,4 +1,4 @@
1
- <% ((scripts.webapp.params.respond_to?(:resque_queues) && scripts.webapp.params.resque_queues.presence) || {"ALL_QUEUES" => 1 }).each_pair do |queue_name,num_of_workers|%>
1
+ <% ((scripts.webapp.params.has_key?(:resque_queues) && scripts.webapp.params.resque_queues.presence) || {"ALL_QUEUES" => 1 }).each_pair do |queue_name,num_of_workers|%>
2
2
  <%1.upto(num_of_workers) do |num|%>
3
3
  check process resque_<%= queue_name %>_<%= num %>
4
4
  with pidfile <%= scripts.webapp.app_path%>/tmp/pids/resque_<%= queue_name %>_<%=num %>.pid
data/standup.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{standup}
8
- s.version = "0.3.23"
8
+ s.version = "0.3.24"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ilia Ablamonov", "Artem Orlov", "Cloud Castle Inc."]
12
- s.date = %q{2011-03-14}
12
+ s.date = %q{2011-03-22}
13
13
  s.default_executable = %q{standup}
14
14
  s.email = %q{ilia@flamefork.ru}
15
15
  s.executables = ["standup"]
@@ -86,10 +86,11 @@ Gem::Specification.new do |s|
86
86
  ]
87
87
  s.homepage = %q{https://github.com/cloudcastle/standup}
88
88
  s.require_paths = ["lib"]
89
- s.rubygems_version = %q{1.4.2}
89
+ s.rubygems_version = %q{1.3.7}
90
90
  s.summary = %q{Standup is an application deployment and infrastructure management tool for Rails and Amazon EC2}
91
91
 
92
92
  if s.respond_to? :specification_version then
93
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
93
94
  s.specification_version = 3
94
95
 
95
96
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standup
3
3
  version: !ruby/object:Gem::Version
4
- hash: 61
5
- prerelease:
4
+ hash: 35
5
+ prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 23
10
- version: 0.3.23
9
+ - 24
10
+ version: 0.3.24
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ilia Ablamonov
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-03-14 00:00:00 +03:00
20
+ date: 2011-03-22 00:00:00 +03:00
21
21
  default_executable: standup
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
@@ -247,7 +247,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
247
247
  requirements: []
248
248
 
249
249
  rubyforge_project:
250
- rubygems_version: 1.4.2
250
+ rubygems_version: 1.3.7
251
251
  signing_key:
252
252
  specification_version: 3
253
253
  summary: Standup is an application deployment and infrastructure management tool for Rails and Amazon EC2