scissor 0.2.7 → 0.2.8

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 +2 -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.7"
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(Pathname(filename).expand_path, :overwrite => true)
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 && Pathname(filename_or_url).expand_path)
12
+ Scissor::Tape.new(filename_or_url)
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
- - 7
9
- version: 0.2.7
8
+ - 8
9
+ version: 0.2.8
10
10
  platform: ruby
11
11
  authors:
12
12
  - youpy