edl 0.1.3 → 0.1.4
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.
- checksums.yaml +7 -0
- data/Gemfile +13 -0
- data/{README.txt → README.rdoc} +14 -8
- data/Rakefile +21 -12
- data/edl.gemspec +64 -28
- data/lib/edl.rb +15 -7
- data/lib/edl/transition.rb +3 -0
- data/test/samples/KEY_TRANSITION.EDL +9 -0
- data/test/samples/REEL_IS_CLIP.txt +8 -0
- data/test/test_edl.rb +321 -291
- metadata +113 -135
- data/.DS_Store +0 -0
- data/Manifest.txt +0 -29
- data/SPECS.txt +0 -96
- data/test/.DS_Store +0 -0
metadata
CHANGED
@@ -1,177 +1,155 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: edl
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease: false
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 1
|
9
|
-
- 3
|
10
|
-
version: 0.1.3
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.4
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Julik Tarkhanov
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
22
|
-
name: test-spec
|
23
|
-
prerelease: false
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ">="
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 3
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
version: "0"
|
33
|
-
type: :runtime
|
34
|
-
version_requirements: *id001
|
35
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2014-02-18 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
36
14
|
name: timecode
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
hash: 9
|
44
|
-
segments:
|
45
|
-
- 0
|
46
|
-
- 1
|
47
|
-
- 9
|
48
|
-
version: 0.1.9
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
49
20
|
type: :runtime
|
50
|
-
version_requirements: *id002
|
51
|
-
- !ruby/object:Gem::Dependency
|
52
|
-
name: flexmock
|
53
21
|
prerelease: false
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: shoulda-context
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
67
35
|
prerelease: false
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: test-unit
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
79
48
|
type: :development
|
80
|
-
version_requirements: *id004
|
81
|
-
- !ruby/object:Gem::Dependency
|
82
|
-
name: hoe
|
83
49
|
prerelease: false
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: jeweler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
95
62
|
type: :development
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: flexmock
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ~>
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 1.3.2
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ~>
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 1.3.2
|
97
|
+
description:
|
98
|
+
email: me@julik.nl
|
102
99
|
executables: []
|
103
|
-
|
104
100
|
extensions: []
|
105
|
-
|
106
|
-
|
101
|
+
extra_rdoc_files:
|
102
|
+
- README.rdoc
|
103
|
+
files:
|
104
|
+
- Gemfile
|
107
105
|
- History.txt
|
108
|
-
-
|
109
|
-
- README.txt
|
110
|
-
- SPECS.txt
|
111
|
-
files:
|
112
|
-
- .DS_Store
|
113
|
-
- History.txt
|
114
|
-
- Manifest.txt
|
115
|
-
- README.txt
|
106
|
+
- README.rdoc
|
116
107
|
- Rakefile
|
117
|
-
- SPECS.txt
|
118
108
|
- edl.gemspec
|
119
109
|
- illustr/edl-explain.ai
|
120
110
|
- lib/edl.rb
|
121
111
|
- lib/edl/cutter.rb
|
122
112
|
- lib/edl/event.rb
|
123
113
|
- lib/edl/grabber.rb
|
124
|
-
- lib/edl/parser.rb
|
125
114
|
- lib/edl/linebreak_magician.rb
|
115
|
+
- lib/edl/parser.rb
|
126
116
|
- lib/edl/timewarp.rb
|
127
117
|
- lib/edl/transition.rb
|
128
|
-
- test/.DS_Store
|
129
118
|
- test/samples/45S_SAMPLE.EDL
|
130
119
|
- test/samples/FCP_REVERSE.EDL
|
120
|
+
- test/samples/KEY_TRANSITION.EDL
|
121
|
+
- test/samples/PLATES.EDL
|
122
|
+
- test/samples/REEL_IS_CLIP.txt
|
131
123
|
- test/samples/REVERSE.EDL
|
132
124
|
- test/samples/SIMPLE_DISSOLVE.EDL
|
133
125
|
- test/samples/SPEEDUP_AND_FADEOUT.EDL
|
134
126
|
- test/samples/SPEEDUP_REVERSE_AND_FADEOUT.EDL
|
135
127
|
- test/samples/SPLICEME.EDL
|
136
128
|
- test/samples/TIMEWARP.EDL
|
137
|
-
- test/samples/PLATES.EDL
|
138
129
|
- test/samples/TIMEWARP_HALF.EDL
|
139
130
|
- test/samples/TRAILER_EDL.edl
|
140
131
|
- test/test_edl.rb
|
141
|
-
|
142
|
-
homepage:
|
132
|
+
homepage: http://guerilla-di.org/edl
|
143
133
|
licenses: []
|
144
|
-
|
134
|
+
metadata: {}
|
145
135
|
post_install_message:
|
146
|
-
rdoc_options:
|
147
|
-
|
148
|
-
- README.txt
|
149
|
-
require_paths:
|
136
|
+
rdoc_options: []
|
137
|
+
require_paths:
|
150
138
|
- lib
|
151
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
none: false
|
162
|
-
requirements:
|
163
|
-
- - ">="
|
164
|
-
- !ruby/object:Gem::Version
|
165
|
-
hash: 3
|
166
|
-
segments:
|
167
|
-
- 0
|
168
|
-
version: "0"
|
139
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
140
|
+
requirements:
|
141
|
+
- - '>='
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: '0'
|
144
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
145
|
+
requirements:
|
146
|
+
- - '>='
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: '0'
|
169
149
|
requirements: []
|
170
|
-
|
171
|
-
|
172
|
-
rubygems_version: 1.3.7
|
150
|
+
rubyforge_project:
|
151
|
+
rubygems_version: 2.0.3
|
173
152
|
signing_key:
|
174
|
-
specification_version:
|
175
|
-
summary:
|
176
|
-
test_files:
|
177
|
-
- test/test_edl.rb
|
153
|
+
specification_version: 4
|
154
|
+
summary: Parser for EDL (Edit Decision List) files
|
155
|
+
test_files: []
|
data/.DS_Store
DELETED
Binary file
|
data/Manifest.txt
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
.DS_Store
|
2
|
-
History.txt
|
3
|
-
Manifest.txt
|
4
|
-
README.txt
|
5
|
-
Rakefile
|
6
|
-
SPECS.txt
|
7
|
-
edl.gemspec
|
8
|
-
illustr/edl-explain.ai
|
9
|
-
lib/edl.rb
|
10
|
-
lib/edl/cutter.rb
|
11
|
-
lib/edl/event.rb
|
12
|
-
lib/edl/grabber.rb
|
13
|
-
lib/edl/parser.rb
|
14
|
-
lib/edl/linebreak_magician.rb
|
15
|
-
lib/edl/timewarp.rb
|
16
|
-
lib/edl/transition.rb
|
17
|
-
test/.DS_Store
|
18
|
-
test/samples/45S_SAMPLE.EDL
|
19
|
-
test/samples/FCP_REVERSE.EDL
|
20
|
-
test/samples/REVERSE.EDL
|
21
|
-
test/samples/SIMPLE_DISSOLVE.EDL
|
22
|
-
test/samples/SPEEDUP_AND_FADEOUT.EDL
|
23
|
-
test/samples/SPEEDUP_REVERSE_AND_FADEOUT.EDL
|
24
|
-
test/samples/SPLICEME.EDL
|
25
|
-
test/samples/TIMEWARP.EDL
|
26
|
-
test/samples/PLATES.EDL
|
27
|
-
test/samples/TIMEWARP_HALF.EDL
|
28
|
-
test/samples/TRAILER_EDL.edl
|
29
|
-
test/test_edl.rb
|
data/SPECS.txt
DELETED
@@ -1,96 +0,0 @@
|
|
1
|
-
|
2
|
-
== An Event should
|
3
|
-
* define the needed attributes
|
4
|
-
* support hash initialization
|
5
|
-
* support block initialization
|
6
|
-
* respond to ends_with_transition? with false if outgoing_transition_duration is zero
|
7
|
-
* respond to ends_with_transition? with true if outgoing_transition_duration set above zero
|
8
|
-
* respond to has_timewarp? with false if no timewarp assigned
|
9
|
-
* respond to has_timewarp? with true if a timewarp is assigned
|
10
|
-
* report rec_length as a difference of record timecodes
|
11
|
-
* report rec_length_with_transition as a difference of record timecodes if no transition set
|
12
|
-
* add transition length to rec_length_with_transition if a transition is set
|
13
|
-
* return a default array for comments
|
14
|
-
* respond false to has_transition? if incoming transition is set
|
15
|
-
* respond true to has_transition? if incoming transition is set
|
16
|
-
* respond true to black? if reel is BL
|
17
|
-
* respond true to generator? if reel is BL or AX
|
18
|
-
* report src_length as rec_length_with_transition
|
19
|
-
* support capture_length as an alias to src_length
|
20
|
-
* delegate src_length to the timewarp if it is there
|
21
|
-
* report reverse? and reversed? based on the timewarp
|
22
|
-
* report speed as 100 percent without a timewarp
|
23
|
-
* consult the timewarp for speed
|
24
|
-
* report false for starts_with_transition? if transision is nil
|
25
|
-
* report zero for incoming_transition_duration if transision is nil
|
26
|
-
* report true for starts_with_transition? if transision is not nil
|
27
|
-
* consult the transition for incoming_transition_duration if it's present
|
28
|
-
* report capture_from_tc as the source start without a timewarp
|
29
|
-
* consult the timewarp for capture_from_tc if a timewarp is there
|
30
|
-
* report capture_to_tc as record length plus transition when no timewarp present
|
31
|
-
* consult the timewarp for capture_to_tc if timewarp is present
|
32
|
-
|
33
|
-
== A Parser should
|
34
|
-
* store the passed framerate
|
35
|
-
* return matchers tuned with the passed framerate
|
36
|
-
* create a Timecode from stringified elements
|
37
|
-
* parse from a String
|
38
|
-
* parse from a File/IOish
|
39
|
-
* properly parse a dissolve
|
40
|
-
* return a spliced EDL if the sources allow
|
41
|
-
* not apply any Matchers if a match is found
|
42
|
-
* register line numbers of the detected events
|
43
|
-
|
44
|
-
== A TimewarpMatcher should
|
45
|
-
* not create any extra events when used within a Parser
|
46
|
-
* properly describe a speedup
|
47
|
-
* properly describe a slomo
|
48
|
-
|
49
|
-
== A reverse timewarp EDL coming from Avid should
|
50
|
-
* be parsed properly
|
51
|
-
|
52
|
-
== A Final Cut Pro originating reverse should
|
53
|
-
* be interpreted properly
|
54
|
-
|
55
|
-
== EventMatcher should
|
56
|
-
* produce an Event
|
57
|
-
* produce an Event with dissolve
|
58
|
-
* set flag on the previous event in the stack when a dissolve is encountered (empty)
|
59
|
-
* generate a Wipe
|
60
|
-
* match the widest range of patterns
|
61
|
-
* pass the framerate that it received upon instantiation to the Timecodes being created
|
62
|
-
|
63
|
-
== CommentMatcher should
|
64
|
-
* match a comment
|
65
|
-
* apply the comment to the last clip on the stack
|
66
|
-
|
67
|
-
== FallbackMatcher should
|
68
|
-
* match anything
|
69
|
-
* not match whitespace
|
70
|
-
* append the matched content to comments
|
71
|
-
* raise an ApplyError if no clip is on the stack
|
72
|
-
|
73
|
-
== ClipNameMatcher should
|
74
|
-
* match a clip name
|
75
|
-
* not match a simple comment
|
76
|
-
* apply the name to the last event on the stack
|
77
|
-
|
78
|
-
== EffectMatcher should
|
79
|
-
* not match a simple comment
|
80
|
-
* match a dissolve name
|
81
|
-
* apply the effect name to the transition of the last event on the stack
|
82
|
-
|
83
|
-
== A complex EDL passed via Parser should
|
84
|
-
* parse without errors
|
85
|
-
* be properly rewritten from zero
|
86
|
-
|
87
|
-
== A FinalCutPro speedup with fade at the end should
|
88
|
-
* be parsed cleanly
|
89
|
-
|
90
|
-
== In the trailer EDL the event 4 should
|
91
|
-
* not have too many comments
|
92
|
-
|
93
|
-
== A FinalCutPro speedup and reverse with fade at the end should
|
94
|
-
* parse cleanly
|
95
|
-
|
96
|
-
66 specifications, 1 empty (173 requirements), 0 failures
|
data/test/.DS_Store
DELETED
Binary file
|