unicode-display_width 1.0.0 → 1.0.1

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
  SHA1:
3
- metadata.gz: e33d3077d16ee2ad442841b2e30f4e6166597a1c
4
- data.tar.gz: 23bd47c3b47e3ffe0795a94315f2629d669e58e0
3
+ metadata.gz: 5d3bd4aade60ddb9dc53c80e97de9cb8efa1b613
4
+ data.tar.gz: 297f096aed5f8b5f198632a76ac12f4520aa4ad6
5
5
  SHA512:
6
- metadata.gz: 90a0db88800f45f0e7cd53247b338bad6ae9c3c7682223f50e9c8fdeb0a5e6873a6e6449581283e1836d26ae90c6914a8889c9560f419f7fc6b28ab1201eda73
7
- data.tar.gz: d4d6e252efe9b804c519e5a9e456a64ca99fedbd6fd67280878c22cec81813e9f147f7818a28f274491ff1adfd8fd283079cce522ffc8e9160f3431fd41c8705
6
+ metadata.gz: eecce6f11f47d9ac6defbc9d60761afacf80fa6ad6525c744d91403b3929e02f7f0c4c3affe8ff0398b4c9decc3cccb26f7a4c6ac1e192bf9fed3c549ca8d28b
7
+ data.tar.gz: 556b061db117f37e2a0293af28fd391c09062abd767b57972f066c152a209d8981e1f2d39ba7573131065d45a2000b62840197867385f5bca75cad4226f9513a
@@ -1,3 +1,7 @@
1
+ # CHANGELOG
2
+ ## 1.0.1
3
+ * Inofficially allow Ruby 1.9
4
+
1
5
  ## 1.0.0
2
6
 
3
7
  * Faster than 0.3.1
@@ -1,6 +1,6 @@
1
1
  module Unicode
2
2
  module DisplayWidth
3
- VERSION = '1.0.0'.freeze
3
+ VERSION = '1.0.1'.freeze
4
4
  DATA_DIRECTORY = File.join(File.dirname(__FILE__), '../../../data/').freeze
5
5
  INDEX_FILENAME = (DATA_DIRECTORY + 'unicode-width.index').freeze
6
6
  end
@@ -7,12 +7,12 @@ Gem::Specification.new do |s|
7
7
  s.authors = ["Jan Lelis"]
8
8
  s.email = "mail@janlelis.de"
9
9
  s.homepage = "http://github.com/janlelis/unicode-display_width"
10
- s.summary = "Support for east_asian_width string widths."
11
- s.description = "This gem adds String#display_width to get the display size of a string using EastAsianWidth.txt."
10
+ s.summary = "Determines the monospace display width of a string in Ruby."
11
+ s.description = "Determines the monospace display width of a string using EastAsianWidth.txt, Unicode general category, and other data."
12
12
  s.files = Dir.glob(%w[{lib,spec}/**/*.rb [A-Z]*.{txt,rdoc} data/unicode-width.index]) + %w{Rakefile unicode-display_width.gemspec}
13
13
  s.extra_rdoc_files = ["README.md", "MIT-LICENSE.txt", "CHANGELOG.txt"]
14
14
  s.license = 'MIT'
15
- s.required_ruby_version = '~> 2.0'
15
+ s.required_ruby_version = '>= 1.9.3', '< 3.0.0'
16
16
  s.add_development_dependency 'rspec', '~> 3.4'
17
17
  s.add_development_dependency 'rake', '~> 10.4'
18
18
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unicode-display_width
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.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: 2016-03-02 00:00:00.000000000 Z
11
+ date: 2016-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -38,8 +38,8 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.4'
41
- description: This gem adds String#display_width to get the display size of a string
42
- using EastAsianWidth.txt.
41
+ description: Determines the monospace display width of a string using EastAsianWidth.txt,
42
+ Unicode general category, and other data.
43
43
  email: mail@janlelis.de
44
44
  executables: []
45
45
  extensions: []
@@ -71,9 +71,12 @@ require_paths:
71
71
  - lib
72
72
  required_ruby_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - "~>"
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: 1.9.3
77
+ - - "<"
75
78
  - !ruby/object:Gem::Version
76
- version: '2.0'
79
+ version: 3.0.0
77
80
  required_rubygems_version: !ruby/object:Gem::Requirement
78
81
  requirements:
79
82
  - - ">="
@@ -84,5 +87,5 @@ rubyforge_project:
84
87
  rubygems_version: 2.5.1
85
88
  signing_key:
86
89
  specification_version: 4
87
- summary: Support for east_asian_width string widths.
90
+ summary: Determines the monospace display width of a string in Ruby.
88
91
  test_files: []