youpy-scissor 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.rdoc +2 -2
  2. data/Rakefile +1 -1
  3. data/lib/scissor.rb +2 -0
  4. metadata +1 -1
data/README.rdoc CHANGED
@@ -11,7 +11,7 @@ supported file format:
11
11
 
12
12
  == Installation
13
13
 
14
- == Requirements
14
+ === Requirements
15
15
 
16
16
  * {ruby-mp3info}[http://ruby-mp3info.rubyforge.org/]
17
17
 
@@ -42,7 +42,7 @@ supported file format:
42
42
  bar = Scissor.new('bar.wav')
43
43
 
44
44
  # concat
45
- (foo + bar).to_file('foobar.mp3')
45
+ foo + bar > 'foobar.mp3'
46
46
 
47
47
  # slice + concat
48
48
  (foo.slice(10, 1) + bar.slice(2, 3)).to_file('slicefoobar.mp3')
data/Rakefile CHANGED
@@ -17,7 +17,7 @@ DESCRIPTION = "utility to chop sound files"
17
17
  RUBYFORGE_PROJECT = "scissor"
18
18
  HOMEPATH = "http://#{RUBYFORGE_PROJECT}.rubyforge.org"
19
19
  BIN_FILES = %w( )
20
- VERS = "0.0.11"
20
+ VERS = "0.0.12"
21
21
 
22
22
  REV = File.read(".svn/entries")[/committed-rev="(d+)"/, 1] rescue nil
23
23
  CLEAN.include ['**/.*.sw?', '*.gem', '.config']
data/lib/scissor.rb CHANGED
@@ -225,6 +225,8 @@ class Scissor
225
225
  self.class.new(filename)
226
226
  end
227
227
 
228
+ alias > to_file
229
+
228
230
  def which(command)
229
231
  run_command("which #{command}")
230
232
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: youpy-scissor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - youpy