scissor 0.2.2 → 0.2.3

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/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.2"
21
+ VERS = "0.2.3"
22
22
 
23
23
  REV = File.read(".svn/entries")[/committed-rev="(d+)"/, 1] rescue nil
24
24
  CLEAN.include ['**/.*.sw?', '*.gem', '.config']
@@ -2,7 +2,7 @@ require 'open-uri'
2
2
  require 'tempfile'
3
3
 
4
4
  module Scissor
5
- class Chunk
5
+ class Tape
6
6
  class Error < StandardError; end
7
7
  class EmptyFragment < Error; end
8
8
  class OutOfDuration < Error; end
data/lib/scissor.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require 'scissor/loggable'
2
- require 'scissor/chunk'
2
+ require 'scissor/tape'
3
3
  require 'scissor/fragment'
4
4
  require 'scissor/sound_file'
5
5
  require 'scissor/sequence'
@@ -7,9 +7,9 @@ require 'scissor/writer'
7
7
 
8
8
  def Scissor(filename_or_url = nil)
9
9
  if filename_or_url && filename_or_url =~ /^http/
10
- Scissor::Chunk.new_from_url(filename_or_url)
10
+ Scissor::Tape.new_from_url(filename_or_url)
11
11
  else
12
- Scissor::Chunk.new(filename_or_url)
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
- - 2
9
- version: 0.2.2
8
+ - 3
9
+ version: 0.2.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - youpy
@@ -106,11 +106,11 @@ files:
106
106
  - README.rdoc
107
107
  - ChangeLog
108
108
  - Rakefile
109
- - lib/scissor/chunk.rb
110
109
  - lib/scissor/fragment.rb
111
110
  - lib/scissor/loggable.rb
112
111
  - lib/scissor/sequence.rb
113
112
  - lib/scissor/sound_file.rb
113
+ - lib/scissor/tape.rb
114
114
  - lib/scissor/writer.rb
115
115
  - lib/scissor.rb
116
116
  - data/silence.mp3