audio_waveform-ruby 1.0.4 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +4 -5
- data/Gemfile.lock +3 -3
- data/README.md +1 -1
- data/lib/audio_waveform/version.rb +1 -1
- data/spec/audio_waveform/waveform_data_file_spec.rb +9 -3
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: '06987df0c40edf308eb9767c2efd9e0a6d8464718fd2b8e1491209b742096bbb'
|
4
|
+
data.tar.gz: b3aca0aae4da3fbe1e510258000721ee30e34d070431cff7db578e2e6e75c70a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81b34f1f01193dcb0acf0434423077df588e21d22e14ce985145f9c674885d70181032135d309fe17df0230b05a5a9e10a6bb0117d227872be92ab2f1d96e04e
|
7
|
+
data.tar.gz: 6ed34220d907be74781e11d527167a618dbf25ad583ad99ce3d337f122e5bee67b2a0396c1ee0cbfd1db651a48fb42307d379d8a9224f9b1f61e31bb5f8f1d7e
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
audio_waveform-ruby (1.0.
|
4
|
+
audio_waveform-ruby (1.0.6)
|
5
5
|
json (~> 2.1.0)
|
6
6
|
|
7
7
|
GEM
|
@@ -30,7 +30,7 @@ GEM
|
|
30
30
|
json (>= 1.8, < 3)
|
31
31
|
simplecov-html (~> 0.10.0)
|
32
32
|
simplecov-html (0.10.2)
|
33
|
-
yard (0.9.
|
33
|
+
yard (0.9.20)
|
34
34
|
|
35
35
|
PLATFORMS
|
36
36
|
ruby
|
@@ -44,4 +44,4 @@ DEPENDENCIES
|
|
44
44
|
yard (~> 0.9.11)
|
45
45
|
|
46
46
|
BUNDLED WITH
|
47
|
-
1.
|
47
|
+
1.17.3
|
data/README.md
CHANGED
@@ -2,7 +2,13 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
require 'digest'
|
4
4
|
require 'tempfile'
|
5
|
-
|
5
|
+
|
6
|
+
def get_temp_filename(prefix)
|
7
|
+
temp_file = Tempfile.new(prefix)
|
8
|
+
path = temp_file.path
|
9
|
+
temp_file.unlink
|
10
|
+
path
|
11
|
+
end
|
6
12
|
|
7
13
|
describe AudioWaveform::WaveformDataFile do
|
8
14
|
context "with valid 8-bit data file" do
|
@@ -31,7 +37,7 @@ describe AudioWaveform::WaveformDataFile do
|
|
31
37
|
|
32
38
|
describe "save_as_binary" do
|
33
39
|
let(:temp_filename) {
|
34
|
-
|
40
|
+
get_temp_filename('waveform')
|
35
41
|
}
|
36
42
|
|
37
43
|
after do
|
@@ -74,7 +80,7 @@ describe AudioWaveform::WaveformDataFile do
|
|
74
80
|
|
75
81
|
describe "save_as_json" do
|
76
82
|
let(:temp_filename) {
|
77
|
-
|
83
|
+
get_temp_filename('waveform')
|
78
84
|
}
|
79
85
|
|
80
86
|
after do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: audio_waveform-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Needham
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -143,8 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
143
143
|
- !ruby/object:Gem::Version
|
144
144
|
version: '0'
|
145
145
|
requirements: []
|
146
|
-
|
147
|
-
rubygems_version: 2.6.8
|
146
|
+
rubygems_version: 3.0.6
|
148
147
|
signing_key:
|
149
148
|
specification_version: 4
|
150
149
|
summary: Reads, writes, and rescales audio waveform data files
|