bytebuffer 0.1.0 → 0.1.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: 20a3822e4f7dd0a4162f60b834648acc30a1b33a3c7839c0434a084bf4a88ec8
4
- data.tar.gz: c685d79e7d93d6c0df12c7ab55f55a37a98251ae4d416e6cc76b015ab8fc0a05
3
+ metadata.gz: fcf04bc28e0a4924f3e2d0136ced6b55a703186d1e263cfb9c77d4442b308646
4
+ data.tar.gz: dd84109550bc5466a6a4d12ee0b86895f09a302d896de86da51f616688b90c28
5
5
  SHA512:
6
- metadata.gz: e7f1a3cba5fcaba77cb5b975cd7a14cd690e73c5c719a9d59c3ef7d03278cb5d4880a1050240a513fe8b4e199d4c8995228a6645bd87a350ebe49bd0c5c39127
7
- data.tar.gz: d9c2033f9009139988b7e3131afe37e393f0b48fddf7f132c24bb6aeac5fc3bb3ea74cb89c58da5e4774e5a73fe288261391be84ef5ef357afc9666485536cd4
6
+ metadata.gz: edb89474c47c798eedc09d7aff09ca18f81997b39e473f75145662a78dd8708975e30b124afbfa849d980dcd6bdb2a31591605122a836719e6c3909e5479be60
7
+ data.tar.gz: 996099829de8c76327375e747fea7196c956201393464507c5fd1ee3b18fe6e99e954244e1e6a97ff88c4232e29da7a93e1282861c0e3c4c03a52c791c199304
@@ -21,7 +21,7 @@ jobs:
21
21
  uses: ruby/setup-ruby@v1
22
22
  with:
23
23
  ruby-version: '3.3'
24
- bundler-cache: true
24
+ - run: bundle install
25
25
 
26
26
  - name: Build YARD Docs
27
27
  run: bundler exec rake docs:generate
@@ -29,7 +29,7 @@ jobs:
29
29
  uses: ruby/setup-ruby@v1
30
30
  with:
31
31
  ruby-version: '3.3'
32
- bundler-cache: true
32
+ - run: bundle install
33
33
 
34
34
  - name: Setup Rust
35
35
  uses: hecrj/setup-rust-action@v2
@@ -59,7 +59,7 @@ jobs:
59
59
  uses: ruby/setup-ruby@v1
60
60
  with:
61
61
  ruby-version: '3.3'
62
- bundler-cache: true
62
+ - run: bundle install
63
63
 
64
64
  - name: Setup Rust
65
65
  uses: hecrj/setup-rust-action@v2
@@ -70,19 +70,25 @@ jobs:
70
70
  uses: actions/download-artifact@v4
71
71
  with:
72
72
  name: extension-linux
73
- path: ext/libext.so
73
+ path: "./ext/libext.so"
74
74
 
75
75
  - name: Download build windows artifacts
76
76
  uses: actions/download-artifact@v4
77
77
  with:
78
78
  name: extension-windows
79
- path: ext/libext.dll
79
+ path: "./ext/libext.dll"
80
80
 
81
81
  - name: Download build macos artifacts
82
82
  uses: actions/download-artifact@v4
83
83
  with:
84
84
  name: extension-macos
85
- path: ext/libext.dylib
85
+ path: "./ext/libext.dylib"
86
+
87
+ - name: Build package gem
88
+ run: bundle exec rake gem:package
89
+
90
+ - name: Configure Trusted Publisher
91
+ uses: rubygems/configure-rubygems-credentials@v1.0.0
86
92
 
87
93
  - name: Publish Gem
88
- uses: rubygems/release-gem@v1
94
+ run: gem push pkg/*.gem
data/Gemfile CHANGED
@@ -3,6 +3,5 @@ source 'https://www.rubygems.org'
3
3
  gem 'simplecov', require: false
4
4
  gem 'webrick', '~> 1.7', require: false
5
5
  gem 'yard', '~> 0.9', require: false
6
- gem 'gem-release'
7
6
 
8
7
  gemspec
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bytebuffer (0.1.0)
4
+ bytebuffer (0.1.2)
5
5
  ffi (~> 1.17)
6
6
 
7
7
  GEM
@@ -20,7 +20,6 @@ GEM
20
20
  ffi (1.17.0-x86_64-darwin)
21
21
  ffi (1.17.0-x86_64-linux-gnu)
22
22
  ffi (1.17.0-x86_64-linux-musl)
23
- gem-release (2.2.2)
24
23
  rake (13.2.1)
25
24
  rspec (3.13.0)
26
25
  rspec-core (~> 3.13.0)
@@ -59,7 +58,6 @@ PLATFORMS
59
58
 
60
59
  DEPENDENCIES
61
60
  bytebuffer!
62
- gem-release
63
61
  rake (~> 13.0)
64
62
  rspec (~> 3.12)
65
63
  simplecov
data/bytebuffer.gemspec CHANGED
@@ -19,5 +19,5 @@ GEM_SPEC = Gem::Specification.new do |spec|
19
19
  spec.extensions = "ext/extconf.rb"
20
20
  spec.require_paths = ['lib']
21
21
 
22
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
22
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } + Dir["ext/*.so"] + Dir["ext/*.dylib"] + Dir["ext/*.dll"]
23
23
  end
@@ -1,5 +1,5 @@
1
1
  class ByteBuffer
2
2
  # @!attribute [r] VERSION
3
3
  # @return [Integer] version number of the library
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bytebuffer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick W.