erlang_rb 1.7.0 → 1.7.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.tar.gz.sig +0 -0
- data/README.markdown +10 -0
- data/lib/erlang.rb +21 -35
- data/tests/erlang_tests.rb +23 -37
- metadata +3 -3
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
|
Binary file
|
data/README.markdown
CHANGED
data/lib/erlang.rb
CHANGED
|
@@ -1,41 +1,27 @@
|
|
|
1
1
|
#-*-Mode:ruby;coding:utf-8;tab-width:4;c-basic-offset:4;indent-tabs-mode:()-*-
|
|
2
2
|
# ex: set ft=ruby fenc=utf-8 sts=4 ts=4 sw=4 et nomod:
|
|
3
3
|
#
|
|
4
|
-
#
|
|
5
|
-
#
|
|
6
|
-
# Copyright (c) 2011-2017
|
|
7
|
-
#
|
|
8
|
-
#
|
|
9
|
-
#
|
|
10
|
-
#
|
|
11
|
-
#
|
|
12
|
-
#
|
|
13
|
-
#
|
|
14
|
-
#
|
|
15
|
-
#
|
|
16
|
-
#
|
|
17
|
-
#
|
|
18
|
-
#
|
|
19
|
-
#
|
|
20
|
-
#
|
|
21
|
-
#
|
|
22
|
-
#
|
|
23
|
-
#
|
|
24
|
-
#
|
|
25
|
-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
|
26
|
-
# CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
|
27
|
-
# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
28
|
-
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
29
|
-
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
|
30
|
-
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
31
|
-
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
|
32
|
-
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
33
|
-
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
34
|
-
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
|
35
|
-
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
36
|
-
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
37
|
-
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
|
38
|
-
# DAMAGE.
|
|
4
|
+
# MIT License
|
|
5
|
+
#
|
|
6
|
+
# Copyright (c) 2011-2017 Michael Truog <mjtruog at gmail dot com>
|
|
7
|
+
#
|
|
8
|
+
# Permission is hereby granted, free of charge, to any person obtaining a
|
|
9
|
+
# copy of this software and associated documentation files (the "Software"),
|
|
10
|
+
# to deal in the Software without restriction, including without limitation
|
|
11
|
+
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
12
|
+
# and/or sell copies of the Software, and to permit persons to whom the
|
|
13
|
+
# Software is furnished to do so, subject to the following conditions:
|
|
14
|
+
#
|
|
15
|
+
# The above copyright notice and this permission notice shall be included in
|
|
16
|
+
# all copies or substantial portions of the Software.
|
|
17
|
+
#
|
|
18
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
19
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
20
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
21
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
22
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
23
|
+
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
24
|
+
# DEALINGS IN THE SOFTWARE.
|
|
39
25
|
#
|
|
40
26
|
|
|
41
27
|
require 'zlib'
|
data/tests/erlang_tests.rb
CHANGED
|
@@ -2,46 +2,32 @@
|
|
|
2
2
|
#-*-Mode:ruby;coding:binary;tab-width:4;c-basic-offset:4;indent-tabs-mode:()-*-
|
|
3
3
|
# ex: set ft=ruby fenc=binary sts=4 ts=4 sw=4 et nomod:
|
|
4
4
|
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
# Copyright (c) 2014
|
|
8
|
-
# Copyright (c) 2009-2013
|
|
9
|
-
#
|
|
10
|
-
#
|
|
11
|
-
#
|
|
12
|
-
#
|
|
13
|
-
#
|
|
14
|
-
#
|
|
15
|
-
#
|
|
16
|
-
#
|
|
17
|
-
#
|
|
18
|
-
#
|
|
19
|
-
#
|
|
20
|
-
#
|
|
21
|
-
#
|
|
22
|
-
#
|
|
23
|
-
#
|
|
24
|
-
#
|
|
25
|
-
#
|
|
26
|
-
#
|
|
27
|
-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
|
28
|
-
# CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
|
29
|
-
# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
30
|
-
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
31
|
-
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
|
32
|
-
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
33
|
-
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
|
34
|
-
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
35
|
-
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
36
|
-
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
|
37
|
-
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
38
|
-
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
39
|
-
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
|
40
|
-
# DAMAGE.
|
|
5
|
+
# MIT License
|
|
6
|
+
#
|
|
7
|
+
# Copyright (c) 2014-2017 Michael Truog <mjtruog at gmail dot com>
|
|
8
|
+
# Copyright (c) 2009-2013 Dmitry Vasiliev <dima@hlabs.org>
|
|
9
|
+
#
|
|
10
|
+
# Permission is hereby granted, free of charge, to any person obtaining a
|
|
11
|
+
# copy of this software and associated documentation files (the "Software"),
|
|
12
|
+
# to deal in the Software without restriction, including without limitation
|
|
13
|
+
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
14
|
+
# and/or sell copies of the Software, and to permit persons to whom the
|
|
15
|
+
# Software is furnished to do so, subject to the following conditions:
|
|
16
|
+
#
|
|
17
|
+
# The above copyright notice and this permission notice shall be included in
|
|
18
|
+
# all copies or substantial portions of the Software.
|
|
19
|
+
#
|
|
20
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
25
|
+
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
26
|
+
# DEALINGS IN THE SOFTWARE.
|
|
41
27
|
#
|
|
42
28
|
|
|
43
29
|
path = File.split(File.dirname(__FILE__)); path.pop(1)
|
|
44
|
-
$:.unshift File.join(*path
|
|
30
|
+
$:.unshift File.join(*path)
|
|
45
31
|
require 'test/unit'
|
|
46
32
|
require 'erlang'
|
|
47
33
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: erlang_rb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.7.
|
|
4
|
+
version: 1.7.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -36,7 +36,7 @@ cert_chain:
|
|
|
36
36
|
a0RidVd1bUN6dS9SQWdobFZDOVJGRlF0N28xU3dHUXAKTGR2WU9lSmJ2aXlp
|
|
37
37
|
SDFxMXJDM05BSk5DNFA3UTQxengxT1lhOFM5TTVxbitKcEUwWnNvbW5aeUd1
|
|
38
38
|
bldheWE5UQpiVEQvYXc9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
|
|
39
|
-
date: 2017-
|
|
39
|
+
date: 2017-06-07 00:00:00.000000000 Z
|
|
40
40
|
dependencies: []
|
|
41
41
|
description: Erlang Binary Term Format for Ruby
|
|
42
42
|
email: mjtruog@gmail.com
|
|
@@ -50,7 +50,7 @@ files:
|
|
|
50
50
|
- tests/erlang_tests.rb
|
|
51
51
|
homepage: https://github.com/okeuday/erlang_rb
|
|
52
52
|
licenses:
|
|
53
|
-
-
|
|
53
|
+
- MIT
|
|
54
54
|
post_install_message:
|
|
55
55
|
rdoc_options: []
|
|
56
56
|
require_paths:
|
metadata.gz.sig
CHANGED
|
Binary file
|