poise-archive 1.4.0 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/poise_archive/archive_providers/seven_zip.rb +1 -6
- data/lib/poise_archive/version.rb +1 -1
- data/poise-archive.gemspec +1 -1
- data/test/gemfiles/master.gemfile +1 -0
- metadata +11 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11a768c865521b7faa524d3d30aaee6c91680121
|
4
|
+
data.tar.gz: 763ee1a5e285ec342a0e6b82bf8881446234d462
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cdc71ce1a9dc82f70601ccbe88314143134b0b0ca70258b8e83338464e27bb3104ab9391a0b76a89dd320d493e4fbe1f08069651b223eed2a975e44fb559581
|
7
|
+
data.tar.gz: 3acbf9119f6a6dbe6d111d917f658cd8393b8e4be8b88e079fbde850d14ddc392d6405616841b2b2959dbac058ddf90e6ac65d861cf234936e09f56a94bf3272
|
data/CHANGELOG.md
CHANGED
@@ -112,12 +112,7 @@ module PoiseArchive
|
|
112
112
|
def move_files(tmpdir)
|
113
113
|
entries_at_depth(tmpdir, new_resource.strip_components).each do |source|
|
114
114
|
target = ::File.join(new_resource.destination, ::File.basename(source))
|
115
|
-
|
116
|
-
# This is not a great solution and won't have exactly the same behavior
|
117
|
-
# as the other providers, but it's something at least.
|
118
|
-
FileUtils.rm_rf(target) if ::File.exist?(target)
|
119
|
-
# At some point this might need to fall back to a real copy.
|
120
|
-
::File.rename(source, target)
|
115
|
+
FileUtils.mv(source, target, secure: true)
|
121
116
|
end
|
122
117
|
end
|
123
118
|
|
data/poise-archive.gemspec
CHANGED
@@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
|
|
33
33
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
34
34
|
spec.require_paths = %w{lib}
|
35
35
|
|
36
|
-
spec.add_dependency 'chef', '
|
36
|
+
spec.add_dependency 'chef', '>= 12.1', '< 14'
|
37
37
|
spec.add_dependency 'halite', '~> 1.2'
|
38
38
|
spec.add_dependency 'poise', '~> 2.6'
|
39
39
|
|
@@ -18,6 +18,7 @@ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
|
|
18
18
|
|
19
19
|
gem 'chef', github: 'chef/chef'
|
20
20
|
gem 'halite', github: 'poise/halite'
|
21
|
+
gem 'ohai', github: 'chef/ohai'
|
21
22
|
gem 'poise', github: 'poise/poise'
|
22
23
|
gem 'poise-boiler', github: 'poise/poise-boiler'
|
23
24
|
# gem 'poise-languages', github: 'poise/poise-languages'
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: poise-archive
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Noah Kantrowitz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chef
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '12.1'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '14'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '12.1'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '14'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: halite
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -162,7 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
162
168
|
version: '0'
|
163
169
|
requirements: []
|
164
170
|
rubyforge_project:
|
165
|
-
rubygems_version: 2.6.
|
171
|
+
rubygems_version: 2.6.11
|
166
172
|
signing_key:
|
167
173
|
specification_version: 4
|
168
174
|
summary: A Chef cookbook for unpacking file archives like tar and zip.
|