rails-reverse-proxy 0.1.0 → 0.2.0

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: 67630ceeaa4f695dfeca3e2632a99a5a7900ca1d
4
- data.tar.gz: 1d0b65c5203afa612fcc1376362d0a1253abd687
3
+ metadata.gz: b1d8b5386de12cb1632fd0b2f77a97f1c991b14c
4
+ data.tar.gz: a56ccdfd34e5225ef9d1bf3406792449bf2f36e2
5
5
  SHA512:
6
- metadata.gz: bed344464210aecdaf54c06b01c1f788972784b478b09d40aecbb426d8b3dcdac2a1e0261fefd6b7d872b9c971e664e079c1cc99d1de8ddd1ef998d01572831d
7
- data.tar.gz: e49e00eac285cc13a2a42c0e312171bf1329f1e16420badf5e6450a0b54a0b974d6100beed5696cb255d22b6d48a485ca8df9d8c0067ae4fab707d8e6f875901
6
+ metadata.gz: 3d1716ca8e4e883e119965ecf6774b08607c375c547346113206c9c1a0f6a7f6907ed996aa79c52468d3c1d7a8a1ed3db32c9fe078730e03262722461bf85e1b
7
+ data.tar.gz: 8ff3bba143438552acd94d09d10de53021aa6cb853a541e0949d5f0451d22d9a2fee4bc7b328ee374f45d07e74c230b5cae478d86c382222f6bf3aee8e199752
data/Gemfile CHANGED
@@ -1,7 +1,9 @@
1
1
  source "http://rubygems.org"
2
- # Add dependencies required to use your gem here.
3
- # Example:
4
- # gem "activesupport", ">= 2.3.5"
2
+
3
+ gem 'rails'
4
+ gem 'rack'
5
+ gem 'rack-proxy'
6
+ gem 'addressable'
5
7
 
6
8
  # Add dependencies to develop your gem here.
7
9
  # Include everything needed to run rake, tests, features, etc.
data/Gemfile.lock CHANGED
@@ -1,6 +1,35 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
+ actionmailer (4.2.1)
5
+ actionpack (= 4.2.1)
6
+ actionview (= 4.2.1)
7
+ activejob (= 4.2.1)
8
+ mail (~> 2.5, >= 2.5.4)
9
+ rails-dom-testing (~> 1.0, >= 1.0.5)
10
+ actionpack (4.2.1)
11
+ actionview (= 4.2.1)
12
+ activesupport (= 4.2.1)
13
+ rack (~> 1.6)
14
+ rack-test (~> 0.6.2)
15
+ rails-dom-testing (~> 1.0, >= 1.0.5)
16
+ rails-html-sanitizer (~> 1.0, >= 1.0.1)
17
+ actionview (4.2.1)
18
+ activesupport (= 4.2.1)
19
+ builder (~> 3.1)
20
+ erubis (~> 2.7.0)
21
+ rails-dom-testing (~> 1.0, >= 1.0.5)
22
+ rails-html-sanitizer (~> 1.0, >= 1.0.1)
23
+ activejob (4.2.1)
24
+ activesupport (= 4.2.1)
25
+ globalid (>= 0.3.0)
26
+ activemodel (4.2.1)
27
+ activesupport (= 4.2.1)
28
+ builder (~> 3.1)
29
+ activerecord (4.2.1)
30
+ activemodel (= 4.2.1)
31
+ activesupport (= 4.2.1)
32
+ arel (~> 6.0)
4
33
  activesupport (4.2.1)
5
34
  i18n (~> 0.7)
6
35
  json (~> 1.7, >= 1.7.7)
@@ -8,10 +37,12 @@ GEM
8
37
  thread_safe (~> 0.3, >= 0.3.4)
9
38
  tzinfo (~> 1.1)
10
39
  addressable (2.3.8)
40
+ arel (6.0.0)
11
41
  builder (3.2.2)
12
42
  descendants_tracker (0.0.4)
13
43
  thread_safe (~> 0.3, >= 0.3.1)
14
44
  docile (1.1.5)
45
+ erubis (2.7.0)
15
46
  faraday (0.9.1)
