beeps 0.1.41 → 0.1.43

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: 3208db0b54212d8a78bae1faf4ea83e9dd866532d2348fc95ee39160df814111
4
- data.tar.gz: 296f31a3dd5eb00da5e58b7e37f6d7684588e77f03bea198511506403e419cf2
3
+ metadata.gz: 1824a427d6836c452718c2d582dbe11893d499c5ab4575621cc5751c67e665ec
4
+ data.tar.gz: e15ebcf6689a2f57e2d3121e38433c9a20e5787dc07ed9b6aff5c231f5151da8
5
5
  SHA512:
6
- metadata.gz: 9f84af845319c5bee3caee397685560dce92e7cb711ecd2119cf632c2a9614cc7ddb85c11eb6df888f240866fd83847d9c603d48c7489fcf62ea9cb01c1ba96d
7
- data.tar.gz: 39b3a5f1e602a4e26a563bcef1db69eebc05a1fdbfa919cc255925875108fa445d983d17212c82f08ccf706f8826c29cde9fc69580777092c65717b92857df9c
6
+ metadata.gz: f041b30040c33634ce178c9438f45f1999f950a1e999f83da3cf6340215ff4b598e1eff3edabb2c69d6374a8276194ba49e778d37d77df7d9307e9d56da31756
7
+ data.tar.gz: 0211fdc18e3293693595e1bf161136a98ff5a95eb22e41aeba11c2f4cc7cd639ca2aef7daad8f106abfe5760530bea43fef2491edd84c76eb54965e9a245c7fe
@@ -17,19 +17,19 @@ jobs:
17
17
  - name: checkout
18
18
  uses: actions/checkout@v2
19
19
 
20
+ - name: setup gems
21
+ run: bundle install
22
+
20
23
  - name: setup dependencies
21
24
  run: "ruby -I.github/workflows -rutils -e 'setup_dependencies'"
22
25
 
23
- - name: install gems
24
- run: gem install yard
25
-
26
26
  - name: test
27
- run: rake quiet test
27
+ run: bundle exec rake quiet test
28
28
 
29
29
  - name: create gem
30
30
  id: gem
31
31
  run: |
32
- rake gem
32
+ bundle exec rake gem
33
33
  echo path=$(ruby -e 'print Dir.glob("*.gem").first') >> $GITHUB_OUTPUT
34
34
 
35
35
  - name: create github release
@@ -59,4 +59,4 @@ jobs:
59
59
  touch $HOME/.gem/credentials
60
60
  chmod 0600 $HOME/.gem/credentials
61
61
  printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
62
- rake upload
62
+ bundle exec rake upload
@@ -19,8 +19,11 @@ jobs:
19
19
  - name: checkout
20
20
  uses: actions/checkout@v2
21
21
 
22
+ - name: setup gems
23
+ run: bundle install
24
+
22
25
  - name: setup dependencies
23
26
  run: "ruby -I.github/workflows -rutils -e 'setup_dependencies'"
24
27
 
25
28
  - name: test
26
- run: rake test
29
+ run: bundle exec rake test
data/ChangeLog.md CHANGED
@@ -1,6 +1,16 @@
1
1
  # beeps ChangeLog
2
2
 
3
3
 
4
+ ## [v0.1.43] - 2023-11-09
5
+
6
+ - Use Gemfile to install gems for development instead of add_development_dependency in gemspec
7
+
8
+
9
+ ## [v0.1.42] - 2023-10-25
10
+
11
+ - Add '#include <assert.h>' to Fix compile errors
12
+
13
+
4
14
  ## [v0.1.41] - 2023-06-27
5
15
 
6
16
  - Add SoundPlayer#state()
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'rake'
4
+ gem 'test-unit'
5
+ gem 'yard'
data/Gemfile.lock ADDED
@@ -0,0 +1,20 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ power_assert (2.0.3)
5
+ rake (13.1.0)
6
+ test-unit (3.6.1)
7
+ power_assert
8
+ yard (0.9.34)
9
+
10
+ PLATFORMS
11
+ arm64-darwin-21
12
+ x86_64-darwin-20
13
+
14
+ DEPENDENCIES
15
+ rake
16
+ test-unit
17
+ yard
18
+
19
+ BUNDLED WITH
20
+ 2.4.13
data/Rakefile CHANGED
@@ -44,6 +44,7 @@ use_external_library 'https://github.com/Signalsmith-Audio/signalsmith-stretch',
44
44
  srcdirs: 'NOSRC'
