scissor 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Rakefile +1 -1
  2. data/lib/scissor/tape.rb +1 -1
  3. data/lib/scissor.rb +1 -1
  4. 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.6"
21
+ VERS = "0.2.7"
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
@@ -205,7 +205,7 @@ module Scissor
205
205
  alias > to_file
206
206
 
207
207
  def >>(filename)
208
- to_file(filename, :overwrite => true)
208
+ to_file(Pathname(filename).expand_path, :overwrite => true)
209
209
  end
210
210
 
211
211
  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 && Pathname(filename_or_url).expand_path)
13
13
  end
14
14
  end
15
15
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 6
9
- version: 0.2.6
8
+ - 7
9
+ version: 0.2.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - youpy