raiff 0.1.1 → 0.1.2

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -54,7 +54,7 @@ class Raiff::Chunk::SoundData < Raiff::Chunk
54
54
  when 0
55
55
  lambda {
56
56
  channels.collect {
57
- v = @file.read(sample_size).bytes.inject(0) do |a, b|
57
+ v = @file.read(sample_size).to_s.bytes.inject(0) do |a, b|
58
58
  a << 8 | b
59
59
  end
60
60
 
@@ -64,7 +64,7 @@ class Raiff::Chunk::SoundData < Raiff::Chunk
64
64
  else
65
65
  lambda {
66
66
  channels.collect {
67
- v = @file.read(sample_size).bytes.inject(0) do |a, b|
67
+ v = @file.read(sample_size).to_s.bytes.inject(0) do |a, b|
68
68
  a << 8 | b
69
69
  end >> @bit_offset - @value_offset
70
70
 
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{raiff}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Scott Tadman"]
12
- s.date = %q{2011-02-14}
12
+ s.date = %q{2011-04-04}
13
13
  s.description = %q{Reads in AIFF file data and audio contents}
14
14
  s.email = %q{github@tadman.ca}
15
15
  s.extra_rdoc_files = [
@@ -34,7 +34,7 @@ Gem::Specification.new do |s|
34
34
  ]
35
35
  s.homepage = %q{http://github.com/twg/raiff}
36
36
  s.require_paths = ["lib"]
37
- s.rubygems_version = %q{1.3.7}
37
+ s.rubygems_version = %q{1.5.3}
38
38
  s.summary = %q{Ruby AIFF Reading Library}
39
39
  s.test_files = [
40
40
  "test/helper.rb",
@@ -42,7 +42,6 @@ Gem::Specification.new do |s|
42
42
  ]
43
43
 
44
44
  if s.respond_to? :specification_version then
45
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
46
45
  s.specification_version = 3
47
46
 
48
47
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
metadata CHANGED
@@ -1,12 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raiff
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 1
8
- - 1
9
- version: 0.1.1
4
+ prerelease:
5
+ version: 0.1.2
10
6
  platform: ruby
11
7
  authors:
12
8
  - Scott Tadman
@@ -14,7 +10,7 @@ autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
12
 
17
- date: 2011-02-14 00:00:00 -05:00
13
+ date: 2011-04-04 00:00:00 -04:00
18
14
  default_executable:
19
15
  dependencies: []
20
16
 
@@ -56,21 +52,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
56
52
  requirements:
57
53
  - - ">="
58
54
  - !ruby/object:Gem::Version
59
- segments:
60
- - 0
61
55
  version: "0"
62
56
  required_rubygems_version: !ruby/object:Gem::Requirement
63
57
  none: false
64
58
  requirements:
65
59
  - - ">="
66
60
  - !ruby/object:Gem::Version
67
- segments:
68
- - 0
69
61
  version: "0"
70
62
  requirements: []
71
63
 
72
64
  rubyforge_project:
73
- rubygems_version: 1.3.7
65
+ rubygems_version: 1.5.3
74
66
  signing_key:
75
67
  specification_version: 3
76
68
  summary: Ruby AIFF Reading Library