scissor 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/scissor/chunk.rb +4 -2
  3. 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.0"
21
+ VERS = "0.2.1"
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/chunk.rb CHANGED
@@ -108,12 +108,14 @@ module Scissor
108
108
 
109
109
  def loop(count)
110
110
  orig_fragments = @fragments.clone
111
+ new_instance = Scissor()
112
+ new_instance.add_fragments(orig_fragments)
111
113
 
112
114
  (count - 1).times do
113
- add_fragments(orig_fragments)
115
+ new_instance.add_fragments(orig_fragments)
114
116
  end
115
117
 
116
- self
118
+ new_instance
117
119
  end
118
120
 
119
121
  alias * loop
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 0
9
- version: 0.2.0
8
+ - 1
9
+ version: 0.2.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - youpy