blazing-passenger 0.2.1 → 0.2.2

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.1'
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
- logger.info "Kickstarting #{@options[:url]}"
10
+ info "Kickstarting #{@options[:url]}"
11
11
  HTTParty.get(@options[:url])
12
12
  else
13
- logger.error "No URL was specified for Passenger Kickstart"
13
+ error "No URL was specified for Passenger Kickstart"
14
14
  end
15
15
  rescue
16
- logger.error "Unable to perform a GET request on #{@options[:url]}"
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
- logger.info 'Restarting passenger'
8
+ info 'Restarting passenger'
9
9
  Dir.mkdir('tmp') unless File.exists? 'tmp'
10
10
  system 'touch tmp/restart.txt'
11
11
  end
@@ -1,5 +1,5 @@
1
1
  module Blazing
2
2
  module Passenger
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
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: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 1
10
- version: 0.2.1
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-10-27 00:00:00 Z
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: 21
26
+ hash: 31
27
27
  segments:
28
28
  - 0
29
29
  - 2
30
- - 1
31
- version: 0.2.1
30
+ - 4
31
+ version: 0.2.4
32
32
  requirement: *id001
33
33
  prerelease: false
34
34
  name: blazing