blazing-passenger 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
data/blazing-passenger.gemspec
CHANGED
@@ -18,6 +18,6 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
19
|
s.require_paths = ["lib"]
|
20
20
|
|
21
|
-
s.add_dependency "blazing", '>= 0.2.
|
21
|
+
s.add_dependency "blazing", '>= 0.2.4'
|
22
22
|
s.add_dependency "httparty"
|
23
23
|
end
|
@@ -7,13 +7,13 @@ class Blazing::Recipe::PassengerKickstart < Blazing::Recipe
|
|
7
7
|
super target_options
|
8
8
|
|
9
9
|
if @options && @options.has_key?(:url)
|
10
|
-
|
10
|
+
info "Kickstarting #{@options[:url]}"
|
11
11
|
HTTParty.get(@options[:url])
|
12
12
|
else
|
13
|
-
|
13
|
+
error "No URL was specified for Passenger Kickstart"
|
14
14
|
end
|
15
15
|
rescue
|
16
|
-
|
16
|
+
error "Unable to perform a GET request on #{@options[:url]}"
|
17
17
|
end
|
18
18
|
|
19
19
|
end
|
@@ -5,7 +5,7 @@ class Blazing::Recipe::PassengerRestart < Blazing::Recipe
|
|
5
5
|
def run(target_options = {})
|
6
6
|
super target_options
|
7
7
|
|
8
|
-
|
8
|
+
info 'Restarting passenger'
|
9
9
|
Dir.mkdir('tmp') unless File.exists? 'tmp'
|
10
10
|
system 'touch tmp/restart.txt'
|
11
11
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blazing-passenger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 2
|
10
|
+
version: 0.2.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Felipe Kaufmann
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-11-09 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
@@ -23,12 +23,12 @@ dependencies:
|
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
hash:
|
26
|
+
hash: 31
|
27
27
|
segments:
|
28
28
|
- 0
|
29
29
|
- 2
|
30
|
-
-
|
31
|
-
version: 0.2.
|
30
|
+
- 4
|
31
|
+
version: 0.2.4
|
32
32
|
requirement: *id001
|
33
33
|
prerelease: false
|
34
34
|
name: blazing
|