wavefile 1.1.0 → 1.1.1

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: fa0a930ea1818669c1a2c41b3e69454f55b247aa1f80ce936b3ab2ae2e1285dd
4
- data.tar.gz: 2f4fcafe43bdd0db1310d8c120c65d5aac6766407179f8595d4335036d6503fb
3
+ metadata.gz: 74dc03a8b43dd34032083def685191fb8795bcc19f0d6dc2459377249e72b262
4
+ data.tar.gz: 9388445c1d4f394ea3929b7bb49e01b4db1c3058ec497d17a7e783f94389d093
5
5
  SHA512:
6
- metadata.gz: eb3d947251f2d4167baa7cab3b7595b4eb422e2cd497ee6da3733ce72d20cfb87d0f89169b139075aeb98440e9cfeee186fbf48c1fae5481ed3007ad9804f2d1
7
- data.tar.gz: 6136e89c7da66288d829ec0307900d91f16bee06da0f958195048373706ae2a38d3ce18566b7313efdafdb7b0daa51541bbb053f02444391c108b2c9ef851fef
6
+ metadata.gz: '087d89fb1b379afb39afa0173e41ee67a6c609b4969054bfe3b81eff367410dc46623a4e5e5bf52de1f59b13186f40a935c2eef70168a4b2a75cce5a9fd5487f'
7
+ data.tar.gz: cd180b60e9f70e2ec60ff8431192d9aec10aaf06554591a725a9594d5ed8efd1479abb2219495addbe8dd91c4f6ee5220c10371be95dc1836c5f863ba27b7227
@@ -43,7 +43,7 @@ Note that if you're installing the gem into the default Ruby that comes pre-inst
43
43
 
44
44
  WaveFile has been tested with these Ruby versions, and appears to be compatible with them:
45
45
 
46
- * MRI 2.6.0, 2.5.3, 2.4.5, 2.3.8, 2.2.10, 2.1.10, 2.0
46
+ * MRI 2.7.0, 2.6.5, 2.5.7, 2.4.9, 2.3.8, 2.2.10, 2.1.10, 2.0.0-p648
47
47
 
48
48
  2.0 is the minimum supported Ruby version.
49
49
 
@@ -68,7 +68,14 @@ This gem lets you read and write audio data! You can use it to create Ruby progr
68
68
  * 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.
69
69
 
70
70
 
71
- # Current Release: v1.1.0
71
+ # Current Release: v1.1.1
72
+
73
+ Released on December 29, 2019, this version contains this change:
74
+
75
+ * Removes `warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call` output when reading a file with a `smpl` chunk using Ruby 2.7.0. (And presumably, higher Ruby versions as well, but Ruby 2.7.0 is the most recent Ruby version at the time of this release).
76
+
77
+
78
+ # Previous Release: v1.1.0
72
79
 
73
80
  Released on January 20, 2019, this version has these changes:
74
81
 
@@ -10,7 +10,7 @@ require 'wavefile/unvalidated_format'
10
10
  require 'wavefile/writer'
11
11
 
12
12
  module WaveFile
13
- VERSION = "1.1.0"
13
+ VERSION = "1.1.1"
14
14
 
15
15
  WAVEFILE_FORMAT_CODE = "WAVE" # :nodoc:
16
16
  FORMAT_CODES = {:pcm => 1, :float => 3, :extensible => 65534}.freeze # :nodoc:
@@ -86,7 +86,7 @@ module WaveFile
86
86
  # Public: Converts the sample data contained in the Buffer to a new format. The sample
87
87
  # data is converted in place, so the existing Buffer is modified.
88
88
  #
89
- # new_format - The format that the sample data should be converted to. See Buffer#create
89
+ # new_format - The format that the sample data should be converted to. See Buffer#convert
90
90
  # for how samples will be mapped if the new number of channels differs from
91
91
  # the original number of channels.
92
92
  #
@@ -49,7 +49,7 @@ module WaveFile
49
49
  loop_fields[:type] = loop_fields[:type]
50
50
  loop_fields[:fraction] /= 4_294_967_296.0
51
51
 
52
- fields[:loops] << SamplerLoop.new(loop_fields)
52
+ fields[:loops] << SamplerLoop.new(**loop_fields)
53
53
  end
54
54
 
55
55
  if sampler_data_size > 0
@@ -62,7 +62,7 @@ module WaveFile
62
62
  fields[:sampler_specific_data] = ""
63
63
  end
64
64
 
65
- SamplerInfo.new(fields)
65
+ SamplerInfo.new(**fields)
66
66
  end
67
67
 
68
68
  private
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: 1.1.0
4
+ version: 1.1.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: 2019-01-20 00:00:00.000000000 Z
11
+ date: 2019-12-29 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
@@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  - !ruby/object:Gem::Version
154
154
  version: '0'
155
155
  requirements: []
156
- rubygems_version: 3.0.1
156
+ rubygems_version: 3.1.2
157
157
  signing_key:
158
158
  specification_version: 4
159
159
  summary: A pure Ruby library for reading and writing Wave sound files (*.wav)