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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3b360ee4c361f26e4c2182bdd20e4348af835ca7
4
- data.tar.gz: 73c8d8972c066241ae4834a34148ab6ecebfe33f
3
+ metadata.gz: 72244cb52a629d2140ef2b9f99137849ae474bc2
4
+ data.tar.gz: 042c91dbfa74fe63e8230d1f44367459c3cfb0a6
5
5
  SHA512:
6
- metadata.gz: afc6bc62f37962e1f6f9022590d2dc6e7f599dd763f76673cc1f4bb6794c7d126ad595294ae3cdb773d56c22070faff0c6282049a264528fc3c77b95b2e872a5
7
- data.tar.gz: 3a0e28009255950571604c0cc6976b25b37064d077ee908d977c1e0b45f07fc92d5996e8378b2e13d025e7c8ca380529faffe3ad4c37b748673747d566da39f5
6
+ metadata.gz: 59b6ede9dc6577a5914c545680bfb6478a26ea6d88952a8a3a24b51863464320abc9f6c7e38924e00942933ac081bb4d4993ef6fe6d6f7895d160ca4c83b41d3
7
+ data.tar.gz: 6c530be6de9a95c64a143a06bc0e3cfd4cf80b692cdb3f7c76e927deb56802c1a0feed729607804c5531fefa09571176c45a0afa4515671c4878541c30b95391
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.0
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 text: body, content_type: content_type, status: code
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
@@ -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.0 ruby lib
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.0"
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-12"
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.0
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-12 00:00:00.000000000 Z
11
+ date: 2016-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails