amf_socket 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/amf_socket/rpc_message.rb +1 -1
- data/lib/amf_socket/rpc_request.rb +1 -1
- data/lib/amf_socket/rpc_response.rb +1 -1
- data/lib/amf_socket/version.rb +1 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
@@ -2,7 +2,7 @@ class AmfSocket::RpcMessage
|
|
2
2
|
attr_reader :connection
|
3
3
|
|
4
4
|
def initialize(object, connection)
|
5
|
-
raise
|
5
|
+
raise AmfSocket::InvalidObject unless validate_object(object)
|
6
6
|
|
7
7
|
@message_obj = object[:message]
|
8
8
|
@connection = connection
|
@@ -3,7 +3,7 @@ class AmfSocket::RpcRequest
|
|
3
3
|
attr_reader :state # Valid states: :initialized, replied.
|
4
4
|
|
5
5
|
def initialize(object, connection)
|
6
|
-
raise
|
6
|
+
raise AmfSocket::InvalidObject unless validate_object(object)
|
7
7
|
|
8
8
|
@request_obj = object[:request]
|
9
9
|
@connection = connection
|
@@ -6,7 +6,7 @@ class AmfSocket::RpcResponse
|
|
6
6
|
attr_reader :result
|
7
7
|
|
8
8
|
def initialize(request_object, response_object, connection)
|
9
|
-
raise
|
9
|
+
raise AmfSocket::InvalidObject unless validate_object(response_object)
|
10
10
|
|
11
11
|
req = request_object[:request]
|
12
12
|
res = response_object[:response]
|
data/lib/amf_socket/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amf_socket
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -80,7 +80,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
80
80
|
version: '0'
|
81
81
|
segments:
|
82
82
|
- 0
|
83
|
-
hash:
|
83
|
+
hash: -1896734524780009972
|
84
84
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
85
85
|
none: false
|
86
86
|
requirements:
|
@@ -89,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
89
89
|
version: '0'
|
90
90
|
segments:
|
91
91
|
- 0
|
92
|
-
hash:
|
92
|
+
hash: -1896734524780009972
|
93
93
|
requirements: []
|
94
94
|
rubyforge_project:
|
95
95
|
rubygems_version: 1.8.24
|