characteristics 1.1.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 78341f2728dc7ef9e2f869c8b9876e5762b9af616cd2cbf22b8e6944b47eaf67
4
- data.tar.gz: 3bfc5bdc6592244cd00be06fecc4fbd282f59f36efaaeee6db751e6037656dc1
3
+ metadata.gz: 4f6c0c97ced2ba825e903391d7fa85338426d4fa848e1e381f8d5e3327636b95
4
+ data.tar.gz: ce8ecf5daea1e682ffac5dd3a11a6e554b09d392735beba807fb0c096dd55646
5
5
  SHA512:
6
- metadata.gz: 5b75c5ad8083386ef6ab60b19aafcfc47dd5410db0e46a793acb646ef7ae2035e680d9ee526816eb69065cf99be53457130940e9a3ffdff7fe6bcc7e6e69d493
7
- data.tar.gz: 0773244fbe64bdba53952fe6945cf80b6b07433abb5027375c3cf3f06084bbf98d8f6607cb7aba1faf5ce7503949e69bc605e2c4a513ff96b23a10bd0a58eeed
6
+ metadata.gz: 27daa861d1dd894b43df9c4d0ad7c29c3273f56d056e401e5bc2ee84106133501d6e9243b0f4a7f33bfd36e042de0f99bf2256d9782577811826dae950bdec81
7
+ data.tar.gz: 1f1234006989d604a5bb637a5b69ef8968e4f6c5c24a3ac1848e7ca635b6c625c1929b809a91747e44a6201fbef772d204081c124a4660251fd887716ca74fe2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 1.4.1
4
+
5
+ * Add NO-BREAK SPACE to blanks 😅
6
+
7
+ ### 1.4.0
8
+
9
+ * Unicode 14 (general categories)
10
+
11
+ ### 1.3.0
12
+
13
+ * Unicode 13 (general categories)
14
+ * Relax Ruby version requirement to allow Ruby 3.0
15
+
16
+ ### 1.2.0
17
+
18
+ * Unicode 12 (general categories)
19
+
3
20
  ### 1.1.0
4
21
 
5
22
  * Unicode 11 (general categories)
data/MIT-LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2017 Jan Lelis, mail@janlelis.de
1
+ Copyright (c) 2017-2021 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
- # Characteristics [![[version]](https://badge.fury.io/rb/characteristics.svg)](http://badge.fury.io/rb/characteristics) [![[travis]](https://travis-ci.org/janlelis/characteristics.svg)](https://travis-ci.org/janlelis/characteristics)
1
+ # Characteristics [![[version]](https://badge.fury.io/rb/characteristics.svg)](https://badge.fury.io/rb/characteristics) [![[ci]](https://github.com/janlelis/characteristics/workflows/Test/badge.svg)](https://github.com/janlelis/characteristics/actions?query=workflow%3ATest)
2
2
 
3
3
  A Ruby library that provides additional info about characters:¹
4
4
 
@@ -8,7 +8,7 @@ A Ruby library that provides additional info about characters:¹
8
8
 
9
9
  Extra data is available for Unicode characters (see below).
10
10
 
11
- The [unibits](https://github.com/janlelis/unibits) and [uniscribe](https://github.com/janlelis/uniscribe) gems makes use of this data to visualize it accordingliy.
11
+ The [unibits](https://github.com/janlelis/unibits) and [uniscribe](https://github.com/janlelis/uniscribe) gems makes use of this data to visualize it accordingly.
12
12
 
13
13
  ¹ in the sense of [codepoints](https://en.wikipedia.org/wiki/Codepoint)
14
14
 
@@ -118,4 +118,4 @@ This flag is *true* only for special formatting characters, which are not contro
118
118
 
119
119
  ## MIT License
120
120
 
121
- Copyright (C) 2017 Jan Lelis <http://janlelis.com>. Released under the MIT license.
121
+ Copyright (C) 2017-2021 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
 
@@ -5,10 +5,10 @@ require File.dirname(__FILE__) + "/lib/characteristics/version"
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = "characteristics"
7
7
  gem.version = Characteristics::VERSION
8
- gem.summary = "Basic character properties."
9
- gem.description = "A Ruby library which provides some basic information about how characters behave in different encodings."
8
+ gem.summary = "Basic character properties"
9
+ gem.description = "Provides basic information about how characters behave in different encodings"
10
10
  gem.authors = ["Jan Lelis"]
11
- gem.email = ["mail@janlelis.de"]
11
+ gem.email = ["hi@ruby.consulting.com"]
12
12
  gem.homepage = "https://github.com/janlelis/characteristics"
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"
21
- gem.add_dependency 'unicode-categories', '~> 1.3'
20
+ gem.required_ruby_version = ">= 2.0"
21
+ gem.add_dependency 'unicode-categories', '~> 1.7'
22
22
  end
@@ -9,6 +9,7 @@ class UnicodeCharacteristics < Characteristics
9
9
  BLANKS = [
10
10
  0x0009,
11
11
  0x0020,
12
+ 0x00A0,
12
13
  0x00AD,
13
14
  0x034F,
14
15
  0x061C,
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class Characteristics
4
- VERSION = "1.1.0"
5
- UNICODE_VERSION = "11.0.0"
4
+ VERSION = "1.4.1"
5
+ UNICODE_VERSION = "14.0.0"
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: characteristics
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.4.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: 2018-06-05 00:00:00.000000000 Z
11
+ date: 2022-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: unicode-categories
@@ -16,24 +16,22 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.3'
19
+ version: '1.7'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.3'
27
- description: A Ruby library which provides some basic information about how characters
28
- behave in different encodings.
26
+ version: '1.7'
27
+ description: Provides basic information about how characters behave in different encodings
29
28
  email:
30
- - mail@janlelis.de
29
+ - hi@ruby.consulting.com
31
30
  executables: []
32
31
  extensions: []
33
32
  extra_rdoc_files: []
34
33
  files:
35
34
  - ".gitignore"
36
- - ".travis.yml"
37
35
  - CHANGELOG.md
38
36
  - CODE_OF_CONDUCT.md
39
37
  - Gemfile
@@ -59,7 +57,7 @@ require_paths:
59
57
  - lib
60
58
  required_ruby_version: !ruby/object:Gem::Requirement
61
59
  requirements:
62
- - - "~>"
60
+ - - ">="
63
61
  - !ruby/object:Gem::Version
64
62
  version: '2.0'
65
63
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -68,10 +66,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
68
66
  - !ruby/object:Gem::Version
69
67
  version: '0'
70
68
  requirements: []
71
- rubyforge_project:
72
- rubygems_version: 2.7.6
69
+ rubygems_version: 3.3.3
73
70
  signing_key:
74
71
  specification_version: 4
75
- summary: Basic character properties.
72
+ summary: Basic character properties
76
73
  test_files:
77
74
  - spec/characteristics_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