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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 01c2f0093ff82b490d384f28383e9001be1f3d86
4
- data.tar.gz: f03d4873224d55c6d543ca6584fc03fbf95a514d
3
+ metadata.gz: 11a768c865521b7faa524d3d30aaee6c91680121
4
+ data.tar.gz: 763ee1a5e285ec342a0e6b82bf8881446234d462
5
5
  SHA512:
6
- metadata.gz: e2362ecf6f347995dd967b7a07294a40fd6e455a9fc122a22618314fcc3418a3a05e31f32810cbf3b383a4a51e58d58450d1b0ca32c3d98038253961838df288
7
- data.tar.gz: 104cc37a957cc08eeebe6db7e982b59ae6ab6e12fd8adea6ca33f0b7b9a60710862766bfa1aecbb2bd923e7f84f4cf5c2362523ed12fd3bf154026f3cb537606
6
+ metadata.gz: 3cdc71ce1a9dc82f70601ccbe88314143134b0b0ca70258b8e83338464e27bb3104ab9391a0b76a89dd320d493e4fbe1f08069651b223eed2a975e44fb559581
7
+ data.tar.gz: 3acbf9119f6a6dbe6d111d917f658cd8393b8e4be8b88e079fbde850d14ddc392d6405616841b2b2959dbac058ddf90e6ac65d861cf234936e09f56a94bf3272
@@ -1,5 +1,10 @@
1
1
  # Poise-Archive Changelog
2
2
 
3
+ ## v1.5.0
4
+
5
+ * Support for 7-Zip unpacking archives on drives other than the system root.
6
+ * Chef 13 support.
7
+
3
8
  ## v1.4.0
4
9
 
5
10
  * Added support for using 7-Zip on Windows.
@@ -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
- # If we are in keep_existing mode, the target might exist already.
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
 
@@ -16,5 +16,5 @@
16
16
 
17
17
 
18
18
  module PoiseArchive
19
- VERSION = '1.4.0'
19
+ VERSION = '1.5.0'
20
20
  end
@@ -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', '~> 12.1'
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.0
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-02-21 00:00:00.000000000 Z
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.4
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.