RocketAMF 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -2
- data/lib/rocketamf.rb +9 -0
- metadata +5 -4
data/Rakefile
CHANGED
@@ -23,7 +23,7 @@ end
|
|
23
23
|
|
24
24
|
spec = Gem::Specification.new do |s|
|
25
25
|
s.name = 'RocketAMF'
|
26
|
-
s.version = '0.2.
|
26
|
+
s.version = '0.2.1'
|
27
27
|
s.summary = 'Fast AMF serializer/deserializer with remoting request/response wrappers to simplify integration'
|
28
28
|
|
29
29
|
s.files = FileList['README.rdoc', 'Rakefile', 'lib/**/*.rb', 'spec/**/*.rb', 'spec/**/*.bin', 'spec/spec.opts']
|
@@ -34,7 +34,7 @@ spec = Gem::Specification.new do |s|
|
|
34
34
|
s.extra_rdoc_files = ['README.rdoc']
|
35
35
|
s.rdoc_options = ['--line-numbers', '--main', 'README.rdoc']
|
36
36
|
|
37
|
-
s.authors = ['Jacob Henry', 'Stephen Augenstein']
|
37
|
+
s.authors = ['Jacob Henry', 'Stephen Augenstein', "Joc O'Connor"]
|
38
38
|
s.email = 'perl.programmer@gmail.com'
|
39
39
|
s.homepage = 'http://github.com/warhammerkid/rocket-amf'
|
40
40
|
|
data/lib/rocketamf.rb
CHANGED
@@ -5,6 +5,15 @@ require 'rocketamf/class_mapping'
|
|
5
5
|
require 'rocketamf/constants'
|
6
6
|
require 'rocketamf/remoting'
|
7
7
|
|
8
|
+
# Joc's monkeypatch for string bytesize (only available in 1.8.7+)
|
9
|
+
if !"amf".respond_to? :bytesize
|
10
|
+
class String
|
11
|
+
def bytesize
|
12
|
+
self.size
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
8
17
|
# RocketAMF is a full featured AMF0/3 serializer and deserializer with support
|
9
18
|
# for Flash -> Ruby and Ruby -> Flash class mapping, custom serializers,
|
10
19
|
# remoting gateway helpers that follow AMF0/3 messaging specs, and a suite of
|
metadata
CHANGED
@@ -1,22 +1,23 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: RocketAMF
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 1
|
10
|
+
version: 0.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jacob Henry
|
14
14
|
- Stephen Augenstein
|
15
|
+
- Joc O'Connor
|
15
16
|
autorequire:
|
16
17
|
bindir: bin
|
17
18
|
cert_chain: []
|
18
19
|
|
19
|
-
date: 2010-
|
20
|
+
date: 2010-08-08 00:00:00 -04:00
|
20
21
|
default_executable:
|
21
22
|
dependencies: []
|
22
23
|
|