standup 0.3.37 → 0.4.0
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 +1 -1
- data/scripts/resque/resque +1 -1
- data/scripts/webapp.rb +8 -0
- data/standup.gemspec +1 -1
- metadata +4 -4
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.4.0
|
data/scripts/resque/resque
CHANGED
|
@@ -7,4 +7,4 @@ if [ $1 = "ALL_QUEUES" ];then
|
|
|
7
7
|
QUEUE=$1
|
|
8
8
|
fi
|
|
9
9
|
|
|
10
|
-
sudo -
|
|
10
|
+
sudo su -l www-data --command "cd /opt/gs && QUEUE=$QUEUE VERBOSE=1 PIDFILE=tmp/pids/resque_$1_$2.pid nohup bundle exec rake environment resque:work >> log/resque_worker_$1_$2.log 2>&1 &"
|
data/scripts/webapp.rb
CHANGED
|
@@ -80,6 +80,14 @@ Standup.script :node do
|
|
|
80
80
|
end
|
|
81
81
|
end
|
|
82
82
|
|
|
83
|
+
def under_user command
|
|
84
|
+
sudo %Q{su -l www-data --command "cd #{app_path} && #{command}"}
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
def gem_under_user command
|
|
88
|
+
under_user "RAILS_ENV=#{params.rails_env} bundle exec #{command}"
|
|
89
|
+
end
|
|
90
|
+
|
|
83
91
|
protected
|
|
84
92
|
|
|
85
93
|
def ensure_github_access
|
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.
|
|
8
|
+
s.version = "0.4.0"
|
|
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:
|
|
4
|
+
hash: 15
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
version: 0.
|
|
8
|
+
- 4
|
|
9
|
+
- 0
|
|
10
|
+
version: 0.4.0
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Ilia Ablamonov
|