rails_pwnerer 0.6.50 → 0.6.51

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,5 @@
1
+ v0.6.51. Added correct HTTP header for forwarded SSL connections.
2
+
1
3
  v0.6.50. SSL support in nginx configuration.
2
4
 
3
5
  v0.6.49. Re-added Ruby extension compiling support that somehow disappeared.
@@ -52,6 +52,7 @@ class RailsPwnage::App::NginxConfig
52
52
 
53
53
  proxy_set_header X-Real-IP $remote_addr;
54
54
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
55
+ #{app_config[:ssl_key] ? 'proxy_set_header X-Forwarded-Proto https;' : ''}
55
56
  proxy_set_header Host $host;
56
57
  proxy_redirect off;
57
58
  proxy_connect_timeout 2;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{rails_pwnerer}
5
- s.version = "0.6.50"
5
+ s.version = "0.6.51"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Victor Costan"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_pwnerer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.50
4
+ version: 0.6.51
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Costan