scissor 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/scissor/fragment.rb +4 -2
- data/lib/scissor/tape.rb +2 -1
- metadata +99 -75
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.6"
|
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/fragment.rb
CHANGED
@@ -43,7 +43,8 @@ module Scissor
|
|
43
43
|
start + remaining_start * pitch.to_f / 100,
|
44
44
|
(duration - remaining_start) * pitch.to_f / 100,
|
45
45
|
false,
|
46
|
-
pitch
|
46
|
+
pitch,
|
47
|
+
stretched?)
|
47
48
|
|
48
49
|
remaining_length -= duration - remaining_start
|
49
50
|
remaining_start = 0
|
@@ -53,7 +54,8 @@ module Scissor
|
|
53
54
|
start + remaining_start * pitch.to_f / 100,
|
54
55
|
remaining_length * pitch.to_f / 100,
|
55
56
|
false,
|
56
|
-
pitch
|
57
|
+
pitch,
|
58
|
+
stretched?)
|
57
59
|
|
58
60
|
remaining_start = 0
|
59
61
|
remaining_length = 0
|
data/lib/scissor/tape.rb
CHANGED
metadata
CHANGED
@@ -1,90 +1,108 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: scissor
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 2
|
8
|
+
- 6
|
9
|
+
version: 0.2.6
|
6
10
|
platform: ruby
|
7
|
-
authors:
|
11
|
+
authors:
|
8
12
|
- youpy
|
9
13
|
autorequire:
|
10
14
|
bindir: bin
|
11
15
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
16
|
+
|
17
|
+
date: 2012-01-02 00:00:00 +09:00
|
18
|
+
default_executable:
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
15
21
|
name: open4
|
16
|
-
|
17
|
-
|
18
|
-
requirements:
|
19
|
-
- -
|
20
|
-
- !ruby/object:Gem::Version
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 1
|
29
|
+
- 3
|
30
|
+
- 0
|
21
31
|
version: 1.3.0
|
22
32
|
type: :runtime
|
23
|
-
|
24
|
-
|
25
|
-
- !ruby/object:Gem::Dependency
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
26
35
|
name: ruby-mp3info
|
27
|
-
requirement: &70255410563200 !ruby/object:Gem::Requirement
|
28
|
-
none: false
|
29
|
-
requirements:
|
30
|
-
- - ! '>='
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '0'
|
33
|
-
type: :runtime
|
34
36
|
prerelease: false
|
35
|
-
|
36
|
-
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
segments:
|
42
|
+
- 0
|
43
|
+
version: "0"
|
44
|
+
type: :runtime
|
45
|
+
version_requirements: *id002
|
46
|
+
- !ruby/object:Gem::Dependency
|
37
47
|
name: riff
|
38
|
-
|
39
|
-
|
40
|
-
requirements:
|
48
|
+
prerelease: false
|
49
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
41
51
|
- - <=
|
42
|
-
- !ruby/object:Gem::Version
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
segments:
|
54
|
+
- 0
|
55
|
+
- 3
|
56
|
+
- 0
|
43
57
|
version: 0.3.0
|
44
58
|
type: :runtime
|
45
|
-
|
46
|
-
|
47
|
-
- !ruby/object:Gem::Dependency
|
59
|
+
version_requirements: *id003
|
60
|
+
- !ruby/object:Gem::Dependency
|
48
61
|
name: tempdir
|
49
|
-
requirement: &70255410562140 !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
|
-
requirements:
|
52
|
-
- - ! '>='
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
type: :runtime
|
56
62
|
prerelease: false
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
- !ruby/object:Gem::Version
|
65
|
-
version: '0'
|
63
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
segments:
|
68
|
+
- 0
|
69
|
+
version: "0"
|
66
70
|
type: :runtime
|
71
|
+
version_requirements: *id004
|
72
|
+
- !ruby/object:Gem::Dependency
|
73
|
+
name: streamio-ffmpeg
|
67
74
|
prerelease: false
|
68
|
-
|
69
|
-
|
75
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
76
|
+
requirements:
|
77
|
+
- - ">="
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
segments:
|
80
|
+
- 0
|
81
|
+
version: "0"
|
82
|
+
type: :runtime
|
83
|
+
version_requirements: *id005
|
84
|
+
- !ruby/object:Gem::Dependency
|
70
85
|
name: fakeweb
|
71
|
-
requirement: &70255410561180 !ruby/object:Gem::Requirement
|
72
|
-
none: false
|
73
|
-
requirements:
|
74
|
-
- - ! '>='
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: '0'
|
77
|
-
type: :development
|
78
86
|
prerelease: false
|
79
|
-
|
87
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - ">="
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
segments:
|
92
|
+
- 0
|
93
|
+
version: "0"
|
94
|
+
type: :development
|
95
|
+
version_requirements: *id006
|
80
96
|
description: utility to chop sound files
|
81
97
|
email: youpy@buycheapviagraonlinenow.com
|
82
98
|
executables: []
|
99
|
+
|
83
100
|
extensions: []
|
84
|
-
|
101
|
+
|
102
|
+
extra_rdoc_files:
|
85
103
|
- README.rdoc
|
86
104
|
- ChangeLog
|
87
|
-
files:
|
105
|
+
files:
|
88
106
|
- README.rdoc
|
89
107
|
- ChangeLog
|
90
108
|
- Rakefile
|
@@ -96,10 +114,12 @@ files:
|
|
96
114
|
- lib/scissor/writer.rb
|
97
115
|
- lib/scissor.rb
|
98
116
|
- data/silence.mp3
|
117
|
+
has_rdoc: true
|
99
118
|
homepage: http://github.com/youpy/scissor
|
100
119
|
licenses: []
|
120
|
+
|
101
121
|
post_install_message:
|
102
|
-
rdoc_options:
|
122
|
+
rdoc_options:
|
103
123
|
- --title
|
104
124
|
- scissor documentation
|
105
125
|
- --charset
|
@@ -112,24 +132,28 @@ rdoc_options:
|
|
112
132
|
- --inline-source
|
113
133
|
- --exclude
|
114
134
|
- ^(examples|extras)/
|
115
|
-
require_paths:
|
135
|
+
require_paths:
|
116
136
|
- lib
|
117
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
requirements:
|
126
|
-
- -
|
127
|
-
- !ruby/object:Gem::Version
|
128
|
-
|
137
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
138
|
+
requirements:
|
139
|
+
- - ">="
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
segments:
|
142
|
+
- 0
|
143
|
+
version: "0"
|
144
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
145
|
+
requirements:
|
146
|
+
- - ">="
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
segments:
|
149
|
+
- 0
|
150
|
+
version: "0"
|
129
151
|
requirements: []
|
152
|
+
|
130
153
|
rubyforge_project: scissor
|
131
|
-
rubygems_version: 1.
|
154
|
+
rubygems_version: 1.3.6
|
132
155
|
signing_key:
|
133
156
|
specification_version: 3
|
134
157
|
summary: utility to chop sound files
|
135
158
|
test_files: []
|
159
|
+
|