lame 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.github/workflows/ci.yml +47 -0
- data/README.md +1 -3
- data/docs/lame-3.101.h +1357 -0
- data/lame.gemspec +2 -1
- data/lib/lame/encoding/interleaved_int_buffer_encoder.rb +15 -0
- data/lib/lame/ffi/functions.rb +99 -38
- data/lib/lame/version.rb +1 -1
- data/lib/lame.rb +1 -0
- data/spec/encoding/interleaved_buffer_encoder_spec.rb +7 -0
- data/spec/ffi/global_flags_spec.rb +13 -9
- data/spec/ffi/id3tag_spec.rb +2 -2
- data/spec/spec_helper.rb +14 -9
- metadata +43 -30
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: b1dbd68980ebd6f4bddace81b1c4a3f5a3ea6e92c0b88ea159ba4552ee26bf89
|
|
4
|
+
data.tar.gz: 9974a5a4d7cae8bf8c5511bcdc64391ccbbc0dd1fad3a6c61be6733f60fd5b5d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 253e7848d81e9dea55800b37c54f6e239bfb7d3ca7eb5679ebe3ead683918c3856052adf09d5c9b05666685afd08348b27b1529c7643f4f0c43f47063ed55241
|
|
7
|
+
data.tar.gz: 88592750da789b2c01f8dc9a9aa93386b56aeb4597cf0d1495aa8042257e6107f4a753b27c2974e3161e26f19072b1c8b0aae4e859975a3f035c9e93751460f3
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [ main, master ]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [ main, master ]
|
|
8
|
+
workflow_dispatch:
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
test:
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
|
|
14
|
+
strategy:
|
|
15
|
+
fail-fast: false
|
|
16
|
+
matrix:
|
|
17
|
+
ruby-version:
|
|
18
|
+
- '3.3'
|
|
19
|
+
- '3.4'
|
|
20
|
+
- '4.0'
|
|
21
|
+
- 'ruby-head'
|
|
22
|
+
- 'jruby'
|
|
23
|
+
- 'truffleruby'
|
|
24
|
+
|
|
25
|
+
steps:
|
|
26
|
+
- name: Check out code
|
|
27
|
+
uses: actions/checkout@v4
|
|
28
|
+
|
|
29
|
+
- name: Install system dependencies
|
|
30
|
+
run: |
|
|
31
|
+
sudo apt-get update
|
|
32
|
+
sudo apt-get install -qq libmp3lame-dev
|
|
33
|
+
|
|
34
|
+
- name: Set up Ruby
|
|
35
|
+
uses: ruby/setup-ruby@v1
|
|
36
|
+
with:
|
|
37
|
+
ruby-version: ${{ matrix.ruby-version }}
|
|
38
|
+
bundler-cache: true
|
|
39
|
+
|
|
40
|
+
- name: Run tests
|
|
41
|
+
run: bundle exec rake
|
|
42
|
+
|
|
43
|
+
- name: Upload coverage to Coveralls
|
|
44
|
+
if: matrix.ruby-version == '3.4'
|
|
45
|
+
uses: coverallsapp/github-action@v2
|
|
46
|
+
with:
|
|
47
|
+
file: coverage/lcov.info
|
data/README.md
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
# LAME
|
|
2
2
|
|
|
3
3
|
[](http://badge.fury.io/rb/lame)
|
|
4
|
-
[](https://codeclimate.com/github/rdvdijk/lame)
|
|
4
|
+
[](https://github.com/rdvdijk/lame/actions/workflows/ci.yml)
|
|
6
5
|
[](https://coveralls.io/r/rdvdijk/lame)
|
|
7
|
-
[](https://gemnasium.com/rdvdijk/lame)
|
|
8
6
|
|
|
9
7
|
FFI powered library for the [LAME MP3 encoder](http://lame.sourceforge.net/).
|
|
10
8
|
|