standup 0.3.22 → 0.3.23

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.22
1
+ 0.3.23
@@ -1,13 +1,8 @@
1
1
  #!/bin/bash
2
2
 
3
- queueName=$1
4
- if $queueName = 'ALL_QUEUES';then
5
- $queueName = '*'
3
+ if [ $1 = "ALL_QUEUES" ];then
4
+ sudo -u www-data -E QUEUE=* VERBOSE=1 nohup rake environment resque:work& > log/resque_worker_$1_$2.log &
5
+ else
6
+ sudo -u www-data -E QUEUE=$queueName VERBOSE=1 nohup rake environment resque:work& > log/resque_worker_$1_$2.log &
6
7
  fi
7
-
8
-
9
- sudo -u www-data -E QUEUE=$queueName VERBOSE=1 nohup rake environment resque:work& > log/resque_worker_$1_$2.log &
10
-
11
- echo $(($! - 1)) > tmp/pids/resque_$1_$2.pid
12
-
13
-
8
+ echo $(($! - 1)) > tmp/pids/resque_$1_$2.pid
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
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'),
data/standup.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{standup}
8
- s.version = "0.3.22"
8
+ s.version = "0.3.23"
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."]
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: 63
4
+ hash: 61
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 22
10
- version: 0.3.22
9
+ - 23
10
+ version: 0.3.23
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ilia Ablamonov