45
45
 
46
46
  default_tasks :ext
47
+ use_bundler
47
48
  build_native_library
48
49
  build_ruby_extension
49
50
  test_ruby_extension
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.41
1
+ 0.1.43
data/beeps.gemspec CHANGED
@@ -25,11 +25,8 @@ Gem::Specification.new do |s|
25
25
  s.platform = Gem::Platform::RUBY
26
26
  s.required_ruby_version = '>= 3.0.0'
27
27
 
28
- s.add_runtime_dependency 'xot', '~> 0.1.39'
29
- s.add_runtime_dependency 'rucy', '~> 0.1.39'
30
-
31
- s.add_development_dependency 'rake'
32
- s.add_development_dependency 'test-unit'
28
+ s.add_runtime_dependency 'xot', '~> 0.1.40'
29
+ s.add_runtime_dependency 'rucy', '~> 0.1.41'
33
30
 
34
31
  s.files = `git ls-files`.split $/
35
32
  s.executables = s.files.grep(%r{^bin/}) {|f| File.basename f}
data/src/adsr.cpp CHANGED
@@ -1,6 +1,7 @@
1
1
  #include "beeps/filter.h"
2
2
 
3
3
 
4
+ #include <assert.h>
4
5
  #include <ADSR.h>
5
6
  #include "signals.h"
6
7
 
data/src/analyser.cpp CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
 
4
4
  #include <math.h>
5
+ #include <assert.h>
5
6
  #include <algorithm>
6
7
  #include "pffft.h"
7
8
  #include "beeps/beeps.h"
data/src/mic_in.cpp CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
 
4
4
  #include <limits.h>
5
+ #include <assert.h>
5
6
  #include <vector>
6
7
  #include <memory>
7
8
  #include <algorithm>
data/src/openal.cpp CHANGED
@@ -1,6 +1,7 @@
1
1
  #include "openal.h"
2
2
 
3
3
 
4
+ #include <assert.h>
4
5
  #include "beeps/exception.h"
5
6
  #include "beeps/debug.h"
6
7
  #include "sound.h"
data/src/oscillator.cpp CHANGED
@@ -1,6 +1,7 @@
1
1
  #include "beeps/generator.h"
2
2
 
3
3
 
4
+ #include <assert.h>
4
5
  #include "SineWave.h"
5
6
  #include "BlitSquare.h"
6
7
  #include "BlitSaw.h"
data/src/processor.cpp CHANGED
@@ -1,6 +1,7 @@
1
1
  #include "processor.h"
2
2
 
3
3
 
4
+ #include <assert.h>
4
5
  #include <xot/time.h>
5
6
  #include "beeps/exception.h"
6
7
 
data/src/signals.cpp CHANGED
@@ -1,6 +1,7 @@
1
1
  #include "signals.h"
2
2
 
3
3
 
4
+ #include <assert.h>
4
5
  #include <memory>
5
6
  #include <algorithm>
6
7
  #include <AudioFile.h>
data/src/signals.h CHANGED
@@ -4,6 +4,7 @@
4
4
  #define __BEEPS_SRC_SIGNALS_H__
5
5
 
6
6
 
7
+ #include <assert.h>
7
8
  #include <vector>
8
9
  #include <Stk.h>
9
10
  #include <xot/pimpl.h>
data/src/sound.cpp CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
 
4
4
  #include <limits.h>
5
+ #include <assert.h>
5
6
  #include <memory>
6
7
  #include <algorithm>
7
8
  #include "Stk.h"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beeps
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.41
4
+ version: 0.1.43
5
5
  platform: ruby
6
6
  authors:
7
7
  - xordog
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-26 00:00:00.000000000 Z
11
+ date: 2023-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xot
@@ -16,56 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.1.39
19
+ version: 0.1.40
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.1.39
26
+ version: 0.1.40
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rucy
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.1.39
33
+ version: 0.1.41
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.1.39
41
- - !ruby/object:Gem::Dependency
42
- name: rake
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: test-unit
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
40
+ version: 0.1.41
69
41
  description: Synthesize and play beep sounds.
70
42
  email: xordog@gmail.com
71
43
  executables: []
@@ -106,6 +78,8 @@ files:
106
78
  - ".github/workflows/test.yml"
107
79
  - ".github/workflows/utils.rb"
108
80
  - ChangeLog.md
81
+ - Gemfile
82
+ - Gemfile.lock
109
83
  - README.md
110
84
  - Rakefile
111
85
  - VERSION