unicode-types 1.3.0 → 1.7.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 +4 -4
- data/CHANGELOG.md +16 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +4 -2
- data/MIT-LICENSE.txt +1 -1
- data/README.md +5 -6
- data/Rakefile +5 -1
- data/data/types.marshal.gz +0 -0
- data/lib/unicode/types/constants.rb +6 -5
- data/unicode-types.gemspec +4 -4
- metadata +8 -10
- data/.travis.yml +0 -25
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: bb2fc8daadc9f49a2fb87c32b6a03818d1990aa9054eaf22571c9f13470d2e68
         | 
| 4 | 
            +
              data.tar.gz: 3d7eccfb31adbb6a307f3246b7344957ba032df902aec2de70db80396affdb1e
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 2e60a22be8a61f2e55e9ac80e65dbad51c3da6077253193c7aac832b3125f2497a4248fe67f5404878451f46c32d8d80d23f4054cf6d33eaa4ae8acbeba43dd4
         | 
| 7 | 
            +
              data.tar.gz: 8ed348416b253ba38ec242c4f377f19006afeb0eea98ff0e46e3a0b402d4f36a9cf05442298c74c7855f232ed5259b998d0a71ee8d27ac6b0d4d5110eb920c45
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    
    
        data/Gemfile
    CHANGED
    
    
    
        data/Gemfile.lock
    CHANGED
    
    | @@ -1,11 +1,12 @@ | |
| 1 1 | 
             
            PATH
         | 
| 2 2 | 
             
              remote: .
         | 
| 3 3 | 
             
              specs:
         | 
| 4 | 
            -
                unicode-types (1. | 
| 4 | 
            +
                unicode-types (1.6.0)
         | 
| 5 5 |  | 
| 6 6 | 
             
            GEM
         | 
| 7 7 | 
             
              remote: https://rubygems.org/
         | 
| 8 8 | 
             
              specs:
         | 
| 9 | 
            +
                irb (1.0.0)
         | 
| 9 10 | 
             
                minitest (5.10.2)
         | 
| 10 11 | 
             
                rake (12.0.0)
         | 
| 11 12 |  | 
| @@ -13,9 +14,10 @@ PLATFORMS | |
| 13 14 | 
             
              ruby
         | 
| 14 15 |  | 
| 15 16 | 
             
            DEPENDENCIES
         | 
| 17 | 
            +
              irb
         | 
| 16 18 | 
             
              minitest
         | 
| 17 19 | 
             
              rake
         | 
| 18 20 | 
             
              unicode-types!
         | 
| 19 21 |  | 
| 20 22 | 
             
            BUNDLED WITH
         | 
| 21 | 
            -
                | 
| 23 | 
            +
               2.2.13
         | 
    
        data/MIT-LICENSE.txt
    CHANGED
    
    
    
        data/README.md
    CHANGED
    
    | @@ -1,4 +1,4 @@ | |
| 1 | 
            -
            # Unicode::Types [![[version]](https://badge.fury.io/rb/unicode-types.svg)]( | 
| 1 | 
            +
            # Unicode::Types [![[version]](https://badge.fury.io/rb/unicode-types.svg)](https://badge.fury.io/rb/unicode-types)  [![[ci]](https://github.com/janlelis/unicode-types/workflows/Test/badge.svg)](https://github.com/janlelis/unicode-types/actions?query=workflow%3ATest)
         | 
| 2 2 |  | 
| 3 3 | 
             
            Determine the basic type of codepoints. This can be one of:
         | 
| 4 4 |  | 
| @@ -10,11 +10,11 @@ Determine the basic type of codepoints. This can be one of: | |
| 10 10 | 
             
            - Noncharacter
         | 
| 11 11 | 
             
            - Reserved
         | 
| 12 12 |  | 
| 13 | 
            -
            Unicode version: ** | 
| 13 | 
            +
            Unicode version: **14.0.0** (September 2021)
         | 
| 14 14 |  | 
| 15 | 
            -
            Supported Rubies: ** | 
| 15 | 
            +
            Supported Rubies: **3.0**, **2.7**
         | 
| 16 16 |  | 
| 17 | 
            -
            Old Rubies that might still work: **2.2**, **2.1**, **2.0**
         | 
| 17 | 
            +
            Old Rubies that might still work: **2.6**, **2.5**, **2.4**, **2.3**, **2.2**, **2.1**, **2.0**
         | 
| 18 18 |  | 
| 19 19 | 
             
            ## Gemfile
         | 
| 20 20 |  | 
| @@ -43,6 +43,5 @@ See [unicode-x](https://github.com/janlelis/unicode-x) for more Unicode related | |
| 43 43 |  | 
| 44 44 | 
             
            ## MIT License
         | 
| 45 45 |  | 
| 46 | 
            -
            - Copyright (C) 2016- | 
| 46 | 
            +
            - Copyright (C) 2016-2021 Jan Lelis <https://janlelis.com>. Released under the MIT license.
         | 
| 47 47 | 
             
            - Unicode data: http://www.unicode.org/copyright.html#Exhibit1
         | 
| 48 | 
            -
             | 
    
        data/Rakefile
    CHANGED
    
    | @@ -32,6 +32,10 @@ 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
         | 
    
        data/data/types.marshal.gz
    CHANGED
    
    | Binary file | 
| @@ -1,9 +1,10 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 2 | 
            +
             | 
| 1 3 | 
             
            module Unicode
         | 
| 2 4 | 
             
              module Types
         | 
| 3 | 
            -
                VERSION = "1. | 
| 4 | 
            -
                UNICODE_VERSION = " | 
| 5 | 
            -
                DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) +  | 
| 6 | 
            -
                INDEX_FILENAME = (DATA_DIRECTORY +  | 
| 5 | 
            +
                VERSION = "1.7.0"
         | 
| 6 | 
            +
                UNICODE_VERSION = "14.0.0"
         | 
| 7 | 
            +
                DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + "/../../../data/").freeze
         | 
| 8 | 
            +
                INDEX_FILENAME = (DATA_DIRECTORY + "/types.marshal.gz").freeze
         | 
| 7 9 | 
             
              end
         | 
| 8 10 | 
             
            end
         | 
| 9 | 
            -
             | 
    
        data/unicode-types.gemspec
    CHANGED
    
    | @@ -5,10 +5,10 @@ require File.dirname(__FILE__) + "/lib/unicode/types/constants" | |
| 5 5 | 
             
            Gem::Specification.new do |gem|
         | 
| 6 6 | 
             
              gem.name          = "unicode-types"
         | 
| 7 7 | 
             
              gem.version       = Unicode::Types::VERSION
         | 
| 8 | 
            -
              gem.summary       = " | 
| 9 | 
            -
              gem.description   = "[Unicode #{Unicode::Types::UNICODE_VERSION}]  | 
| 8 | 
            +
              gem.summary       = "Determines the very basic type of a code point"
         | 
| 9 | 
            +
              gem.description   = "[Unicode #{Unicode::Types::UNICODE_VERSION}] Determines the very basic type of codepoints (one of: Graphic, Format, Control, Private-use, Surrogate, Noncharacter, Reserved)"
         | 
| 10 10 | 
             
              gem.authors       = ["Jan Lelis"]
         | 
| 11 | 
            -
              gem.email         = [" | 
| 11 | 
            +
              gem.email         = ["hi@ruby.consulting"]
         | 
| 12 12 | 
             
              gem.homepage      = "https://github.com/janlelis/unicode-types"
         | 
| 13 13 | 
             
              gem.license       = "MIT"
         | 
| 14 14 |  | 
| @@ -17,5 +17,5 @@ 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 | 
             
            end
         | 
    
        metadata
    CHANGED
    
    | @@ -1,25 +1,24 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: unicode-types
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1. | 
| 4 | 
            +
              version: 1.7.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: 2021-09-15 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies: []
         | 
| 13 | 
            -
            description: "[Unicode  | 
| 14 | 
            -
              Control, Private-use, Surrogate, Noncharacter, Reserved)"
         | 
| 13 | 
            +
            description: "[Unicode 14.0.0] Determines the very basic type of codepoints (one of:
         | 
| 14 | 
            +
              Graphic, Format, Control, Private-use, Surrogate, Noncharacter, Reserved)"
         | 
