rapuncel 0.0.1.alpha → 0.0.1
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/README.md +33 -36
- data/{Rakefile → Rakefile.rb} +1 -1
- data/lib/rapuncel.rb +1 -2
- data/lib/rapuncel/adapters/net_http_adapter.rb +6 -6
- data/lib/rapuncel/adapters/typhoeus_adapter.rb +33 -0
- data/lib/rapuncel/base.rb +2 -2
- data/lib/rapuncel/client.rb +13 -21
- data/lib/rapuncel/connection.rb +2 -2
- data/lib/rapuncel/core_ext/array.rb +16 -9
- data/lib/rapuncel/core_ext/big_decimal.rb +0 -7
- data/lib/rapuncel/core_ext/boolean.rb +13 -10
- data/lib/rapuncel/core_ext/float.rb +7 -4
- data/lib/rapuncel/core_ext/hash.rb +27 -17
- data/lib/rapuncel/core_ext/integer.rb +10 -2
- data/lib/rapuncel/core_ext/object.rb +6 -6
- data/lib/rapuncel/core_ext/string.rb +7 -5
- data/lib/rapuncel/core_ext/symbol.rb +3 -2
- data/lib/rapuncel/core_ext/time.rb +8 -5
- data/lib/rapuncel/fault.rb +10 -0
- data/lib/rapuncel/proxy.rb +14 -39
- data/lib/rapuncel/request.rb +6 -7
- data/lib/rapuncel/response.rb +31 -69
- data/rapuncel.gemspec +4 -3
- data/test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-adapters-typhoeus_adapter_rb.html +231 -0
- data/test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-base_rb.html +105 -0
- data/test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-client_rb.html +321 -0
- data/test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-connection_rb.html +513 -0
- data/test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-core_ext-array_rb.html +303 -0
- data/test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-core_ext-boolean_rb.html +255 -0
- data/test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-core_ext-float_rb.html +177 -0
- data/test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-core_ext-hash_rb.html +297 -0
- data/test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-core_ext-integer_rb.html +177 -0
- data/test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-core_ext-object_rb.html +297 -0
- data/test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-core_ext-string_rb.html +159 -0
- data/test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-core_ext-time_rb.html +165 -0
- data/test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-fault_rb.html +93 -0
- data/test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-proxy_rb.html +393 -0
- data/test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-request_rb.html +351 -0
- data/test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-response_rb.html +399 -0
- data/test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel_rb.html +201 -0
- data/test/coverage/functional_test_helper_rb.html +141 -0
- data/test/coverage/index.html +410 -0
- data/test/coverage/jquery-1.3.2.min.js +19 -0
- data/test/coverage/jquery.tablesorter.min.js +15 -0
- data/test/coverage/print.css +12 -0
- data/test/coverage/rcov.js +42 -0
- data/test/coverage/screen.css +270 -0
- data/test/coverage/test_helper_rb.html +291 -0
- data/test/coverage/test_server_rb.html +231 -0
- data/test/functional/client_test.rb +7 -38
- data/test/functional_test_helper.rb +2 -2
- data/test/test_server.rb +29 -3
- data/test/unit/array_test.rb +14 -14
- data/test/unit/boolean_test.rb +6 -6
- data/test/unit/float_test.rb +7 -7
- data/test/unit/hash_test.rb +16 -16
- data/test/unit/object_test.rb +29 -29
- data/test/unit/proxy_test.rb +9 -9
- data/test/unit/response_test.rb +5 -69
- data/test/unit/string_test.rb +7 -15
- metadata +56 -20
- data/lib/rapuncel/core_ext/nil.rb +0 -7
- data/rapuncel-0.0.1.preview.gem +0 -0
- data/test/unit/nil_test.rb +0 -16
data/test/unit/float_test.rb
CHANGED
@@ -4,20 +4,20 @@ class FloatTest < ActiveSupport::TestCase
|
|
4
4
|
test "A float should be a number between 'double' tags" do
|
5
5
|
num=1.123456
|
6
6
|
xml=num.to_xml_rpc
|
7
|
-
|
7
|
+
|
8
8
|
assert_select xml, '/double', 1
|
9
9
|
assert_select xml, '/double', num.to_s
|
10
|
-
|
10
|
+
|
11
11
|
end
|
12
|
-
|
12
|
+
|
13
13
|
test "A float converted to xml and back should be the same number!" do
|
14
14
|
num=1.123456
|
15
15
|
xml=num.to_xml_rpc
|
16
|
-
|
16
|
+
|
17
17
|
xml_node=Nokogiri::XML(xml).children.first #make a nokogiri xml_node containing the float
|
18
|
-
|
18
|
+
|
19
19
|
assert_equal num, Float.from_xml_rpc(xml_node)
|
20
20
|
end
|
21
|
-
|
22
|
-
|
21
|
+
|
22
|
+
|
23
23
|
end
|
data/test/unit/hash_test.rb
CHANGED
@@ -2,24 +2,24 @@ require 'test_helper'
|
|
2
2
|
require 'active_support/core_ext/hash/keys'
|
3
3
|
|
4
4
|
class TestHelper < ActiveSupport::TestCase
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
5
|
+
|
6
|
+
|
7
|
+
|
8
|
+
|
9
9
|
def to_and_from_xml_rpc hash
|
10
10
|
xml = hash.to_xml_rpc
|
11
11
|
|
12
12
|
xml_node = Nokogiri::XML(xml).children.first
|
13
|
-
|
13
|
+
|
14
14
|
Hash.from_xml_rpc xml_node
|
15
15
|
end
|
16
|
-
|
16
|
+
|
17
17
|
test 'Hash#to_xml_rpc' do
|
18
18
|
xml = {
|
19
19
|
:abc => 'one and two',
|
20
20
|
40 => %w(foo bar bee)
|
21
21
|
}.to_xml_rpc
|
22
|
-
|
22
|
+
|
23
23
|
assert_select xml, '/struct', 1
|
24
24
|
assert_select xml, '/struct/member', 2
|
25
25
|
assert_select xml, '/struct/member/name', 'abc', 1
|
@@ -27,28 +27,28 @@ class TestHelper < ActiveSupport::TestCase
|
|
27
27
|
assert_select xml, '/struct/member/name', '40', 1
|
28
28
|
assert_select xml, '/struct/member/value/array/data/value', 3
|
29
29
|
end
|
30
|
-
|
31
|
-
|
30
|
+
|
31
|
+
|
32
32
|
test "A hash to xml and back should be itself" do
|
33
33
|
hash1 = {:a => "b", :c => "d", :A => "B"}
|
34
34
|
arr1 = (1..10).to_a
|
35
35
|
hash2 = {:arr => arr1, :text => "sheeee"}
|
36
36
|
hash3 = hash1.merge({:jooooo => hash2})
|
37
|
-
|
37
|
+
|
38
38
|
hash4 = Hash[*(1..10).to_a] #separate, non symbol keys
|
39
|
-
|
39
|
+
|
40
40
|
hashes = [hash1, hash2, hash3]
|
41
|
-
|
41
|
+
|
42
42
|
results = hashes.map do |h|
|
43
43
|
to_and_from_xml_rpc h
|
44
44
|
end
|
45
|
-
|
45
|
+
|
46
46
|
result4 = to_and_from_xml_rpc hash4 #separate, non symbol keys
|
47
|
-
|
47
|
+
|
48
48
|
hashes.zip(results).each do |hr|
|
49
49
|
assert_equal *hr
|
50
|
-
end
|
51
|
-
|
50
|
+
end
|
51
|
+
|
52
52
|
assert_equal hash4.stringify_keys.symbolize_keys, result4
|
53
53
|
end
|
54
54
|
end
|
data/test/unit/object_test.rb
CHANGED
@@ -4,79 +4,79 @@ class ObjectTest < ActiveSupport::TestCase
|
|
4
4
|
class TestObject
|
5
5
|
attr_accessor :a, :b, :c
|
6
6
|
end
|
7
|
-
|
7
|
+
|
8
8
|
test 'Object#to_xml_rpc should collect instance_variables in a Hash and return Hash#to_xml_rpc' do
|
9
9
|
obj = TestObject.new
|
10
10
|
obj.a = "one"
|
11
11
|
obj.b = "two"
|
12
|
-
|
12
|
+
|
13
13
|
assert_equal({'a' => 'one', 'b' => 'two'}, obj.send(:_collect_ivars_in_hash))
|
14
|
-
|
14
|
+
|
15
15
|
obj.a.expects :to_xml_rpc
|
16
16
|
obj.b.expects :to_xml_rpc
|
17
|
-
|
17
|
+
|
18
18
|
obj.to_xml_rpc
|
19
19
|
end
|
20
|
-
|
20
|
+
|
21
21
|
test "Object.from_xml_rpc should accept nodes as strings" do
|
22
22
|
xml = "<int>42</int>"
|
23
|
-
|
24
|
-
Integer.expects :from_xml_rpc
|
23
|
+
|
24
|
+
Integer.expects :from_xml_rpc
|
25
25
|
Object.from_xml_rpc xml
|
26
26
|
end
|
27
|
-
|
27
|
+
|
28
28
|
test "Object.from_xml_rpc should accept Nokogiri nodes" do
|
29
29
|
xml = Nokogiri::XML.parse("<int>42</int>").root
|
30
|
-
|
30
|
+
|
31
31
|
Integer.expects :from_xml_rpc
|
32
32
|
Object.from_xml_rpc xml
|
33
33
|
end
|
34
|
-
|
34
|
+
|
35
35
|
test "Object.from_xml_rpc should delegate int nodes" do
|
36
36
|
xml = "<int>42</int>"
|
37
|
-
|
38
|
-
Integer.expects :from_xml_rpc
|
37
|
+
|
38
|
+
Integer.expects :from_xml_rpc
|
39
39
|
Object.from_xml_rpc xml
|
40
40
|
end
|
41
|
-
|
41
|
+
|
42
42
|
test "Object.from_xml_rpc should delegate string nodes" do
|
43
43
|
xml = "<string>foo<string>"
|
44
|
-
|
45
|
-
String.expects :from_xml_rpc
|
44
|
+
|
45
|
+
String.expects :from_xml_rpc
|
46
46
|
Object.from_xml_rpc xml
|
47
47
|
end
|
48
|
-
|
48
|
+
|
49
49
|
test "Object.from_xml_rpc should delegate array nodes" do
|
50
50
|
xml = "<array>42</array>"
|
51
|
-
|
52
|
-
Array.expects :from_xml_rpc
|
51
|
+
|
52
|
+
Array.expects :from_xml_rpc
|
53
53
|
Object.from_xml_rpc xml
|
54
54
|
end
|
55
|
-
|
55
|
+
|
56
56
|
test "Object.from_xml_rpc should delegate hash nodes" do
|
57
57
|
xml = "<struct>42</struct>"
|
58
|
-
|
59
|
-
Hash.expects :from_xml_rpc
|
58
|
+
|
59
|
+
Hash.expects :from_xml_rpc
|
60
60
|
Object.from_xml_rpc xml
|
61
61
|
end
|
62
|
-
|
62
|
+
|
63
63
|
test "Object.from_xml_rpc should delegate boolean nodes" do
|
64
64
|
xml = "<boolean>1</boolean>"
|
65
|
-
|
66
|
-
Rapuncel::Boolean.expects :from_xml_rpc
|
65
|
+
|
66
|
+
Rapuncel::Boolean.expects :from_xml_rpc
|
67
67
|
Object.from_xml_rpc xml
|
68
68
|
end
|
69
|
-
|
69
|
+
|
70
70
|
test "Object.from_xml_rpc should delegate double nodes" do
|
71
71
|
xml = "<double>42.23</double>"
|
72
|
-
|
73
|
-
Float.expects :from_xml_rpc
|
72
|
+
|
73
|
+
Float.expects :from_xml_rpc
|
74
74
|
Object.from_xml_rpc xml
|
75
75
|
end
|
76
|
-
|
76
|
+
|
77
77
|
test "Object.from_xml_rpc should delegate Time nodes" do
|
78
78
|
xml = "<dateTime.iso8601>2010-11-25T11:44:46+01:00</dateTime.iso8601>"
|
79
|
-
|
79
|
+
|
80
80
|
Time.expects :from_xml_rpc
|
81
81
|
Object.from_xml_rpc xml
|
82
82
|
end
|
data/test/unit/proxy_test.rb
CHANGED
@@ -2,14 +2,14 @@ require 'test_helper'
|
|
2
2
|
|
3
3
|
class ProxyTest < ActiveSupport::TestCase
|
4
4
|
class TestClient
|
5
|
-
def
|
6
|
-
|
5
|
+
def execute_to_ruby request
|
6
|
+
request
|
7
7
|
end
|
8
8
|
end
|
9
9
|
|
10
10
|
test "Proxy should still provide __ methods" do
|
11
11
|
t = Object.new
|
12
|
-
t.expects(:
|
12
|
+
t.expects(:execute_to_ruby).never
|
13
13
|
|
14
14
|
p = Rapuncel::Proxy.new t
|
15
15
|
|
@@ -24,7 +24,7 @@ class ProxyTest < ActiveSupport::TestCase
|
|
24
24
|
p = Rapuncel::Proxy.new t
|
25
25
|
request = p.inspect
|
26
26
|
|
27
|
-
assert_equal 'inspect', request.
|
27
|
+
assert_equal 'inspect', request.method_name
|
28
28
|
end
|
29
29
|
|
30
30
|
test "Proxy should delegate non-existing methods to Client" do
|
@@ -33,8 +33,8 @@ class ProxyTest < ActiveSupport::TestCase
|
|
33
33
|
p = Rapuncel::Proxy.new t
|
34
34
|
request = p.whatever 'arg1', 'foobar', 1234
|
35
35
|
|
36
|
-
assert_equal 'whatever', request.
|
37
|
-
assert_equal ['arg1', 'foobar', 1234], request
|
36
|
+
assert_equal 'whatever', request.method_name
|
37
|
+
assert_equal ['arg1', 'foobar', 1234], request.arguments
|
38
38
|
end
|
39
39
|
|
40
40
|
test "Proxy should dynamically define methods as soon as needed" do
|
@@ -42,11 +42,11 @@ class ProxyTest < ActiveSupport::TestCase
|
|
42
42
|
|
43
43
|
p = Rapuncel::Proxy.new t
|
44
44
|
|
45
|
-
assert p.respond_to?('foobar')
|
46
|
-
assert !Rapuncel::Proxy.instance_methods.include?('foobar')
|
45
|
+
assert !p.respond_to?('foobar')
|
47
46
|
|
48
47
|
p.foobar
|
49
48
|
|
50
|
-
|
49
|
+
v = Rapuncel::Proxy.new t
|
50
|
+
assert v.respond_to?('foobar')
|
51
51
|
end
|
52
52
|
end
|
data/test/unit/response_test.rb
CHANGED
@@ -3,10 +3,10 @@ require 'test_helper'
|
|
3
3
|
|
4
4
|
class ResponseTest < ActiveSupport::TestCase
|
5
5
|
class MockReponse
|
6
|
-
attr_accessor :body
|
6
|
+
attr_accessor :body
|
7
7
|
|
8
|
-
def initialize body, success = true
|
9
|
-
@body, @success
|
8
|
+
def initialize body, success = true
|
9
|
+
@body, @success = body, success
|
10
10
|
end
|
11
11
|
|
12
12
|
def success?
|
@@ -14,7 +14,7 @@ class ResponseTest < ActiveSupport::TestCase
|
|
14
14
|
end
|
15
15
|
end
|
16
16
|
|
17
|
-
test 'Response should not
|
17
|
+
test 'Response should be not an Array' do
|
18
18
|
mock = MockReponse.new <<-XML
|
19
19
|
<?xml version='1.0'?>
|
20
20
|
<methodResponse>
|
@@ -30,71 +30,7 @@ class ResponseTest < ActiveSupport::TestCase
|
|
30
30
|
|
31
31
|
r = Rapuncel::Response.new mock
|
32
32
|
|
33
|
-
|
34
|
-
assert r.success?
|
35
|
-
assert !r.fault?
|
36
|
-
assert !r.error?
|
37
33
|
assert_equal "foo foo foo", r.to_ruby
|
38
|
-
assert_equal "foo foo foo", r.result
|
39
|
-
end
|
40
|
-
|
41
|
-
test "Response should handle faults" do
|
42
|
-
mock = MockReponse.new <<-XML
|
43
|
-
<?xml version='1.0'?>
|
44
|
-
<methodResponse>
|
45
|
-
<fault>
|
46
|
-
<value>
|
47
|
-
<struct>
|
48
|
-
<member>
|
49
|
-
<name>
|
50
|
-
faultCode
|
51
|
-
</name>
|
52
|
-
<value>
|
53
|
-
<int>
|
54
|
-
42
|
55
|
-
</int>
|
56
|
-
</value>
|
57
|
-
</member>
|
58
|
-
<member>
|
59
|
-
<name>
|
60
|
-
faultString
|
61
|
-
</name>
|
62
|
-
<value>
|
63
|
-
<string>
|
64
|
-
Don't panic.
|
65
|
-
</string>
|
66
|
-
</value>
|
67
|
-
</member>
|
68
|
-
</struct>
|
69
|
-
</value>
|
70
|
-
</fault>
|
71
|
-
</methodResponse>
|
72
|
-
XML
|
73
|
-
|
74
|
-
r = Rapuncel::Response.new mock
|
75
|
-
|
76
|
-
assert r.fault?
|
77
|
-
assert !r.success?
|
78
|
-
assert !r.error?
|
79
|
-
|
80
|
-
assert_kind_of Rapuncel::Response::Fault, r.to_ruby
|
81
|
-
assert_kind_of Rapuncel::Response::Fault, r.fault
|
82
|
-
|
83
|
-
assert_equal 42, r.fault.code
|
84
|
-
end
|
85
|
-
|
86
|
-
test "Response should handle errors" do
|
87
|
-
mock = MockReponse.new "Not Found", false, 404
|
88
|
-
|
89
|
-
r = Rapuncel::Response.new mock
|
90
|
-
|
91
|
-
assert r.error?
|
92
|
-
assert !r.fault?
|
93
|
-
assert !r.success?
|
94
|
-
|
95
|
-
assert_kind_of Rapuncel::Response::Error, r.to_ruby
|
96
|
-
assert_kind_of Rapuncel::Response::Error, r.error
|
97
|
-
|
98
|
-
assert_equal 404, r.error.code
|
99
34
|
end
|
35
|
+
|
100
36
|
end
|
data/test/unit/string_test.rb
CHANGED
@@ -2,7 +2,7 @@ require 'test_helper'
|
|
2
2
|
|
3
3
|
|
4
4
|
class StringTest < ActiveSupport::TestCase
|
5
|
-
|
5
|
+
|
6
6
|
|
7
7
|
test "A string should simply be written between two <string></string> tags" do
|
8
8
|
str = "blabla"
|
@@ -10,7 +10,7 @@ class StringTest < ActiveSupport::TestCase
|
|
10
10
|
assert_select xml, '/string', 1
|
11
11
|
assert_select xml, '/string', str
|
12
12
|
end
|
13
|
-
|
13
|
+
|
14
14
|
test "A symbol should simply be written between two <string></string> tags" do
|
15
15
|
sym = :blabla
|
16
16
|
xml = sym.to_xml_rpc
|
@@ -18,23 +18,15 @@ class StringTest < ActiveSupport::TestCase
|
|
18
18
|
assert_select xml, '/string', sym.to_s
|
19
19
|
end
|
20
20
|
|
21
|
-
|
21
|
+
|
22
22
|
test "A string to_xml_rpc from_xml_rpc should be itself, even with whitespace" do #weird characters too?? or do we need base64 for that
|
23
23
|
str = "yabba dabba doo! \t"
|
24
24
|
xml = str.to_xml_rpc
|
25
|
-
|
26
|
-
|
25
|
+
|
26
|
+
|
27
27
|
xml_node = Nokogiri::XML(xml).children.first
|
28
|
-
|
28
|
+
|
29
29
|
assert_equal str, String.from_xml_rpc(xml_node)
|
30
30
|
end
|
31
|
-
|
32
|
-
test "CRLF and CR should be normalized" do
|
33
|
-
str = "one\r\ntwo\rthree\nfour"
|
34
|
-
xml = str.to_xml_rpc
|
35
|
-
|
36
|
-
xml_node = Nokogiri::XML(xml).children.first
|
37
|
-
|
38
|
-
assert_equal "one\ntwo\nthree\nfour", String.from_xml_rpc(xml_node)
|
39
|
-
end
|
31
|
+
|
40
32
|
end
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rapuncel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 29
|
5
|
+
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
9
|
- 1
|
10
|
-
|
11
|
-
version: 0.0.1.alpha
|
10
|
+
version: 0.0.1
|
12
11
|
platform: ruby
|
13
12
|
authors:
|
14
13
|
- Michael Eickenberg
|
@@ -17,7 +16,7 @@ autorequire:
|
|
17
16
|
bindir: bin
|
18
17
|
cert_chain: []
|
19
18
|
|
20
|
-
date:
|
19
|
+
date: 2011-02-05 00:00:00 +01:00
|
21
20
|
default_executable:
|
22
21
|
dependencies:
|
23
22
|
- !ruby/object:Gem::Dependency
|
@@ -35,9 +34,23 @@ dependencies:
|
|
35
34
|
type: :runtime
|
36
35
|
version_requirements: *id001
|
37
36
|
- !ruby/object:Gem::Dependency
|
38
|
-
name:
|
37
|
+
name: builder
|
39
38
|
prerelease: false
|
40
39
|
requirement: &id002 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
hash: 3
|
45
|
+
segments:
|
46
|
+
- 0
|
47
|
+
version: "0"
|
48
|
+
type: :runtime
|
49
|
+
version_requirements: *id002
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
name: activesupport
|
52
|
+
prerelease: false
|
53
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
41
54
|
none: false
|
42
55
|
requirements:
|
43
56
|
- - ">="
|
@@ -49,11 +62,11 @@ dependencies:
|
|
49
62
|
- 0
|
50
63
|
version: 3.0.0
|
51
64
|
type: :runtime
|
52
|
-
version_requirements: *
|
65
|
+
version_requirements: *id003
|
53
66
|
- !ruby/object:Gem::Dependency
|
54
67
|
name: mocha
|
55
68
|
prerelease: false
|
56
|
-
requirement: &
|
69
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
57
70
|
none: false
|
58
71
|
requirements:
|
59
72
|
- - ">="
|
@@ -63,8 +76,8 @@ dependencies:
|
|
63
76
|
- 0
|
64
77
|
version: "0"
|
65
78
|
type: :development
|
66
|
-
version_requirements: *
|
67
|
-
description:
|
79
|
+
version_requirements: *id004
|
80
|
+
description: Simple XML-RPC Client
|
68
81
|
email: marian@cice-online.net
|
69
82
|
executables: []
|
70
83
|
|
@@ -74,6 +87,7 @@ extra_rdoc_files: []
|
|
74
87
|
|
75
88
|
files:
|
76
89
|
- lib/rapuncel/adapters/net_http_adapter.rb
|
90
|
+
- lib/rapuncel/adapters/typhoeus_adapter.rb
|
77
91
|
- lib/rapuncel/base.rb
|
78
92
|
- lib/rapuncel/client.rb
|
79
93
|
- lib/rapuncel/connection.rb
|
@@ -83,20 +97,45 @@ files:
|
|
83
97
|
- lib/rapuncel/core_ext/float.rb
|
84
98
|
- lib/rapuncel/core_ext/hash.rb
|
85
99
|
- lib/rapuncel/core_ext/integer.rb
|
86
|
-
- lib/rapuncel/core_ext/nil.rb
|
87
100
|
- lib/rapuncel/core_ext/object.rb
|
88
101
|
- lib/rapuncel/core_ext/string.rb
|
89
102
|
- lib/rapuncel/core_ext/symbol.rb
|
90
103
|
- lib/rapuncel/core_ext/time.rb
|
104
|
+
- lib/rapuncel/fault.rb
|
91
105
|
- lib/rapuncel/proxy.rb
|
92
106
|
- lib/rapuncel/request.rb
|
93
107
|
- lib/rapuncel/response.rb
|
94
108
|
- lib/rapuncel.rb
|
95
109
|
- MIT-LICENSE
|
96
|
-
- Rakefile
|
97
|
-
- rapuncel-0.0.1.preview.gem
|
110
|
+
- Rakefile.rb
|
98
111
|
- rapuncel.gemspec
|
99
112
|
- README.md
|
113
|
+
- test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-adapters-typhoeus_adapter_rb.html
|
114
|
+
- test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-base_rb.html
|
115
|
+
- test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-client_rb.html
|
116
|
+
- test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-connection_rb.html
|
117
|
+
- test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-core_ext-array_rb.html
|
118
|
+
- test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-core_ext-boolean_rb.html
|
119
|
+
- test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-core_ext-float_rb.html
|
120
|
+
- test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-core_ext-hash_rb.html
|
121
|
+
- test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-core_ext-integer_rb.html
|
122
|
+
- test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-core_ext-object_rb.html
|
123
|
+
- test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-core_ext-string_rb.html
|
124
|
+
- test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-core_ext-time_rb.html
|
125
|
+
- test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-fault_rb.html
|
126
|
+
- test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-proxy_rb.html
|
127
|
+
- test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-request_rb.html
|
128
|
+
- test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel-response_rb.html
|
129
|
+
- test/coverage/-Users-mariantheisen-Projects-Kayoom-rapuncel-lib-rapuncel_rb.html
|
130
|
+
- test/coverage/functional_test_helper_rb.html
|
131
|
+
- test/coverage/index.html
|
132
|
+
- test/coverage/jquery-1.3.2.min.js
|
133
|
+
- test/coverage/jquery.tablesorter.min.js
|
134
|
+
- test/coverage/print.css
|
135
|
+
- test/coverage/rcov.js
|
136
|
+
- test/coverage/screen.css
|
137
|
+
- test/coverage/test_helper_rb.html
|
138
|
+
- test/coverage/test_server_rb.html
|
100
139
|
- test/functional/client_test.rb
|
101
140
|
- test/functional_test_helper.rb
|
102
141
|
- test/test_helper.rb
|
@@ -107,7 +146,6 @@ files:
|
|
107
146
|
- test/unit/float_test.rb
|
108
147
|
- test/unit/hash_test.rb
|
109
148
|
- test/unit/int_test.rb
|
110
|
-
- test/unit/nil_test.rb
|
111
149
|
- test/unit/object_test.rb
|
112
150
|
- test/unit/proxy_test.rb
|
113
151
|
- test/unit/request_test.rb
|
@@ -135,14 +173,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
135
173
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
136
174
|
none: false
|
137
175
|
requirements:
|
138
|
-
- - "
|
176
|
+
- - ">="
|
139
177
|
- !ruby/object:Gem::Version
|
140
|
-
hash:
|
178
|
+
hash: 3
|
141
179
|
segments:
|
142
|
-
-
|
143
|
-
|
144
|
-
- 1
|
145
|
-
version: 1.3.1
|
180
|
+
- 0
|
181
|
+
version: "0"
|
146
182
|
requirements: []
|
147
183
|
|
148
184
|
rubyforge_project:
|