framecurve 2.2.2 → 2.2.3
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 +5 -5
- data/.gitignore +53 -0
- data/Gemfile +1 -5
- data/Rakefile +15 -22
- data/bin/framecurve_validator +1 -1
- data/framecurve.gemspec +9 -209
- data/lib/framecurve.rb +1 -3
- data/lib/framecurve/version.rb +3 -0
- data/test/test_framecurve_validator_binary.rb +2 -2
- metadata +13 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: b2664aec3b6a2394602e16c6ff7b1f63d947f926ae97fb3bc7d57d9067cdc011
|
4
|
+
data.tar.gz: 4cff288e22a51842e2f4e58b6363ff67527c9b66ae94d0cfe0ff4fe39f480509
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de07a6b5168cc737e0d3608afab54fea7b5c321ce5ca55b653d8e8c42d36dfef1b40a4eedc759af6bc5ee4177c059cc9e6db5702243efc7a25462f4ef7ffaf15
|
7
|
+
data.tar.gz: bc45a62882763ec15f99d22761c53f8d7026d9b7e13b43213b279d2c0be4ad7dd19caae250369b970fed6bd0eea8017a9d3e4d51c1379b73331dc7c07338f83f
|
data/.gitignore
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
# rcov generated
|
2
|
+
coverage
|
3
|
+
|
4
|
+
# rdoc generated
|
5
|
+
rdoc
|
6
|
+
|
7
|
+
# yard generated
|
8
|
+
doc
|
9
|
+
.yardoc
|
10
|
+
|
11
|
+
# bundler
|
12
|
+
.bundle
|
13
|
+
|
14
|
+
# jeweler generated
|
15
|
+
pkg
|
16
|
+
|
17
|
+
# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
|
18
|
+
#
|
19
|
+
# * Create a file at ~/.gitignore
|
20
|
+
# * Include files you want ignored
|
21
|
+
# * Run: git config --global core.excludesfile ~/.gitignore
|
22
|
+
#
|
23
|
+
# After doing this, these files will be ignored in all your git projects,
|
24
|
+
# saving you from having to 'pollute' every project you touch with them
|
25
|
+
#
|
26
|
+
# Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
|
27
|
+
#
|
28
|
+
# For MacOS:
|
29
|
+
#
|
30
|
+
#.DS_Store
|
31
|
+
|
32
|
+
# For TextMate
|
33
|
+
#*.tmproj
|
34
|
+
#tmtags
|
35
|
+
|
36
|
+
# For emacs:
|
37
|
+
#*~
|
38
|
+
#\#*
|
39
|
+
#.\#*
|
40
|
+
|
41
|
+
# For vim:
|
42
|
+
#*.swp
|
43
|
+
|
44
|
+
# For redcar:
|
45
|
+
#.redcar
|
46
|
+
|
47
|
+
# For rubinius:
|
48
|
+
#*.rbc
|
49
|
+
|
50
|
+
# No lock
|
51
|
+
Gemfile.lock
|
52
|
+
|
53
|
+
.ruby-version
|
data/Gemfile
CHANGED
data/Rakefile
CHANGED
@@ -1,27 +1,20 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
require 'jeweler'
|
4
|
-
require './lib/framecurve'
|
1
|
+
require "bundler/gem_tasks"
|
2
|
+
require 'rake/testtask'
|
5
3
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
gem.license = "MIT"
|
12
|
-
gem.summary = %Q{ Handles Framecurve files }
|
13
|
-
gem.description = %Q{ Parser, validation and interpolation}
|
14
|
-
gem.email = "me@julik.nl"
|
15
|
-
gem.authors = ["Julik"]
|
16
|
-
# dependencies defined in Gemfile
|
4
|
+
desc "Run all tests"
|
5
|
+
Rake::TestTask.new("test") do |t|
|
6
|
+
t.libs << "test"
|
7
|
+
t.pattern = 'test/**/test_*.rb'
|
8
|
+
t.verbose = true
|
17
9
|
end
|
18
|
-
Jeweler::RubygemsDotOrgTasks.new
|
19
10
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
11
|
+
task :update_license_date do
|
12
|
+
license_path = File.dirname(__FILE__) + "/LICENSE.txt"
|
13
|
+
license_text = File.read(license_path)
|
14
|
+
license_text.gsub!(/2009\-(\d+)/, "2009-#{Time.now.year + 1}")
|
15
|
+
File.open(license_path, "w"){|f| f << license_text }
|
25
16
|
end
|
26
17
|
|
27
|
-
|
18
|
+
# Automatically update the LICENSE
|
19
|
+
Rake::Task[:test].enhance [:update_license_date]
|
20
|
+
task :default => [ :test ]
|
data/bin/framecurve_validator
CHANGED
data/framecurve.gemspec
CHANGED
@@ -1,231 +1,31 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
1
|
# -*- encoding: utf-8 -*-
|
5
2
|
# stub: framecurve 2.2.2 ruby lib
|
6
3
|
|
4
|
+
require File.dirname(__FILE__) + '/lib/framecurve/version'
|
7
5
|
Gem::Specification.new do |s|
|
8
6
|
s.name = "framecurve"
|
9
|
-
s.version =
|
7
|
+
s.version = Framecurve::VERSION
|
10
8
|
|
11
9
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
10
|
s.require_paths = ["lib"]
|
13
11
|
s.authors = ["Julik"]
|
14
|
-
s.date = "
|
15
|
-
s.description = "
|
12
|
+
s.date = Time.now.utc.strftime("%Y-%m-%d")
|
13
|
+
s.description = "Framecurve parser, validation and interpolation"
|
16
14
|
s.email = "me@julik.nl"
|
17
15
|
s.executables = ["framecurve_from_fcp_xml", "framecurve_validator"]
|
18
16
|
s.extra_rdoc_files = [
|
19
17
|
"LICENSE.txt",
|
20
18
|
"README.rdoc"
|
21
19
|
]
|
22
|
-
s.files =
|
23
|
-
".document",
|
24
|
-
".travis.yml",
|
25
|
-
"Gemfile",
|
26
|
-
"History.txt",
|
27
|
-
"LICENSE.txt",
|
28
|
-
"README.rdoc",
|
29
|
-
"Rakefile",
|
30
|
-
"bin/framecurve_from_fcp_xml",
|
31
|
-
"bin/framecurve_validator",
|
32
|
-
"framecurve.gemspec",
|
33
|
-
"lib/framecurve.rb",
|
34
|
-
"lib/framecurve/comment.rb",
|
35
|
-
"lib/framecurve/curve.rb",
|
36
|
-
"lib/framecurve/extractors/fcp_xml.rb",
|
37
|
-
"lib/framecurve/extractors/xml_bridge.rb",
|
38
|
-
"lib/framecurve/parser.rb",
|
39
|
-
"lib/framecurve/serializer.rb",
|
40
|
-
"lib/framecurve/tuple.rb",
|
41
|
-
"lib/framecurve/validator.rb",
|
42
|
-
"test/fixtures/countdown_standard/countdown_asis 001.png",
|
43
|
-
"test/fixtures/countdown_standard/countdown_asis 002.png",
|
44
|
-
"test/fixtures/countdown_standard/countdown_asis 003.png",
|
45
|
-
"test/fixtures/countdown_standard/countdown_asis 004.png",
|
46
|
-
"test/fixtures/countdown_standard/countdown_asis 005.png",
|
47
|
-
"test/fixtures/countdown_standard/countdown_asis 006.png",
|
48
|
-
"test/fixtures/countdown_standard/countdown_asis 007.png",
|
49
|
-
"test/fixtures/countdown_standard/countdown_asis 008.png",
|
50
|
-
"test/fixtures/countdown_standard/countdown_asis 009.png",
|
51
|
-
"test/fixtures/countdown_standard/countdown_asis 010.png",
|
52
|
-
"test/fixtures/countdown_standard/countdown_asis 011.png",
|
53
|
-
"test/fixtures/countdown_standard/countdown_asis 012.png",
|
54
|
-
"test/fixtures/countdown_standard/countdown_asis 013.png",
|
55
|
-
"test/fixtures/countdown_standard/countdown_asis 014.png",
|
56
|
-
"test/fixtures/countdown_standard/countdown_asis 015.png",
|
57
|
-
"test/fixtures/countdown_standard/countdown_asis 016.png",
|
58
|
-
"test/fixtures/countdown_standard/countdown_asis 017.png",
|
59
|
-
"test/fixtures/countdown_standard/countdown_asis 018.png",
|
60
|
-
"test/fixtures/countdown_standard/countdown_asis 019.png",
|
61
|
-
"test/fixtures/countdown_standard/countdown_asis 020.png",
|
62
|
-
"test/fixtures/countdown_standard/countdown_asis 021.png",
|
63
|
-
"test/fixtures/countdown_standard/countdown_asis 022.png",
|
64
|
-
"test/fixtures/countdown_standard/countdown_asis 023.png",
|
65
|
-
"test/fixtures/countdown_standard/countdown_asis 024.png",
|
66
|
-
"test/fixtures/countdown_standard/countdown_asis 025.png",
|
67
|
-
"test/fixtures/countdown_standard/countdown_asis 026.png",
|
68
|
-
"test/fixtures/countdown_standard/countdown_asis 027.png",
|
69
|
-
"test/fixtures/countdown_standard/countdown_asis 028.png",
|
70
|
-
"test/fixtures/countdown_standard/countdown_asis 029.png",
|
71
|
-
"test/fixtures/countdown_standard/countdown_asis 030.png",
|
72
|
-
"test/fixtures/countdown_standard/countdown_asis 031.png",
|
73
|
-
"test/fixtures/countdown_standard/countdown_asis 032.png",
|
74
|
-
"test/fixtures/countdown_standard/countdown_asis 033.png",
|
75
|
-
"test/fixtures/countdown_standard/countdown_asis 034.png",
|
76
|
-
"test/fixtures/countdown_standard/countdown_asis 035.png",
|
77
|
-
"test/fixtures/countdown_standard/countdown_asis 036.png",
|
78
|
-
"test/fixtures/countdown_standard/countdown_asis 037.png",
|
79
|
-
"test/fixtures/countdown_standard/countdown_asis 038.png",
|
80
|
-
"test/fixtures/countdown_standard/countdown_asis 039.png",
|
81
|
-
"test/fixtures/countdown_standard/countdown_asis 040.png",
|
82
|
-
"test/fixtures/countdown_standard/countdown_asis 041.png",
|
83
|
-
"test/fixtures/countdown_standard/countdown_asis 042.png",
|
84
|
-
"test/fixtures/countdown_standard/countdown_asis 043.png",
|
85
|
-
"test/fixtures/countdown_standard/countdown_asis 044.png",
|
86
|
-
"test/fixtures/countdown_standard/countdown_asis 045.png",
|
87
|
-
"test/fixtures/countdown_standard/countdown_asis 046.png",
|
88
|
-
"test/fixtures/countdown_standard/countdown_asis 047.png",
|
89
|
-
"test/fixtures/countdown_standard/countdown_asis 048.png",
|
90
|
-
"test/fixtures/countdown_standard/countdown_asis 049.png",
|
91
|
-
"test/fixtures/countdown_standard/countdown_asis 050.png",
|
92
|
-
"test/fixtures/countdown_standard/countdown_asis 051.png",
|
93
|
-
"test/fixtures/countdown_standard/countdown_asis 052.png",
|
94
|
-
"test/fixtures/countdown_standard/countdown_asis 053.png",
|
95
|
-
"test/fixtures/countdown_standard/countdown_asis 054.png",
|
96
|
-
"test/fixtures/countdown_standard/countdown_asis 055.png",
|
97
|
-
"test/fixtures/countdown_standard/countdown_asis 056.png",
|
98
|
-
"test/fixtures/countdown_standard/countdown_asis 057.png",
|
99
|
-
"test/fixtures/countdown_standard/countdown_asis 058.png",
|
100
|
-
"test/fixtures/countdown_standard/countdown_asis 059.png",
|
101
|
-
"test/fixtures/countdown_standard/countdown_asis 060.png",
|
102
|
-
"test/fixtures/countdown_standard/countdown_asis 061.png",
|
103
|
-
"test/fixtures/countdown_standard/countdown_asis 062.png",
|
104
|
-
"test/fixtures/countdown_standard/countdown_asis 063.png",
|
105
|
-
"test/fixtures/countdown_standard/countdown_asis 064.png",
|
106
|
-
"test/fixtures/countdown_standard/countdown_asis 065.png",
|
107
|
-
"test/fixtures/countdown_standard/countdown_asis 066.png",
|
108
|
-
"test/fixtures/countdown_standard/countdown_asis 067.png",
|
109
|
-
"test/fixtures/countdown_standard/countdown_asis 068.png",
|
110
|
-
"test/fixtures/countdown_standard/countdown_asis 069.png",
|
111
|
-
"test/fixtures/countdown_standard/countdown_asis 070.png",
|
112
|
-
"test/fixtures/countdown_standard/countdown_asis 071.png",
|
113
|
-
"test/fixtures/countdown_standard/countdown_asis 072.png",
|
114
|
-
"test/fixtures/countdown_standard/countdown_asis 073.png",
|
115
|
-
"test/fixtures/countdown_standard/countdown_asis 074.png",
|
116
|
-
"test/fixtures/countdown_standard/countdown_asis 075.png",
|
117
|
-
"test/fixtures/countdown_standard/countdown_asis 076.png",
|
118
|
-
"test/fixtures/countdown_standard/countdown_asis 077.png",
|
119
|
-
"test/fixtures/countdown_standard/countdown_asis 078.png",
|
120
|
-
"test/fixtures/countdown_standard/countdown_asis 079.png",
|
121
|
-
"test/fixtures/countdown_standard/countdown_asis 080.png",
|
122
|
-
"test/fixtures/countdown_standard/countdown_asis 081.png",
|
123
|
-
"test/fixtures/countdown_standard/countdown_asis 082.png",
|
124
|
-
"test/fixtures/countdown_standard/countdown_asis 083.png",
|
125
|
-
"test/fixtures/countdown_standard/countdown_asis 084.png",
|
126
|
-
"test/fixtures/countdown_standard/countdown_asis 085.png",
|
127
|
-
"test/fixtures/countdown_standard/countdown_asis 086.png",
|
128
|
-
"test/fixtures/countdown_standard/countdown_asis 087.png",
|
129
|
-
"test/fixtures/countdown_standard/countdown_asis 088.png",
|
130
|
-
"test/fixtures/countdown_standard/countdown_asis 089.png",
|
131
|
-
"test/fixtures/countdown_standard/countdown_asis 090.png",
|
132
|
-
"test/fixtures/countdown_standard/countdown_asis 091.png",
|
133
|
-
"test/fixtures/countdown_standard/countdown_asis 092.png",
|
134
|
-
"test/fixtures/countdown_standard/countdown_asis 093.png",
|
135
|
-
"test/fixtures/countdown_standard/countdown_asis 094.png",
|
136
|
-
"test/fixtures/countdown_standard/countdown_asis 095.png",
|
137
|
-
"test/fixtures/countdown_standard/countdown_asis 096.png",
|
138
|
-
"test/fixtures/countdown_standard/countdown_asis 097.png",
|
139
|
-
"test/fixtures/countdown_standard/countdown_asis 098.png",
|
140
|
-
"test/fixtures/countdown_standard/countdown_asis 099.png",
|
141
|
-
"test/fixtures/countdown_standard/countdown_asis 100.png",
|
142
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 01.png",
|
143
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 02.png",
|
144
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 03.png",
|
145
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 04.png",
|
146
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 05.png",
|
147
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 06.png",
|
148
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 07.png",
|
149
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 08.png",
|
150
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 09.png",
|
151
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 10.png",
|
152
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 11.png",
|
153
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 12.png",
|
154
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 13.png",
|
155
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 14.png",
|
156
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 15.png",
|
157
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 16.png",
|
158
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 17.png",
|
159
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 18.png",
|
160
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 19.png",
|
161
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 20.png",
|
162
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 21.png",
|
163
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 22.png",
|
164
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 23.png",
|
165
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 24.png",
|
166
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 25.png",
|
167
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 26.png",
|
168
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 27.png",
|
169
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 28.png",
|
170
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 29.png",
|
171
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 30.png",
|
172
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 31.png",
|
173
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 32.png",
|
174
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 33.png",
|
175
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 34.png",
|
176
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 35.png",
|
177
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 36.png",
|
178
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 37.png",
|
179
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 38.png",
|
180
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 39.png",
|
181
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 40.png",
|
182
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 41.png",
|
183
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 42.png",
|
184
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 43.png",
|
185
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 44.png",
|
186
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 45.png",
|
187
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 46.png",
|
188
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 47.png",
|
189
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 48.png",
|
190
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 49.png",
|
191
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed 50.png",
|
192
|
-
"test/fixtures/countdown_timewarped/countdown_varispeed.framecurve.txt",
|
193
|
-
"test/fixtures/fcp_xml/CountDOWN.xml",
|
194
|
-
"test/fixtures/framecurves/err-neg-frames.framecurve.txt",
|
195
|
-
"test/fixtures/framecurves/err-no-tuples.framecurve.txt",
|
196
|
-
"test/fixtures/framecurves/incorrect.extension",
|
197
|
-
"test/fixtures/framecurves/sample_framecurve1.framecurve.txt",
|
198
|
-
"test/helper.rb",
|
199
|
-
"test/test_framecurve_comment.rb",
|
200
|
-
"test/test_framecurve_curve.rb",
|
201
|
-
"test/test_framecurve_from_fcp_xml_binary.rb",
|
202
|
-
"test/test_framecurve_parser.rb",
|
203
|
-
"test/test_framecurve_serializer.rb",
|
204
|
-
"test/test_framecurve_tuple.rb",
|
205
|
-
"test/test_framecurve_validator.rb",
|
206
|
-
"test/test_framecurve_validator_binary.rb"
|
207
|
-
]
|
20
|
+
s.files = `git ls-files -z`.split("\x0")
|
208
21
|
s.homepage = "http://github.com/guerilla-di/framecurve"
|
209
22
|
s.licenses = ["MIT"]
|
210
23
|
s.rubygems_version = "2.2.2"
|
211
24
|
s.summary = "Handles Framecurve files"
|
212
25
|
|
213
|
-
|
214
|
-
s.specification_version = 4
|
26
|
+
s.specification_version = 4
|
215
27
|
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
s.add_development_dependency(%q<cli_test>, [">= 0"])
|
220
|
-
else
|
221
|
-
s.add_dependency(%q<jeweler>, ["~> 1.8"])
|
222
|
-
s.add_dependency(%q<rake>, [">= 0"])
|
223
|
-
s.add_dependency(%q<cli_test>, [">= 0"])
|
224
|
-
end
|
225
|
-
else
|
226
|
-
s.add_dependency(%q<jeweler>, ["~> 1.8"])
|
227
|
-
s.add_dependency(%q<rake>, [">= 0"])
|
228
|
-
s.add_dependency(%q<cli_test>, [">= 0"])
|
229
|
-
end
|
28
|
+
s.add_development_dependency('rake')
|
29
|
+
s.add_development_dependency('cli_test')
|
30
|
+
s.add_development_dependency('test-unit')
|
230
31
|
end
|
231
|
-
|
data/lib/framecurve.rb
CHANGED
@@ -1,11 +1,9 @@
|
|
1
1
|
module Framecurve
|
2
|
-
VERSION = "2.2.2"
|
3
|
-
|
4
2
|
# Is raised when a malformed framecurve bit has occurred in the system
|
5
3
|
class Malformed < RuntimeError
|
6
4
|
end
|
7
5
|
end
|
8
6
|
|
9
|
-
%w( tuple comment curve parser validator serializer extractors/fcp_xml ).each do | f |
|
7
|
+
%w( version tuple comment curve parser validator serializer extractors/fcp_xml ).each do | f |
|
10
8
|
require File.join(File.dirname(__FILE__), "framecurve", f)
|
11
9
|
end
|
@@ -37,14 +37,14 @@ class TestFramecurveValidatorBinary < Test::Unit::TestCase
|
|
37
37
|
|
38
38
|
def test_cli_with_bad_file
|
39
39
|
s, o, e = cli(File.expand_path(BAD_FC_PATH))
|
40
|
-
|
40
|
+
refute_equal 0, s, "The exit status on fail should not be 0"
|
41
41
|
assert e.include?("ERRORS")
|
42
42
|
end
|
43
43
|
|
44
44
|
def test_cli_with_bad_filename_extension
|
45
45
|
FileUtils.cp(GOOD_FC_PATH, GOOD_FC_PATH + ".tmp")
|
46
46
|
s, o, e = cli(File.expand_path(GOOD_FC_PATH + ".tmp"))
|
47
|
-
|
47
|
+
refute_equal 0, s, "The exit status on fail should not be 0"
|
48
48
|
assert e.include?("but had \".tmp\"")
|
49
49
|
end
|
50
50
|
|
metadata
CHANGED
@@ -1,31 +1,31 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: framecurve
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Julik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: cli_test
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: test-unit
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
@@ -52,7 +52,7 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
-
description:
|
55
|
+
description: Framecurve parser, validation and interpolation
|
56
56
|
email: me@julik.nl
|
57
57
|
executables:
|
58
58
|
- framecurve_from_fcp_xml
|
@@ -63,6 +63,7 @@ extra_rdoc_files:
|
|
63
63
|
- README.rdoc
|
64
64
|
files:
|
65
65
|
- ".document"
|
66
|
+
- ".gitignore"
|
66
67
|
- ".travis.yml"
|
67
68
|
- Gemfile
|
68
69
|
- History.txt
|
@@ -81,6 +82,7 @@ files:
|
|
81
82
|
- lib/framecurve/serializer.rb
|
82
83
|
- lib/framecurve/tuple.rb
|
83
84
|
- lib/framecurve/validator.rb
|
85
|
+
- lib/framecurve/version.rb
|
84
86
|
- test/fixtures/countdown_standard/countdown_asis 001.png
|
85
87
|
- test/fixtures/countdown_standard/countdown_asis 002.png
|
86
88
|
- test/fixtures/countdown_standard/countdown_asis 003.png
|
@@ -266,7 +268,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
266
268
|
version: '0'
|
267
269
|
requirements: []
|
268
270
|
rubyforge_project:
|
269
|
-
rubygems_version: 2.
|
271
|
+
rubygems_version: 2.7.6
|
270
272
|
signing_key:
|
271
273
|
specification_version: 4
|
272
274
|
summary: Handles Framecurve files
|