review 5.1.0 → 5.1.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
2
  SHA256:
3
- metadata.gz: a76cbf5a17c5281505bab9a925226a41d8294eefd6f27300951f901795ce435b
4
- data.tar.gz: 4dcc1e929cb88187655b576b9cd06f0b17c52e598cb4cd622464f16921b6a871
3
+ metadata.gz: 3cb9e501ea85d00f7dc928d4f6304b0b710a6d137583585c0d31a29dab29eede
4
+ data.tar.gz: 8c50af2163c54fa4e2e0fd49f62cedbe45b1f5b29146bfc6e6fdccc8a57ed95c
5
5
  SHA512:
6
- metadata.gz: 572f178fee41b59b2a76c3959460faec1b4123e5606ed749ba419c62dd08a5aa34ebe8db7c640e9d112fe6bee509ea76107f01e49a03a4cf16ef7322f1792a94
7
- data.tar.gz: b6904c7bf4d5bc77c6affaed7a11f2dd019018f01cd98e5853680346add595aa8ba956a0918ce4f8e20f16703d4e752ae3a86ab101c81834414b7705f12cc7a6
6
+ metadata.gz: 854d53265b02b978ed8615b09863db0491743cb72caa4762445bfed5c32cb368e7d0c3d87e9d264492f273555e352a4252ddc26a0d38050046e84a454acb981f
7
+ data.tar.gz: 4f9756da487921f5b7fbaddd3d840e43642738a67fa341a1f6e1b35d01cf2447563ba645c3f9b010626bac25a901b6effe2fbb9d1c478fc84cb0bc88a2d22944
data/NEWS.ja.md CHANGED
@@ -1,3 +1,9 @@
1
+ # Version 5.1.1
2
+ ## バグ修正
3
+ * `review-preproc` がエラーになるのを修正しました ([#1679])
4
+
5
+ [#1679]: https://github.com/kmuto/review/issues/1679
6
+
1
7
  # Version 5.1.0
2
8
  ## 新機能
3
9
  * CSS 組版ソフトウェア [Vivliostyle-CLI](https://github.com/vivliostyle/vivliostyle-cli) を呼び出す Rake ルールを追加しました。Vivliostyle-CLI をインストールした環境において、`rake vivliostyle:build` または `rake vivliostyle` で PDF を作成、`rake vivliostyle:preview` でブラウザのプレビューが開きます ([#1663])
data/NEWS.md CHANGED
@@ -1,3 +1,9 @@
1
+ # Version 5.1.1
2
+ ## Bug Fixes
3
+ * Fix the runtime error of `review-preproc` ([#1679])
4
+
5
+ [#1679]: https://github.com/kmuto/review/issues/1679
6
+
1
7
  # Version 5.1.0
2
8
  ## New Features
3
9
  * added Rake rule to call [Vivliostyle-CLI](https://github.com/vivliostyle/vivliostyle-cli), CSS typesetting formatter. Create a PDF with `rake vivliostyle:build` or `rake vivliostyle`, and open a preview with `rake vivliostyle:preview` ([#1663])
data/bin/review-preproc CHANGED
@@ -15,7 +15,7 @@ require 'review/preprocessor'
15
15
  require 'review/version'
16
16
  require 'review/extentions'
17
17
  require 'review/logger'
18
- require 'lineinput'
18
+ require 'review/lineinput'
19
19
  require 'stringio'
20
20
  require 'fileutils'
21
21
  require 'optparse'
@@ -266,7 +266,7 @@ module ReVIEW
266
266
  end
267
267
 
268
268
  def evaluate(path, chunk)
269
- outputs = get_output("ruby #{path}", false).split(/\n/).map(&:strip)
269
+ outputs = get_output("ruby #{path}", false).split("\n").map(&:strip)
270
270
  chunk.map do |line|
271
271
  if /\# \$\d+/ =~ line.string
272
272
  # map result into source.
@@ -1,3 +1,3 @@
1
1
  module ReVIEW
2
- VERSION = '5.1.0'.freeze
2
+ VERSION = '5.1.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: review
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.0
4
+ version: 5.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - kmuto
8
8
  - takahashim
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-02-28 00:00:00.000000000 Z
12
+ date: 2021-03-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: image_size
@@ -621,7 +621,7 @@ homepage: http://github.com/kmuto/review
621
621
  licenses:
622
622
  - LGPL
623
623
  metadata: {}
624
- post_install_message:
624
+ post_install_message:
625
625
  rdoc_options: []
626
626
  require_paths:
627
627
  - lib
@@ -636,8 +636,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
636
636
  - !ruby/object:Gem::Version
637
637
  version: '0'
638
638
  requirements: []
639
- rubygems_version: 3.2.3
640
- signing_key:
639
+ rubygems_version: 3.0.3
640
+ signing_key:
641
641
  specification_version: 4
642
642
  summary: 'Re:VIEW: a easy-to-use digital publishing system'
643
643
  test_files: