seven-zip 1.4.1 → 1.4.2

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: b5754655f14b4dab69c657e6265d14225f0c920de3c531891c86d24c69918691
4
- data.tar.gz: 76c240c43acc63406a8d58a786327d7cca089098b6afbdbdc42411b19ca1b9ce
3
+ metadata.gz: 214494944476db8bda1b17d9b934ca5f67a744c2b9cb5f908c6483bb58a933a6
4
+ data.tar.gz: e1b6242c1b7ed0e4efa9d83f346023ce6ca0d82f102432ede254e1830c1ebaf3
5
5
  SHA512:
6
- metadata.gz: a61c6bf1e41b3ede64d95c38935afd96d52faab5c5ea3bde656c5bca45536c8a7cf0b42fd9bdfa56962a617d4f0e839508eb94d5623fd8069ba5d564ecc07e15
7
- data.tar.gz: 692b6af87e1d0598816513af0038231ff95ff05b1ee20c19c6adc7797aa29eff92675615337be6fa5b8ada5ee880ba9f505eddf6792ae268331132b99be8bc60
6
+ metadata.gz: 72ed9a5c1ad17ee54b512e198c5539cc0402d17a69d502be3e5ccdea3b8f7d34af2316e64335a8d6e1d83d4c44f168c4504de5c344b6ec88a286db2e5af2495d
7
+ data.tar.gz: 3e63c60cf00e43cfa666aa9e16d1b2493f79ce0ca6d0cea5d6a062ed4ac5e5a2c5742fe8fcffeee36a20285adc6018c4accee013189db41010db99894d1571de
@@ -1,10 +1,14 @@
1
- name: Rspec
1
+ name: test-and-release
2
2
 
3
3
  on:
4
4
  push:
5
5
  branches: [ master ]
6
+ tags: [ 'v*' ]
6
7
  pull_request:
7
- branches: [ master ]
8
+
9
+ concurrency:
10
+ group: '${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.ref_name }}'
11
+ cancel-in-progress: true
8
12
 
9
13
  jobs:
10
14
  test:
@@ -21,11 +25,19 @@ jobs:
21
25
  - uses: ruby/setup-ruby@v1
22
26
  with:
23
27
  ruby-version: ${{ matrix.ruby }}
24
- # - run: sudo apt-get install p7zip-full
25
- # if: ${{ matrix.os == 'ubuntu' }}
26
- # - run: brew update && brew tap wk8/p7zip9.20 && brew install p7zip920
27
- # if: ${{ matrix.os == 'macos' }}
28
28
  - run: gem update bundler
29
29
  - run: bundle install
30
30
  - run: bundle exec rake build_local
31
31
  - run: bundle exec rake spec
32
+
33
+ release:
34
+ name: Release gem
35
+ needs: test
36
+ runs-on: ubuntu-latest
37
+ if: contains(github.ref, 'refs/tags/v')
38
+ steps:
39
+ - uses: actions/checkout@v3
40
+
41
+ - uses: cadwallion/publish-rubygems-action@master
42
+ env:
43
+ RUBYGEMS_API_KEY: ${{secrets.FONTIST_CI_RUBYGEMS_API_KEY}}
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # SevenZipRuby ![Logo](https://raw.github.com/fontist/seven_zip_ruby/master/resources/seven_zip_ruby_logo.png)
2
2
 
3
- ![Rspec](https://github.com/fontist/seven_zip_ruby/workflows/Rspec/badge.svg) [![Gem Version](https://badge.fury.io/rb/seven-zip.png)](http://badge.fury.io/rb/seven-zip)
3
+ ![RSpec](https://github.com/fontist/seven_zip_ruby/workflows/test-and-release/badge.svg) [![Gem Version](https://badge.fury.io/rb/seven-zip.png)](http://badge.fury.io/rb/seven-zip)
4
4
 
5
5
  This is a Ruby gem library to extract/compress [7-Zip](http://www.7-zip.org) archives.
6
6
 
@@ -191,6 +191,8 @@ p(Time.now - start)
191
191
  LGPL license. Please refer to LICENSE.txt.
192
192
 
193
193
  ## Releases
194
+ * 1.4.2
195
+ - CI improvement, cleanup of debug output
194
196
  * 1.4.1
195
197
  - Fixed minor rubygems.org issues
196
198
  * 1.4.0
@@ -1761,7 +1761,6 @@ STDMETHODIMP OutStream::SetSize(UInt64 size)
1761
1761
 
1762
1762
  }
1763
1763
 
1764
-
1765
1764
  extern "C" void Init_seven_zip_archive(void)
1766
1765
  {
1767
1766
  using namespace SevenZip;
@@ -1796,6 +1795,8 @@ extern "C" void Init_seven_zip_archive(void)
1796
1795
  gSevenZipHandle = LoadLibraryW(dll_path2.c_str());
1797
1796
  }
1798
1797
  #else
1798
+ Dl_info dl_info;
1799
+ dladdr(reinterpret_cast<void*>(Init_seven_zip_archive), &dl_info);
1799
1800
  std::string dll_path = external_lib_dir_str + "/7z.so";
1800
1801
  gSevenZipHandle = dlopen(dll_path.c_str(), RTLD_NOW);
1801
1802
  #endif
@@ -1873,4 +1874,3 @@ extern "C" void Init_seven_zip_archive(void)
1873
1874
  #undef WRITER_FUNC
1874
1875
 
1875
1876
  }
1876
-
@@ -1,3 +1,3 @@
1
1
  module SevenZipRuby
2
- VERSION = "1.4.1"
2
+ VERSION = "1.4.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seven-zip
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-15 00:00:00.000000000 Z
11
+ date: 2022-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -62,8 +62,7 @@ extensions:
62
62
  - ext/p7zip/extconf.rb
63
63
  extra_rdoc_files: []
64
64
  files:
65
- - ".github/workflows/ci.yml"
66
- - ".github/workflows/release.yml"
65
+ - ".github/workflows/test-and-release.yml"
67
66
  - ".gitignore"
68
67
  - Gemfile
69
68
  - LICENSE.txt
@@ -817,7 +816,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
817
816
  - !ruby/object:Gem::Version
818
817
  version: '0'
819
818
  requirements: []
820
- rubygems_version: 3.1.6
819
+ rubygems_version: 3.3.7
821
820
  signing_key:
822
821
  specification_version: 4
823
822
  summary: This is a ruby gem library to read and write 7zip files.
@@ -1,36 +0,0 @@
1
- name: release
2
-
3
- on:
4
- push:
5
- tags:
6
- - 'v*'
7
-
8
- jobs:
9
- release:
10
- runs-on: ubuntu-18.04
11
- steps:
12
- - uses: actions/checkout@v3
13
-
14
- - uses: ruby/setup-ruby@v1
15
- with:
16
- ruby-version: '2.7'
17
-
18
- - run: gem update bundler
19
-
20
- - run: bundle install
21
-
22
- - run: bundle exec rake build
23
-
24
- - name: Publish to rubygems.org
25
- env:
26
- RUBYGEMS_API_KEY: ${{secrets.FONTIST_CI_RUBYGEMS_API_KEY}}
27
- run: |
28
- gem install gem-release
29
- touch ~/.gem/credentials
30
- cat > ~/.gem/credentials << EOF
31
- ---
32
- :rubygems_api_key: ${RUBYGEMS_API_KEY}
33
- EOF
34
- chmod 0600 ~/.gem/credentials
35
- git status
36
- gem release