ruby_unicode_prop 1.0.1 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7a8c9c2b8b36964144e693bf082a63e4c93ac1d8e9fe3c20c79692dac26df2d7
4
- data.tar.gz: 9245cacf4ab452f2c6fc691cd79c5a980f0e94bed5ebbea476ec9bed9d1cd5b4
3
+ metadata.gz: 9155491e76410997eae403fa3b01b8ead0b54f2e13724f701ad3cdbd409bfa2b
4
+ data.tar.gz: ce39abdb181ee29e89cba748c07aca66db19396b3daf7330d0244aea4dd07226
5
5
  SHA512:
6
- metadata.gz: ed13fe688acf41629918e489d9ea6707f9c222833cff7933a34279e56a40ecbaaa5f76188401bede175dfb8a916227f0e113a533879f9031b23b779eb8548a3f
7
- data.tar.gz: c7ae6c37921368149fd8ecb366fccdd580a7f2f35cd657f28e76f183370822f2c72d6d18ba3743350f72333ba387ce72ee2cdbdd7c0d9b106350be6fb66660cd
6
+ metadata.gz: 4e63df6409492eeb330da7b49ca66b7398bc0cf24cee8b49e80935c184f2d591c8e5599eb1e81964697b4f0122408f7c9a6bc023b7931743cc68a6a2ce6c3317
7
+ data.tar.gz: d7ecdcf7f5d63af2a9351868a5976aee53e910116df183301e805ec8f8b3500c8ad0ed249e93f22a1f5a3d4719e40516028dc8ec2122d397698edec4c312c9bf
data/ChangeLog CHANGED
@@ -1,3 +1,8 @@
1
+ -----
2
+ (Version: 1.0.2)
3
+ 2019-11-12 Masa Sakano
4
+ * Updated the wrong description.
5
+
1
6
  -----
2
7
  (Version: 1.0.1)
3
8
  2019-10-27 Masa Sakano
data/Makefile CHANGED
@@ -19,5 +19,5 @@ test:
19
19
  rake test
20
20
 
21
21
  doc:
22
- yard doc
22
+ yard doc; [[ -x ".github" && ( "README.en.rdoc" -nt ".github/README.md" ) ]] && ( ruby -r rdoc -e 'puts RDoc::Markup::ToMarkdown.new.convert ARGF.read' < README.en.rdoc | yard2md_afterclean --lang=bash > .github/README.md.$$ && ( mv -f .github/README.md.$$ .github/README.md && echo ".github/README.md is updated - make sure to check!!" ) || ( echo "ERROR: failed to create .github/README.md" >&2 ) ) || exit 0
23
23
 
@@ -130,8 +130,11 @@ explicitly with your Ruby command as
130
130
 
131
131
  == Developer's note
132
132
 
133
- The master of this README file is found in
134
- [RubyGems/plain_text](https://rubygems.org/gems/ruby_unicode_prop)
133
+ The master of this README file as well as the entire package is found in
134
+ {RubyGems/ruby_unicode_prop}[https://rubygems.org/gems/ruby_unicode_prop]
135
+
136
+ The source code is maintained also in
137
+ {Github}[https://github.com/masasakano/ruby_unicode_prop]
135
138
 
136
139
  === Tests
137
140
 
@@ -1,20 +1,24 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
 
3
3
  require 'rake'
4
+ require 'date'
4
5
 
5
6
  Gem::Specification.new do |s|
6
7
  s.name = %q{ruby_unicode_prop}.sub(/.*/){|c| (c == File.basename(Dir.pwd)) ? c : raise("ERROR: s.name=(#{c}) in gemspec seems wrong!")}
7
- s.version = "1.0.1"
8
+ s.version = "1.0.2".sub(/.*/){|c| fs = Dir.glob('changelog', File::FNM_CASEFOLD); raise('More than one ChangeLog exist!') if fs.size > 1; warn("WARNING: Version(s.version=#{c}) already exists in #{fs[0]} - ok?") if fs.size == 1 && !IO.readlines(fs[0]).grep(/^\(Version: #{Regexp.quote c}\)$/).empty? ; c } # n.b., In macOS, changelog and ChangeLog are identical in default.
8
9
  # s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
10
  s.bindir = 'bin'
10
11
  %w(ruby_unicode_prop).each do |f|
11
12
  path = s.bindir+'/'+f
12
13
  File.executable?(path) ? s.executables << f : raise("ERROR: Executable (#{path}) is not executable!")
13
14
  end
15
+
14
16
  s.authors = ["Masa Sakano"]
15
- s.date = %q{2019-10-27}
16
- s.summary = %q{Command to print the characters and hex-codepoints with the given Unicode properties}
17
- s.description = %q{This module provides utility functions and methods to handle plain text, classes Part/Paragraph/Boundary to represent the logical structure of a document and ParseRule to describe the rules to parse plain text to produce a Part-type Ruby instance.}
17
+ s.date = %q{2019-11-12}.sub(/.*/){|c| (Date.parse(c) == Date.today) ? c : raise("ERROR: s.date=(#{c}) is not today!")}
18
+ s.summary = %q{Command to print the characters and hex-codepoints for the given Unicode properties}
19
+ s.description = <<-EOF
20
+ This module contains a Ruby executable script to print all the characters and/or hex-codepoints for the given Unicode properties. "--help" option prints the summary of the options.
21
+ EOF
18
22
  # s.email = %q{abc@example.com}
19
23
  s.extra_rdoc_files = [
20
24
  #"LICENSE.txt",
@@ -33,8 +37,9 @@ Gem::Specification.new do |s|
33
37
  ret
34
38
  }
35
39
  s.files.reject! { |fn| File.symlink? fn }
36
- # s.add_runtime_dependency 'rails'
37
- # s.add_development_dependency "bourne", [">= 0"]
40
+
41
+ # s.add_runtime_dependency 'rails', '>= 5.0'
42
+ s.add_development_dependency "plain_text", [">= 0.6"]
38
43
  s.homepage = %q{https://www.wisebabel.com}
39
44
  s.rdoc_options = ["--charset=UTF-8"]
40
45
 
@@ -42,9 +47,16 @@ Gem::Specification.new do |s|
42
47
  s.required_ruby_version = '>= 2.0'
43
48
  s.test_files = Dir['test/**/*.rb']
44
49
  s.test_files.reject! { |fn| File.symlink? fn }
50
+
45
51
  # s.requirements << 'libmagick, v6.0' # Simply, info to users.
46
52
  # s.rubygems_version = %q{1.3.5} # This is always set automatically!!
47
53
 
48
54
  s.metadata["yard.run"] = "yri" # use "yard" to build full HTML docs.
55
+ ## cf. https://guides.rubygems.org/specification-reference/#metadata
56
+ ## nb. If you enable any of thse (even changelog only), the Documenatation tag
57
+ ## in RubyGems.org will disappear in that version!
58
+ # s.metadata["changelog_uri"] = "https://github.com/masasakano/#{s.name}/blob/master/ChangeLog"
59
+ # s.metadata["source_code_uri"] = "https://github.com/masasakano/#{s.name}"
60
+ # s.metadata["documentation_uri"] = "https://www.example.info/gems/bestgemever/0.0.1"
49
61
  end
50
62
 
metadata CHANGED
@@ -1,19 +1,34 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_unicode_prop
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masa Sakano
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-27 00:00:00.000000000 Z
12
- dependencies: []
13
- description: This module provides utility functions and methods to handle plain text,
14
- classes Part/Paragraph/Boundary to represent the logical structure of a document
15
- and ParseRule to describe the rules to parse plain text to produce a Part-type Ruby
16
- instance.
11
+ date: 2019-11-12 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: plain_text
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0.6'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0.6'
27
+ description: ' This module contains a Ruby executable script to print all the characters
28
+ and/or hex-codepoints for the given Unicode properties. "--help" option prints
29
+ the summary of the options.
30
+
31
+ '
17
32
  email:
18
33
  executables:
19
34
  - ruby_unicode_prop
@@ -54,7 +69,7 @@ requirements: []
54
69
  rubygems_version: 3.0.3
55
70
  signing_key:
56
71
  specification_version: 4
57
- summary: Command to print the characters and hex-codepoints with the given Unicode
72
+ summary: Command to print the characters and hex-codepoints for the given Unicode
58
73
  properties
59
74
  test_files:
60
75
  - test/test_ruby_unicode_prop.rb