rodzilla 0.3.4 → 0.3.5
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.
- checksums.yaml +8 -8
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +2 -2
- data/lib/rodzilla/version.rb +1 -1
- data/test/rodzilla/web_service_test.rb +17 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
OGVmNzllOThmYWMzZDVjNTIxZDY4Y2VhNzVjNzAyZGEwOGU0MjMyNg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
ZmQ3YzRhNzVlZTZkNjU4Y2Y5ZTRkM2I5YzBkZGJkMTkxMDQzYjU5NQ==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
Zjg5NjhiZTUxZTM2NTU5NTg1MjFhZGFkMzRiZDA0YzQzMDI2YzEzZTIxNTcx
|
|
10
|
+
YTEyYWYzMGE4ZDNhMGJlMTkwNDc0MTNlYTk0MDA2N2U2OTI0NzcyMWYxN2Uy
|
|
11
|
+
YzNjMDAzNGNkNTQxNGVkZDYwN2YyMzNmMGZhODYzNzhkMTUyMDA=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
YzIwZDY2OTY3NTM2Mzg0NmEzZTA4YzVmODNlOGQ4MzRiOWFiZDI2YzgyNmRm
|
|
14
|
+
YzAzMjczNGUwMzlkYjMzZDUyOTU2ZDRhODYxOTNiZTBiZTkzOTU3MGY2MTc3
|
|
15
|
+
N2RiMjQxOGRjMWJmNDViZTVlMGY2YjVmMmMxMGJhYzJiOGExYWY=
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
�
|
|
1
|
+
������v�����qF���frbD�w����_Y�lv�y��e����RI"(P����)�3 ��eH�dE��+�A�yӿ`/���W��cU8n=���b ިJ������H�#Z
|
|
2
|
+
��#+{�Q#���d6��6�����2�+'�RZޢ(�������A9��ǁ�i6�d�Z#;Qj��W�%��(e�#�@�𩦟�(�ܫ��A��]�~~
|
data/lib/rodzilla/version.rb
CHANGED
|
@@ -25,6 +25,7 @@ describe Rodzilla::WebService do
|
|
|
25
25
|
s = Rodzilla::WebService.new('http://example.io', 'uname', 'passwd')
|
|
26
26
|
s.format.must_equal(:json)
|
|
27
27
|
end
|
|
28
|
+
|
|
28
29
|
end
|
|
29
30
|
|
|
30
31
|
describe "Attributes" do
|
|
@@ -44,6 +45,22 @@ describe Rodzilla::WebService do
|
|
|
44
45
|
@service.must_respond_to(:resource=)
|
|
45
46
|
end
|
|
46
47
|
|
|
48
|
+
it "should have attr_accessor for options" do
|
|
49
|
+
@service.must_respond_to(:options)
|
|
50
|
+
@service.must_respond_to(:options=)
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
describe "options" do
|
|
56
|
+
|
|
57
|
+
it "should set options on the backend service provider" do
|
|
58
|
+
opts = { ssl_version: :SSLv2 }
|
|
59
|
+
@service.options[:ssl_version] = opts[:ssl_version]
|
|
60
|
+
resource = @service.bugzilla
|
|
61
|
+
resource.service.options.must_equal( opts )
|
|
62
|
+
end
|
|
63
|
+
|
|
47
64
|
end
|
|
48
65
|
|
|
49
66
|
describe "Resources" do
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rodzilla
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- John Faucett
|
|
@@ -38,7 +38,7 @@ cert_chain:
|
|
|
38
38
|
alZXVFhBWFBFN1FUSWp1NlcrRU12enNqbVNICndEZDdGSlE4bkdEaFlxaUtI
|
|
39
39
|
L01DYXE3SEQ3L0ptZ0ZZalpOUENzeTBsVGtCdXIrVkMxbnN1ZFE9Ci0tLS0t
|
|
40
40
|
RU5EIENFUlRJRklDQVRFLS0tLS0K
|
|
41
|
-
date: 2013-11-
|
|
41
|
+
date: 2013-11-25 00:00:00.000000000 Z
|
|
42
42
|
dependencies:
|
|
43
43
|
- !ruby/object:Gem::Dependency
|
|
44
44
|
name: httparty
|
metadata.gz.sig
CHANGED
|
Binary file
|