16
47
  multipart-post (>= 1.2, < 3)
17
48
  git (1.2.9.1)
@@ -23,6 +54,8 @@ GEM
23
54
  multi_json (>= 1.7.5, < 2.0)
24
55
  nokogiri (~> 1.6.3)
25
56
  oauth2
57
+ globalid (0.3.5)
58
+ activesupport (>= 4.1.0)
26
59
  hashie (3.4.2)
27
60
  highline (1.7.2)
28
61
  i18n (0.7.0)
@@ -37,6 +70,11 @@ GEM
37
70
  rdoc
38
71
  json (1.8.3)
39
72
  jwt (1.5.0)
73
+ loofah (2.0.2)
74
+ nokogiri (>= 1.5.9)
75
+ mail (2.6.3)
76
+ mime-types (>= 1.16, < 3)
77
+ mime-types (2.6.1)
40
78
  mini_portile (0.6.2)
41
79
  minitest (5.7.0)
42
80
  multi_json (1.11.0)
@@ -51,6 +89,34 @@ GEM
51
89
  multi_xml (~> 0.5)
52
90
  rack (~> 1.2)
53
91
  rack (1.6.1)
92
+ rack-proxy (0.5.17)
93
+ rack
94
+ rack-test (0.6.3)
95
+ rack (>= 1.0)
96
+ rails (4.2.1)
97
+ actionmailer (= 4.2.1)
98
+ actionpack (= 4.2.1)
99
+ actionview (= 4.2.1)
100
+ activejob (= 4.2.1)
101
+ activemodel (= 4.2.1)
102
+ activerecord (= 4.2.1)
103
+ activesupport (= 4.2.1)
104
+ bundler (>= 1.3.0, < 2.0)
105
+ railties (= 4.2.1)
106
+ sprockets-rails
107
+ rails-deprecated_sanitizer (1.0.3)
108
+ activesupport (>= 4.2.0.alpha)
109
+ rails-dom-testing (1.0.6)
110
+ activesupport (>= 4.2.0.beta, < 5.0)
111
+ nokogiri (~> 1.6.0)
112
+ rails-deprecated_sanitizer (>= 1.0.1)
113
+ rails-html-sanitizer (1.0.2)
114
+ loofah (~> 2.0)
115
+ railties (4.2.1)
116
+ actionpack (= 4.2.1)
117
+ activesupport (= 4.2.1)
118
+ rake (>= 0.8.7)
119
+ thor (>= 0.18.1, < 2.0)
54
120
  rake (10.4.2)
55
121
  rdoc (3.12.2)
56
122
  json (~> 1.4)
@@ -65,6 +131,13 @@ GEM
65
131
  json (~> 1.8)
66
132
  simplecov-html (~> 0.10.0)
67
133
  simplecov-html (0.10.0)
134
+ sprockets (3.2.0)
135
+ rack (~> 1.0)
136
+ sprockets-rails (2.3.1)
137
+ actionpack (>= 3.0)
138
+ activesupport (>= 3.0)
139
+ sprockets (>= 2.8, < 4.0)
140
+ thor (0.19.1)
68
141
  thread_safe (0.3.5)
69
142
  tzinfo (1.2.2)
70
143
  thread_safe (~> 0.1)
@@ -73,8 +146,12 @@ PLATFORMS
73
146
  ruby
74
147
 
75
148
  DEPENDENCIES
149
+ addressable
76
150
  bundler (~> 1.0)
77
151
  jeweler (~> 2.0.1)
152
+ rack
153
+ rack-proxy
154
+ rails
78
155
  rdoc (~> 3.12)
79
156
  shoulda
80
157
  simplecov
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.2.0
@@ -0,0 +1,5 @@
1
+ require 'reverse_proxy/client'
2
+ require 'reverse_proxy/controller'
3
+
4
+ module ReverseProxy
5
+ end
File without changes
File without changes
@@ -2,12 +2,14 @@
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.2.0 ruby lib
5
6
 
6
7
  Gem::Specification.new do |s|
7
8
  s.name = "rails-reverse-proxy"
