unibits 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/unibits/symbolify.rb +2 -0
- data/lib/unibits/version.rb +1 -1
- data/spec/unibits_spec.rb +9 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aaa02cdde7f1c57640368a8469d287976196eba9
|
4
|
+
data.tar.gz: e5d47e0b09a8fda618ea27f312383b47ac36687b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08591b3e02adcae96a8610e9fb6532cb6593e6257c1a2f959b2fb9e6b0df8ce6f9f4cd4e21c82fa0a6f43e6cfaf94c723801d9b8510293456102ff4aa536a6ae'
|
7
|
+
data.tar.gz: cf81d951546a3c2a339a461f721b35215080959c07d692786954526589337a4172c6dc7e5b7ca9b21eee1fdea2bab74ad3f930adbc7211338b71b207a73b4c9e
|
data/CHANGELOG.md
CHANGED
data/lib/unibits/symbolify.rb
CHANGED
data/lib/unibits/version.rb
CHANGED
data/spec/unibits_spec.rb
CHANGED
@@ -233,4 +233,13 @@ describe Unibits do
|
|
233
233
|
(result[/^.*$/].size <= 50).must_equal true
|
234
234
|
end
|
235
235
|
end
|
236
|
+
|
237
|
+
describe "bugs / edge cases" do
|
238
|
+
it "should render ASCII space (U+20) as one byte [gh #1]" do
|
239
|
+
string = "\u{1f32b} abc"
|
240
|
+
result = Paint.unpaint(Unibits.visualize(string))
|
241
|
+
result.wont_match /20.*20.*5B/m
|
242
|
+
result.must_match /F0.*9F.*8C.*AB.*20.*61.*62.*63/m
|
243
|
+
end
|
244
|
+
end
|
236
245
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unibits
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Lelis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: paint
|