symbolify 1.3.1 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/MIT-LICENSE.txt +1 -1
- data/README.md +2 -2
- data/Rakefile +5 -1
- data/lib/symbolify/version.rb +1 -2
- data/symbolify.gemspec +4 -4
- metadata +7 -9
- data/.travis.yml +0 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87aefbff8db0ef735451e2b96377deccf20dd51e0b68194b1f8e2ccd697c1eb8
|
4
|
+
data.tar.gz: a3241b2b275b3cf7e38fdc5dc1631559b570713b87002348aa7675caa36d25c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95e7ad65bd12f59006d87d64bfe7ba0fb13e9cf3083375b796b670c174f68db4ac63e73d88ca5ecaa6780b52f0a53ff0663f1454423deaeff95f40053530c23f
|
7
|
+
data.tar.gz: 2ba80318dd0623e4cf78a35c84d6991873834b4d7e62013c24f468392870d5bf6f24e9edfa7cc282d6be0c5106204e606ca5c2690e2bbdbc8b6f05b6b6342192
|
data/CHANGELOG.md
CHANGED
data/MIT-LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Symbolify [![[version]](https://badge.fury.io/rb/symbolify.svg)](
|
1
|
+
# Symbolify [![[version]](https://badge.fury.io/rb/symbolify.svg)](https://badge.fury.io/rb/symbolify) [![[ci]](https://github.com/janlelis/symbolify/workflows/Test/badge.svg)](https://github.com/janlelis/symbolify/actions?query=workflow%3ATest)
|
2
2
|
|
3
3
|
Safely print all codepoints from Unicode and single-byte encodings in UTF-8. It replaces control and non-printable characters with readable equivalents and wraps most blank characters in `]` and `[`.
|
4
4
|
|
@@ -37,4 +37,4 @@ puts Symbolify.symbolify "\x80" # �
|
|
37
37
|
|
38
38
|
## MIT License
|
39
39
|
|
40
|
-
Copyright (C) 2017 Jan Lelis <
|
40
|
+
Copyright (C) 2017-2020 Jan Lelis <https://janlelis.com>. Released under the MIT license.
|
data/Rakefile
CHANGED
@@ -32,7 +32,11 @@ end
|
|
32
32
|
|
33
33
|
desc "#{gemspec.name} | Spec"
|
34
34
|
task :spec do
|
35
|
-
|
35
|
+
if RbConfig::CONFIG['host_os'] =~ /mswin|mingw/
|
36
|
+
sh "for %f in (spec/\*.rb) do ruby spec/%f"
|
37
|
+
else
|
38
|
+
sh "for file in spec/*.rb; do ruby $file; done"
|
39
|
+
end
|
36
40
|
end
|
37
41
|
task default: :spec
|
38
42
|
|
data/lib/symbolify/version.rb
CHANGED
data/symbolify.gemspec
CHANGED
@@ -5,10 +5,10 @@ require File.dirname(__FILE__) + "/lib/symbolify/version"
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = "symbolify"
|
7
7
|
gem.version = Symbolify::VERSION
|
8
|
-
gem.summary = "Represent arbitrary
|
9
|
-
gem.description = "Safely print all
|
8
|
+
gem.summary = "Represent arbitrary code points in the terminal"
|
9
|
+
gem.description = "Safely print all code points from Unicode or single-byte encodings"
|
10
10
|
gem.authors = ["Jan Lelis"]
|
11
|
-
gem.email = ["
|
11
|
+
gem.email = ["hi@ruby.consulting"]
|
12
12
|
gem.homepage = "https://github.com/janlelis/symbolify"
|
13
13
|
gem.license = "MIT"
|
14
14
|
|
@@ -17,6 +17,6 @@ Gem::Specification.new do |gem|
|
|
17
17
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
18
|
gem.require_paths = ["lib"]
|
19
19
|
|
20
|
-
gem.required_ruby_version = "
|
20
|
+
gem.required_ruby_version = ">= 2.0"
|
21
21
|
gem.add_dependency "characteristics", ">= 0.8", "< 2.0"
|
22
22
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: symbolify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Lelis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: characteristics
|
@@ -30,15 +30,14 @@ dependencies:
|
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '2.0'
|
33
|
-
description: Safely print all
|
33
|
+
description: Safely print all code points from Unicode or single-byte encodings
|
34
34
|
email:
|
35
|
-
-
|
35
|
+
- hi@ruby.consulting
|
36
36
|
executables: []
|
37
37
|
extensions: []
|
38
38
|
extra_rdoc_files: []
|
39
39
|
files:
|
40
40
|
- ".gitignore"
|
41
|
-
- ".travis.yml"
|
42
41
|
- CHANGELOG.md
|
43
42
|
- CODE_OF_CONDUCT.md
|
44
43
|
- Gemfile
|
@@ -60,7 +59,7 @@ require_paths:
|
|
60
59
|
- lib
|
61
60
|
required_ruby_version: !ruby/object:Gem::Requirement
|
62
61
|
requirements:
|
63
|
-
- - "
|
62
|
+
- - ">="
|
64
63
|
- !ruby/object:Gem::Version
|
65
64
|
version: '2.0'
|
66
65
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
@@ -69,10 +68,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
68
|
- !ruby/object:Gem::Version
|
70
69
|
version: '0'
|
71
70
|
requirements: []
|
72
|
-
|
73
|
-
rubygems_version: 2.7.3
|
71
|
+
rubygems_version: 3.2.3
|
74
72
|
signing_key:
|
75
73
|
specification_version: 4
|
76
|
-
summary: Represent arbitrary
|
74
|
+
summary: Represent arbitrary code points in the terminal
|
77
75
|
test_files:
|
78
76
|
- spec/symbolify_spec.rb
|
data/.travis.yml
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
sudo: false
|
2
|
-
language: ruby
|
3
|
-
|
4
|
-
rvm:
|
5
|
-
- ruby-head
|
6
|
-
- 2.5.1
|
7
|
-
- 2.4.4
|
8
|
-
- 2.3.7
|
9
|
-
- 2.2
|
10
|
-
- 2.1
|
11
|
-
- 2.0
|
12
|
-
- jruby-head
|
13
|
-
- jruby-9.1.16.0
|
14
|
-
|
15
|
-
matrix:
|
16
|
-
allow_failures:
|
17
|
-
- rvm: jruby-head
|
18
|
-
- rvm: ruby-head
|
19
|
-
- rvm: 2.2
|
20
|
-
- rvm: 2.1
|
21
|
-
- rvm: 2.0
|
22
|
-
# fast_finish: true
|