ventilation 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/app/helpers/esi_helper.rb +2 -1
- data/ventilation.gemspec +2 -2
- metadata +3 -3
|
@@ -19,7 +19,8 @@ module Ventilation
|
|
|
19
19
|
else
|
|
20
20
|
url = URI.parse(resource)
|
|
21
21
|
res = Net::HTTP.start(url.host, url.port) {|http|
|
|
22
|
-
path = url.
|
|
22
|
+
path = url.path.blank? ? "/" : url.path
|
|
23
|
+
path = url.query ? "#{path}?#{url.query}" : path
|
|
23
24
|
http.get(path)
|
|
24
25
|
}
|
|
25
26
|
res.body
|
data/ventilation.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{ventilation}
|
|
8
|
-
s.version = "0.2.
|
|
8
|
+
s.version = "0.2.2"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Blake Taylor"]
|
|
12
|
-
s.date = %q{2010-
|
|
12
|
+
s.date = %q{2010-12-03}
|
|
13
13
|
s.description = %q{Helper methods for building esi tags, simplifies development bypassing the need for varnish.}
|
|
14
14
|
s.email = %q{btaylor@agoragames.com}
|
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 2
|
|
8
|
-
-
|
|
9
|
-
version: 0.2.
|
|
8
|
+
- 2
|
|
9
|
+
version: 0.2.2
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Blake Taylor
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2010-
|
|
17
|
+
date: 2010-12-03 00:00:00 -05:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|