roctave 0.0.1 → 0.0.3
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 +4 -4
- data/ext/roctave/cu8_file_reader.c +2 -2
- data/ext/roctave/cu8_file_reader.h +1 -1
- data/ext/roctave/fir_filter.c +2 -2
- data/ext/roctave/fir_filter.h +1 -1
- data/ext/roctave/freq_shifter.c +2 -2
- data/ext/roctave/freq_shifter.h +1 -1
- data/ext/roctave/iir_filter.c +2 -2
- data/ext/roctave/iir_filter.h +1 -1
- data/ext/roctave/roctave.c +1 -1
- data/lib/roctave/version.rb +1 -1
- data/roctave.gemspec +2 -1
- metadata +5 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb74a2a87a575239ca1b42adb7fb2a0e6918bf769aefd89db3c09e4054f24bcf
|
4
|
+
data.tar.gz: 2f8f43954231742402bbd0242e21d1dbb142108f64cc99afc637abd9b11074d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82e4869f602a4cca9a46450eaed7d09cac7b24d84c009f230e7617f6babea96fede6eea58449af96eb04c93174a72d6ad3ecb5d69e927f85eae93d95b36f7755
|
7
|
+
data.tar.gz: 14a0b0a4a32e9e907839f92e778c0b0e0dfd00a12ba6bf87d89c3243e1af1b80b132ef1d0cc84691e1c6ff567d63d139447bc66dcac6149fe2b29f9a4aa931de
|
@@ -311,9 +311,9 @@ static VALUE cu8_file_reader_read(int argc, VALUE *argv, VALUE self)
|
|
311
311
|
}
|
312
312
|
|
313
313
|
|
314
|
-
void Init_cu8_file_reader()
|
314
|
+
void Init_cu8_file_reader(void)
|
315
315
|
{
|
316
|
-
c_CU8FileReader = rb_define_class_under(m_Roctave, "CU8FileReader",
|
316
|
+
c_CU8FileReader = rb_define_class_under(m_Roctave, "CU8FileReader", rb_cObject);
|
317
317
|
|
318
318
|
rb_define_alloc_func(c_CU8FileReader, cu8_file_reader_alloc);
|
319
319
|
rb_define_method(c_CU8FileReader, "initialize", cu8_file_reader_initialize, 1);
|
data/ext/roctave/fir_filter.c
CHANGED
@@ -758,12 +758,12 @@ static VALUE fir_filter_set_interpolation_factor(VALUE self, VALUE factor)
|
|
758
758
|
}
|
759
759
|
|
760
760
|
|
761
|
-
void Init_fir_filter()
|
761
|
+
void Init_fir_filter(void)
|
762
762
|
{
|
763
763
|
id_real = rb_intern("real");
|
764
764
|
id_imag = rb_intern("imag");
|
765
765
|
|
766
|
-
c_FIR = rb_define_class_under(m_Roctave, "FirFilter",
|
766
|
+
c_FIR = rb_define_class_under(m_Roctave, "FirFilter", rb_cObject);
|
767
767
|
|
768
768
|
rb_define_alloc_func(c_FIR, fir_filter_alloc);
|
769
769
|
rb_define_method(c_FIR, "initialize", fir_filter_initialize, 1);
|
data/ext/roctave/fir_filter.h
CHANGED
data/ext/roctave/freq_shifter.c
CHANGED
@@ -384,7 +384,7 @@ static VALUE freq_shifter_module_am(int argc, VALUE *argv, VALUE self)
|
|
384
384
|
#endif
|
385
385
|
|
386
386
|
|
387
|
-
void Init_freq_shifter()
|
387
|
+
void Init_freq_shifter(void)
|
388
388
|
{
|
389
389
|
id_real = rb_intern("real");
|
390
390
|
id_imag = rb_intern("imag");
|
@@ -392,7 +392,7 @@ void Init_freq_shifter()
|
|
392
392
|
id_fs = rb_intern("fs");
|
393
393
|
id_initial_phase = rb_intern("initial_phase");
|
394
394
|
|
395
|
-
c_FreqShifter = rb_define_class_under(m_Roctave, "FreqShifter",
|
395
|
+
c_FreqShifter = rb_define_class_under(m_Roctave, "FreqShifter", rb_cObject);
|
396
396
|
|
397
397
|
rb_define_alloc_func(c_FreqShifter, freq_shifter_alloc);
|
398
398
|
//rb_define_singleton_method(c_FreqShifter, "shift", freq_shifter_module_shift, -1);
|
data/ext/roctave/freq_shifter.h
CHANGED
data/ext/roctave/iir_filter.c
CHANGED
@@ -439,12 +439,12 @@ static VALUE iir_filter_initialize(int argc, VALUE *argv, VALUE self)
|
|
439
439
|
}
|
440
440
|
|
441
441
|
|
442
|
-
void Init_iir_filter()
|
442
|
+
void Init_iir_filter(void)
|
443
443
|
{
|
444
444
|
id_real = rb_intern("real");
|
445
445
|
id_imag = rb_intern("imag");
|
446
446
|
|
447
|
-
c_IIR = rb_define_class_under(m_Roctave, "IirFilter",
|
447
|
+
c_IIR = rb_define_class_under(m_Roctave, "IirFilter", rb_cObject);
|
448
448
|
|
449
449
|
rb_define_alloc_func(c_IIR, iir_filter_alloc);
|
450
450
|
rb_define_method(c_IIR, "initialize", iir_filter_initialize, -1);
|
data/ext/roctave/iir_filter.h
CHANGED
data/ext/roctave/roctave.c
CHANGED
data/lib/roctave/version.rb
CHANGED
data/roctave.gemspec
CHANGED
@@ -6,11 +6,12 @@ Gem::Specification.new do |s|
|
|
6
6
|
s.date = Time.now.strftime '%Y-%m-%d'
|
7
7
|
s.summary = "Some Matlab / Gnu Octave functions implemented in Ruby."
|
8
8
|
s.description = "Roctave is an attempt to provide some Matlab / Gnu Octave functions in a Ruby gem to generate and analyze digital filters."
|
9
|
-
s.license = 'GPL-3.0
|
9
|
+
s.license = 'GPL-3.0-or-later'
|
10
10
|
s.authors = ["Théotime Bollengier"]
|
11
11
|
s.email = 'theotime.bollengier@gmail.com'
|
12
12
|
s.homepage = 'https://gitlab.com/theotime_bollengier/roctave'
|
13
13
|
s.add_runtime_dependency 'gnuplot', '~> 2.6', '>= 2.6.2'
|
14
|
+
s.required_ruby_version = '>= 2.7'
|
14
15
|
s.files = [
|
15
16
|
'LICENSE',
|
16
17
|
'README.md',
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: roctave
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Théotime Bollengier
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-02-08 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gnuplot
|
@@ -99,9 +98,8 @@ files:
|
|
99
98
|
- samples/windows.rb
|
100
99
|
homepage: https://gitlab.com/theotime_bollengier/roctave
|
101
100
|
licenses:
|
102
|
-
- GPL-3.0
|
101
|
+
- GPL-3.0-or-later
|
103
102
|
metadata: {}
|
104
|
-
post_install_message:
|
105
103
|
rdoc_options: []
|
106
104
|
require_paths:
|
107
105
|
- lib
|
@@ -109,15 +107,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
109
107
|
requirements:
|
110
108
|
- - ">="
|
111
109
|
- !ruby/object:Gem::Version
|
112
|
-
version: '
|
110
|
+
version: '2.7'
|
113
111
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
114
112
|
requirements:
|
115
113
|
- - ">="
|
116
114
|
- !ruby/object:Gem::Version
|
117
115
|
version: '0'
|
118
116
|
requirements: []
|
119
|
-
rubygems_version: 3.
|
120
|
-
signing_key:
|
117
|
+
rubygems_version: 3.6.3
|
121
118
|
specification_version: 4
|
122
119
|
summary: Some Matlab / Gnu Octave functions implemented in Ruby.
|
123
120
|
test_files: []
|