phrender 0.0.4 → 0.0.5

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: b96308369f23f0406077cd841d61a9684bcf6234
4
- data.tar.gz: 74d56dfdabc690a2264bf0908325540479714267
3
+ metadata.gz: 47d4b36020ece195af1610871c7c03f59c88f70c
4
+ data.tar.gz: c792fd2d7031a0340e753d8c7b333398f087d827
5
5
  SHA512:
6
- metadata.gz: 60db2ffcb552290277c03a2b925ca00665a42d59f7d4612eb5c8285b899715a8bd0e603bdfe3f417cfa33ca585ddfa13e42bca39b254bbd3d0362491a6991145
7
- data.tar.gz: 80c930f11873323c67443f697810b3aeb37e7991f0b5cafa79ab45786f69cbe26b91b359d631fb8df6f0362ea792a8426e6d70eefe4fde979bef830fd372609d
6
+ metadata.gz: fe43ec9413a72be0ffa9c9a3d0dc577b836fdf9dfd486a2833736418ebefdd06e75d25b9cc071ec97a3029bf61767d54ce7c25affdb5be9459e8062b21abbfcd
7
+ data.tar.gz: e0549a501f557463805d25c6099620c77e86a38c401e5ebfb32b96e51850ec30ef7963118e101aa6a18cdb4c20dd9065cc1878ff075c8aa015ba27b4fd78abeb
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.0.5
2
+ - Don't send the phrender header arbitrarily. Only send it when we're
3
+ legitimately looking for a file for phrender.
4
+
1
5
  # 0.0.4
2
6
  - Don't blow up if there is no user-agent string when using rack middleware.
3
7
  - Pass a 'phrender_request' header to upstream middleware.
@@ -14,8 +14,6 @@ class Phrender::RackMiddleware
14
14
  def call(env)
15
15
  @req = Rack::Request.new(env)
16
16
 
17
- @req.update_param :phrender_request, 'true'
18
-
19
17
  # Check if the next middleware can handle the request
20
18
  status, headers, body = @app.call(@req.env)
21
19
 
@@ -1,3 +1,3 @@
1
1
  class Phrender
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phrender
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - M Smart, theScore Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-07 00:00:00.000000000 Z
11
+ date: 2014-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack