nhkore 0.3.1 → 0.3.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -60,6 +60,7 @@ module NHKore
60
60
  attr_accessor :deinflector
61
61
 
62
62
  def initialize(*)
63
+ require 'set' # Must require manually because JapaneseDeinflector is old
63
64
  require 'japanese_deinflector'
64
65
 
65
66
  super
@@ -22,5 +22,5 @@
22
22
 
23
23
 
24
24
  module NHKore
25
- VERSION = '0.3.1'
25
+ VERSION = '0.3.6'
26
26
  end
@@ -49,16 +49,21 @@ Gem::Specification.new() do |spec|
49
49
  spec.bindir = 'bin'
50
50
  spec.executables = [spec.name]
51
51
 
52
- spec.files = Dir.glob(File.join("{#{spec.require_paths.join(',')}}",'**','*.{erb,rb}')) +
53
- Dir.glob(File.join(spec.bindir,'*')) +
54
- Dir.glob(File.join('{test,yard}','**','*.{erb,rb}')) +
55
- %W( Gemfile #{spec.name}.gemspec Rakefile ) +
56
- %w( CHANGELOG.md LICENSE.txt README.md )
52
+ spec.files = [
53
+ Dir.glob(File.join("{#{spec.require_paths.join(',')}}",'**','*.{erb,rb}')),
54
+ Dir.glob(File.join(spec.bindir,'*')),
55
+ Dir.glob(File.join('{test,yard}','**','*.{erb,rb}')),
56
+ %W( Gemfile #{spec.name}.gemspec Rakefile ),
57
+ %w( CHANGELOG.md LICENSE.txt README.md ),
58
+ ].flatten()
57
59
 
58
60
  spec.required_ruby_version = '>= 2.4'
59
61
 
60
- spec.requirements << 'Nokogiri: https://www.nokogiri.org/tutorials/installing_nokogiri.html'
62
+ spec.requirements = [
63
+ 'Nokogiri: https://www.nokogiri.org/tutorials/installing_nokogiri.html',
64
+ ]
61
65
 
66
+ spec.add_runtime_dependency 'attr_bool' ,'~> 0.1' # For attr_accessor?/attr_reader?
62
67
  spec.add_runtime_dependency 'bimyou_segmenter' ,'~> 1.2' # For splitting Japanese sentences into words
63
68
  spec.add_runtime_dependency 'cri' ,'~> 2.15' # For CLI commands/options
64
69
  spec.add_runtime_dependency 'down' ,'~> 5.1' # For downloading files (GetCmd)
@@ -66,7 +71,7 @@ Gem::Specification.new() do |spec|
66
71
  spec.add_runtime_dependency 'http-cookie' ,'~> 1.0' # For parsing/setting cookies (BingScraper/Scraper)
67
72
  spec.add_runtime_dependency 'japanese_deinflector' ,'~> 0.0' # For unconjugating Japanese words (plain/dictionary form)
68
73
  spec.add_runtime_dependency 'nokogiri' ,'~> 1.10' # For scraping/hacking
69
- spec.add_runtime_dependency 'psychgus' ,'~> 1.2' # For styling Psych YAML
74
+ spec.add_runtime_dependency 'psychgus' ,'~> 1.3' # For styling Psych YAML
70
75
  spec.add_runtime_dependency 'public_suffix' ,'~> 4.0' # For parsing URL domain names
71
76
  spec.add_runtime_dependency 'rainbow' ,'~> 3.0' # For CLI color output
72
77
  spec.add_runtime_dependency 'rubyzip' ,'~> 2.3' # For extracting Zip files (GetCmd)
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nhkore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Bradley Whited (@esotericpig)
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-20 00:00:00.000000000 Z
11
+ date: 2020-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: attr_bool
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.1'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.1'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: bimyou_segmenter
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +128,14 @@ dependencies:
114
128
  requirements:
115
129
  - - "~>"
116
130
  - !ruby/object:Gem::Version
117
- version: '1.2'
131
+ version: '1.3'
118
132
  type: :runtime
119
133
  prerelease: false
120
134
  version_requirements: !ruby/object:Gem::Requirement
121
135
  requirements:
122
136
  - - "~>"
123
137
  - !ruby/object:Gem::Version
124
- version: '1.2'
138
+ version: '1.3'
125
139
  - !ruby/object:Gem::Dependency
126
140
  name: public_suffix
127
141
  requirement: !ruby/object:Gem::Requirement
@@ -343,12 +357,14 @@ files:
343
357
  - lib/nhkore/cli/news_cmd.rb
344
358
  - lib/nhkore/cli/search_cmd.rb
345
359
  - lib/nhkore/cli/sift_cmd.rb
360
+ - lib/nhkore/datetime_parser.rb
346
361
  - lib/nhkore/defn.rb
347
362
  - lib/nhkore/dict.rb
348
363
  - lib/nhkore/dict_scraper.rb
349
364
  - lib/nhkore/entry.rb
350
365
  - lib/nhkore/error.rb
351
366
  - lib/nhkore/fileable.rb
367
+ - lib/nhkore/lib.rb
352
368
  - lib/nhkore/missingno.rb
353
369
  - lib/nhkore/news.rb
354
370
  - lib/nhkore/polisher.rb
@@ -374,7 +390,7 @@ metadata:
374
390
  changelog_uri: https://github.com/esotericpig/nhkore/blob/master/CHANGELOG.md
375
391
  homepage_uri: https://github.com/esotericpig/nhkore
376
392
  source_code_uri: https://github.com/esotericpig/nhkore
377
- post_install_message: " \n NHKore v0.3.1\n \n You can now use [nhkore] on the
393
+ post_install_message: " \n NHKore v0.3.6\n \n You can now use [nhkore] on the
378
394
  command line.\n \n Homepage: https://github.com/esotericpig/nhkore\n \n Code:
379
395
  \ https://github.com/esotericpig/nhkore\n Changelog: https://github.com/esotericpig/nhkore/blob/master/CHANGELOG.md\n
380
396
  \ Bugs: https://github.com/esotericpig/nhkore/issues\n \n"