rails-reverse-proxy 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/reverse_proxy/controller.rb +3 -3
- data/rails-reverse-proxy.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72244cb52a629d2140ef2b9f99137849ae474bc2
|
4
|
+
data.tar.gz: 042c91dbfa74fe63e8230d1f44367459c3cfb0a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59b6ede9dc6577a5914c545680bfb6478a26ea6d88952a8a3a24b51863464320abc9f6c7e38924e00942933ac081bb4d4993ef6fe6d6f7895d160ca4c83b41d3
|
7
|
+
data.tar.gz: 6c530be6de9a95c64a143a06bc0e3cfd4cf80b692cdb3f7c76e927deb56802c1a0feed729607804c5531fefa09571176c45a0afa4515671c4878541c30b95391
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.1
|
@@ -49,14 +49,14 @@ module ReverseProxy
|
|
49
49
|
if content_type and content_type.match /image/
|
50
50
|
send_data body, content_type: content_type, disposition: "inline", status: code
|
51
51
|
else
|
52
|
-
render
|
52
|
+
render body: body, content_type: content_type, status: code
|
53
53
|
end
|
54
54
|
end
|
55
55
|
|
56
56
|
yield(config) if block_given?
|
57
57
|
end
|
58
58
|
|
59
|
-
client.request(env, options)
|
59
|
+
client.request(request.env, options)
|
60
60
|
end
|
61
61
|
end
|
62
|
-
end
|
62
|
+
end
|
data/rails-reverse-proxy.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: rails-reverse-proxy 0.7.
|
5
|
+
# stub: rails-reverse-proxy 0.7.1 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "rails-reverse-proxy"
|
9
|
-
s.version = "0.7.
|
9
|
+
s.version = "0.7.1"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["James Hu"]
|
14
|
-
s.date = "2016-10-
|
14
|
+
s.date = "2016-10-28"
|
15
15
|
s.description = "Reverse proxy for Ruby on Rails"
|
16
16
|
s.email = "hello@james.hu"
|
17
17
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-reverse-proxy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Hu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|