vox-etf 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/vox/encoder.hpp +2 -6
- data/ext/vox/extconf.rb +1 -1
- data/lib/vox/etf/version.rb +1 -1
- data/vox-etf.gemspec +0 -1
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4435ae55a1631c64aa810ea8f6f0beb899f1e3363498f36cd13b2cd661704a97
|
4
|
+
data.tar.gz: 23df68f172a4d60529e72b40d02c74fbe96a342bacf534aad606047c54543167
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca076026d2625686aa7f8f6428ff33a6a7b40571eecb68478ed4684883658854e749e123053544d1861f9bff13b9c8f7d310047afa95ad70ed059036a1b0e4a3
|
7
|
+
data.tar.gz: b708e0871cfae5fb34b74f28024e607684ca386eaf0bc9c9ec9d668a900ab7b3e89f3d2a1b101d4b7fffd3dc870f91c4fb1b11101b01d6ac4e40d0de1b856998
|
data/ext/vox/encoder.hpp
CHANGED
@@ -156,8 +156,7 @@ namespace etf
|
|
156
156
|
|
157
157
|
void encode_symbol(VALUE symbol)
|
158
158
|
{
|
159
|
-
|
160
|
-
erlpack_append_atom_utf8(erl_buff, RSTRING_PTR(str), RSTRING_LEN(str));
|
159
|
+
encode_string(rb_sym2str(symbol));
|
161
160
|
}
|
162
161
|
|
163
162
|
void encode_string(VALUE string)
|
@@ -175,10 +174,7 @@ namespace etf
|
|
175
174
|
{
|
176
175
|
VALUE key = RARRAY_AREF(keys, index / 2);
|
177
176
|
// Normalize keys to strings because discord
|
178
|
-
|
179
|
-
encode_object(rb_sym2str(key));
|
180
|
-
else
|
181
|
-
encode_object(key);
|
177
|
+
encode_object(key);
|
182
178
|
encode_object(rb_hash_aref(hash, key));
|
183
179
|
}
|
184
180
|
}
|
data/ext/vox/extconf.rb
CHANGED
data/lib/vox/etf/version.rb
CHANGED
data/vox-etf.gemspec
CHANGED
@@ -30,7 +30,6 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.require_paths = ['lib']
|
31
31
|
spec.extensions << 'ext/vox/extconf.rb'
|
32
32
|
|
33
|
-
spec.add_dependency 'rice', '~> 2.2.0'
|
34
33
|
spec.add_development_dependency 'rake', '~> 12.3.3'
|
35
34
|
spec.add_development_dependency 'rake-compiler', '~> 1.1.1'
|
36
35
|
spec.add_development_dependency 'rspec', '~> 3.9.0'
|
metadata
CHANGED
@@ -1,29 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vox-etf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Carey
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-09-
|
11
|
+
date: 2020-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: rice
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 2.2.0
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: 2.2.0
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: rake
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|