hirefireapp 0.0.6 → 0.0.7

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/hirefireapp.gemspec CHANGED
@@ -4,7 +4,7 @@ Gem::Specification.new do |gem|
4
4
 
5
5
  # General configuration / information
6
6
  gem.name = 'hirefireapp'
7
- gem.version = '0.0.6'
7
+ gem.version = '0.0.7'
8
8
  gem.platform = Gem::Platform::RUBY
9
9
  gem.authors = 'Michael van Rooijen'
10
10
  gem.email = 'meskyanichi@gmail.com'
@@ -187,7 +187,7 @@ module HireFireApp
187
187
  # @returns [String]
188
188
  #
189
189
  def test?
190
- @env['PATH_INFO'] == "/hirefireapp/test"
190
+ @env['PATH_INFO'] =~ %r{^/hirefireapp/test/?}
191
191
  end
192
192
 
193
193
  ##
@@ -196,7 +196,7 @@ module HireFireApp
196
196
  # @returns [String]
197
197
  #
198
198
  def info?
199
- @env['PATH_INFO'] == "/hirefireapp/#{@token}/info"
199
+ @env['PATH_INFO'] =~ %r{^/hirefireapp/#{@token}/info/?}
200
200
  end
201
201
 
202
202
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hirefireapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-13 00:00:00.000000000 Z
12
+ date: 2012-03-02 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: HireFireApp.com - The Heroku Process Manager - Autoscaling your web and
15
15
  worker dynos saving you time and money!
@@ -47,7 +47,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
47
47
  version: '0'
48
48
  requirements: []
49
49
  rubyforge_project:
50
- rubygems_version: 1.8.15
50
+ rubygems_version: 1.8.16
51
51
  signing_key:
52
52
  specification_version: 3
53
53
  summary: HireFireApp.com - The Heroku Process Manager - Autoscaling your web and worker