wcswidth 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 +5 -5
- data/CHANGELOG.md +5 -1
- data/MIT-LICENSE.txt +1 -1
- data/README.md +2 -2
- data/lib/wcswidth/version.rb +3 -2
- data/wcswidth.gemspec +2 -2
- metadata +5 -7
- data/.travis.yml +0 -18
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: daa9faf3aa77c7c5022d11c61888c0a48fb15ddb8d228a4419a793f447430d65
|
|
4
|
+
data.tar.gz: 36e96a63704254f65d0ef75075fb8c92fb93b96d4ab5301152dedbf0c7812cee
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '059bdf18529f984f99094efce15d9aa51082326c7b8cd6857bf4345a8d68f76b2ed553780775ac097d6201ba3f72d572fe9b3dffcf04956f98f8f8ed4c235fed'
|
|
7
|
+
data.tar.gz: b6c94d6b11e8d8e5ec76e60f0bc3e643a483e4f9ae08f2dc039217ff63eb32582493a6b100510bd5f5c0521434078319eff64f097164a241c2240a7e74464c80
|
data/CHANGELOG.md
CHANGED
data/MIT-LICENSE.txt
CHANGED
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# wcswidth [![[version]](https://badge.fury.io/rb/wcswidth.svg)](
|
|
1
|
+
# wcswidth [![[version]](https://badge.fury.io/rb/wcswidth.svg)](https://badge.fury.io/rb/wcswidth) [![[ci]](https://github.com/janlelis/wcswidth/workflows/Test/badge.svg)](https://github.com/janlelis/wcswidth/actions?query=workflow%3ATest)
|
|
2
2
|
|
|
3
3
|
Determine terminal display width (columns) of Ruby strings via [FFI bindings](https://github.com/ffi/ffi/wiki) to libc's [wcswidth()](http://man7.org/linux/man-pages/man3/wcswidth.3.html) function.
|
|
4
4
|
|
|
@@ -30,4 +30,4 @@ Without opting in for `wcswidth/kernel_method` it is `Wcswidth.of("string")`
|
|
|
30
30
|
|
|
31
31
|
## MIT License
|
|
32
32
|
|
|
33
|
-
Copyright (C) 2016 Jan Lelis <
|
|
33
|
+
Copyright (C) 2016 Jan Lelis <https://janlelis.com>. Released under the MIT license.
|
data/lib/wcswidth/version.rb
CHANGED
data/wcswidth.gemspec
CHANGED
|
@@ -8,7 +8,7 @@ Gem::Specification.new do |gem|
|
|
|
8
8
|
gem.summary = "FFI bindings to libc's wcswidth()"
|
|
9
9
|
gem.description = "Determine terminal display width (columns) of Ruby strings via FFI bindings to libc's wcswidth() function"
|
|
10
10
|
gem.authors = ["Jan Lelis"]
|
|
11
|
-
gem.email = ["
|
|
11
|
+
gem.email = ["hi@ruby.consulting"]
|
|
12
12
|
gem.homepage = "https://github.com/janlelis/wcswidth-ruby"
|
|
13
13
|
gem.license = "MIT"
|
|
14
14
|
|
|
@@ -17,7 +17,7 @@ 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
|
gem.add_dependency 'ffi', "~> 1.9"
|
|
22
22
|
gem.add_development_dependency 'rake', "~> 10.5"
|
|
23
23
|
gem.add_development_dependency 'rspec', "~> 3.4"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wcswidth
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.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:
|
|
11
|
+
date: 2021-01-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ffi
|
|
@@ -55,14 +55,13 @@ dependencies:
|
|
|
55
55
|
description: Determine terminal display width (columns) of Ruby strings via FFI bindings
|
|
56
56
|
to libc's wcswidth() function
|
|
57
57
|
email:
|
|
58
|
-
-
|
|
58
|
+
- hi@ruby.consulting
|
|
59
59
|
executables: []
|
|
60
60
|
extensions: []
|
|
61
61
|
extra_rdoc_files: []
|
|
62
62
|
files:
|
|
63
63
|
- ".gitignore"
|
|
64
64
|
- ".rspec"
|
|
65
|
-
- ".travis.yml"
|
|
66
65
|
- CHANGELOG.md
|
|
67
66
|
- CODE_OF_CONDUCT.md
|
|
68
67
|
- Gemfile
|
|
@@ -87,7 +86,7 @@ require_paths:
|
|
|
87
86
|
- lib
|
|
88
87
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
89
88
|
requirements:
|
|
90
|
-
- - "
|
|
89
|
+
- - ">="
|
|
91
90
|
- !ruby/object:Gem::Version
|
|
92
91
|
version: '2.0'
|
|
93
92
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
@@ -96,8 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
96
95
|
- !ruby/object:Gem::Version
|
|
97
96
|
version: '0'
|
|
98
97
|
requirements: []
|
|
99
|
-
|
|
100
|
-
rubygems_version: 2.5.1
|
|
98
|
+
rubygems_version: 3.2.4
|
|
101
99
|
signing_key:
|
|
102
100
|
specification_version: 4
|
|
103
101
|
summary: FFI bindings to libc's wcswidth()
|