softcover 1.5.7 → 1.5.8

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: b9c1f3caf05281d03abdac261a6dba7f80cacc619faad96c444a603dba90aa56
4
- data.tar.gz: 9a79a083882e23057e3509b1074b6b3af054bf9ea4466445b663bbe2b9dd82ad
3
+ metadata.gz: d5e31abeec10a12bafa0091a477f5c37d5762a8a026df0f166a034e49d915884
4
+ data.tar.gz: c05ed2d5ccbf38fac2428c9fd16ed393e547cd1b2832a8cb8ea1cd3eca81ce0a
5
5
  SHA512:
6
- metadata.gz: bee1b093613ea90173f58cea7e5236d60780a5f51c27113ea983e1939dd28b05ce3ad0f44a45db4711b71efa2196c1e58b0b514204f73effa8d0e83bcbd2045b
7
- data.tar.gz: 7c70c7b413a6b7485b4c17766a1fcc2e8076bb00dad9493cb9442869256f6112bba730dff7fb02105c6801b5bd26d64f437f577587b38b125506f806f2e617b9
6
+ metadata.gz: 527f525ae8bdada794636de206dd03664d5f322e95667ca0061d95218b56f1137ec62073e1e5d0e53b1b0c4fc069928616f8570ef6db04e0463f26d9acffde6d
7
+ data.tar.gz: 860e64e58db96659ab37010ddc4e1fc6dfedc4eb200d2770010493369cb24d4e0987fcf667ffa6296739557b9903cb62ca1d4be13b861f365e45f8d766e558c8
@@ -290,7 +290,7 @@ class Softcover::BookManifest < OpenStruct
290
290
 
291
291
  # Returns chapters for the PDF.
292
292
  def pdf_chapter_names
293
- chaps = chapters.reject { |chapter| chapter.slug.match(/frontmatter/) }.
293
+ chaps = chapters.reject { |chapter| chapter.slug == 'frontmatter' }.
294
294
  collect(&:slug)
295
295
  frontmatter? ? frontmatter + chaps : chaps
296
296
  end
@@ -419,4 +419,4 @@ class Softcover::BookManifest < OpenStruct
419
419
  end
420
420
  end
421
421
  end
422
- end
422
+ end
@@ -1,3 +1,3 @@
1
1
  module Softcover
2
- VERSION = "1.5.7"
2
+ VERSION = "1.5.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: softcover
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.7
4
+ version: 1.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Hartl
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-01-04 00:00:00.000000000 Z
12
+ date: 2019-01-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: polytexnic