mini_portile2 2.8.7.rc1 → 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: db1b5288cce56e46ea555c45f30afa8ddb05af1af39cd42930c9eae504b05aad
4
- data.tar.gz: 3ffdba1730e7b7303326192ed4f90249a4b9badc6497df6bf15714b52b6ffbc4
3
+ metadata.gz: bcea2276fac9f3ca76bfea583e5752f483dd9eb603be305aabda7d94dc3d68d6
4
+ data.tar.gz: b17dfb956a4830ba45aab9f02bd4de1882e828f238f962dbcffe4177445a4735
5
5
  SHA512:
6
- metadata.gz: 6eea1f14d4a60104b044090197f4b0ce7d7ec54e322350387100f2bffe4e0674b2343b914e09729773da4067cb616584f54ee0eb95c56b57c1bd1d013106a47d
7
- data.tar.gz: 44a55718e44399e5154049ee5416d0889fe3dd1fc0d17fa0486f5bbf3c05bc0dd150cb2e1db49f9d3c0f39d8505fe91e66cf4ebc724cb51e0fef2c6b5f9c46a8
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,66 @@
1
+ name: downstream
2
+ concurrency:
3
+ group: "${{github.workflow}}-${{github.ref}}"
4
+ cancel-in-progress: true
5
+ on:
6
+ workflow_dispatch:
7
+ schedule:
8
+ - cron: "0 7 * * 1,3,5" # At 07:00 on Monday, Wednesday, and Friday # https://crontab.guru/#0_7_*_*_1,3,5
9
+ push:
10
+ branches:
11
+ - main
12
+ - "v*.*.x"
13
+ tags:
14
+ - v*.*.*
15
+ pull_request:
16
+ types: [opened, synchronize]
17
+ branches:
18
+ - '*'
19
+
20
+ jobs:
21
+ downstream:
22
+ name: downstream-${{matrix.name}}-${{matrix.platform}}
23
+ strategy:
24
+ fail-fast: false
25
+ matrix:
26
+ name: [re2, nokogiri, sqlite3]
27
+ platform: [ubuntu-latest, windows-latest, macos-latest]
28
+ include:
29
+ - name: re2
30
+ url: https://github.com/mudge/re2
31
+ command: "bundle exec rake compile spec"
32
+ ruby: "3.3"
33
+ - name: nokogiri
34
+ url: https://github.com/sparklemotion/nokogiri
35
+ command: "bundle exec rake compile test"
36
+ ruby: "3.3"
37
+ - name: sqlite3
38
+ url: https://github.com/sparklemotion/sqlite3-ruby
39
+ command: "bundle exec rake compile test"
40
+ ruby: "3.3"
41
+ runs-on: ${{matrix.platform}}
42
+ steps:
43
+ - name: configure git crlf
44
+ if: ${{ startsWith(matrix.platform, 'windows') }}
45
+ run: |
46
+ git config --system core.autocrlf false
47
+ git config --system core.eol lf
48
+ - uses: actions/checkout@v4
49
+ - uses: ruby/setup-ruby@v1
50
+ with:
51
+ ruby-version: ${{matrix.ruby}}
52
+ bundler-cache: true
53
+ bundler: latest
54
+ - run: git clone --depth=1 ${{matrix.url}} ${{matrix.name}}
55
+ - uses: actions/cache@v4
56
+ with:
57
+ path: ${{matrix.name}}/ports/archives
58
+ key: tarballs-${{matrix.name}}
59
+ enableCrossOsArchive: true
60
+ - name: ${{matrix.name}} test suite
61
+ working-directory: ${{matrix.name}}
62
+ run: |
63
+ bundle remove mini_portile2 || true
64
+ bundle add mini_portile2 --path=".."
65
+ bundle install --local || bundle install
66
+ ${{matrix.command}}
@@ -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,6 +1,13 @@
1
1
  ## mini_portile changelog
2
2
 
3
- ### 2.8.7.rc1 / unreleased
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
+
10
+ ### 2.8.7 / 2024-05-31
4
11
 
5
12
  #### Added
6
13
 
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.rc1"
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.rc1
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
@@ -107,6 +23,8 @@ extra_rdoc_files: []
107
23
  files:
108
24
  - ".github/FUNDING.yml"
109
25
  - ".github/workflows/ci.yml"
26
+ - ".github/workflows/downstream.yml"
27
+ - ".github/workflows/upstream.yml"
110
28
  - ".gitignore"
111
29
  - CHANGELOG.md
112
30
  - Gemfile
@@ -144,7 +62,8 @@ files:
144
62
  homepage: https://github.com/flavorjones/mini_portile
145
63
  licenses:
146
64
  - MIT
147
- metadata: {}
65
+ metadata:
66
+ changelog_uri: https://github.com/flavorjones/mini_portile/blob/main/CHANGELOG.md
148
67
  post_install_message:
149
68
  rdoc_options: []
150
69
  require_paths:
@@ -160,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
160
79
  - !ruby/object:Gem::Version
161
80
  version: '0'
162
81
  requirements: []
163
- rubygems_version: 3.5.10
82
+ rubygems_version: 3.5.22
164
83
  signing_key:
165
84
  specification_version: 4
166
85
  summary: Simple autoconf and cmake builder for developers