unicode-version 1.1.0 → 1.2.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: 2298818499a99b0f1c12fa1d0995c0e557dd41cbca8c35ca1ece53a2a4d76701
4
- data.tar.gz: a1d42566a004ec3f15526bea89b270c676e72dd52f2ab2ab5519372f4ba91c61
3
+ metadata.gz: 737d929ffee53b36e1e422c54f94df8fd27b48931125f6ed0724c9454eb98171
4
+ data.tar.gz: 2a62897a7b948e84db5b5d7dd100fc41761e057927b629b4bbf94597da4114c2
5
5
  SHA512:
6
- metadata.gz: 7c777cc151f22aae64f3fa49be07b452956358f3746891d72fa279f23a83e83b7ce90091e1f2428fa3085826f441cd256c294b3659e699aa164cd5a8fff649f2
7
- data.tar.gz: 50bf50aa8160c9f7ddaadcc34a02ab30ac9e224a1e574ce081e13d637aad1a863d0c7aa0c9b8afcc7326593875f2cf7b37ee89449d04dc2a1f1a23dac3ac0b95
6
+ metadata.gz: fdeccd4e5e0ff90f23ae1543f79f1745c7cb0d32737d4a8743a403a480b5812203ee744b9cfc8c97ac56206f40d5715f9d39105096ff8a02c7632c09904d7112
7
+ data.tar.gz: 30f63c789d7a048356158023d4e0a508ba28978946fb3cd8c28ca6dfda68814d477eebab4e0a419506e8860801f784e7252e983f523c0ea9df880c73a2899103
data/CHANGELOG.md CHANGED
@@ -1,8 +1,12 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 1.2.0
4
+
5
+ * Add Ruby 3.1
6
+
3
7
  ### 1.1.0
4
8
 
5
- * Add Ruby 3.0.0
9
+ * Add Ruby 3.0
6
10
 
7
11
  ### 1.0.0
8
12
 
data/MIT-LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2020 Jan Lelis, hi@ruby.consulting
1
+ Copyright (c) 2020-2021 Jan Lelis, hi@ruby.consulting
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
@@ -13,8 +13,8 @@ gem "unicode-version"
13
13
  ## Usage
14
14
 
15
15
  ```ruby
16
- # Returns current Unicode version (example with Ruby 3.0.0)
17
- Unicode::Version.unicode_version # => 12.1
16
+ # Returns current Unicode version (example with Ruby 3.1.0)
17
+ Unicode::Version.unicode_version # => 13.0.0
18
18
 
19
19
  # Returns Unicode version of older Rubies
20
20
  Unicode::Version.unicode_version "2.6.2" # => 12.0.0
@@ -23,8 +23,8 @@ Unicode::Version.unicode_version 1.9 # => 5.2.0
23
23
  # Returns nil when Ruby version too old (before 1.9)
24
24
  Unicode::Version.unicode_version 1.8 # => nil
25
25
 
26
- # Returns current Emoji version (example with Ruby 3.0.0)
27
- Unicode::Version.emoji_version # => 12.1
26
+ # Returns current Emoji version (example with Ruby 3.1.0)
27
+ Unicode::Version.emoji_version # => 13.1
28
28
 
29
29
  # Returns Emoji version of older Rubies
30
30
  Unicode::Version.emoji_version "2.6.2" # => 12.0
@@ -36,4 +36,4 @@ Unicode::Version.emoji_version 2.4 # => nil
36
36
 
37
37
  ## MIT License
38
38
 
39
- Copyright (C) 2020 Jan Lelis <https://janlelis.com>. Released under the MIT license.
39
+ Copyright (C) 2020-2021 Jan Lelis <https://janlelis.com>. Released under the MIT license.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Unicode
4
4
  module Version
5
- VERSION = "1.1.0"
5
+ VERSION = "1.2.0"
6
6
  end
7
7
  end
@@ -8,6 +8,7 @@ module Unicode
8
8
  RB_CONFIG_EMOJI_AVAILABLE = "2.6.0"
9
9
 
10
10
  RUBY_UNICODE_VERSIONS = {
11
+ 3.1 => "13.0.0",
11
12
  3.0 => "12.1.0",
12
13
  2.7 => "12.1.0",
13
14
  2.6 => "12.1.0",
@@ -24,6 +25,7 @@ module Unicode
24
25
  }.freeze
25
26
 
26
27
  RUBY_EMOJI_VERSIONS = {
28
+ 3.1 => "13.1",
27
29
  3.0 => "12.1",
28
30
  2.7 => "12.1",
29
31
  2.6 => "12.0",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unicode-version
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.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: 2020-12-30 00:00:00.000000000 Z
11
+ date: 2021-12-26 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Returns Unicode / Emoji versions of current and previous Rubies
14
14
  email:
@@ -48,7 +48,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
48
48
  - !ruby/object:Gem::Version
49
49
  version: '0'
50
50
  requirements: []
51
- rubygems_version: 3.2.3
51
+ rubygems_version: 3.3.3
52
52
  signing_key:
53
53
  specification_version: 4
54
54
  summary: Ruby / Unicode / Emoji versions mapping