unicopy 1.0.0 → 1.0.2
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 +4 -58
- data/Gemfile +1 -1
- data/Gemfile.lock +58 -49
- data/MIT-LICENSE.txt +1 -1
- data/README.md +2 -2
- data/Rakefile +5 -1
- data/lib/unicopy/version.rb +3 -1
- data/unicopy.gemspec +4 -3
- metadata +8 -9
- data/.travis.yml +0 -22
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: a081342a9a0c9ec56e554077c080456b0a8f5b22633ed137d58254caff98c251
|
|
4
|
+
data.tar.gz: 0e96a5c0d68782e0897859bb9b59cfe30a4bbc254a9c4afa8182caf71f31cc3e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 871d1531272f38745e88bf587c9cc104654f20d574cdf9e2f8b9b3b893c9fecce982b2d29d098ea51b3ef19e27fcdca1376c9b4b9a63b6292779ba42fe546071
|
|
7
|
+
data.tar.gz: bc23fec60ea6fc94db142fcb22a7dde3c405f3cd020faeb80206fac2a0d582b31b45cbfdd4a3fa19fa8dba2c335840845ea95b9ac36ebf74b74e64e666f5d425
|
data/CHANGELOG.md
CHANGED
|
@@ -1,67 +1,13 @@
|
|
|
1
1
|
## CHANGELOG
|
|
2
2
|
|
|
3
|
-
###
|
|
3
|
+
### 1.0.2
|
|
4
4
|
|
|
5
|
-
*
|
|
6
|
-
* Update characteristics gem (includes a new blank)
|
|
5
|
+
* Re-release with MFA setting in gemspec + updated CI
|
|
7
6
|
|
|
8
|
-
###
|
|
7
|
+
### 1.0.1
|
|
9
8
|
|
|
10
|
-
*
|
|
11
|
-
* Highlight control chars that are also blanks as blank
|
|
12
|
-
* Highlight CGJ as blank
|
|
13
|
-
* Highlight NEL as blank (only in Unicode)
|
|
14
|
-
* Add Unicode version to `unibits --version` command
|
|
15
|
-
|
|
16
|
-
### 2.2.0
|
|
17
|
-
|
|
18
|
-
* Add mongolian free variation selectors and combining grapheme joiner to interesting codepoints list
|
|
19
|
-
* Green highlighting of "marks" in Unicode
|
|
20
|
-
* Always use dotted circle for non-spacing marks
|
|
21
|
-
* Always prepend enclosing marks with a space
|
|
22
|
-
* Update characteristics gem (includes new blanks and UTF-8 dialects with japanese emojis)
|
|
23
|
-
|
|
24
|
-
### 2.1.1
|
|
25
|
-
|
|
26
|
-
* Proper UTF-32 validness / invalid codepoint highlighting, see https://bugs.ruby-lang.org/issues/13292
|
|
27
|
-
|
|
28
|
-
### 2.1.0
|
|
29
|
-
|
|
30
|
-
* Support more encoding: IBMX, CP85X, macX, TIS-620/Windows-874, and KOI8-X
|
|
31
|
-
* Highlight non-control formatting characters in pink
|
|
32
|
-
* Improve `unibits --help` command
|
|
33
|
-
|
|
34
|
-
### 2.0.0
|
|
35
|
-
|
|
36
|
-
* Support more encodings: ISO-8859-X and Windows-125X
|
|
37
|
-
* Add three HANGUL characters (U+115F, U+1160, U+3164) to list of possible white spaces
|
|
38
|
-
* Move character handling to separate gem. It is called [characteristics](https://github.com/janlelis/characteristics).
|
|
39
|
-
* Highlight control chars in blue and blanks in light blue
|
|
40
|
-
* Handle encodings that are not convertible to UTF-8
|
|
41
|
-
|
|
42
|
-
### 1.3.0
|
|
43
|
-
|
|
44
|
-
* Add variation selectors 17-256 (U+E0100 - U+E01EF)
|
|
45
|
-
* Add U+1D159 (MUSICAL SYMBOL NULL NOTEHEAD) to list of possible white spaces
|
|
46
|
-
* Bump unicode-categories dependency for more reliable unassigned codepoint detection
|
|
47
|
-
|
|
48
|
-
### 1.2.1
|
|
49
|
-
|
|
50
|
-
* Fix bug that inserted wrong bytes
|
|
51
|
-
|
|
52
|
-
### 1.2.0
|
|
53
|
-
|
|
54
|
-
* Do not display (but highlight) unassigned codepoints
|
|
55
|
-
|
|
56
|
-
### 1.1.0
|
|
57
|
-
|
|
58
|
-
* Support (and highlight) invalid encodings \o/
|
|
59
|
-
* Improve character symbolification
|
|
60
|
-
* Fix that the Kernel method would not take keyword arguments
|
|
61
|
-
* New option for setting a custom output width to use
|
|
62
|
-
* New option for activating wide ambiguous characters
|
|
9
|
+
* Relax Ruby version requirement to allow Ruby 3.0
|
|
63
10
|
|
|
64
11
|
### 1.0.0
|
|
65
12
|
|
|
66
13
|
* Initial release
|
|
67
|
-
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
unicopy (1.0.
|
|
4
|
+
unicopy (1.0.2)
|
|
5
5
|
clipboard (~> 1.1)
|
|
6
6
|
paint (>= 0.9, < 3.0)
|
|
7
7
|
rationalist (~> 2.0)
|
|
@@ -9,68 +9,77 @@ PATH
|
|
|
9
9
|
GEM
|
|
10
10
|
remote: https://rubygems.org/
|
|
11
11
|
specs:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
code (0.9.1)
|
|
12
|
+
cd (1.0.2)
|
|
13
|
+
clipboard (1.3.6)
|
|
14
|
+
code (0.9.4)
|
|
16
15
|
coderay (~> 1.1)
|
|
17
|
-
method_source (
|
|
18
|
-
coderay (1.1.
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
method_source (>= 0.9, < 2.0)
|
|
17
|
+
coderay (1.1.3)
|
|
18
|
+
core_docs (0.9.10)
|
|
19
|
+
yard (~> 0.9.11)
|
|
20
|
+
debugging (2.1.0)
|
|
21
21
|
paint (>= 0.9, < 3.0)
|
|
22
|
-
every_day_irb (2.
|
|
22
|
+
every_day_irb (2.2.0)
|
|
23
23
|
cd (~> 1.0)
|
|
24
|
-
fancy_irb (
|
|
24
|
+
fancy_irb (2.1.2)
|
|
25
|
+
irb (>= 1.7, < 2.0)
|
|
25
26
|
paint (>= 0.9, < 3.0)
|
|
26
|
-
unicode-display_width (
|
|
27
|
-
ffi (1.
|
|
28
|
-
ffi (1.9.18-java)
|
|
27
|
+
unicode-display_width (>= 2.5)
|
|
28
|
+
ffi (1.16.3)
|
|
29
29
|
hirb (0.7.3)
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
30
|
+
interactive_editor (0.0.12)
|
|
31
|
+
spoon (~> 0.0.6)
|
|
32
|
+
io-console (0.7.2)
|
|
33
|
+
irb (1.12.0)
|
|
34
|
+
rdoc
|
|
35
|
+
reline (>= 0.4.2)
|
|
36
|
+
irbtools (4.0.6)
|
|
37
|
+
clipboard (~> 1.3)
|
|
38
|
+
code (>= 0.9.4, < 2.0)
|
|
37
39
|
coderay (~> 1.1)
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
40
|
+
core_docs (~> 0.9.9)
|
|
41
|
+
debugging (~> 2.1)
|
|
42
|
+
every_day_irb (~> 2.2)
|
|
43
|
+
fancy_irb (~> 2.1)
|
|
41
44
|
hirb (~> 0.7, >= 0.7.3)
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
methodfinder (~> 2.
|
|
46
|
-
|
|
47
|
-
os (~> 1.
|
|
45
|
+
interactive_editor (~> 0.0, >= 0.0.12)
|
|
46
|
+
irb (~> 1.8)
|
|
47
|
+
looksee (~> 5.0)
|
|
48
|
+
methodfinder (~> 2.2, >= 2.2.5)
|
|
49
|
+
object_shadow (~> 1.1)
|
|
50
|
+
os (~> 1.1, >= 1.1.4)
|
|
48
51
|
paint (>= 0.9, < 3.0)
|
|
49
|
-
ruby_engine (~>
|
|
50
|
-
ruby_info (~> 1.0)
|
|
52
|
+
ruby_engine (~> 2.0)
|
|
51
53
|
ruby_version (~> 1.0)
|
|
52
|
-
wirb (~> 2.0)
|
|
53
|
-
|
|
54
|
-
method_source (0.
|
|
55
|
-
methodfinder (2.
|
|
56
|
-
minitest (5.
|
|
57
|
-
|
|
58
|
-
os (1.
|
|
59
|
-
paint (2.
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
54
|
+
wirb (~> 2.0, >= 2.2.1)
|
|
55
|
+
looksee (5.0.0)
|
|
56
|
+
method_source (1.0.0)
|
|
57
|
+
methodfinder (2.2.5)
|
|
58
|
+
minitest (5.22.3)
|
|
59
|
+
object_shadow (1.1.1)
|
|
60
|
+
os (1.1.4)
|
|
61
|
+
paint (2.3.0)
|
|
62
|
+
psych (5.1.2)
|
|
63
|
+
stringio
|
|
64
|
+
rake (13.2.0)
|
|
65
|
+
rationalist (2.0.1)
|
|
66
|
+
rdoc (6.6.3.1)
|
|
67
|
+
psych (>= 4.0.0)
|
|
68
|
+
reline (0.5.0)
|
|
69
|
+
io-console (~> 0.5)
|
|
70
|
+
ruby_engine (2.0.1)
|
|
71
|
+
ruby_version (1.0.3)
|
|
65
72
|
spoon (0.0.6)
|
|
66
73
|
ffi
|
|
67
|
-
|
|
68
|
-
|
|
74
|
+
stringio (3.1.0)
|
|
75
|
+
unicode-display_width (2.5.0)
|
|
76
|
+
wirb (2.2.2)
|
|
69
77
|
paint (>= 0.9, < 3.0)
|
|
78
|
+
yard (0.9.36)
|
|
70
79
|
|
|
71
80
|
PLATFORMS
|
|
72
|
-
java
|
|
73
81
|
ruby
|
|
82
|
+
x86_64-linux
|
|
74
83
|
|
|
75
84
|
DEPENDENCIES
|
|
76
85
|
irbtools
|
|
@@ -79,4 +88,4 @@ DEPENDENCIES
|
|
|
79
88
|
unicopy!
|
|
80
89
|
|
|
81
90
|
BUNDLED WITH
|
|
82
|
-
|
|
91
|
+
2.5.3
|
data/MIT-LICENSE.txt
CHANGED
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# unicopy [![[version]](https://badge.fury.io/rb/unicopy.svg)](
|
|
1
|
+
# unicopy | Convert the Codepoints [![[version]](https://badge.fury.io/rb/unicopy.svg)](https://badge.fury.io/rb/unicopy) [![[ci]](https://github.com/janlelis/unicopy/workflows/Test/badge.svg)](https://github.com/janlelis/unicopy/actions?query=workflow%3ATest)
|
|
2
2
|
|
|
3
3
|
CLI utility which converts Unicode codepoints to a string (or vice versa). Copies the result to the system clipboard or just prints it to the console.
|
|
4
4
|
|
|
@@ -185,4 +185,4 @@ $ unicopy --string "Ruby 🌫" --print --bytes-utf8
|
|
|
185
185
|
- [unibits](https://github.com/janlelis/unibits)
|
|
186
186
|
- [uniscribe](https://github.com/janlelis/uniscribe)
|
|
187
187
|
|
|
188
|
-
Copyright (C) 2017 Jan Lelis <
|
|
188
|
+
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
|
-
|
|
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
|
|
data/lib/unicopy/version.rb
CHANGED
data/unicopy.gemspec
CHANGED
|
@@ -5,10 +5,10 @@ require File.dirname(__FILE__) + "/lib/unicopy/version"
|
|
|
5
5
|
Gem::Specification.new do |gem|
|
|
6
6
|
gem.name = "unicopy"
|
|
7
7
|
gem.version = Unicopy::VERSION
|
|
8
|
-
gem.summary = "Converts Unicode codepoints to a string (or vice versa) and copies it to the system clipboard
|
|
8
|
+
gem.summary = "Converts Unicode codepoints to a string (or vice versa) and copies it to the system clipboard"
|
|
9
9
|
gem.description = "Converts Unicode codepoints to a string (or vice versa) and copies it to the system clipboard. Can also convert codepoints to many dump formats."
|
|
10
10
|
gem.authors = ["Jan Lelis"]
|
|
11
|
-
gem.email = ["
|
|
11
|
+
gem.email = ["hi@ruby.consulting"]
|
|
12
12
|
gem.homepage = "https://github.com/janlelis/unicopy"
|
|
13
13
|
gem.license = "MIT"
|
|
14
14
|
|
|
@@ -16,10 +16,11 @@ Gem::Specification.new do |gem|
|
|
|
16
16
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
|
17
17
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
|
18
18
|
gem.require_paths = ["lib"]
|
|
19
|
+
gem.metadata = { "rubygems_mfa_required" => "true" }
|
|
19
20
|
|
|
20
21
|
gem.add_dependency 'paint', '>= 0.9', '< 3.0'
|
|
21
22
|
gem.add_dependency 'rationalist', '~> 2.0'
|
|
22
23
|
gem.add_dependency 'clipboard', '~> 1.1'
|
|
23
24
|
|
|
24
|
-
gem.required_ruby_version = "
|
|
25
|
+
gem.required_ruby_version = ">= 2.0"
|
|
25
26
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: unicopy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
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: 2024-04-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: paint
|
|
@@ -61,14 +61,13 @@ dependencies:
|
|
|
61
61
|
description: Converts Unicode codepoints to a string (or vice versa) and copies it
|
|
62
62
|
to the system clipboard. Can also convert codepoints to many dump formats.
|
|
63
63
|
email:
|
|
64
|
-
-
|
|
64
|
+
- hi@ruby.consulting
|
|
65
65
|
executables:
|
|
66
66
|
- unicopy
|
|
67
67
|
extensions: []
|
|
68
68
|
extra_rdoc_files: []
|
|
69
69
|
files:
|
|
70
70
|
- ".gitignore"
|
|
71
|
-
- ".travis.yml"
|
|
72
71
|
- CHANGELOG.md
|
|
73
72
|
- CODE_OF_CONDUCT.md
|
|
74
73
|
- Gemfile
|
|
@@ -85,14 +84,15 @@ files:
|
|
|
85
84
|
homepage: https://github.com/janlelis/unicopy
|
|
86
85
|
licenses:
|
|
87
86
|
- MIT
|
|
88
|
-
metadata:
|
|
87
|
+
metadata:
|
|
88
|
+
rubygems_mfa_required: 'true'
|
|
89
89
|
post_install_message:
|
|
90
90
|
rdoc_options: []
|
|
91
91
|
require_paths:
|
|
92
92
|
- lib
|
|
93
93
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
94
94
|
requirements:
|
|
95
|
-
- - "
|
|
95
|
+
- - ">="
|
|
96
96
|
- !ruby/object:Gem::Version
|
|
97
97
|
version: '2.0'
|
|
98
98
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
@@ -101,11 +101,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
101
101
|
- !ruby/object:Gem::Version
|
|
102
102
|
version: '0'
|
|
103
103
|
requirements: []
|
|
104
|
-
|
|
105
|
-
rubygems_version: 2.6.8
|
|
104
|
+
rubygems_version: 3.5.3
|
|
106
105
|
signing_key:
|
|
107
106
|
specification_version: 4
|
|
108
107
|
summary: Converts Unicode codepoints to a string (or vice versa) and copies it to
|
|
109
|
-
the system clipboard
|
|
108
|
+
the system clipboard
|
|
110
109
|
test_files:
|
|
111
110
|
- spec/unicopy_spec.rb
|
data/.travis.yml
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
sudo: false
|
|
2
|
-
language: ruby
|
|
3
|
-
|
|
4
|
-
rvm:
|
|
5
|
-
- ruby-head
|
|
6
|
-
- 2.4.1
|
|
7
|
-
- 2.3.4
|
|
8
|
-
- 2.2
|
|
9
|
-
- 2.1
|
|
10
|
-
- 2.0
|
|
11
|
-
- jruby-head
|
|
12
|
-
- jruby-9.1.8.0
|
|
13
|
-
|
|
14
|
-
cache:
|
|
15
|
-
- bundler
|
|
16
|
-
|
|
17
|
-
matrix:
|
|
18
|
-
allow_failures:
|
|
19
|
-
- rvm: jruby-head
|
|
20
|
-
- rvm: ruby-head
|
|
21
|
-
- rvm: 2.0
|
|
22
|
-
# fast_finish: true
|