unicopy 1.0.0 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: b52015a55845441084cce91c2820e7faa888078b
4
- data.tar.gz: e23151d662fac4f0c811748fc5b1be0c4a451637
2
+ SHA256:
3
+ metadata.gz: a081342a9a0c9ec56e554077c080456b0a8f5b22633ed137d58254caff98c251
4
+ data.tar.gz: 0e96a5c0d68782e0897859bb9b59cfe30a4bbc254a9c4afa8182caf71f31cc3e
5
5
  SHA512:
6
- metadata.gz: b40c34ec4178cb320a175f3ad4a716539f167882a251281a6f0320fe0db970d8246048109eca0e95d467187c2bcb160fed8c74ef3dad519dc0fb4c78d9338df1
7
- data.tar.gz: a8d21e068ea34e19668e09129884def732ea387002defab2870d2696ece52eff01eb4e115099ef3d9ed3d66027669714584924821f883f9355a04f3ee5c64012
6
+ metadata.gz: 871d1531272f38745e88bf587c9cc104654f20d574cdf9e2f8b9b3b893c9fecce982b2d29d098ea51b3ef19e27fcdca1376c9b4b9a63b6292779ba42fe546071
7
+ data.tar.gz: bc23fec60ea6fc94db142fcb22a7dde3c405f3cd020faeb80206fac2a0d582b31b45cbfdd4a3fa19fa8dba2c335840845ea95b9ac36ebf74b74e64e666f5d425
data/CHANGELOG.md CHANGED
@@ -1,67 +1,13 @@
1
1
  ## CHANGELOG
2
2
 
3
- ### 2.4.0
3
+ ### 1.0.2
4
4
 
5
- * Extract symbolification logic into extra [symbolify](https://github.com/janlelis/symbolify) gem (includes fixes and non-character detection)
6
- * Update characteristics gem (includes a new blank)
5
+ * Re-release with MFA setting in gemspec + updated CI
7
6
 
8
- ### 2.3.0
7
+ ### 1.0.1
9
8
 
10
- * More consistent handling of bidi controls (always symbolify with alias, but highlight ALM, RLM, LRM as blanks)
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
@@ -4,4 +4,4 @@ gemspec
4
4
 
5
5
  gem 'minitest'
6
6
  gem 'rake'
7
- gem 'irbtools', require: 'irbtools/binding'
7
+ gem 'irbtools', require: 'irbtools/binding' unless RUBY_ENGINE == "jruby"
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- unicopy (1.0.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
- binding.repl (3.0.0)
13
- cd (1.0.1)
14
- clipboard (1.1.1)
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 (~> 0.8, >= 0.8.2)
18
- coderay (1.1.1)
19
- debugging (1.1.1)
20
- binding.repl (~> 3.0)
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.0.0)
22
+ every_day_irb (2.2.0)
23
23
  cd (~> 1.0)
24
- fancy_irb (1.1.0)
24
+ fancy_irb (2.1.2)
25
+ irb (>= 1.7, < 2.0)
25
26
  paint (>= 0.9, < 3.0)
26
- unicode-display_width (~> 1.1)
27
- ffi (1.9.18)
28
- ffi (1.9.18-java)
27
+ unicode-display_width (>= 2.5)
28
+ ffi (1.16.3)
29
29
  hirb (0.7.3)
30
- instance (0.2.0)
31
- interactive_editor (0.0.10)
32
- spoon (>= 0.0.1)
33
- irbtools (2.1.0)
34
- binding.repl (~> 3.0)
35
- clipboard (~> 1.1)
36
- code (~> 0.9)
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
- debugging (~> 1.1)
39
- every_day_irb (~> 2.0)
40
- fancy_irb (~> 1.1)
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
- instance (~> 0.2)
43
- interactive_editor (~> 0.0, >= 0.0.10)
44
- method_locator (~> 0.0, >= 0.0.4)
45
- methodfinder (~> 2.0)
46
- ori (~> 0.1.0)
47
- os (~> 1.0)
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 (~> 1.0)
50
- ruby_info (~> 1.0)
52
+ ruby_engine (~> 2.0)
51
53
  ruby_version (~> 1.0)
52
- wirb (~> 2.0)
53
- method_locator (0.0.4)
54
- method_source (0.8.2)
55
- methodfinder (2.1.0)
56
- minitest (5.10.1)
57
- ori (0.1.0)
58
- os (1.0.0)
59
- paint (2.0.0)
60
- rake (12.0.0)
61
- rationalist (2.0.0)
62
- ruby_engine (1.0.1)
63
- ruby_info (1.0.1)
64
- ruby_version (1.0.1)
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
- unicode-display_width (1.1.3)
68
- wirb (2.1.1)
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
- 1.14.6
91
+ 2.5.3
data/MIT-LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2017 Jan Lelis, mail@janlelis.de
1
+ Copyright (c) 2017-2021 Jan Lelis, https://janlelis.com
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
@@ -1,4 +1,4 @@
1
- # unicopy [![[version]](https://badge.fury.io/rb/unicopy.svg)](http://badge.fury.io/rb/unicopy) [![[travis]](https://travis-ci.org/janlelis/unicopy.svg)](https://travis-ci.org/janlelis/unicopy)
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 <http://janlelis.com>. Released under the MIT license.
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
- sh "for file in spec/*_spec.rb; do ruby $file; done"
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
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Unicopy
2
- VERSION = "1.0.0".freeze
4
+ VERSION = "1.0.2"
3
5
  end
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 = ["mail@janlelis.de"]
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 = "~> 2.0"
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.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: 2017-04-17 00:00:00.000000000 Z
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
- - mail@janlelis.de
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
- rubyforge_project:
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