mini_portile2 2.8.7 → 2.8.8

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: 70898a2aae18144f603247968314787f2bb4291ce43bab39e7d9f0236d1dcd16
4
- data.tar.gz: be938e39466de9c5d731d261c7e2afa63a88e5ca20bdfd594b6f39761b250798
3
+ metadata.gz: bcea2276fac9f3ca76bfea583e5752f483dd9eb603be305aabda7d94dc3d68d6
4
+ data.tar.gz: b17dfb956a4830ba45aab9f02bd4de1882e828f238f962dbcffe4177445a4735
5
5
  SHA512:
6
- metadata.gz: 55d44167607aca34fee6fa086246d7f71146e500d77a79f128af9399cd057404ee44d9fb8a349f89928c6f21139826e785d2da23bc4ea656c93047fa1990a20a
7
- data.tar.gz: bd0c5d6b654deb5325d1f5329ef0e93b1a47cfde7225ab4f8730dfb419ab27604eb4713d1ae3659dcd4fdf1697e00acbad020c06347b7456041f0121ae40bb05
6
+ metadata.gz: bd8cda43aee0d8cc3014d8b55385e7096c0156c5d291084fa8af22b64c74393fdf5358741abfe954a8f9f7624ce7df4550da1ff9950e018ad5fbc64e50c29ffb
7
+ data.tar.gz: 22003d5b4e9a41cac7e6459f40443800b3b87590992ff164b4dbff34a8b86b6e36dafe3c71c3dcb0c2b2a4eed3e686dbc3b7ad0be4be6743f6b731931ad60e39
@@ -1,4 +1,4 @@
1
- name: Continuous Integration
1
+ name: ci
2
2
  concurrency:
3
3
  group: "${{github.workflow}}-${{github.ref}}"
4
4
  cancel-in-progress: true
@@ -25,7 +25,7 @@ jobs:
25
25
  fail-fast: false
26
26
  matrix:
27
27
  platform: [ubuntu-latest, windows-latest, macos-latest]
28
- ruby: ["2.3", "2.4", "2.5", "2.6", "2.7", "3.0", "3.1", "3.2", "3.3", "head"]
28
+ ruby: ["2.3", "2.4", "2.5", "2.6", "2.7", "3.0", "3.1", "3.2", "3.3"]
29
29
  exclude:
30
30
  # I can't figure out how to install these on macos through setup-ruby
31
31
  - ruby: "2.3"
@@ -0,0 +1,39 @@
1
+ name: upstream
2
+ concurrency:
3
+ group: "${{github.workflow}}-${{github.ref}}"
4
+ cancel-in-progress: true
5
+ on:
6
+ workflow_dispatch:
7
+ schedule:
8
+ - cron: "0 8 * * 5" # At 08:00 on Friday # https://crontab.guru/#0_8_*_*_5
9
+ pull_request:
10
+ types: [opened, synchronize]
11
+ branches:
12
+ - "*"
13
+ paths:
14
+ - .github/workflows/upstream.yml # this file
15
+
16
+ jobs:
17
+ test-unit:
18
+ env:
19
+ MAKEFLAGS: -j2
20
+ strategy:
21
+ fail-fast: false
22
+ matrix:
23
+ platform: [ubuntu-latest, windows-latest, macos-latest]
24
+ ruby: ["head"]
25
+ runs-on: ${{ matrix.platform }}
26
+ steps:
27
+ - name: configure git crlf on windows
28
+ if: matrix.platform == 'windows-latest'
29
+ run: |
30
+ git config --system core.autocrlf false
31
+ git config --system core.eol lf
32
+ - uses: actions/checkout@v4
33
+ - uses: MSP-Greg/setup-ruby-pkgs@v1
34
+ with:
35
+ apt-get: _update_ build-essential cmake
36
+ mingw: _upgrade_ cmake
37
+ ruby-version: ${{ matrix.ruby }}
38
+ bundler-cache: true
39
+ - run: bundle exec rake test:unit
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  ## mini_portile changelog
2
2
 
