stove 3.2.4 → 3.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/stove/packager.rb +2 -2
- data/lib/stove/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: adf59176016fc650340c083aaafcbdc16726942a
|
4
|
+
data.tar.gz: 2e6daf3d348e3f52de76c33442117d7ddab28607
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 552f55caf16682fcda07f1aaf690851514c8b82ebfec6a97d19cc3ef86b3e9d9f13e691c927001902f1e1dfc1280aa325e3b0fcb86877a47d9c10417f44c2541
|
7
|
+
data.tar.gz: 7da0d469bdc7f4517ea2a84f8c6f44ab6ef94059fb081b66ec61dae905c7418d7c7811525ff973eb04f2b2b43f27b31fa4eec1497c33c2b0d42419c65de9f53f
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,10 @@ Stove CHANGELOG
|
|
2
2
|
===============
|
3
3
|
This is the Changelog for the Stove gem.
|
4
4
|
|
5
|
+
v3.2.5 (2014-12-19)
|
6
|
+
-------------------
|
7
|
+
- Fix a bug with line endings when generating tarballs
|
8
|
+
|
5
9
|
v3.2.4 (2014-12-07)
|
6
10
|
-------------------
|
7
11
|
- Add support for `issues_url` and `source_url` metadata attributes
|
data/lib/stove/packager.rb
CHANGED
@@ -77,7 +77,7 @@ module Stove
|
|
77
77
|
io = tar(File.dirname(cookbook.path), packaging_slip)
|
78
78
|
tgz = gzip(io)
|
79
79
|
|
80
|
-
tempfile = Tempfile.new([cookbook.name, '.tar.gz'])
|
80
|
+
tempfile = Tempfile.new([cookbook.name, '.tar.gz'], Dir.tmpdir, mode: File::RDWR|File::CREAT|File::EXCL|File::BINARY)
|
81
81
|
|
82
82
|
while buffer = tgz.read(1024)
|
83
83
|
tempfile.write(buffer)
|
@@ -103,7 +103,7 @@ module Stove
|
|
103
103
|
# the io object that contains the tarball contents
|
104
104
|
#
|
105
105
|
def tar(root, slip)
|
106
|
-
io = StringIO.new('')
|
106
|
+
io = StringIO.new('', 'r+b')
|
107
107
|
Gem::Package::TarWriter.new(io) do |tar|
|
108
108
|
slip.each do |original_file, tarball_file|
|
109
109
|
mode = File.stat(original_file).mode
|
data/lib/stove/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stove
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Seth Vargo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chef-api
|