symbolify 1.3.1 → 1.4.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b1fdb49d048bfb36ebf5b5b2815acd1dc14d3296dc7dda6f2e9c9354af0f61a4
4
- data.tar.gz: d041aabab4f13ae222636fcfbad8da570949d4f98dee4a748b84558f0b9a4cfa
3
+ metadata.gz: 87aefbff8db0ef735451e2b96377deccf20dd51e0b68194b1f8e2ccd697c1eb8
4
+ data.tar.gz: a3241b2b275b3cf7e38fdc5dc1631559b570713b87002348aa7675caa36d25c8
5
5
  SHA512:
6
- metadata.gz: ec9956f7e816d35a3b20e68db923daf223cbd3ea0da41252412c4ec0d346ac18b6fdc9b80f63d35649bac4a57c1dd614b268c42fcb2105e5ea3a7c06d80a0879
7
- data.tar.gz: 28a064b1d1d0effd1d7ce7333a4e1861739db711a7e96870dbd0c51eb4e4398b71c921d397f334e8afffe8a4b85456c67f0a3777fd5ea1f128a8fcbbd4dc51c0
6
+ metadata.gz: 95e7ad65bd12f59006d87d64bfe7ba0fb13e9cf3083375b796b670c174f68db4ac63e73d88ca5ecaa6780b52f0a53ff0663f1454423deaeff95f40053530c23f
7
+ data.tar.gz: 2ba80318dd0623e4cf78a35c84d6991873834b4d7e62013c24f468392870d5bf6f24e9edfa7cc282d6be0c5106204e606ca5c2690e2bbdbc8b6f05b6b6342192
@@ -1,5 +1,11 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 1.4.0
4
+
5
+ * Relax Ruby version requirement to allow Ruby 3.0
6
+ * Remove UNICODE_VERSION constant since it only mirrors the one
7
+ of the unicode-categories gem
8
+
3
9
  ### 1.3.1
4
10
 
5
11
  * Allow version of characteristics dependency to 1.x
@@ -1,4 +1,4 @@
1
- Copyright (c) 2017 Jan Lelis, mail@janlelis.de
1
+ Copyright (c) 2017-2020 Jan Lelis, https://janlelis.com
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Symbolify [![[version]](https://badge.fury.io/rb/symbolify.svg)](http://badge.fury.io/rb/symbolify) [![[travis]](https://travis-ci.org/janlelis/symbolify.svg)](https://travis-ci.org/janlelis/symbolify)
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 <http://janlelis.com>. Released under the MIT license.
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
- sh "for file in spec/*_spec.rb; do ruby $file; done"
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
 
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Symbolify
4
- VERSION = "1.3.1".freeze
5
- UNICODE_VERSION = "10.0.0".freeze
4
+ VERSION = "1.4.0"
6
5
  end
7
6
 
@@ -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 codepoints in the terminal."
9
- gem.description = "Safely print all codepoints from Unicode and single-byte encodings."
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 = ["mail@janlelis.de"]
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 = "~> 2.0"
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.3.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: 2018-03-31 00:00:00.000000000 Z
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 codepoints from Unicode and single-byte encodings.
33
+ description: Safely print all code points from Unicode or single-byte encodings
34
34
  email:
35
- - mail@janlelis.de
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
- rubyforge_project:
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 codepoints in the terminal.
74
+ summary: Represent arbitrary code points in the terminal
77
75
  test_files:
78
76
  - spec/symbolify_spec.rb
@@ -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