wavefile 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.markdown +5 -1
- data/lib/wavefile.rb +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21ddb98d87753898bf2893d58097b8fb53050e8e
|
4
|
+
data.tar.gz: b45ed2b6c1aa0c34ac760c49d0a285bf59606856
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 899880af7dc77b33d23035e7b2a1708c2e679f69f7b66fd1a302e736dccf8e1abf65bb7b2719c606e3e93977caba9882376dbd3f45708fb0d97a2c72be28c952
|
7
|
+
data.tar.gz: e44cc7f1066a21762ae8fb627043d1c26eb2bd7ab1254d81e4d7fcd9a66dc7c3937591b37b96903b1b6f6c7837e77a17360137351bf1610ab3e5feb3ca7cd691
|
data/README.markdown
CHANGED
@@ -37,7 +37,11 @@ This gem lets you read and write audio data! You can use it to create Ruby progr
|
|
37
37
|
* Written in pure Ruby, so it's easy to include in your program. There's no need to compile a separate extension in order to use it.
|
38
38
|
|
39
39
|
|
40
|
-
# Current Release: v0.8.
|
40
|
+
# Current Release: v0.8.1
|
41
|
+
|
42
|
+
Released on January 31, 2017, this version fixes an error when frozen string literals are enabled in Ruby 2.3 or higher. (At the time of this release, that means Ruby 2.3 or 2.4). The gem should now work properly when the `--enable-frozen-string-literal` Ruby option is enabled. Thanks to [@samaaron](https://github.com/samaaron) for finding and fixing this!
|
43
|
+
|
44
|
+
# Release v0.8.0
|
41
45
|
|
42
46
|
Released on January 29, 2017, this version includes these changes:
|
43
47
|
|
data/lib/wavefile.rb
CHANGED
@@ -7,12 +7,12 @@ require 'wavefile/unvalidated_format'
|
|
7
7
|
require 'wavefile/writer'
|
8
8
|
|
9
9
|
module WaveFile
|
10
|
-
VERSION = "0.8.
|
10
|
+
VERSION = "0.8.1"
|
11
11
|
|
12
12
|
WAVEFILE_FORMAT_CODE = "WAVE" # :nodoc:
|
13
13
|
FORMAT_CODES = {:pcm => 1, :float => 3, :extensible => 65534} # :nodoc:
|
14
|
-
SUB_FORMAT_GUID_PCM = "\x01\x00\x00\x00\x00\x00\x10\x00\x80\x00\x00\xAA\x00\x38\x9B\x71".force_encoding("ASCII-8BIT")
|
15
|
-
SUB_FORMAT_GUID_FLOAT = "\x03\x00\x00\x00\x00\x00\x10\x00\x80\x00\x00\xAA\x00\x38\x9B\x71".force_encoding("ASCII-8BIT")
|
14
|
+
SUB_FORMAT_GUID_PCM = String.new("\x01\x00\x00\x00\x00\x00\x10\x00\x80\x00\x00\xAA\x00\x38\x9B\x71").force_encoding("ASCII-8BIT").freeze # :nodoc:
|
15
|
+
SUB_FORMAT_GUID_FLOAT = String.new("\x03\x00\x00\x00\x00\x00\x10\x00\x80\x00\x00\xAA\x00\x38\x9B\x71").force_encoding("ASCII-8BIT").freeze # :nodoc:
|
16
16
|
CHUNK_IDS = {:riff => "RIFF",
|
17
17
|
:format => "fmt ",
|
18
18
|
:data => "data",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wavefile
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joel Strait
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01
|
11
|
+
date: 2017-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: You can use this gem to create Ruby programs that work with audio, by
|
14
14
|
reading and writing Wave sound files (*.wav). Since it is written in pure Ruby (as
|
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
139
|
version: '0'
|
140
140
|
requirements: []
|
141
141
|
rubyforge_project:
|
142
|
-
rubygems_version: 2.6.
|
142
|
+
rubygems_version: 2.6.10
|
143
143
|
signing_key:
|
144
144
|
specification_version: 4
|
145
145
|
summary: A pure Ruby library for reading and writing Wave sound files (*.wav)
|