bridgetown-core 0.18.1 → 0.18.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1d25b97e8914ef6cab51dcd4de4c2f17f8ba44fa27acf05ed87ef205785a440f
4
- data.tar.gz: 556ab43a620ac12adf2d9e68abf42cb0a0143abc513dc2f579b8ee030103cf9b
3
+ metadata.gz: 306a26e30d93c885f8e9580f31df3f10757b8d686337ac851a33c354689be225
4
+ data.tar.gz: 2e258edc76ea89224865c9cbc48d9ae5fcd9dacd2070d99953c6f567644237ac
5
5
  SHA512:
6
- metadata.gz: cc580ed174c76f365c6b15fff1dbf7927c1b94735833496f5397dff564688e5c132f120320158fc201cbc9b2f8fb25724b428cc99ed7021d9c1a478d860cecb9
7
- data.tar.gz: 50ba14145c5e255e3a0c10c22ea067fe655fd97b47596359a13762fc33dd323c7183015b1908106a21a7387064f181bba3f880f1520ea33104c2baa153d96b53
6
+ metadata.gz: 9a03b2aaabcf0066e0cb634c95f9b5819db23b472887e1048b78e589c9815615986ed8bb943b77f8d272221448608a95f489d6db21508703dbf3123ec31623a1
7
+ data.tar.gz: 2fc8d22203172c03db70520f430292833360c0eb39c91dde1a8d17d498c726295a8bc7183310468f981e5d236fa31a26fc3a564beb6e8179922d3975db6f876e
@@ -79,8 +79,7 @@ module Bridgetown
79
79
  rescue StandardError => e
80
80
  Bridgetown.logger.error "Conversion error:",
81
81
  "#{converter.class} encountered an error while "\
82
- "converting '#{document.relative_path}':"
83
- Bridgetown.logger.error("", e.to_s)
82
+ "converting `#{document.relative_path}'"
84
83
  raise e
85
84
  end
86
85
  end
@@ -145,13 +144,12 @@ module Bridgetown
145
144
  layout.current_document = document
146
145
  layout.current_document_output = output
147
146
  converter.convert layout_output, layout
147
+ rescue StandardError => e
148
+ Bridgetown.logger.error "Conversion error:",
149
+ "#{converter.class} encountered an error while "\
150
+ "converting `#{document.relative_path}'"
151
+ raise e
148
152
  end
149
- rescue StandardError => e
150
- Bridgetown.logger.error "Conversion error:",
151
- "#{converter.class} encountered an error while "\
152
- "converting '#{document.relative_path}':"
153
- Bridgetown.logger.error("", e.to_s)
154
- raise e
155
153
  end
156
154
 
157
155
  def add_regenerator_dependencies(layout)
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bridgetown
4
- VERSION = "0.18.1"
4
+ VERSION = "0.18.2"
5
5
  CODE_NAME = "Taylor Street"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bridgetown-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.1
4
+ version: 0.18.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bridgetown Team