standup 0.3.24 → 0.3.25

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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/scripts/resque.rb +2 -1
  3. data/standup.gemspec +1 -1
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.24
1
+ 0.3.25
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 sudo('find /etc/init.d/redis-server').match(/No such file or directory/).present?
4
4
 
5
5
  path_to_resque_exec = "#{scripts.webapp.app_path}/script/resque"
6
6
  upload script_file('resque'),
@@ -10,6 +10,7 @@ Standup.script :node do
10
10
  sudo "chmod +x #{path_to_resque_exec}"
11
11
 
12
12
  sudo "mkdir #{scripts.webapp.app_path}/tmp/pids"
13
+ sudo "chown www-data:www-data #{scripts.webapp.app_path}/tmp/pids"
13
14
  with_processed_file script_file('resque_monit.conf') do |file|
14
15
  scripts.monit.add_watch file
15
16
  end
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.24"
8
+ s.version = "0.3.25"
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: 35
4
+ hash: 33
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 24
10
- version: 0.3.24
9
+ - 25
10
+ version: 0.3.25
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ilia Ablamonov