blazing-passenger 0.2.0 → 0.2.1

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.
@@ -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.0'
21
+ s.add_dependency "blazing", '>= 0.2.1'
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
- info "Kickstarting #{@options[:url]}"
10
+ logger.info "Kickstarting #{@options[:url]}"
11
11
  HTTParty.get(@options[:url])
12
12
  else
13
- error "No URL was specified for Passenger Kickstart"
13
+ logger.error "No URL was specified for Passenger Kickstart"
14
14
  end
15
15
  rescue
16
- error "Unable to perform a GET request on #{@options[:url]}"
16
+ logger.error "Unable to perform a GET request on #{@options[:url]}"
17
17
  end
18
18
 
19
19
  end
@@ -4,7 +4,8 @@ class Blazing::Recipe::PassengerRestart < Blazing::Recipe
4
4
 
5
5
  def run(target_options = {})
6
6
  super target_options
7
- info 'Restarting passenger'
7
+
8
+ logger.info 'Restarting passenger'
8
9
  Dir.mkdir('tmp') unless File.exists? 'tmp'
9
10
  system 'touch tmp/restart.txt'
10
11
  end
@@ -1,5 +1,5 @@
1
1
  module Blazing
2
2
  module Passenger
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  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: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Felipe Kaufmann
@@ -23,16 +23,16 @@ dependencies:
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- hash: 23
26
+ hash: 21
27
27
  segments:
28
28
  - 0
29
29
  - 2
30
- - 0
31
- version: 0.2.0
32
- prerelease: false
30
+ - 1
31
+ version: 0.2.1
33
32
  requirement: *id001
34
- type: :runtime
33
+ prerelease: false
35
34
  name: blazing
35
+ type: :runtime
36
36
  - !ruby/object:Gem::Dependency
37
37
  version_requirements: &id002 !ruby/object:Gem::Requirement
38
38
  none: false
@@ -43,10 +43,10 @@ dependencies:
43
43
  segments:
44
44
  - 0
45
45
  version: "0"
46
- prerelease: false
47
46
  requirement: *id002
48
- type: :runtime
47
+ prerelease: false
49
48
  name: httparty
49
+ type: :runtime
50
50
  description: A collection of blazing recipes for passenger
51
51
  email:
52
52
  - felipekaufmann@gmail.com