jekyll-assets 2.1.2 → 2.1.3

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
  SHA1:
3
- metadata.gz: e60cdfaf7d596d389bbcec21a66107d67ccfbe90
4
- data.tar.gz: 63f5eb9b6403c796ecfaada67cff9be970010926
3
+ metadata.gz: 5dacc5765d3fcf62c0f1d871dde51646105e6cb7
4
+ data.tar.gz: 414d4de5d5cde91b570a59b1e7d19b962844691a
5
5
  SHA512:
6
- metadata.gz: 242655cdc3b881ec265a3bc30ee3db55f13d96faff90c854c5027da88226faf13fe8d9657b58a9b915b511adb3c44cb4fd8e8726e26f4af1cf050a143eb02d53
7
- data.tar.gz: aa748e44f62d26348ea837b172dce3d3abb352fd051834af124bd3f1d0b94aa3087c3aa9051b9474a6fec75232670b16d8e05b4b15de8a56d0697f458caeb35c
6
+ metadata.gz: 91271fb09be45bf58eeb762985518cc6998d127854cf331362015d5c60604315bd0bcf44d8c2218ca02f685537d3e8c8619757b4379a5fce02ef0e63c3a3abb9
7
+ data.tar.gz: 41572718d4cb1f640a53bf7162a1dc7f85eee18cc7c95ce7862280e62bfd293ab87bb3d39cff66e3f7a220736b52b47136cad3fb7d7484a02449ee6a80e4e26c
@@ -69,7 +69,10 @@ module Jekyll
69
69
  #
70
70
 
71
71
  def write_to(name)
72
- File.binwrite(name, source)
72
+ FileUtils.mkdir_p File.dirname(name)
73
+ Sprockets::PathUtils.atomic_write(name) do |f|
74
+ f.write source
75
+ end
73
76
  end
74
77
 
75
78
  #
@@ -4,6 +4,6 @@
4
4
 
5
5
  module Jekyll
6
6
  module Assets
7
- VERSION="2.1.2"
7
+ VERSION="2.1.3"
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordon Bedwell
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-12-12 00:00:00.000000000 Z
13
+ date: 2016-04-15 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: sprockets
@@ -204,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
204
204
  version: '0'
205
205
  requirements: []
206
206
  rubyforge_project:
207
- rubygems_version: 2.5.0
207
+ rubygems_version: 2.6.3
208
208
  signing_key:
209
209
  specification_version: 4
210
210
  summary: Assets for Jekyll