rails_reroute 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/lib/rails_reroute.rb CHANGED
@@ -12,11 +12,13 @@ module RailsReroute
12
12
 
13
13
  def reroute_default_variables
14
14
  %w( CONTENT_TYPE CONTENT_LENGTH
15
- HTTPS AUTH_TYPE GATEWAY_INTERFACE
15
+ HTTPS AUTH_TYPE HTTP_COOKIE GATEWAY_INTERFACE
16
16
  PATH_INFO PATH_TRANSLATED QUERY_STRING
17
17
  REMOTE_ADDR REMOTE_HOST REMOTE_IDENT REMOTE_USER
18
18
  REQUEST_METHOD SCRIPT_NAME
19
- SERVER_NAME SERVER_PORT SERVER_PROTOCOL SERVER_SOFTWARE )
19
+ SERVER_NAME SERVER_PORT SERVER_PROTOCOL SERVER_SOFTWARE
20
+ HTTP_TE HTTP_CONNECTION HTTP_ACCEPT_ENCODING HTTP_AKAMAI_ORIGIN_HOP HTTP_VIA HTTP_X_AKAMAI_EDGESCAPE
21
+ HTTP_X_FORWARDED_FOR HTTP_TRUE_CLIENT_IP HTTP_HOST HTTP_CACHE_CONTROL )
20
22
  end
21
23
 
22
24
  def reroute_new_env new_route
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "rails_reroute"
3
- s.version = "0.2.1"
3
+ s.version = "0.2.2"
4
4
 
5
5
  s.authors = ["Nathaniel Barnes"]
6
6
  s.email = ["Nathaniel.R.Barnes@gmail.com"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_reroute
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
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: 2013-03-20 00:00:00.000000000 Z
12
+ date: 2013-03-28 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Reroute rails requests fully
15
15
  email:
@@ -45,9 +45,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
45
45
  version: '0'
46
46
  requirements: []
47
47
  rubyforge_project: rails_reroute
48
- rubygems_version: 1.8.24
48
+ rubygems_version: 1.8.25
49
49
  signing_key:
50
50
  specification_version: 3
51
51
  summary: Reroute rails requests fully
52
52
  test_files: []
53
- has_rdoc: