rack-heroku-no-such-app 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7147ca6e94bfd638eeeefbac249528ff88901552
4
- data.tar.gz: a1daf331e4e3af9e834df5cb0cea747c3895257f
3
+ metadata.gz: cff8042dee996fe1c6b0e742eda4369a9848d1c3
4
+ data.tar.gz: cbb6fada3ed43395ae9630a46597883c491445fb
5
5
  SHA512:
6
- metadata.gz: 6e74b1c6b950c21d4dd38a602cf98c895d68ea3c9f0b2928a87fbe88abffd7ff3fef73f4499dd2e86a2ee899ca93e78c5e9b05bbac08e3316b3c557450670336
7
- data.tar.gz: d080c3ed7d434921203603f62ea5fbba41f436d5a3d24d470f6d08d258581b899afcde1e8aa61a89fa2502b9bbbbafd46a45f2bcbeb44dd462c29575387a260a
6
+ metadata.gz: 87070e35899eae5acc01869fe2600f108f4d1214ebe9884c32bac2afd09bae6634b52ea8056894d91b2aa45707709179f7bb18becbdf288d13544833537c4647
7
+ data.tar.gz: 9f28909414f0132025788e834fc6a5cb46318d4fb9552cb8d2e348802338bb6f35ec7ba76906ae6e152d262ee55a5c8a090d8d737872faca8ceac97f11da410f
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rack-heroku-no-such-app (0.0.1)
4
+ rack-heroku-no-such-app (0.0.2)
5
5
  rack (>= 1.2.0, <= 2.0.0)
6
6
 
7
7
  GEM
@@ -1,7 +1,7 @@
1
1
  module Rack
2
2
  module Heroku
3
3
  class NoSuchApp
4
- VERSION = "0.0.1"
4
+ VERSION = "0.0.2"
5
5
 
6
6
  HEROKUAPP_DOMAIN_REGEXP = /.+\.heroku(app)?\.com/
7
7
 
@@ -11,7 +11,7 @@ module Rack
11
11
 
12
12
  def call(env)
13
13
  if HEROKUAPP_DOMAIN_REGEXP === (env['HTTP_HOST'] || env['SERVER_NAME'])
14
- return [404, headers, body]
14
+ return [404, headers, [body]]
15
15
  end
16
16
 
17
17
  @app.call(env)
@@ -123,4 +123,4 @@ module Rack
123
123
  end
124
124
  end
125
125
  end
126
- end
126
+ end
metadata CHANGED
@@ -1,20 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-heroku-no-such-app
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mattt Thompson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-03-22 00:00:00.000000000 Z
11
+ date: 2013-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.2.0
20
20
  - - <=
@@ -24,7 +24,7 @@ dependencies:
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - ! '>='
27
+ - - '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: 1.2.0
30
30
  - - <=
@@ -70,6 +70,7 @@ files:
70
70
  - ./Gemfile.lock
71
71
  - ./lib/rack/heroku/no-such-app.rb
72
72
  - ./LICENSE
73
+ - ./rack-heroku-no-such-app-0.0.1.gem
73
74
  - ./rack-heroku-no-such-app.gemspec
74
75
  - ./Rakefile
75
76
  - ./README.md
@@ -83,12 +84,12 @@ require_paths:
83
84
  - lib
84
85
  required_ruby_version: !ruby/object:Gem::Requirement
85
86
  requirements:
86
- - - ! '>='
87
+ - - '>='
87
88
  - !ruby/object:Gem::Version
88
89
  version: '0'
89
90
  required_rubygems_version: !ruby/object:Gem::Requirement
90
91
  requirements:
91
- - - ! '>='
92
+ - - '>='
92
93
  - !ruby/object:Gem::Version
93
94
  version: '0'
94
95
  requirements: []