rpcjson 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/rpcjson.rb +1 -1
- metadata +18 -18
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.2
|
data/lib/rpcjson.rb
CHANGED
@@ -46,7 +46,7 @@ class RPC
|
|
46
46
|
# puts "Sending: #{body}"
|
47
47
|
|
48
48
|
http = Net::HTTP.new(@uri.host, @uri.port)
|
49
|
-
request = Net::HTTP::
|
49
|
+
request = Net::HTTP::Post.new(@uri.request_uri)
|
50
50
|
if @uri.user != nil
|
51
51
|
request.basic_auth(@uri.user, @uri.password)
|
52
52
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rpcjson
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 27
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jonathan Jeffus
|
@@ -15,10 +15,11 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-02-28 00:00:00 -06:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
|
+
name: json
|
22
23
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
23
24
|
none: false
|
24
25
|
requirements:
|
@@ -28,11 +29,11 @@ dependencies:
|
|
28
29
|
segments:
|
29
30
|
- 0
|
30
31
|
version: "0"
|
31
|
-
requirement: *id001
|
32
32
|
prerelease: false
|
33
33
|
type: :runtime
|
34
|
-
|
34
|
+
requirement: *id001
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
|
+
name: shoulda
|
36
37
|
version_requirements: &id002 !ruby/object:Gem::Requirement
|
37
38
|
none: false
|
38
39
|
requirements:
|
@@ -42,11 +43,11 @@ dependencies:
|
|
42
43
|
segments:
|
43
44
|
- 0
|
44
45
|
version: "0"
|
45
|
-
requirement: *id002
|
46
46
|
prerelease: false
|
47
47
|
type: :development
|
48
|
-
|
48
|
+
requirement: *id002
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
|
+
name: bundler
|
50
51
|
version_requirements: &id003 !ruby/object:Gem::Requirement
|
51
52
|
none: false
|
52
53
|
requirements:
|
@@ -58,11 +59,11 @@ dependencies:
|
|
58
59
|
- 0
|
59
60
|
- 0
|
60
61
|
version: 1.0.0
|
61
|
-
requirement: *id003
|
62
62
|
prerelease: false
|
63
63
|
type: :development
|
64
|
-
|
64
|
+
requirement: *id003
|
65
65
|
- !ruby/object:Gem::Dependency
|
66
|
+
name: jeweler
|
66
67
|
version_requirements: &id004 !ruby/object:Gem::Requirement
|
67
68
|
none: false
|
68
69
|
requirements:
|
@@ -74,11 +75,11 @@ dependencies:
|
|
74
75
|
- 5
|
75
76
|
- 2
|
76
77
|
version: 1.5.2
|
77
|
-
requirement: *id004
|
78
78
|
prerelease: false
|
79
79
|
type: :development
|
80
|
-
|
80
|
+
requirement: *id004
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
|
+
name: rcov
|
82
83
|
version_requirements: &id005 !ruby/object:Gem::Requirement
|
83
84
|
none: false
|
84
85
|
requirements:
|
@@ -88,11 +89,11 @@ dependencies:
|
|
88
89
|
segments:
|
89
90
|
- 0
|
90
91
|
version: "0"
|
91
|
-
requirement: *id005
|
92
92
|
prerelease: false
|
93
93
|
type: :development
|
94
|
-
|
94
|
+
requirement: *id005
|
95
95
|
- !ruby/object:Gem::Dependency
|
96
|
+
name: json
|
96
97
|
version_requirements: &id006 !ruby/object:Gem::Requirement
|
97
98
|
none: false
|
98
99
|
requirements:
|
@@ -103,10 +104,9 @@ dependencies:
|
|
103
104
|
- 0
|
104
105
|
- 0
|
105
106
|
version: "0.0"
|
106
|
-
requirement: *id006
|
107
107
|
prerelease: false
|
108
108
|
type: :runtime
|
109
|
-
|
109
|
+
requirement: *id006
|
110
110
|
description: This module aims to be a complete implementation of JSON-RPC 1.1 and 2.0.
|
111
111
|
email: jjeffus@gmail.com
|
112
112
|
executables: []
|
@@ -156,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
156
156
|
requirements: []
|
157
157
|
|
158
158
|
rubyforge_project:
|
159
|
-
rubygems_version: 1.3
|
159
|
+
rubygems_version: 1.5.3
|
160
160
|
signing_key:
|
161
161
|
specification_version: 3
|
162
162
|
summary: Modern JSON-RPC 1.1 and 2.0 implementation.
|