scissor 0.2.0 → 0.2.1
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 +1 -1
- data/lib/scissor/chunk.rb +4 -2
- 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.
|
|
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
|
-
|
|
118
|
+
new_instance
|
|
117
119
|
end
|
|
118
120
|
|
|
119
121
|
alias * loop
|