8
- s.version = "0.1.0"
9
+ s.version = "0.2.0"
9
10
 
10
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib"]
11
13
  s.authors = ["James Hu"]
12
14
  s.date = "2015-06-05"
13
15
  s.description = "Reverse proxy for Ruby on Rails"
@@ -24,27 +26,34 @@ Gem::Specification.new do |s|
24
26
  "README.md",
25
27
  "Rakefile",
26
28
  "VERSION",
27
- "lib/reverse-proxy.rb",
28
- "lib/reverse-proxy/client.rb",
29
- "lib/reverse-proxy/controller.rb",
29
+ "lib/reverse_proxy.rb",
30
+ "lib/reverse_proxy/client.rb",
31
+ "lib/reverse_proxy/controller.rb",
30
32
  "rails-reverse-proxy.gemspec"
31
33
  ]
32
34
  s.homepage = "http://github.com/axsuul/rails-reverse-proxy"
33
35
  s.licenses = ["MIT"]
34
- s.require_paths = ["lib"]
35
- s.rubygems_version = "2.0.14"
36
+ s.rubygems_version = "2.2.2"
36
37
  s.summary = "Reverse proxy for Ruby on Rails"
37
38
 
38
39
  if s.respond_to? :specification_version then
39
40
  s.specification_version = 4
40
41
 
41
42
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
43
+ s.add_runtime_dependency(%q<rails>, [">= 0"])
44
+ s.add_runtime_dependency(%q<rack>, [">= 0"])
45
+ s.add_runtime_dependency(%q<rack-proxy>, [">= 0"])
46
+ s.add_runtime_dependency(%q<addressable>, [">= 0"])
42
47
  s.add_development_dependency(%q<shoulda>, [">= 0"])
43
48
  s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
44
49
  s.add_development_dependency(%q<bundler>, ["~> 1.0"])
45
50
  s.add_development_dependency(%q<jeweler>, ["~> 2.0.1"])
46
51
  s.add_development_dependency(%q<simplecov>, [">= 0"])
47
52
  else
53
+ s.add_dependency(%q<rails>, [">= 0"])
54
+ s.add_dependency(%q<rack>, [">= 0"])
55
+ s.add_dependency(%q<rack-proxy>, [">= 0"])
56
+ s.add_dependency(%q<addressable>, [">= 0"])
48
57
  s.add_dependency(%q<shoulda>, [">= 0"])
49
58
  s.add_dependency(%q<rdoc>, ["~> 3.12"])
50
59
  s.add_dependency(%q<bundler>, ["~> 1.0"])
@@ -52,6 +61,10 @@ Gem::Specification.new do |s|
52
61
  s.add_dependency(%q<simplecov>, [">= 0"])
53
62
  end
54
63
  else
64
+ s.add_dependency(%q<rails>, [">= 0"])
65
+ s.add_dependency(%q<rack>, [">= 0"])
66
+ s.add_dependency(%q<rack-proxy>, [">= 0"])
67
+ s.add_dependency(%q<addressable>, [">= 0"])
55
68
  s.add_dependency(%q<shoulda>, [">= 0"])
56
69
  s.add_dependency(%q<rdoc>, ["~> 3.12"])
57
70
  s.add_dependency(%q<bundler>, ["~> 1.0"])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-reverse-proxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Hu
@@ -10,74 +10,130 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2015-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rack
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rack-proxy
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: addressable
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
13
69
  - !ruby/object:Gem::Dependency
14
70
  name: shoulda
15
71
  requirement: !ruby/object:Gem::Requirement
16
72
  requirements:
17
- - - '>='
73
+ - - ">="
18
74
  - !ruby/object:Gem::Version
19
75
  version: '0'
20
76
  type: :development
21
77
  prerelease: false
22
78
  version_requirements: !ruby/object:Gem::Requirement
23
79
  requirements:
24
- - - '>='
80
+ - - ">="
25
81
  - !ruby/object:Gem::Version
26
82
  version: '0'
27
83
  - !ruby/object:Gem::Dependency
28
84
  name: rdoc
