unicopy 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
- SHA1:
3
- metadata.gz: b52015a55845441084cce91c2820e7faa888078b
4
- data.tar.gz: e23151d662fac4f0c811748fc5b1be0c4a451637
2
+ SHA256:
3
+ metadata.gz: fc1a5e573198f3b6fc5600f298f9a19f03ac500aa5d6566f77ba46b094ab5f14
4
+ data.tar.gz: e33aad6386cf08bf9a046aff1db01ab2b4dfac4ef1d141b7f31b25b1b47ce06c
5
5
  SHA512:
6
- metadata.gz: b40c34ec4178cb320a175f3ad4a716539f167882a251281a6f0320fe0db970d8246048109eca0e95d467187c2bcb160fed8c74ef3dad519dc0fb4c78d9338df1
7
- data.tar.gz: a8d21e068ea34e19668e09129884def732ea387002defab2870d2696ece52eff01eb4e115099ef3d9ed3d66027669714584924821f883f9355a04f3ee5c64012
6
+ metadata.gz: d032fb14f5c123da26ff21211d3234b1677e1e4386c7ab2e32e30c537905285b5338d5a4924982988665c079185c37a57678359deac63bbe6813d9c8c963c640
7
+ data.tar.gz: 9d75d7296b3b23fe1b7851c0375eee69f6d2368af22d7bf98cabb7c0ad1432d1b255e2cb3f8c8a63844f64c4d42e5f647aea937fed679f9fbe032053651b985b
@@ -1,67 +1,9 @@
1
1
  ## CHANGELOG
2
2
 
3
- ### 2.4.0
3
+ ### 1.0.1
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)
7
-
8
- ### 2.3.0
9
-
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
5
+ * Relax Ruby version requirement to allow Ruby 3.0
63
6
 
64
7
  ### 1.0.0
65
8
 
66
9
  * 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"
@@ -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.1"
3
5
  end
@@ -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
 
@@ -21,5 +21,5 @@ Gem::Specification.new do |gem|
21
21
  gem.add_dependency 'rationalist', '~> 2.0'
22
22
  gem.add_dependency 'clipboard', '~> 1.1'
23
23
 
24
- gem.required_ruby_version = "~> 2.0"
24
+ gem.required_ruby_version = ">= 2.0"
25
25
  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.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: 2017-04-17 00:00:00.000000000 Z
11
+ date: 2021-01-09 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
@@ -92,7 +91,7 @@ require_paths:
92
91
  - lib
93
92
  required_ruby_version: !ruby/object:Gem::Requirement
94
93
  requirements:
95
- - - "~>"
94
+ - - ">="
96
95
  - !ruby/object:Gem::Version
97
96
  version: '2.0'
98
97
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -101,11 +100,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
100
  - !ruby/object:Gem::Version
102
101
  version: '0'
103
102
  requirements: []
104
- rubyforge_project:
105
- rubygems_version: 2.6.8
103
+ rubygems_version: 3.2.4
106
104
  signing_key:
107
105
  specification_version: 4
108
106
  summary: Converts Unicode codepoints to a string (or vice versa) and copies it to
109
- the system clipboard.
107
+ the system clipboard
110
108
  test_files:
111
109
  - spec/unicopy_spec.rb
@@ -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