| 15 15 | 
             
            email:
         | 
| 16 | 
            -
            -  | 
| 16 | 
            +
            - hi@ruby.consulting
         | 
| 17 17 | 
             
            executables: []
         | 
| 18 18 | 
             
            extensions: []
         | 
| 19 19 | 
             
            extra_rdoc_files: []
         | 
| 20 20 | 
             
            files:
         | 
| 21 21 | 
             
            - ".gitignore"
         | 
| 22 | 
            -
            - ".travis.yml"
         | 
| 23 22 | 
             
            - CHANGELOG.md
         | 
| 24 23 | 
             
            - CODE_OF_CONDUCT.md
         | 
| 25 24 | 
             
            - Gemfile
         | 
| @@ -44,7 +43,7 @@ require_paths: | |
| 44 43 | 
             
            - lib
         | 
| 45 44 | 
             
            required_ruby_version: !ruby/object:Gem::Requirement
         | 
| 46 45 | 
             
              requirements:
         | 
| 47 | 
            -
              - - " | 
| 46 | 
            +
              - - ">="
         | 
| 48 47 | 
             
                - !ruby/object:Gem::Version
         | 
| 49 48 | 
             
                  version: '2.0'
         | 
| 50 49 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| @@ -53,10 +52,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 53 52 | 
             
                - !ruby/object:Gem::Version
         | 
| 54 53 | 
             
                  version: '0'
         | 
| 55 54 | 
             
            requirements: []
         | 
| 56 | 
            -
             | 
| 57 | 
            -
            rubygems_version: 2.7.6
         | 
| 55 | 
            +
            rubygems_version: 3.2.3
         | 
| 58 56 | 
             
            signing_key: 
         | 
| 59 57 | 
             
            specification_version: 4
         | 
| 60 | 
            -
            summary:  | 
| 58 | 
            +
            summary: Determines the very basic type of a code point
         | 
| 61 59 | 
             
            test_files:
         | 
| 62 60 | 
             
            - spec/unicode_types_spec.rb
         | 
    
        data/.travis.yml
    DELETED
    
    | @@ -1,25 +0,0 @@ | |
| 1 | 
            -
            sudo: false
         | 
| 2 | 
            -
            language: ruby
         | 
| 3 | 
            -
             | 
| 4 | 
            -
            script: bundle exec ruby spec/unicode_types_spec.rb
         | 
| 5 | 
            -
             | 
| 6 | 
            -
            rvm:
         | 
| 7 | 
            -
            - ruby-head
         | 
| 8 | 
            -
            - 2.5.1
         | 
| 9 | 
            -
            - 2.4.4
         | 
| 10 | 
            -
            - 2.3.7
         | 
| 11 | 
            -
            - 2.2
         | 
| 12 | 
            -
            - 2.1
         | 
| 13 | 
            -
            - 2.0
         | 
| 14 | 
            -
            - jruby-head
         | 
| 15 | 
            -
            - jruby-9.1.16.0
         | 
| 16 | 
            -
             | 
| 17 | 
            -
            matrix:
         | 
| 18 | 
            -
              allow_failures:
         | 
| 19 | 
            -
                - rvm: jruby-head
         | 
| 20 | 
            -
                - rvm: ruby-head
         | 
| 21 | 
            -
                - rvm: 2.2
         | 
| 22 | 
            -
                - rvm: 2.1
         | 
| 23 | 
            -
                - rvm: 2.0
         | 
| 24 | 
            -
            #   fast_finish: true
         | 
| 25 | 
            -
             |