itamae 1.10.8 → 1.10.9

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: ac9a370a3cfe252c50053194c3051126b9ae6dea24d93500533b62d3b97f63b0
4
- data.tar.gz: ad316689e12054b23b32925021dbda68f4b9dd1d8cc43a794577802228c7d425
3
+ metadata.gz: 0b1e0ffadc899b7ad59eeb372ad485595d898fdf11e5f279de47444288979ebc
4
+ data.tar.gz: d2828953d4691b589fd18764b29f3e8c70b8acf0cfc228b661e2b219784b6216
5
5
  SHA512:
6
- metadata.gz: 364c774f5b588aec726159179f7610a127de7c120f58b7ddbb08fcb0acb7406682895cfa6415325b44541cf8ef4b7a3ff8b6d6aa1a141dbefeedd3b2ea9f067b
7
- data.tar.gz: 3cb245ad1f968348cca7e8c7b1f3c05f80697b1154dbf5ca5c5439ddd086643e0cc8a4b6e1d87c205e761c27798c1258f821976701e13f04c97d3121885315ba
6
+ metadata.gz: 14cb2f5ad0ae3a821da90bd47269fb8eec3310f1d0b51cde4157db7de48bec0103e02e8d88e05c0a86e760b79c20bbe52abe8aa2180b7486db8bcc6c9f429134
7
+ data.tar.gz: 453a4f3d089ec55b0241c228873c5afed2bfe2b5a6ac63e9d0dae7a159ce9853cfea83e7153298385e91c4740ce32199ceb49ae2f99008cefe2f2e5b9253ed5f
@@ -1,5 +1,12 @@
1
1
  ## Unreleased
2
- [full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.10.8...master)
2
+ [full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.10.9...master)
3
+
4
+ ## v1.10.9
5
+ [full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.10.8...v1.10.9)
6
+
7
+ Improvements
8
+
9
+ - [Fix CRLF problem in windows](https://github.com/itamae-kitchen/itamae/pull/316)
3
10
 
4
11
  ## v1.10.8
5
12
  [full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.10.7...v1.10.8)
@@ -193,7 +193,12 @@ module Itamae
193
193
  src = if content_file
194
194
  content_file
195
195
  else
196
- f = Tempfile.open('itamae')
196
+ f =
197
+ if Gem.win_platform?
198
+ Tempfile.open('itamae', :mode=>IO::BINARY)
199
+ else
200
+ Tempfile.open('itamae')
201
+ end
197
202
  f.write(attributes.content)
198
203
  f.close
199
204
  f.path
@@ -1,3 +1,3 @@
1
1
  module Itamae
2
- VERSION = "1.10.8"
2
+ VERSION = "1.10.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itamae
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.8
4
+ version: 1.10.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryota Arai
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2020-05-15 00:00:00.000000000 Z
13
+ date: 2020-06-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: thor