phantom_proxy 1.2.16 → 1.2.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -94,7 +94,7 @@ module PhantomJSProxy
94
94
 
95
95
  def prepareUrl(env, params, req, https_request, type)
96
96
  if type == "none"
97
- url = req.url#env['REQUEST_URI']
97
+ url = env['REQUEST_URI']#req.url
98
98
  puts "URL is: #{url}"
99
99
  if https_request
100
100
  url['http'] = 'https' if url['http']
@@ -137,7 +137,7 @@ module PhantomJSProxy
137
137
  env['rack.errors'].write("Paramas: "+params+"\n")
138
138
 
139
139
  #this routes the request to the outgoing server incase its not html that we want to load
140
- type = check_for_route(req.url)#env['REQUEST_URI'])
140
+ type = check_for_route(env['REQUEST_URI'])#req.url
141
141
  if type == "control_panel"
142
142
  return control_panel.show()
143
143
  elsif type != "none" and type != "base64"
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'phantom_proxy'
5
- s.version = '1.2.16'
5
+ s.version = '1.2.17'
6
6
  s.summary = "This is a phantomjs Proxy"
7
7
  s.description = "This is a phyntonjs Proxy it allows you to fetch webpages and execute javascript in them."
8
8
  s.authors = ["Daniel Sudmann"]
@@ -23,6 +23,6 @@ Gem::Specification.new do |s|
23
23
  =end
24
24
  s.homepage = 'http://experteer.com'
25
25
  s.executables = ['phantom_proxy']
26
- s.add_dependency('thin', '>= 1.3.1')
26
+ s.add_dependency('thin', '= 1.3.1')
27
27
  s.add_dependency('ruby-hmac', '>= 0.4.0')
28
28
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phantom_proxy
3
3
  version: !ruby/object:Gem::Version
4
- hash: 63
4
+ hash: 61
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 16
10
- version: 1.2.16
9
+ - 17
10
+ version: 1.2.17
11
11
  platform: ruby
12
12
  authors:
13
13
  - Daniel Sudmann
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2014-05-13 00:00:00 +02:00
18
+ date: 2014-05-16 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -24,7 +24,7 @@ dependencies:
24
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
- - - ">="
27
+ - - "="
28
28
  - !ruby/object:Gem::Version
29
29
  hash: 25
30
30
  segments: