narou 3.4.8 → 3.5.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of narou might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dd69fb85561bf578df4ef0979bf50746c662a7c9f7f9267387c6f301e626b318
4
- data.tar.gz: 4e8f8841a8e2fcbbd62f5e1e681d1e37c4fc4d9b48a840a1eaa3ae687640db70
3
+ metadata.gz: 3568a8998f6795e4dd689db6ffeb7bc39fd64ccec9d9d5ab13f76dd7fe793f48
4
+ data.tar.gz: 91859f904d8a83bc420c0fdc7054083d6c95640abb9badcf4ce7991c055ee03a
5
5
  SHA512:
6
- metadata.gz: ca73de016293a5745831afdc14f4e76071c60283b493774cbc0d5fe2d5b0fb864ac2837e6746c0dd12e9a804ab0202d6b1306262816fd064cae9abcf30df76b2
7
- data.tar.gz: 4aaf2337f272602260b0b82494eee829164cde6c1f58246a8ba072fe4f3441b29ac7e34ebc792eebceba32e358570575c4a8aafde18d19591ff4ddbd594ee3fb
6
+ metadata.gz: 9cac3a784535bbda3663895282bfd280aebb1b97f6e5d02bae4f743ae323372a3b4b8d3c754bf397ab942aa7b4c4f5926df594b0e3f0198174ae4a6e066642f9
7
+ data.tar.gz: 6138585217209d67f5d37587347c5e281b370dba630568206aced564fdf8e407c91e9c43d0a15b4521a8dc8c5af798d00740fcbe0cc2b6273d5ea1896176f17a
@@ -8,7 +8,7 @@ AllCops:
8
8
  - "narou.gemspec"
9
9
  - "spec/**/*"
10
10
  DisplayCopNames: true
11
- TargetRubyVersion: 2.3
11
+ TargetRubyVersion: 2.5
12
12
 
13
13
  Metrics/ClassLength:
14
14
  CountComments: false
@@ -30,7 +30,7 @@ Metrics/BlockNesting:
30
30
  Metrics/CyclomaticComplexity:
31
31
  Max: 8
32
32
 
33
- Metrics/LineLength:
33
+ Layout/LineLength:
34
34
  Max: 140
35
35
  AllowURI: true
36
36
  URISchemes:
@@ -106,7 +106,7 @@ Style/NumericLiterals:
106
106
 
107
107
  # has_ から始まるメソッドは許可する
108
108
  Naming/PredicateName:
109
- NamePrefixBlacklist:
109
+ ForbiddenPrefixes:
110
110
  - "is_"
111
111
  - "have_"
112
112
  NamePrefix:
@@ -116,7 +116,7 @@ Naming/PredicateName:
116
116
  Style/GlobalVars:
117
117
  Enabled: false
118
118
 
119
- Layout/IndentFirstHashElement:
119
+ Layout/FirstHashElementIndentation:
120
120
  Enabled: false
121
121
 
122
122
  Layout/LeadingCommentSpace:
@@ -137,7 +137,7 @@ Style/NegatedIf:
137
137
  Style/Not:
138
138
  Enabled: true
139
139
 
140
- PercentLiteralDelimiters:
140
+ Style/PercentLiteralDelimiters:
141
141
  PreferredDelimiters:
142
142
  "%": "!!"
143
143
  "%i": "()"
@@ -158,7 +158,7 @@ Style/RedundantReturn:
158
158
  Style/RedundantSelf:
159
159
  Enabled: false
160
160
 
161
- SignalException:
161
+ Style/SignalException:
162
162
  EnforcedStyle: only_raise
163
163
 
164
164
  Layout/SpaceAfterComma:
@@ -182,7 +182,7 @@ Style/SymbolProc:
182
182
  Layout/Tab:
183
183
  Enabled: true
184
184
 
185
- Layout/TrailingBlankLines:
185
+ Layout/TrailingEmptyLines:
186
186
  Enabled: false
187
187
 
188
188
  Style/TrailingCommaInArrayLiteral:
@@ -197,7 +197,7 @@ Style/TrivialAccessors:
197
197
  Style/UnlessElse:
198
198
  Enabled: true
199
199
 
200
- VariableName:
200
+ Naming/VariableName:
201
201
  EnforcedStyle: snake_case
202
202
 
203
203
  Style/WordArray:
@@ -221,13 +221,13 @@ Style/FrozenStringLiteralComment:
221
221
  Layout/MultilineOperationIndentation:
222
222
  Enabled: false
223
223
 
224
- Layout/IndentHeredoc:
224
+ Layout/HeredocIndentation:
225
225
  Enabled: true
226
226
 
227
227
  Style/NumericPredicate:
228
228
  Enabled: false
229
229
 
230
- Lint/HandleExceptions:
230
+ Lint/SuppressedException:
231
231
  Enabled: false
232
232
 
233
233
  Lint/RescueException:
@@ -1,6 +1,12 @@
1
1
  更新履歴 - ChangeLog
2
2
  ====================
3
3
 
4
+ 3.5.0: 2020/02/16
5
+ -----------------
6
+ #### 修正内容
7
+ - Ruby 2.7 に対応
8
+
9
+
4
10
  3.4.8: 2019/11/27
5
11
  -----------------
6
12
  #### 修正内容
data/Gemfile CHANGED
@@ -2,17 +2,3 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in narou.gemspec
4
4
  gemspec
5
-
6
- # development gems
7
-
8
- gem "rspec"
9
- gem "rspec-core"
10
- gem "rspec-retry"
11
- gem "rspec_junit_formatter"
12
- gem "timecop"
13
- gem "pry"
14
- gem "pry-byebug"
15
- gem "better_errors"
16
- gem "binding_of_caller"
17
- gem "awesome_print"
18
- gem "simplecov", require: false, group: :test
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- narou (3.4.8)
4
+ narou (3.5.0)
5
5
  activesupport (~> 5.2)
6
6
  diff-lcs (~> 1.2, >= 1.2.5)
7
7
  erubis (~> 2.7)
@@ -22,41 +22,30 @@ PATH
22
22
  GEM
23
23
  remote: https://rubygems.org/
24
24
  specs:
25
- activesupport (5.2.3)
25
+ activesupport (5.2.4.1)
26
26
  concurrent-ruby (~> 1.0, >= 1.0.2)
27
27
  i18n (>= 0.7, < 2)
28
28
  minitest (~> 5.1)
29
29
  tzinfo (~> 1.1)
30
30
  awesome_print (1.8.0)
31
31
  backports (3.15.0)
32
- better_errors (2.5.0)
33
- coderay (>= 1.0.0)
34
- erubi (>= 1.0.0)
35
- rack (>= 0.9.0)
36
- binding_of_caller (0.8.0)
37
- debug_inspector (>= 0.0.1)
38
- byebug (10.0.2)
32
+ byebug (11.1.1)
39
33
  coderay (1.1.2)
40
34
  concurrent-ruby (1.1.5)
41
- debug_inspector (0.0.3)
42
35
  diff-lcs (1.3)
43
- docile (1.3.1)
44
- erubi (1.7.1)
36
+ docile (1.3.2)
45
37
  erubis (2.7.0)
46
- ffi (1.9.25)
47
- ffi (1.9.25-java)
38
+ ffi (1.12.2)
48
39
  haml (5.1.2)
49
40
  temple (>= 0.8.0)
50
41
  tilt
51
42
  i18n (1.7.0)
52
43
  concurrent-ruby (~> 1.0)
53
- json (2.1.0)
54
- json (2.1.0-java)
55
44
  mail (2.6.6)
56
45
  mime-types (>= 1.16, < 4)
57
46
  memoist (0.11.0)
58
47
  method_source (0.9.2)
59
- mime-types (3.3)
48
+ mime-types (3.3.1)
60
49
  mime-types-data (~> 3.2015)
61
50
  mime-types-data (3.2019.1009)
62
51
  minitest (5.13.0)
@@ -67,36 +56,32 @@ GEM
67
56
  pry (0.12.2)
68
57
  coderay (~> 1.1.0)
69
58
  method_source (~> 0.9.0)
70
- pry (0.12.2-java)
71
- coderay (~> 1.1.0)
72
- method_source (~> 0.9.0)
73
- spoon (~> 0.0)
74
- pry-byebug (3.6.0)
75
- byebug (~> 10.0)
59
+ pry-byebug (3.8.0)
60
+ byebug (~> 11.0)
76
61
  pry (~> 0.10)
77
- rack (1.6.11)
62
+ rack (1.6.12)
78
63
  rack-protection (1.5.5)
79
64
  rack
80
65
  rack-test (1.1.0)
81
66
  rack (>= 1.0, < 3)
82
67
  rb-fsevent (0.10.3)
83
- rb-inotify (0.10.0)
68
+ rb-inotify (0.10.1)
84
69
  ffi (~> 1.0)
85
- rspec (3.8.0)
86
- rspec-core (~> 3.8.0)
87
- rspec-expectations (~> 3.8.0)
88
- rspec-mocks (~> 3.8.0)
89
- rspec-core (3.8.0)
90
- rspec-support (~> 3.8.0)
91
- rspec-expectations (3.8.2)
70
+ rspec (3.9.0)
71
+ rspec-core (~> 3.9.0)
72
+ rspec-expectations (~> 3.9.0)
73
+ rspec-mocks (~> 3.9.0)
74
+ rspec-core (3.9.1)
75
+ rspec-support (~> 3.9.1)
76
+ rspec-expectations (3.9.0)
92
77
  diff-lcs (>= 1.2.0, < 2.0)
93
- rspec-support (~> 3.8.0)
94
- rspec-mocks (3.8.0)
78
+ rspec-support (~> 3.9.0)
79
+ rspec-mocks (3.9.1)
95
80
  diff-lcs (>= 1.2.0, < 2.0)
96
- rspec-support (~> 3.8.0)
97
- rspec-retry (0.6.1)
81
+ rspec-support (~> 3.9.0)
82
+ rspec-retry (0.6.2)
98
83
  rspec-core (> 3.3)
99
- rspec-support (3.8.0)
84
+ rspec-support (3.9.2)
100
85
  rspec_junit_formatter (0.4.1)
101
86
  rspec-core (>= 2, < 4, != 2.12.0)
102
87
  rubyzip (2.0.0)
@@ -105,11 +90,10 @@ GEM
105
90
  sass-listen (4.0.0)
106
91
  rb-fsevent (~> 0.9, >= 0.9.4)
107
92
  rb-inotify (~> 0.9, >= 0.9.7)
108
- simplecov (0.16.1)
93
+ simplecov (0.18.2)
109
94
  docile (~> 1.1)
110
- json (>= 1.8, < 3)
111
- simplecov-html (~> 0.10.0)
112
- simplecov-html (0.10.2)
95
+ simplecov-html (~> 0.11)
96
+ simplecov-html (0.12.0)
113
97
  sinatra (1.4.8)
114
98
  rack (~> 1.5)
115
99
  rack-protection (~> 1.4)
@@ -121,16 +105,13 @@ GEM
121
105
  rack-test
122
106
  sinatra (~> 1.4.0)
123
107
  tilt (>= 1.3, < 3)
124
- spoon (0.0.6)
125
- ffi
126
108
  systemu (2.6.5)
127
109
  temple (0.8.2)
128
110
  termcolorlight (1.1.1)
129
111
  thread_safe (0.3.6)
130
- thread_safe (0.3.6-java)
131
112
  tilt (2.0.10)
132
113
  timecop (0.9.1)
133
- tzinfo (1.2.5)
114
+ tzinfo (1.2.6)
134
115
  thread_safe (~> 0.1)
135
116
  unicode-display_width (1.6.0)
136
117
 
@@ -139,18 +120,15 @@ PLATFORMS
139
120
  ruby
140
121
 
141
122
  DEPENDENCIES
142
- awesome_print
143
- better_errors
144
- binding_of_caller
123
+ awesome_print (~> 1.8)
145
124
  narou!
146
- pry
147
- pry-byebug
148
- rspec
149
- rspec-core
150
- rspec-retry
151
- rspec_junit_formatter
152
- simplecov
153
- timecop
125
+ pry (~> 0.12)
126
+ pry-byebug (~> 3.8)
127
+ rspec (~> 3.9)
128
+ rspec-retry (~> 0.6)
129
+ rspec_junit_formatter (~> 0.4)
130
+ simplecov (~> 0.18)
131
+ timecop (~> 0.9)
154
132
 
155
133
  BUNDLED WITH
