characteristics 1.0.0 → 1.4.0

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: 929d290ccf66ab02c9e41f0e50f3f0ffe618adef6a4e93eb2900622662b417b2
4
- data.tar.gz: 8458f4147c41ec50120fdbcc24c94e2de41d4696c47a3c29467c3f29efe970d1
3
+ metadata.gz: f42097b0c534440224b1ff928bfdf6f79322931e207ae843265ec3d6332b1d4f
4
+ data.tar.gz: c412d8c8b45e1c8e7a553556445cf61081342072d22f4510b8b0410b03c937d6
5
5
  SHA512:
6
- metadata.gz: 87265e98fcebf99ad6dfd3543643a4efbc7fde2426c290ea27fd5fcbd38646f80a47e0cbde06378b4bedc19144b8b7f810d2f4751b0dc6b14e0697052d788a39
7
- data.tar.gz: d66c4e08a91f9d6c8c0dfb94ef7bafecb44fc6ae88fb30ff661b9b86c766a186adc1de148d3ebc4b200d0c67b102279bc92a59aecdac910e0f3548ef6ca5f60f
6
+ metadata.gz: 2879f78aeeb2e9296682b1dec6b6c7858b2cd9fa233d9d8b5721e4b313ef3f74dd3d44d611ef912e1008348ccdb5567428ad09df2ada00576335e5e8799f63b1
7
+ data.tar.gz: 57ffd57251526afcd12399cb524f7db39542f3732c060af98889d0dae59386e237be6118fd43639e030919b36a47fa63c1b2a105b2db444e2daaa6906e5f5033
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 1.4.0
4
+
5
+ * Unicode 14 (general categories)
6
+
7
+ ### 1.3.0
8
+
9
+ * Unicode 13 (general categories)
10
+ * Relax Ruby version requirement to allow Ruby 3.0
11
+
12
+ ### 1.2.0
13
+
14
+ * Unicode 12 (general categories)
15
+
16
+ ### 1.1.0
17
+
18
+ * Unicode 11 (general categories)
19
+
3
20
  ### 1.0.0
4
21
 
5
22
  * Mark as production-ready, no API changes
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.2'
20
+ gem.required_ruby_version = ">= 2.0"
21
+ gem.add_dependency 'unicode-categories', '~> 1.7'
22
22
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class Characteristics
4
- VERSION = "1.0.0".freeze
5
- UNICODE_VERSION = "10.0.0".freeze
4
+ VERSION = "1.4.0"
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.0.0
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: 2021-09-15 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.2'
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.2'
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.3
69
+ rubygems_version: 3.2.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