amf_socket 0.1.0 → 0.1.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/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- amf_socket (0.1.0)
4
+ amf_socket (0.1.1)
5
5
  RocketAMF (>= 0.2.1)
6
6
  eventmachine (>= 1.0.0.rc.4)
7
7
 
data/README.md CHANGED
@@ -1,7 +1,6 @@
1
1
  # AMF Socket - Ruby
2
2
 
3
3
  This library is an implementation of [AMF Socket](https://github.com/chadrem/amf_socket) for Ruby's EventMachine.
4
- Currently it is in the early stages and the API is incomplete.
5
4
 
6
5
  ## Installation
7
6
 
@@ -21,7 +20,6 @@ Or install it yourself as:
21
20
 
22
21
  EM.run do
23
22
  class MyConnection < AmfSocket::AmfRpcConnection
24
- private
25
23
  def post_init
26
24
  super
27
25
 
data/Rakefile CHANGED
@@ -21,7 +21,7 @@ task :environment do
21
21
  require 'amf_socket'
22
22
  end
23
23
 
24
- desc 'Start an IRB console with offier loaded'
24
+ desc 'Start an IRB console'
25
25
  task :console => :environment do
26
26
  require 'irb'
27
27
 
@@ -34,7 +34,6 @@ desc 'Start a test server'
34
34
  task :harness => :environment do
35
35
  EM.run do
36
36
  class MyConnection < AmfSocket::AmfRpcConnection
37
- private
38
37
  def post_init
39
38
  super
40
39
 
@@ -1,11 +1,11 @@
1
1
  class AmfSocket::RpcMessage
2
- attr_reader :amf_connection
2
+ attr_reader :connection
3
3
 
4
- def initialize(object, amf_connection)
4
+ def initialize(object, connection)
5
5
  raise RpcSocket::InvalidObject unless validate_object(object)
6
6
 
7
7
  @message_obj = object[:message]
8
- @amf_connection = amf_connection
8
+ @connection = connection
9
9
  end
10
10
 
11
11
  def message_id
@@ -1,3 +1,3 @@
1
1
  module AmfSocket
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
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.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-12 00:00:00.000000000 Z
12
+ date: 2012-08-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: eventmachine
@@ -80,7 +80,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
80
80
  version: '0'
81
81
  segments:
82
82
  - 0
83
- hash: -4118759105506759439
83
+ hash: 3130657212601739948
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: -4118759105506759439
92
+ hash: 3130657212601739948
93
93
  requirements: []
94
94
  rubyforge_project:
95
95
  rubygems_version: 1.8.24