mixlib-archive 0.4.16 → 0.4.18

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: 80c0094c2194ff48fd6b36fffd034dd4989fa31eb061c4aa077a541e054f9598
4
- data.tar.gz: 4076566b1233034d6288c80891fbfac843ca211a290b6d7b0f8b77fcda51e035
3
+ metadata.gz: 23a8cc654e46195a092076a3ebfdf78a42475acfcad1416d2005fb37ce88574b
4
+ data.tar.gz: 333617d81325dbf3df5ba54aef0d56448a1901571a49957ad752686f567f844e
5
5
  SHA512:
6
- metadata.gz: d8ee1157b34e5e32a8ff3de85fd528355e6f59b8e1c81a159369b908af68cda1af726bcef985bc597ed25a3b7b64eab6c371e0e9667df0818ddfb6e7fd7dd8e7
7
- data.tar.gz: 81938535bd96f3069255a63cbf99c05df33bc442f196447ed61001786ce6d57799d972c49a4636337645a70c4d161adf53bac05b78b6f523c8cb98c86efea9ef
6
+ metadata.gz: 3293edab65473b862658f6d1c3c1558542c87a5e6b17642520d51fff9bc53cc08dbde4b5c8b7f0c3a51d879cdd9ba6a9a6bdd80c00e07e4ff5b940b9b7c86fb1
7
+ data.tar.gz: 8fa8ed1e7e14688ea6db8147494e44ab726a5212012795f76cc11d58b2ad28dda11e923ff320e2e97723cb5a416f265fb85458614b0b566d5358a3551e3938cd
@@ -1,5 +1,5 @@
1
1
  module Mixlib
2
2
  class Archive
3
- VERSION = "0.4.16".freeze
3
+ VERSION = "0.4.18".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mixlib-archive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.16
4
+ version: 0.4.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chef Software, Inc
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-28 00:00:00.000000000 Z
11
+ date: 2018-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-log
@@ -31,30 +31,13 @@ executables: []
31
31
  extensions: []
32
32
  extra_rdoc_files: []
33
33
  files:
34
- - ".expeditor/config.yml"
35
- - ".expeditor/update_version.sh"
36
- - ".github/CODEOWNERS"
37
- - ".github/ISSUE_TEMPLATE.md"
38
- - ".github/PULL_REQUEST_TEMPLATE.md"
39
- - ".gitignore"
40
- - ".rspec"
41
- - ".travis.yml"
42
- - CHANGELOG.md
43
- - Gemfile
44
34
  - LICENSE
45
35
  - README.md
46
- - Rakefile
47
- - VERSION
48
- - appveyor.yml
49
- - distro/ruby_bin_folder/libarchive.dll
50
- - distro/ruby_bin_folder/liblzma-5.dll
51
- - distro/ruby_bin_folder/libxml2-2.dll
52
36
  - lib/mixlib/archive.rb
53
37
  - lib/mixlib/archive/lib_archive.rb
54
38
  - lib/mixlib/archive/tar.rb
55
39
  - lib/mixlib/archive/version.rb
56
- - mixlib-archive.gemspec
57
- homepage: https://chef.io
40
+ homepage: https://github.com/chef/mixlib-archive
58
41
  licenses:
59
42
  - Apache-2.0
60
43
  metadata: {}
@@ -1,41 +0,0 @@
1
- # Documentation available at https://expeditor.chef.io/docs/getting-started/
2
- ---
3
- # Slack channel in Chef Software slack to send notifications about build failures, etc
4
- slack:
5
- notify_channel: chef-notify
6
-
7
- # This publish is triggered by the `built_in:publish_rubygems` artifact_action.
8
- rubygems:
9
- - mixlib-archive
10
-
11
- github:
12
- # This deletes the GitHub PR branch after successfully merged into the release branch
13
- delete_branch_on_merge: true
14
- # The tag format to use (e.g. v1.0.0)
15
- version_tag_format: "v{{version}}"
16
- # allow bumping the minor release via label
17
- minor_bump_labels:
18
- - "Expeditor: Bump Minor Version"
19
-
20
- changelog:
21
- rollup_header: Changes not yet released to rubygems.org
22
-
23
- # These actions are taken, in order they are specified, anytime a Pull Request is merged.
24
- merge_actions:
25
- - built_in:bump_version:
26
- ignore_labels:
27
- - "Expeditor: Skip Version Bump"
28
- - "Expeditor: Skip All"
29
- - bash:.expeditor/update_version.sh:
30
- only_if: built_in:bump_version
31
- - built_in:update_changelog:
32
- ignore_labels:
33
- - "Expeditor: Exclude From Changelog"
34
- - "Expeditor: Skip All"
35
- - built_in:build_gem:
36
- only_if: built_in:bump_version
37
-
38
- promote:
39
- actions:
40
- - built_in:rollover_changelog
41
- - built_in:publish_rubygems
@@ -1,12 +0,0 @@
1
- #!/bin/sh
2
- #
3
- # After a PR merge, Chef Expeditor will bump the PATCH version in the VERSION file.
4
- # It then executes this file to update any other files/components with that new version.
5
- #
6
-
7
- set -evx
8
-
9
- sed -i -r "s/^(\s*)VERSION = \".+\"/\1VERSION = \"$(cat VERSION)\"/" lib/mixlib/archive/version.rb
10
-
11
- # Once Expeditor finshes executing this script, it will commit the changes and push
12
- # the commit as a new tag corresponding to the value in the VERSION file.
data/.github/CODEOWNERS DELETED
@@ -1,4 +0,0 @@
1
- # Order is important. The last matching pattern has the most precedence.
2
-
3
- * @chef/client-maintainers
4
- .expeditor/** @chef/jex-team
@@ -1,21 +0,0 @@
1
- # Version:
2
-
3
- [Version of the project installed]
4
-
5
- # Environment: [Details about the environment such as the Operating System, cookbook details, etc...]
6
-
7
- # Scenario:
8
-
9
- [What you are trying to achieve and you can't?]
10
-
11
- # Steps to Reproduce:
12
-
13
- [If you are filing an issue what are the things we need to do in order to repro your problem?]
14
-
15
- # Expected Result:
16
-
17
- [What are you expecting to happen as the consequence of above reproduction steps?]
18
-
19
- # Actual Result:
20
-
21
- [What actually happens after the reproduction steps?]
@@ -1,14 +0,0 @@
1
- ### Description
2
-
3
- [Please describe what this change achieves]
4
-
5
- ### Issues Resolved
6
-
7
- [List any existing issues this PR resolves, or any Discourse or
8
- StackOverflow discussion that's relevant]
9
-
10
- ### Check List
11
-
12
- - [ ] New functionality includes tests
13
- - [ ] All tests pass
14
- - [ ] All commits have been signed-off for the Developer Certificate of Origin. See <https://github.com/chef/chef/blob/master/CONTRIBUTING.md#developer-certification-of-origin-dco>
data/.gitignore DELETED
@@ -1,27 +0,0 @@
1
- _yardoc
2
- .bundle
3
- .config
4
- .DS_Store
5
- .idea
6
- .rake_tasks~
7
- .rspec
8
- .ruby-version
9
- .rvmrc
10
- .yardoc
11
- .yardopts
12
- *.gem
13
- *.rbc
14
- *.sw?
15
- bin/
16
- coverage
17
- doc
18
- Gemfile.local
19
- Gemfile.lock
20
- InstalledFiles
21
- lib/bundler/man
22
- pkg
23
- spec/reports
24
- test/tmp
25
- test/version_tmp
26
- tmp
27
- vendor
data/.travis.yml DELETED
@@ -1,31 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- cache: bundler
4
-
5
- addons:
6
- apt:
7
- packages:
8
- - libarchive-dev
9
-
10
- matrix:
11
- include:
12
- - rvm: 2.3.7
13
- - rvm: 2.4.4
14
- - rvm: 2.5.1
15
- - rvm: ruby-head
16
- allow_failures:
17
- - rvm: ruby-head
18
-
19
- branches:
20
- only:
21
- - master
22
-
23
- bundler_args: --without docs development
24
-
25
- before_install:
26
- - gem install bundler
27
- - bundle --version
28
- - gem update --system
29
- - gem --version
30
-
31
- script: bundle exec rake
data/CHANGELOG.md DELETED
@@ -1,97 +0,0 @@
1
- <!-- usage documentation: http://expeditor-docs.es.chef.io/configuration/changelog/ -->
2
- # Change Log
3
-
4
- <!-- latest_release 0.4.16 -->
5
- ## [v0.4.16](https://github.com/chef/mixlib-archive/tree/v0.4.16) (2018-08-28)
6
-
7
- #### Merged Pull Requests
8
- - Fix read_tar_magic to properly return an array when a file has less than 264 characters [#30](https://github.com/chef/mixlib-archive/pull/30) ([bdwyertech](https://github.com/bdwyertech))
9
- <!-- latest_release -->
10
-
11
- <!-- release_rollup since=0.4.13 -->
12
- ### Changes not yet released to rubygems.org
13
-
14
- #### Merged Pull Requests
15
- - Fix read_tar_magic to properly return an array when a file has less than 264 characters [#30](https://github.com/chef/mixlib-archive/pull/30) ([bdwyertech](https://github.com/bdwyertech)) <!-- 0.4.16 -->
16
- - Fix mixlib-archive on Windows, add Appveyor [#31](https://github.com/chef/mixlib-archive/pull/31) ([stuartpreston](https://github.com/stuartpreston)) <!-- 0.4.15 -->
17
- - Ensure that paths like foo..bar.baz aren&#39;t ignored [#9](https://github.com/chef/mixlib-archive/pull/9) ([thommay](https://github.com/thommay)) <!-- 0.4.14 -->
18
- <!-- release_rollup -->
19
-
20
- <!-- latest_stable_release -->
21
- ## [v0.4.13](https://github.com/chef/mixlib-archive/tree/v0.4.13) (2018-08-03)
22
-
23
- #### Merged Pull Requests
24
- - add codeowners [#24](https://github.com/chef/mixlib-archive/pull/24) ([thommay](https://github.com/thommay))
25
- - Move deps to the Gemfile and expand Rake tasks [#25](https://github.com/chef/mixlib-archive/pull/25) ([tas50](https://github.com/tas50))
26
- - Add github issue template &amp; standardize expeditor config [#26](https://github.com/chef/mixlib-archive/pull/26) ([tas50](https://github.com/tas50))
27
- - Update codeowners and add PR template [#27](https://github.com/chef/mixlib-archive/pull/27) ([tas50](https://github.com/tas50))
28
- - bugfix to make dir.chdir threadsafe [#29](https://github.com/chef/mixlib-archive/pull/29) ([stevenoneill](https://github.com/stevenoneill))
29
- <!-- latest_stable_release -->
30
-
31
- ## [v0.4.8](https://github.com/chef/mixlib-archive/tree/v0.4.8) (2018-06-21)
32
-
33
- #### Merged Pull Requests
34
- - Use the correct entry size for content with multi-byte characters. [#23](https://github.com/chef/mixlib-archive/pull/23) ([coderanger](https://github.com/coderanger))
35
-
36
- ## [v0.4.7](https://github.com/chef/mixlib-archive/tree/v0.4.7) (2018-06-07)
37
-
38
- #### Merged Pull Requests
39
- - fixup strange edge case around tar magic reading [#22](https://github.com/chef/mixlib-archive/pull/22) ([spion06](https://github.com/spion06))
40
-
41
- ## [v0.4.6](https://github.com/chef/mixlib-archive/tree/v0.4.6) (2018-05-08)
42
-
43
- #### Merged Pull Requests
44
- - update tar magic to identify oldgnu style tar headers [#21](https://github.com/chef/mixlib-archive/pull/21) ([spion06](https://github.com/spion06))
45
-
46
- ## [v0.4.5](https://github.com/chef/mixlib-archive/tree/v0.4.5) (2018-05-04)
47
-
48
- #### Merged Pull Requests
49
- - Fix up creating archives [#18](https://github.com/chef/mixlib-archive/pull/18) ([thommay](https://github.com/thommay))
50
- - Fix up writing tar archives with the rubygems tar [#19](https://github.com/chef/mixlib-archive/pull/19) ([thommay](https://github.com/thommay))
51
-
52
- ## [v0.4.2](https://github.com/chef/mixlib-archive/tree/v0.4.2) (2018-04-25)
53
-
54
- #### Merged Pull Requests
55
- - use libarchive by preference [#17](https://github.com/chef/mixlib-archive/pull/17) ([thommay](https://github.com/thommay))
56
-
57
- ## [v0.4.1](https://github.com/chef/mixlib-archive/tree/v0.4.1) (2017-02-02)
58
-
59
- [Full Changelog](https://github.com/chef/mixlib-archive/compare/v0.4.0...v0.4.1)
60
-
61
- ###Merged pull requests:
62
-
63
- - Accept a single pattern to ignore [\#8](https://github.com/chef/mixlib-archive/pull/8) ([thommay](https://github.com/thommay))
64
-
65
- ## [v0.4.0](https://github.com/chef/mixlib-archive/tree/v0.4.0) (2017-02-02)
66
- [Full Changelog](https://github.com/chef/mixlib-archive/compare/v0.3.0...v0.4.0)
67
-
68
- **Fixed bugs:**
69
-
70
- - Ignore directory traversing file\_names in an tar [\#6](https://github.com/chef/mixlib-archive/pull/6) ([thommay](https://github.com/thommay))
71
-
72
- ## [v0.3.0](https://github.com/chef/mixlib-archive/tree/v0.3.0) (2017-01-19)
73
- [Full Changelog](https://github.com/chef/mixlib-archive/compare/v0.2.0...v0.3.0)
74
-
75
- **Merged pull requests:**
76
-
77
- - Use Rake 11 [\#5](https://github.com/chef/mixlib-archive/pull/5) ([tas50](https://github.com/tas50))
78
- - Create archives as well as extracting them [\#4](https://github.com/chef/mixlib-archive/pull/4) ([thommay](https://github.com/thommay))
79
-
80
- ## [v0.2.0](https://github.com/chef/mixlib-archive/tree/v0.2.0) (2016-07-05)
81
- [Full Changelog](https://github.com/chef/mixlib-archive/compare/v0.1.0...v0.2.0)
82
-
83
- **Merged pull requests:**
84
-
85
- - Add logging [\#3](https://github.com/chef/mixlib-archive/pull/3) ([thommay](https://github.com/thommay))
86
- - Make extraction safer [\#2](https://github.com/chef/mixlib-archive/pull/2) ([thommay](https://github.com/thommay))
87
-
88
- ## [v0.1.0](https://github.com/chef/mixlib-archive/tree/v0.1.0) (2016-05-09)
89
- [Full Changelog](https://github.com/chef/mixlib-archive/compare/053f20d5455cc463251f91d1413b973232909dc2...v0.1.0)
90
-
91
- **Merged pull requests:**
92
-
93
- - Turns out some tar archives don't contain dirs [\#1](https://github.com/chef/mixlib-archive/pull/1) ([thommay](https://github.com/thommay))
94
-
95
-
96
-
97
- \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
data/Gemfile DELETED
@@ -1,45 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gemspec
4
-
5
- gem "ffi-libarchive"
6
-
7
- group :docs do
8
- gem "yard"
9
- gem "redcarpet"
10
- gem "github-markup"
11
- end
12
-
13
- group :test do
14
- gem "chefstyle", git: "https://github.com/chef/chefstyle.git", branch: "master"
15
- gem "rspec", "~> 3.0"
16
- gem "rake"
17
- end
18
-
19
- group :development do
20
- gem "pry"
21
- gem "pry-byebug"
22
- gem "pry-stack_explorer"
23
- gem "rb-readline"
24
- end
25
-
26
- instance_eval(ENV["GEMFILE_MOD"]) if ENV["GEMFILE_MOD"]
27
-
28
- # If you want to load debugging tools into the bundle exec sandbox,
29
- # add these additional dependencies into Gemfile.local
30
- eval_gemfile(__FILE__ + ".local") if File.exist?(__FILE__ + ".local")
31
-
32
- # These lines added for Windows (x64) development only.
33
- # For ffi-libarchive to function during development on Windows we need the
34
- # binaries in the RbConfig::CONFIG["bindir"]
35
- #
36
- # We copy (and overwrite) these files every time "bundle <exec|install>" is
37
- # executed, just in case they have changed.
38
- if RUBY_PLATFORM =~ /mswin|mingw|windows/
39
- instance_eval do
40
- ruby_exe_dir = RbConfig::CONFIG["bindir"]
41
- assemblies = Dir.glob(File.expand_path("distro/ruby_bin_folder", Dir.pwd) + "/*.dll")
42
- FileUtils.cp_r assemblies, ruby_exe_dir, verbose: false unless ENV["_BUNDLER_LIBARCHIVE_DLLS_COPIED"]
43
- ENV["_BUNDLER_LIBARCHIVE_DLLS_COPIED"] = "1"
44
- end
45
- end
data/Rakefile DELETED
@@ -1,36 +0,0 @@
1
- require "bundler/gem_tasks"
2
- require "rspec/core/rake_task"
3
-
4
- task default: [:style, :spec]
5
-
6
- Bundler::GemHelper.install_tasks
7
-
8
- desc "Run specs"
9
- RSpec::Core::RakeTask.new(:spec) do |spec|
10
- spec.pattern = "spec/**/*_spec.rb"
11
- end
12
-
13
- begin
14
- require "chefstyle"
15
- require "rubocop/rake_task"
16
- RuboCop::RakeTask.new(:style) do |task|
17
- task.options += ["--display-cop-names", "--no-color"]
18
- end
19
- rescue LoadError
20
- puts "chefstyle/rubocop is not available. bundle install first to make sure all dependencies are installed."
21
- end
22
-
23
- begin
24
- require "yard"
25
- YARD::Rake::YardocTask.new(:docs)
26
- rescue LoadError
27
- puts "yard is not available. bundle install first to make sure all dependencies are installed."
28
- end
29
-
30
- task :console do
31
- require "irb"
32
- require "irb/completion"
33
- require "mixlib/archive"
34
- ARGV.clear
35
- IRB.start
36
- end
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.4.16
data/appveyor.yml DELETED
@@ -1,31 +0,0 @@
1
- version: "master-{build}"
2
-
3
- os: Visual Studio 2017
4
- platform:
5
- - x64
6
-
7
- environment:
8
- matrix:
9
- - ruby_version: "25-x64"
10
-
11
- clone_folder: c:\projects\mixlib-archive
12
- clone_depth: 1
13
- skip_tags: true
14
- branches:
15
- only:
16
- - master
17
-
18
- install:
19
- - SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
20
- - echo %PATH%
21
- - ruby --version
22
- - gem --version
23
- - gem update --system
24
- - gem install bundler --quiet --no-ri --no-rdoc
25
- - bundler --version
26
-
27
- build_script:
28
- - bundle install
29
-
30
- test_script:
31
- - bundle exec rake
Binary file
Binary file
Binary file
@@ -1,21 +0,0 @@
1
- # coding: utf-8
2
- lib = File.expand_path("../lib", __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require "mixlib/archive/version"
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = "mixlib-archive"
8
- spec.version = Mixlib::Archive::VERSION
9
- spec.authors = ["Chef Software, Inc"]
10
- spec.email = ["info@chef.io"]
11
-
12
- spec.summary = %q{A simple interface to various archive formats}
13
- spec.description = spec.summary
14
- spec.homepage = "https://chef.io"
15
- spec.license = "Apache-2.0"
16
-
17
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
- spec.require_paths = ["lib"]
19
-
20
- spec.add_dependency "mixlib-log"
21
- end