scissor 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/scissor/tape.rb +2 -1
- data/lib/scissor.rb +1 -1
- metadata +2 -2
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.2.
|
21
|
+
VERS = "0.2.8"
|
22
22
|
|
23
23
|
REV = File.read(".svn/entries")[/committed-rev="(d+)"/, 1] rescue nil
|
24
24
|
CLEAN.include ['**/.*.sw?', '*.gem', '.config']
|
data/lib/scissor/tape.rb
CHANGED
@@ -13,6 +13,7 @@ module Scissor
|
|
13
13
|
@fragments = []
|
14
14
|
|
15
15
|
if filename
|
16
|
+
filename = Pathname(filename).expand_path
|
16
17
|
@fragments << Fragment.new(
|
17
18
|
filename,
|
18
19
|
0,
|
@@ -205,7 +206,7 @@ module Scissor
|
|
205
206
|
alias > to_file
|
206
207
|
|
207
208
|
def >>(filename)
|
208
|
-
to_file(
|
209
|
+
to_file(filename, :overwrite => true)
|
209
210
|
end
|
210
211
|
|
211
212
|
def silence
|
data/lib/scissor.rb
CHANGED
@@ -9,7 +9,7 @@ def Scissor(filename_or_url = nil)
|
|
9
9
|
if filename_or_url && filename_or_url.to_s =~ /^http/
|
10
10
|
Scissor::Tape.new_from_url(filename_or_url)
|
11
11
|
else
|
12
|
-
Scissor::Tape.new(filename_or_url
|
12
|
+
Scissor::Tape.new(filename_or_url)
|
13
13
|
end
|
14
14
|
end
|
15
15
|
|