hanami-assets 1.3.3 → 1.3.4

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: 9d57c688cf9558e60dd1d231c9d4af7aa3cc741961598313de174f326d98311e
4
- data.tar.gz: a64b0d2fc02ab944bfd44dc29f869a59b47948ce6affca5b81cd95bfe0a50a3e
3
+ metadata.gz: dec13ddd703f41b58845cc0dbbcb07c702e15dbb501d06930d6b4c2a968bedf4
4
+ data.tar.gz: 7c68a5fdeaf40a07a829222092a70fe12d1b91636e32e0b20b648a0a78b9cbbe
5
5
  SHA512:
6
- metadata.gz: f6d37432f52284e19690df0031cf0809f4225961654f9d5c074ddbff3f1a1b8d9016cb07ddfb9e0ccfd139bb31bac8d322912acae0baf8d4270a11895f847438
7
- data.tar.gz: 1e3424ed716e9bf166a0bf6728407c03bdb0cb779d865a7f6281b523a62754452e6d893c473fbaff1ce870b4b8de31d823f17b7ec0113045f8e487c25fc1eca1
6
+ metadata.gz: c46de5c621ef1725c288d7299a8a91eeb059cb8b9b88ac4e23a78961bd687176aa18eeaacfa8f2777002f32429f0248e12e923495bad5df3085fd3dddab37f9a
7
+ data.tar.gz: f71eb9164a3ccc95446d0798b4c0284542840558838432f1b38ce1aaddedd79549b8d59d3c13adfd93ec054def0c9066590273c5d43d840e2cd412d466c9806a
@@ -1,6 +1,10 @@
1
1
  # Hanami::Assets
2
2
  Assets management for Ruby web applications
3
3
 
4
+ ## v1.3.4 - 2019-10-11
5
+ ### Fixed
6
+ - [unleashy] Precompile assets using binary mode to ensure compatibility with Windows
7
+
4
8
  ## v1.3.3 - 2019-09-13
5
9
  ### Fixed
6
10
  - [Landon Grindheim] Lazily load `sassc` only when required
@@ -231,7 +231,7 @@ module Hanami
231
231
  # @since 0.1.0
232
232
  # @api private
233
233
  def copy!
234
- write { source.read }
234
+ write { source.binread }
235
235
  end
236
236
 
237
237
  # @since 0.1.0
@@ -244,7 +244,7 @@ module Hanami
244
244
  # @api private
245
245
  def write
246
246
  destination.dirname.mkpath
247
- destination.open(File::WRONLY | File::TRUNC | File::CREAT, DEFAULT_PERMISSIONS) do |file|
247
+ destination.open(File::WRONLY | File::TRUNC | File::CREAT | File::BINARY, DEFAULT_PERMISSIONS) do |file|
248
248
  file.write(yield)
249
249
  end
250
250
  end
@@ -3,6 +3,6 @@ module Hanami
3
3
  # Defines the version
4
4
  #
5
5
  # @since 0.1.0
6
- VERSION = '1.3.3'.freeze
6
+ VERSION = '1.3.4'.freeze
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hanami-assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3
4
+ version: 1.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luca Guidi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-13 00:00:00.000000000 Z
11
+ date: 2019-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hanami-utils
@@ -250,7 +250,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
250
250
  - !ruby/object:Gem::Version
251
251
  version: '0'
252
252
  requirements: []
253
- rubygems_version: 3.0.3
253
+ rubygems_version: 3.0.6
254
254
  signing_key:
255
255
  specification_version: 4
256
256
  summary: Assets management