156
- 1.17.2
134
+ 1.17.3
data/README.md CHANGED
@@ -34,13 +34,10 @@ Narou.rb - 小説家になろうのダウンローダ&縦書き整形&管理
34
34
  更新履歴 - ChangeLog
35
35
  --------------------
36
36
 
37
- 3.4.8: 2019/11/27
37
+ 3.5.0: 2020/02/16
38
38
  -----------------
39
39
  #### 修正内容
40
- - 小説タイトルが長すぎる場合、backup コマンドでファイルを作成した際にエラーが
41
- 出るため、ファイル名を端折る処理を導入
42
- - `デスマーチからはじまる異世界狂想曲` のプリセットファイルにバグが混入していた
43
- のを修正
40
+ - Ruby 2.7 に対応
44
41
 
45
42
  ----
46
43
 
@@ -89,7 +89,7 @@ module Command
89
89
  tag_index = database.tag_indexies
90
90
  all_ids = database.ids
91
91
  expanded_array = array.map { |arg|
92
- if arg =~ /\A\d+\z/
92
+ if arg.to_s =~ /\A\d+\z/
93
93
  # 優先度はID>タグのため、数字のみ指定されたら
94
94
  # そのIDが存在した場合はIDとみなす
95
95
  id = arg.to_i
@@ -51,7 +51,7 @@ module CommandLine
51
51
  def argv_for_windows(argv)
52
52
  return unless Helper.os_windows?
53
53
  argv.map! do |arg|
54
- arg&.encode(Encoding::UTF_8)
54
+ arg.class == Integer ? arg : arg&.encode(Encoding::UTF_8)
55
55
  end
56
56
  end
57
57
 
@@ -725,7 +725,7 @@ class Downloader
725
725
  cookie = @setting["cookie"] || ""
726
726
  open_uri_options = make_open_uri_options("Cookie" => cookie, allow_redirections: :safe)
727
727
  begin
728
- open(toc_url, open_uri_options) do |toc_fp|
728
+ URI.open(toc_url, open_uri_options) do |toc_fp|
729
729
  if toc_fp.base_uri.to_s != toc_url
730
730
  # リダイレクトされた場合。
731
731
  # ノクターン・ムーンライトのNコードを ncode.syosetu.com に渡すと、年齢認証のクッションページに飛ばされる
@@ -1092,7 +1092,7 @@ class Downloader
1092
1092
  save_raw_data(raw, subtitle_info, ".html")
1093
1093
  %w(introduction postscript body).each { |type| @setting[type] = nil }
1094
1094
  @setting.multi_match(raw, "body_pattern", "introduction_pattern", "postscript_pattern")
1095
- element = { "data_type" => "html" }
1095
+ element = { "data_type" => @setting["data_type"] || "html" }
1096
1096
  %w(introduction postscript body).each { |type|
1097
1097
  element[type] = @setting[type].to_s
1098
1098
  }
@@ -1132,7 +1132,7 @@ class Downloader
1132
1132
  cookie = @setting["cookie"] || ""
1133
1133
  begin
1134
1134
  open_uri_options = make_open_uri_options("Cookie" => cookie, allow_redirections: :safe)
1135
- open(url, "r:#{@setting["encoding"]}", open_uri_options) do |fp|
1135
+ URI.open(url, "r:#{@setting["encoding"]}", open_uri_options) do |fp|
1136
1136
  raw = Helper.pretreatment_source(fp.read, @setting["encoding"])
1137
1137
  end
1138
1138
  rescue OpenURI::HTTPError, Errno::ECONNRESET, Errno::ETIMEDOUT, Net::OpenTimeout => e
@@ -464,7 +464,7 @@ module Helper
464
464
  fullpath = File.expand_path(path)
465
465
  cache_data = @@caches[fullpath]
466
466
  if Helper.file_latest?(fullpath) || !cache_data
467
- body = File.read(fullpath, options)
467
+ body = File.read(fullpath, **options)
468
468
  @@caches[fullpath] = body
469
469
  return body
470
470
  else
@@ -493,7 +493,7 @@ module Helper
493
493
  key = generate_key(fullpath, block)
494
494
  cache = @@result_caches[key]
495
495
  if Helper.file_latest?(fullpath) || !cache
496
- data = File.read(fullpath, options)
496
+ data = File.read(fullpath, **options)
497
497
  @@result_caches[key] = result = block.call(data)
498
498
  return result
499
499
  else
@@ -42,8 +42,8 @@ class HTML
42
42
  #
43
43
  # 青空文庫形式に変換
44
44
  #
45
- def to_aozora
46
- @string = br_to_aozora
45
+ def to_aozora(pre_html: false)
46
+ @string = br_to_aozora unless pre_html
47
47
  @string = p_to_aozora
48
48
  @string = ruby_to_aozora
49
49
  unless @strip_decoration_tag
@@ -8,10 +8,10 @@ require_relative "helper"
8
8
 
9
9
  BlankConverter = Class.new(ConverterBase) {}
10
10
 
11
- $converter_container = {}
11
+ $latest_converter = nil
12
12
 
13
13
  def converter(title, &block)
14
- $converter_container[title] = Class.new(ConverterBase, &block)
14
+ $latest_converter = Class.new(ConverterBase, &block)
15
15
  end
16
16
 
17
17
  #
@@ -61,11 +61,13 @@ end
61
61
  def load_converter(title, archive_path)
62
62
  converter_path = File.join(archive_path, "converter.rb")
63
63
  if File.exist?(converter_path)
64
+ $latest_converter = nil
64
65
  eval(File.read(converter_path, mode: "r:BOM|UTF-8"), binding, converter_path)
65
66
  else
66
67
  return BlankConverter
67
68
  end
68
- conv = $converter_container[title] || $converter_container[File.basename(archive_path)]
69
+
70
+ conv = $latest_converter
69
71
  if conv
70
72
  return conv
71
73
  else
@@ -44,7 +44,7 @@ module Narou
44
44
  @@is_web = false
45
45
 
46
46
  def last_commit_year
47
- 2019
47
+ 2020
48
48
  end
49
49
 
50
50
  def root_dir
@@ -698,15 +698,16 @@ class NovelConverter
698
698
  if section["chapter"].length > 0
699
699
  section["chapter"] = @converter.convert(section["chapter"], "chapter")
700
700
  end
701
+
701
702
  @inspector.subtitle = section["subtitle"]
702
703
  section["subtitle"] = @converter.convert(section["subtitle"], "subtitle")
703
704
  element = section["element"]
704
705
  data_type = element.delete("data_type") || "text"
705
706
  @converter.data_type = data_type
706
707
  element.each do |text_type, elm_text|
707
- if data_type == "html"
708
+ if data_type != "text"
708
709
  html.string = elm_text
709
- elm_text = html.to_aozora
710
+ elm_text = html.to_aozora(pre_html: data_type == "pre_html")
710
711
  end
711
712
  element[text_type] = @converter.convert(elm_text, text_type)
712
713
  end
@@ -48,7 +48,7 @@ class NovelInfo
48
48
  else
49
49
  cookie = @setting["cookie"] || ""
50
50
  open_uri_options = make_open_uri_options("Cookie" => cookie, allow_redirections: :safe)
51
- open(info_url, open_uri_options) do |fp|
51
+ URI.open(info_url, open_uri_options) do |fp|
52
52
  info_source = Helper.restore_entity(Helper.pretreatment_source(fp.read, @setting["encoding"]))
53
53
  raise Downloader::DownloaderNotFoundError if Downloader.detect_error_message(@setting, info_source)
54
54
  end
@@ -24,7 +24,7 @@ class SiteSetting
24
24
  load_paths = [
25
25
  Narou.script_dir.join(NOVEL_SITE_SETTING_DIR, "*.yaml"),
26
26
  Narou.root_dir.join(NOVEL_SITE_SETTING_DIR, "*.yaml")
27
- ].uniq.join("\0")
27
+ ].uniq
28
28
  Dir.glob(load_paths) do |path|
29
29
  setting = SiteSetting.load_file(path)
30
30
  name = setting["name"]
@@ -5,5 +5,5 @@
5
5
  #
6
6
 
7
7
  module Narou
8
- VERSION = "3.4.8"
8
+ VERSION = "3.5.0"
9
9
  end
@@ -16,8 +16,8 @@ class ProgressBar
16
16
 
17
17
  alias :original_initialize :initialize
18
18
 
19
- def initialize(*args)
20
- original_initialize(*args)
19
+ def initialize(*args, **opt)
20
+ original_initialize(*args, **opt)
21
21
  @@push_server.send_all("progressbar.init" => { target_console: io.target_console })
22
22
  end
23
23
 
@@ -32,13 +32,10 @@ Gem::Specification.new do |gem|
32
32
  install_message = <<-EOS
33
33
  #{"*" * 60}
34
34
 
35
- 3.4.8: 2019/11/27
35
+ 3.5.0: 2020/02/16
36
36
  -----------------
37
37
  #### 修正内容
38
- - 小説タイトルが長すぎる場合、backup コマンドでファイルを作成した際にエラーが
39
- 出るため、ファイル名を端折る処理を導入
40
- - `デスマーチからはじまる異世界狂想曲` のプリセットファイルにバグが混入していた
41
- のを修正
38
+ - Ruby 2.7 に対応
42
39
 
43
40
  #{"*" * 60}
44
41
  EOS
@@ -65,5 +62,14 @@ Gem::Specification.new do |gem|
65
62
  gem.add_runtime_dependency 'open_uri_redirections', '~> 0.2', '>= 0.2.1'
66
63
  gem.add_runtime_dependency 'activesupport', '~> 5.2'
67
64
  gem.add_runtime_dependency 'unicode-display_width', '~> 1.4'
65
+
66
+ gem.add_development_dependency 'rspec', '~> 3.9'
67
+ gem.add_development_dependency 'rspec-retry', '~> 0.6'
68
+ gem.add_development_dependency 'rspec_junit_formatter', '~> 0.4'
69
+ gem.add_development_dependency 'timecop', '~> 0.9'
70
+ gem.add_development_dependency 'pry', '~> 0.12'
71
+ gem.add_development_dependency 'pry-byebug', '~> 3.8'
72
+ gem.add_development_dependency 'awesome_print', '~> 1.8'
73
+ gem.add_development_dependency 'simplecov', '~> 0.18'
68
74
  end
69
75
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: narou
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.8
4
+ version: 3.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - whiteleaf7
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-27 00:00:00.000000000 Z
11
+ date: 2020-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: termcolorlight
@@ -34,22 +34,22 @@ dependencies:
34
34
  name: rubyzip
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - ">="
38
- - !ruby/object:Gem::Version
39
- version: 2.0.0
40
37
  - - "~>"
41
38
  - !ruby/object:Gem::Version
42
39
  version: '2.0'
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 2.0.0
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - ">="
48
- - !ruby/object:Gem::Version
49
- version: 2.0.0
50
47
  - - "~>"
51
48
  - !ruby/object:Gem::Version
52
49
  version: '2.0'
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 2.0.0
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: mail
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -306,6 +306,118 @@ dependencies:
306
306
  - - "~>"
307
307
  - !ruby/object:Gem::Version
308
308
  version: '1.4'
309
+ - !ruby/object:Gem::Dependency
310
+ name: rspec
311
+ requirement: !ruby/object:Gem::Requirement
312
+ requirements:
313
+ - - "~>"
314
+ - !ruby/object:Gem::Version
315
+ version: '3.9'
316
+ type: :development
317
+ prerelease: false
318
+ version_requirements: !ruby/object:Gem::Requirement
319
+ requirements:
320
+ - - "~>"
321
+ - !ruby/object:Gem::Version
322
+ version: '3.9'
323
+ - !ruby/object:Gem::Dependency
324
+ name: rspec-retry
325
+ requirement: !ruby/object:Gem::Requirement
326
+ requirements:
327
+ - - "~>"
328
+ - !ruby/object:Gem::Version
329
+ version: '0.6'
330
+ type: :development
331
+ prerelease: false
332
+ version_requirements: !ruby/object:Gem::Requirement
333
+ requirements:
334
+ - - "~>"
335
+ - !ruby/object:Gem::Version
336
+ version: '0.6'
337
+ - !ruby/object:Gem::Dependency
338
+ name: rspec_junit_formatter
339
+ requirement: !ruby/object:Gem::Requirement
340
+ requirements:
341
+ - - "~>"
342
+ - !ruby/object:Gem::Version
343
+ version: '0.4'
344
+ type: :development
345
+ prerelease: false
346
+ version_requirements: !ruby/object:Gem::Requirement
347
+ requirements:
348
+ - - "~>"
349
+ - !ruby/object:Gem::Version
350
+ version: '0.4'
351
+ - !ruby/object:Gem::Dependency
352
+ name: timecop
353
+ requirement: !ruby/object:Gem::Requirement
354
+ requirements:
355
+ - - "~>"
356
+ - !ruby/object:Gem::Version
357
+ version: '0.9'
358
+ type: :development
359
+ prerelease: false
360
+ version_requirements: !ruby/object:Gem::Requirement
361
+ requirements:
362
+ - - "~>"
363
+ - !ruby/object:Gem::Version
364
+ version: '0.9'
365
+ - !ruby/object:Gem::Dependency
366
+ name: pry
367
+ requirement: !ruby/object:Gem::Requirement
368
+ requirements:
369
+ - - "~>"
370
+ - !ruby/object:Gem::Version
371
+ version: '0.12'
372
+ type: :development
373
+ prerelease: false
374
+ version_requirements: !ruby/object:Gem::Requirement
375
+ requirements:
376
+ - - "~>"
377
+ - !ruby/object:Gem::Version
378
+ version: '0.12'
379
+ - !ruby/object:Gem::Dependency
380
+ name: pry-byebug
381
+ requirement: !ruby/object:Gem::Requirement
382
+ requirements:
383
+ - - "~>"
384
+ - !ruby/object:Gem::Version
385
+ version: '3.8'
386
+ type: :development
387
+ prerelease: false
388
+ version_requirements: !ruby/object:Gem::Requirement
389
+ requirements:
390
+ - - "~>"
391
+ - !ruby/object:Gem::Version
392
+ version: '3.8'
393
+ - !ruby/object:Gem::Dependency
394
+ name: awesome_print
395
+ requirement: !ruby/object:Gem::Requirement
396
+ requirements:
397
+ - - "~>"
398
+ - !ruby/object:Gem::Version
399
+ version: '1.8'
400
+ type: :development
401
+ prerelease: false
402
+ version_requirements: !ruby/object:Gem::Requirement
403
+ requirements:
404
+ - - "~>"
405
+ - !ruby/object:Gem::Version
406
+ version: '1.8'
407
+ - !ruby/object:Gem::Dependency
408
+ name: simplecov
409
+ requirement: !ruby/object:Gem::Requirement
410
+ requirements:
411
+ - - "~>"
412
+ - !ruby/object:Gem::Version
413
+ version: '0.18'
414
+ type: :development
415
+ prerelease: false
416
+ version_requirements: !ruby/object:Gem::Requirement
417
+ requirements:
418
+ - - "~>"
419
+ - !ruby/object:Gem::Version
420
+ version: '0.18'
309
421
  description: 小説家になろうで公開されている小説の管理、及び電子書籍データへの変換を支援します。縦書用に特化されており、横書き用に特化されたWEB小説を違和感なく縦書で読むことが出来るようになります。
310
422
  email:
311
423
  - 2nd.leaf@gmail.com
@@ -549,13 +661,10 @@ metadata: {}
549
661
  post_install_message: |
550
662
  ************************************************************
551
663
 
552
- 3.4.8: 2019/11/27
664
+ 3.5.0: 2020/02/16
553
665
  -----------------
554
666
  #### 修正内容
555
- - 小説タイトルが長すぎる場合、backup コマンドでファイルを作成した際にエラーが
556
- 出るため、ファイル名を端折る処理を導入
557
- - `デスマーチからはじまる異世界狂想曲` のプリセットファイルにバグが混入していた
558
- のを修正
667
+ - Ruby 2.7 に対応
559
668
 
560
669
  ************************************************************
561
670
  rdoc_options: []
@@ -572,7 +681,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
572
681
  - !ruby/object:Gem::Version
573
682
  version: '0'
574
683
  requirements: []
575
- rubygems_version: 3.0.3
684
+ rubygems_version: 3.1.2
576
685
  signing_key:
577
686
  specification_version: 4
578
687
  summary: Narou.rb ― 小説家になろうダウンローダ&縦書用整形スクリプト