29
85
  requirement: !ruby/object:Gem::Requirement
30
86
  requirements:
31
- - - ~>
87
+ - - "~>"
32
88
  - !ruby/object:Gem::Version
33
89
  version: '3.12'
34
90
  type: :development
35
91
  prerelease: false
36
92
  version_requirements: !ruby/object:Gem::Requirement
37
93
  requirements:
38
- - - ~>
94
+ - - "~>"
39
95
  - !ruby/object:Gem::Version
40
96
  version: '3.12'
41
97
  - !ruby/object:Gem::Dependency
42
98
  name: bundler
43
99
  requirement: !ruby/object:Gem::Requirement
44
100
  requirements:
45
- - - ~>
101
+ - - "~>"
46
102
  - !ruby/object:Gem::Version
47
103
  version: '1.0'
48
104
  type: :development
49
105
  prerelease: false
50
106
  version_requirements: !ruby/object:Gem::Requirement
51
107
  requirements:
52
- - - ~>
108
+ - - "~>"
53
109
  - !ruby/object:Gem::Version
54
110
  version: '1.0'
55
111
  - !ruby/object:Gem::Dependency
56
112
  name: jeweler
57
113
  requirement: !ruby/object:Gem::Requirement
58
114
  requirements:
59
- - - ~>
115
+ - - "~>"
60
116
  - !ruby/object:Gem::Version
61
117
  version: 2.0.1
62
118
  type: :development
63
119
  prerelease: false
64
120
  version_requirements: !ruby/object:Gem::Requirement
65
121
  requirements:
66
- - - ~>
122
+ - - "~>"
67
123
  - !ruby/object:Gem::Version
68
124
  version: 2.0.1
69
125
  - !ruby/object:Gem::Dependency
70
126
  name: simplecov
71
127
  requirement: !ruby/object:Gem::Requirement
72
128
  requirements:
73
- - - '>='
129
+ - - ">="
74
130
  - !ruby/object:Gem::Version
75
131
  version: '0'
76
132
  type: :development
77
133
  prerelease: false
78
134
  version_requirements: !ruby/object:Gem::Requirement
79
135
  requirements:
80
- - - '>='
136
+ - - ">="
81
137
  - !ruby/object:Gem::Version
82
138
  version: '0'
83
139
  description: Reverse proxy for Ruby on Rails
@@ -88,16 +144,16 @@ extra_rdoc_files:
88
144
  - LICENSE.txt
89
145
  - README.md
90
146
  files:
91
- - .document
147
+ - ".document"
92
148
  - Gemfile
93
149
  - Gemfile.lock
94
150
  - LICENSE.txt
95
151
  - README.md
96
152
  - Rakefile
97
153
  - VERSION
98
- - lib/reverse-proxy.rb
99
- - lib/reverse-proxy/client.rb
100
- - lib/reverse-proxy/controller.rb
154
+ - lib/reverse_proxy.rb
155
+ - lib/reverse_proxy/client.rb
156
+ - lib/reverse_proxy/controller.rb
101
157
  - rails-reverse-proxy.gemspec
102
158
  homepage: http://github.com/axsuul/rails-reverse-proxy
103
159
  licenses:
@@ -109,17 +165,17 @@ require_paths:
109
165
  - lib
110
166
  required_ruby_version: !ruby/object:Gem::Requirement
111
167
  requirements:
112
- - - '>='
168
+ - - ">="
113
169
  - !ruby/object:Gem::Version
114
170
  version: '0'
115
171
  required_rubygems_version: !ruby/object:Gem::Requirement
116
172
  requirements:
117
- - - '>='
173
+ - - ">="
118
174
  - !ruby/object:Gem::Version
119
175
  version: '0'
120
176
  requirements: []
121
177
  rubyforge_project:
122
- rubygems_version: 2.0.14
178
+ rubygems_version: 2.2.2
123
179
  signing_key:
124
180
  specification_version: 4
125
181
  summary: Reverse proxy for Ruby on Rails
data/lib/reverse-proxy.rb DELETED
@@ -1,2 +0,0 @@
1
- module ReverseProxy
2
- end