3
+ ### 2.8.8 / 2024-11-14
4
+
5
+ #### Improved
6
+
7
+ - Raise an exception with a clear error message when `xzcat` is needed but is not installed. (#152) @flavorjones
8
+
9
+
3
10
  ### 2.8.7 / 2024-05-31
4
11
 
5
12
  #### Added
data/Gemfile CHANGED
@@ -1,6 +1,15 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ gemspec
4
+
3
5
  gem "net-ftp" if Gem::Requirement.new("> 3.1.0.dev").satisfied_by?(Gem::Version.new(RUBY_VERSION))
4
6
 
5
- # Specify your gem's dependencies in mini_portile2.gemspec
6
- gemspec
7
+ gem "minitar", "0.9"
8
+ gem "minitest", "~> 5.15" # open range for ruby 2.3 support
9
+ gem "minitest-hooks", "1.5.2"
10
+ gem "rake", "13.2.1"
11
+ if RUBY_VERSION >= "3.4"
12
+ gem "webrick", git: "https://github.com/ruby/webrick" # shouldn't be necessary to pin once webrick 1.8.2 or 1.9.0 is released
13
+ else
14
+ gem "webrick"
15
+ end
@@ -553,6 +553,10 @@ class MiniPortile
553
553
  end
554
554
  end
555
555
 
556
+ def xzcat_exe
557
+ @@xzcat_exe ||= which("xzcat") ? "xzcat" : raise("xzcat not found")
558
+ end
559
+
556
560
  def tar_command(file, target)
557
561
  case File.extname(file)
558
562
  when '.gz', '.tgz'
@@ -561,7 +565,7 @@ class MiniPortile
561
565
  [tar_exe, 'xjf', file, '-C', target]
562
566
  when '.xz'
563
567
  # NOTE: OpenBSD's tar command does not support the -J option
564
- "xzcat #{file.shellescape} | #{tar_exe.shellescape} xf - -C #{target.shellescape}"
568
+ "#{xzcat_exe.shellescape} #{file.shellescape} | #{tar_exe.shellescape} xf - -C #{target.shellescape}"
565
569
  else
566
570
  [tar_exe, 'xf', file, '-C', target]
567
571
  end
@@ -1,3 +1,3 @@
1
1
  class MiniPortile
2
- VERSION = "2.8.7"
2
+ VERSION = "2.8.8"
3
3
  end
@@ -34,10 +34,5 @@ Gem::Specification.new do |spec|
34
34
 
35
35
  spec.required_ruby_version = ">= 2.3.0"
36
36
 
37
- spec.add_development_dependency "bundler", "~> 2.2"
38
- spec.add_development_dependency "minitar", "~> 0.9"
39
- spec.add_development_dependency "minitest", "~> 5.15"
40
- spec.add_development_dependency "minitest-hooks", "~> 1.5"
41
- spec.add_development_dependency "rake", "~> 13.0"
42
- spec.add_development_dependency "webrick", "~> 1.7"
37
+ spec.metadata["changelog_uri"] = spec.homepage + "/blob/main/CHANGELOG.md"
43
38
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mini_portile2
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.7
4
+ version: 2.8.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luis Lavena
@@ -10,92 +10,8 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2024-05-31 00:00:00.000000000 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: bundler
17
- requirement: !ruby/object:Gem::Requirement
18
- requirements:
19
- - - "~>"
20
- - !ruby/object:Gem::Version
21
- version: '2.2'
22
- type: :development
23
- prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- requirements:
26
- - - "~>"
27
- - !ruby/object:Gem::Version
28
- version: '2.2'
29
- - !ruby/object:Gem::Dependency
30
- name: minitar
31
- requirement: !ruby/object:Gem::Requirement
32
- requirements:
33
- - - "~>"
34
- - !ruby/object:Gem::Version
35
- version: '0.9'
36
- type: :development
37
- prerelease: false
38
- version_requirements: !ruby/object:Gem::Requirement
39
- requirements:
40
- - - "~>"
41
- - !ruby/object:Gem::Version
42
- version: '0.9'
43
- - !ruby/object:Gem::Dependency
44
- name: minitest
45
- requirement: !ruby/object:Gem::Requirement
46
- requirements:
47
- - - "~>"
48
- - !ruby/object:Gem::Version
49
- version: '5.15'
50
- type: :development
51
- prerelease: false
52
- version_requirements: !ruby/object:Gem::Requirement
53
- requirements:
54
- - - "~>"
55
- - !ruby/object:Gem::Version
56
- version: '5.15'
57
- - !ruby/object:Gem::Dependency
58
- name: minitest-hooks
59
- requirement: !ruby/object:Gem::Requirement
60
- requirements:
61
- - - "~>"
62
- - !ruby/object:Gem::Version
63
- version: '1.5'
64
- type: :development
65
- prerelease: false
66
- version_requirements: !ruby/object:Gem::Requirement
67
- requirements:
68
- - - "~>"
69
- - !ruby/object:Gem::Version
70
- version: '1.5'
71
- - !ruby/object:Gem::Dependency
72
- name: rake
73
- requirement: !ruby/object:Gem::Requirement
74
- requirements:
75
- - - "~>"
76
- - !ruby/object:Gem::Version
77
- version: '13.0'
78
- type: :development
79
- prerelease: false
80
- version_requirements: !ruby/object:Gem::Requirement
81
- requirements:
82
- - - "~>"
83
- - !ruby/object:Gem::Version
84
- version: '13.0'
85
- - !ruby/object:Gem::Dependency
86
- name: webrick
87
- requirement: !ruby/object:Gem::Requirement
88
- requirements:
89
- - - "~>"
90
- - !ruby/object:Gem::Version
91
- version: '1.7'
92
- type: :development
93
- prerelease: false
94
- version_requirements: !ruby/object:Gem::Requirement
95
- requirements:
96
- - - "~>"
97
- - !ruby/object:Gem::Version
98
- version: '1.7'
13
+ date: 2024-11-14 00:00:00.000000000 Z
14
+ dependencies: []
99
15
  description: |
100
16
  Simple autoconf and cmake builder for developers. It provides a standard way to compile against
101
17
  dependency libraries without requiring system-wide installation. It also simplifies
@@ -108,6 +24,7 @@ files:
108
24
  - ".github/FUNDING.yml"
109
25
  - ".github/workflows/ci.yml"
110
26
  - ".github/workflows/downstream.yml"
27
+ - ".github/workflows/upstream.yml"
111
28
  - ".gitignore"
112
29
  - CHANGELOG.md
113
30
  - Gemfile
@@ -145,7 +62,8 @@ files:
145
62
  homepage: https://github.com/flavorjones/mini_portile
146
63
  licenses:
147
64
  - MIT
148
- metadata: {}
65
+ metadata:
66
+ changelog_uri: https://github.com/flavorjones/mini_portile/blob/main/CHANGELOG.md
149
67
  post_install_message:
150
68
  rdoc_options: []
151
69
  require_paths:
@@ -161,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
161
79
  - !ruby/object:Gem::Version
162
80
  version: '0'
163
81
  requirements: []
164
- rubygems_version: 3.5.10
82
+ rubygems_version: 3.5.22
165
83
  signing_key:
166
84
  specification_version: 4
167
85
  summary: Simple autoconf and cmake builder for developers