zephyr 1.1.5 → 1.1.6
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/VERSION +1 -1
- data/lib/ext/typhoeus_ext.rb +1 -1
- data/test/test_zephyr.rb +5 -1
- data/zephyr.gemspec +3 -3
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.6
|
data/lib/ext/typhoeus_ext.rb
CHANGED
data/test/test_zephyr.rb
CHANGED
|
@@ -74,10 +74,14 @@ class TestZephyr < Test::Unit::TestCase
|
|
|
74
74
|
end
|
|
75
75
|
|
|
76
76
|
context "using Typhoeus extensions" do
|
|
77
|
+
should "encode properly with Zephyr" do
|
|
78
|
+
assert_equal '%E3%81%BE%E3%81%A4%E3%82%82%E3%81%A8', Typhoeus::Utils.escape('まつもと')
|
|
79
|
+
end
|
|
80
|
+
|
|
77
81
|
should "use Zephyr for escaping" do
|
|
78
82
|
z = Zephyr.new("http://www.google.com")
|
|
79
83
|
Zephyr.expects(:percent_encode).times(4)
|
|
80
|
-
z.get(200, 1000, [{:query => ["test string", "
|
|
84
|
+
z.get(200, 1000, [{:query => ["test string", "まつもと"]}])
|
|
81
85
|
end
|
|
82
86
|
|
|
83
87
|
should "use Zephyr for building query string" do
|
data/zephyr.gemspec
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "zephyr"
|
|
8
|
-
s.version = "1.1.
|
|
8
|
+
s.version = "1.1.6"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Matt Knopp"]
|
|
12
12
|
s.date = "2012-07-06"
|
|
13
|
-
s.description = "Simple HTTP client using
|
|
13
|
+
s.description = "Simple HTTP client using Typhoeus, derived from the Riak client"
|
|
14
14
|
s.email = "matt.knopp@gmail.com"
|
|
15
15
|
s.extra_rdoc_files = [
|
|
16
16
|
"LICENSE.txt",
|
|
@@ -35,7 +35,7 @@ Gem::Specification.new do |s|
|
|
|
35
35
|
s.licenses = ["MIT"]
|
|
36
36
|
s.require_paths = ["lib"]
|
|
37
37
|
s.rubygems_version = "1.8.11"
|
|
38
|
-
s.summary = "Simple HTTP client using
|
|
38
|
+
s.summary = "Simple HTTP client using Typhoeus, derived from the Riak client"
|
|
39
39
|
|
|
40
40
|
if s.respond_to? :specification_version then
|
|
41
41
|
s.specification_version = 3
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: zephyr
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.6
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -107,7 +107,7 @@ dependencies:
|
|
|
107
107
|
- - ~>
|
|
108
108
|
- !ruby/object:Gem::Version
|
|
109
109
|
version: 0.12.0
|
|
110
|
-
description: Simple HTTP client using
|
|
110
|
+
description: Simple HTTP client using Typhoeus, derived from the Riak client
|
|
111
111
|
email: matt.knopp@gmail.com
|
|
112
112
|
executables: []
|
|
113
113
|
extensions: []
|
|
@@ -152,5 +152,5 @@ rubyforge_project:
|
|
|
152
152
|
rubygems_version: 1.8.24
|
|
153
153
|
signing_key:
|
|
154
154
|
specification_version: 3
|
|
155
|
-
summary: Simple HTTP client using
|
|
155
|
+
summary: Simple HTTP client using Typhoeus, derived from the Riak client
|
|
156
156
|
test_files: []
|