mrpin-amf 2.1.8 → 2.1.9
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 +4 -4
- data/ext/rocketamf_ext/extconf.rb +11 -11
- data/lib/amf/pure/mapping/class_mapper.rb +1 -0
- data/lib/amf.rb +5 -0
- data/mrpin-amf.gemspec +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6029a75179def3c3a5b5afe6552ba906787e80d5
|
|
4
|
+
data.tar.gz: e2d0350f7cca84a7329db109a39d696f23f70258
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5c48f5fbd55ea6e328e9a1f08963a3badf352846d65dcbf7ae38c7a63c62fe5e8a4413cd3942968587b5065085a750ca5f806b85165b1187f09695ac14751320
|
|
7
|
+
data.tar.gz: b4b817d38a31fee336f84263cd685212ce8ce76f9edaf6d4d5798ba5302cfe762ad223c66c7384c13cff1af8c2ec8eee753a822c5b331d7b9d06c61059277b75
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
require 'mkmf'
|
|
2
|
-
|
|
3
1
|
# Disable the native extension by creating an empty Makefile on JRuby
|
|
4
|
-
if
|
|
2
|
+
if RUBY_PLATFORM == 'java'
|
|
5
3
|
message "Generating phony Makefile for JRuby so the gem installs"
|
|
6
4
|
mfile = File.join(File.dirname(__FILE__), 'Makefile')
|
|
7
|
-
File.open(mfile, 'w') {|f| f.write dummy_makefile(File.dirname(__FILE__)) }
|
|
5
|
+
File.open(mfile, 'w') { |f| f.write dummy_makefile(File.dirname(__FILE__)) }
|
|
8
6
|
exit 0
|
|
9
|
-
|
|
7
|
+
else
|
|
8
|
+
require 'mkmf'
|
|
10
9
|
|
|
11
|
-
if enable_config("sort-props", false)
|
|
12
|
-
|
|
13
|
-
end
|
|
14
|
-
have_func('rb_str_encode')
|
|
10
|
+
if enable_config("sort-props", false)
|
|
11
|
+
$defs.push("-DSORT_PROPS") unless $defs.include? "-DSORT_PROPS"
|
|
12
|
+
end
|
|
13
|
+
have_func('rb_str_encode')
|
|
15
14
|
|
|
16
|
-
$CFLAGS += " -Wall"
|
|
15
|
+
$CFLAGS += " -Wall"
|
|
17
16
|
|
|
18
|
-
create_makefile('rocketamf_ext')
|
|
17
|
+
create_makefile('rocketamf_ext')
|
|
18
|
+
end
|
|
@@ -146,6 +146,7 @@ module AMF
|
|
|
146
146
|
else
|
|
147
147
|
|
|
148
148
|
# Generic object serializer
|
|
149
|
+
#todo: cache result of subtract
|
|
149
150
|
(ruby_obj.public_methods - @ignored_props).each do |method_name|
|
|
150
151
|
# Add them to the prop hash if they take no arguments
|
|
151
152
|
method_def = ruby_obj.method(method_name)
|
data/lib/amf.rb
CHANGED
data/mrpin-amf.gemspec
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |spec|
|
|
4
4
|
spec.name = 'mrpin-amf'
|
|
5
|
-
spec.version = '2.1.
|
|
5
|
+
spec.version = '2.1.9'
|
|
6
6
|
spec.platform = Gem::Platform::RUBY
|
|
7
7
|
spec.authors = ['Jacob Henry', 'Stephen Augenstein', "Joc O'Connor", 'Gregory Tkach']
|
|
8
8
|
spec.email = %w(gregory.tkach@gmail.com)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mrpin-amf
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.
|
|
4
|
+
version: 2.1.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jacob Henry
|
|
@@ -11,20 +11,20 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date:
|
|
14
|
+
date: 2017-04-04 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: rake-compiler
|
|
18
18
|
requirement: !ruby/object:Gem::Requirement
|
|
19
19
|
requirements:
|
|
20
|
-
- - ~>
|
|
20
|
+
- - "~>"
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
22
|
version: '0'
|
|
23
23
|
type: :development
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
26
26
|
requirements:
|
|
27
|
-
- - ~>
|
|
27
|
+
- - "~>"
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
29
|
version: '0'
|
|
30
30
|
description: Fast AMF3 serializer/deserializer with remoting request/response wrappers
|
|
@@ -37,7 +37,7 @@ extensions:
|
|
|
37
37
|
extra_rdoc_files:
|
|
38
38
|
- README.rdoc
|
|
39
39
|
files:
|
|
40
|
-
- .gitignore
|
|
40
|
+
- ".gitignore"
|
|
41
41
|
- README.rdoc
|
|
42
42
|
- Rakefile
|
|
43
43
|
- benchmark.rb
|
|
@@ -122,24 +122,24 @@ licenses:
|
|
|
122
122
|
metadata: {}
|
|
123
123
|
post_install_message:
|
|
124
124
|
rdoc_options:
|
|
125
|
-
- --line-numbers
|
|
126
|
-
- --main
|
|
125
|
+
- "--line-numbers"
|
|
126
|
+
- "--main"
|
|
127
127
|
- README.rdoc
|
|
128
128
|
require_paths:
|
|
129
129
|
- lib
|
|
130
130
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
131
131
|
requirements:
|
|
132
|
-
- -
|
|
132
|
+
- - ">="
|
|
133
133
|
- !ruby/object:Gem::Version
|
|
134
134
|
version: '0'
|
|
135
135
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
136
|
requirements:
|
|
137
|
-
- -
|
|
137
|
+
- - ">="
|
|
138
138
|
- !ruby/object:Gem::Version
|
|
139
139
|
version: '0'
|
|
140
140
|
requirements: []
|
|
141
141
|
rubyforge_project:
|
|
142
|
-
rubygems_version: 2.
|
|
142
|
+
rubygems_version: 2.5.1
|
|
143
143
|
signing_key:
|
|
144
144
|
specification_version: 4
|
|
145
145
|
summary: Fast AMF3 serializer/deserializer
|