scissor 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/scissor/sound_file.rb +1 -1
  3. metadata +5 -18
data/Rakefile CHANGED
@@ -18,7 +18,7 @@ DESCRIPTION = "utility to chop sound files"
18
18
  RUBYFORGE_PROJECT = "scissor"
19
19
  HOMEPATH = "http://github.com/youpy/scissor"
20
20
  BIN_FILES = %w( )
21
- VERS = "0.1.0"
21
+ VERS = "0.1.1"
22
22
 
23
23
  REV = File.read(".svn/entries")[/committed-rev="(d+)"/, 1] rescue nil
24
24
  CLEAN.include ['**/.*.sw?', '*.gem', '.config']
@@ -21,7 +21,7 @@ module Scissor
21
21
  def length
22
22
  case @ext
23
23
  when 'mp3'
24
- Mp3Info.new(@filename).length
24
+ Mp3Info.new(@filename.to_s).length
25
25
  when 'wav'
26
26
  riff = Riff::Reader.open(@filename ,"r")
27
27
  data = riff.root_chunk['data']
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scissor
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
5
- prerelease:
4
+ prerelease: false
6
5
  segments:
7
6
  - 0
8
7
  - 1
9
- - 0
10
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
11
10
  platform: ruby
12
11
  authors:
13
12
  - youpy
@@ -15,18 +14,16 @@ autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
16
 
18
- date: 2011-07-20 00:00:00 +09:00
17
+ date: 2011-10-31 00:00:00 +09:00
19
18
  default_executable:
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: open4
23
22
  prerelease: false
24
23
  requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
24
  requirements:
27
25
  - - <=
28
26
  - !ruby/object:Gem::Version
29
- hash: 21
30
27
  segments:
31
28
  - 1
32
29
  - 0
@@ -38,11 +35,9 @@ dependencies:
38
35
  name: ruby-mp3info
39
36
  prerelease: false
40
37
  requirement: &id002 !ruby/object:Gem::Requirement
41
- none: false
42
38
  requirements:
43
39
  - - ">="
44
40
  - !ruby/object:Gem::Version
45
- hash: 3
46
41
  segments:
47
42
  - 0
48
43
  version: "0"
@@ -52,11 +47,9 @@ dependencies:
52
47
  name: riff
53
48
  prerelease: false
54
49
  requirement: &id003 !ruby/object:Gem::Requirement
55
- none: false
56
50
  requirements:
57
51
  - - <=
58
52
  - !ruby/object:Gem::Version
59
- hash: 19
60
53
  segments:
61
54
  - 0
62
55
  - 3
@@ -68,11 +61,9 @@ dependencies:
68
61
  name: tempdir
69
62
  prerelease: false
70
63
  requirement: &id004 !ruby/object:Gem::Requirement
71
- none: false
72
64
  requirements:
73
65
  - - ">="
74
66
  - !ruby/object:Gem::Version
75
- hash: 3
76
67
  segments:
77
68
  - 0
78
69
  version: "0"
@@ -120,27 +111,23 @@ rdoc_options:
120
111
  require_paths:
121
112
  - lib
122
113
  required_ruby_version: !ruby/object:Gem::Requirement
123
- none: false
124
114
  requirements:
125
115
  - - ">="
126
116
  - !ruby/object:Gem::Version
127
- hash: 3
128
117
  segments:
129
118
  - 0
130
119
  version: "0"
131
120
  required_rubygems_version: !ruby/object:Gem::Requirement
132
- none: false
133
121
  requirements:
134
122
  - - ">="
135
123
  - !ruby/object:Gem::Version
136
- hash: 3
137
124
  segments:
138
125
  - 0
139
126
  version: "0"
140
127
  requirements: []
141
128
 
142
129
  rubyforge_project: scissor
143
- rubygems_version: 1.5.0
130
+ rubygems_version: 1.3.6
144
131
  signing_key:
145
132
  specification_version: 3
146
133
  summary: utility to chop sound files