ppane 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -33,7 +33,7 @@ module PassengerPane
33
33
  end
34
34
 
35
35
  def valid?
36
- `#{@configuration.httpd_binary} -t 2>&1`.strip == 'Syntax OK'
36
+ `#{@configuration.httpd_binary} -t 2>&1`.strip.end_with?('Syntax OK')
37
37
  end
38
38
 
39
39
  def restart
@@ -14,7 +14,7 @@ module PassengerPane
14
14
  def info
15
15
  if machine_readable?
16
16
  puts YAML.dump({
17
- 'passenger_module_installed' => @configuration.http.passenger_module_installed?,
17
+ 'passenger_module_installed' => @configuration.httpd.passenger_module_installed?,
18
18
  'passenger_configured' => @configuration.httpd.passenger_configured?
19
19
  })
20
20
  else
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ppane
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Eloy Duran
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-12-14 00:00:00 +01:00
19
+ date: 2010-12-15 00:00:00 +01:00
20
20
  default_executable:
21
21
  dependencies: []
22
22