tracksperanto 3.4.0 → 3.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +10 -3
- data/History.txt +4 -0
- data/Rakefile +3 -2
- data/lib/tracksperanto.rb +1 -1
- data/test/import/test_nuke_import.rb +16 -0
- data/tracksperanto.gemspec +11 -11
- metadata +19 -15
data/Gemfile
CHANGED
@@ -4,7 +4,7 @@ source 'http://rubygems.org'
|
|
4
4
|
gem "bundler"
|
5
5
|
|
6
6
|
gem "obuf", "~> 1.1"
|
7
|
-
gem "tickly", "~> 2.1.
|
7
|
+
gem "tickly", "~> 2.1.5"
|
8
8
|
gem "bychar", "~> 2"
|
9
9
|
gem "progressive_io", "~> 1.0"
|
10
10
|
gem "flame_channel_parser", "~> 4.0"
|
@@ -14,16 +14,23 @@ gem "update_hints", "~> 1.0"
|
|
14
14
|
|
15
15
|
group :development do
|
16
16
|
gem "approximately"
|
17
|
-
|
17
|
+
|
18
|
+
if RUBY_VERSION > "1.8" # Jeweler pulls Nokogiri which does not want to build on Travis in 1.8
|
19
|
+
gem "jeweler", '~> 1.8.8'
|
20
|
+
else
|
21
|
+
gem "jeweler", '~> 1.8.4'
|
22
|
+
end
|
23
|
+
|
18
24
|
gem "rake"
|
19
25
|
gem "linebyline"
|
20
26
|
|
21
27
|
if RUBY_VERSION > "1.8"
|
28
|
+
# Max. supported on 1.8
|
22
29
|
gem "flexmock", "~> 1.3.2", :require => %w( flexmock flexmock/test_unit )
|
23
30
|
else
|
24
31
|
gem "flexmock", "~> 0.8", :require => %w( flexmock flexmock/test_unit )
|
25
32
|
end
|
26
33
|
|
27
34
|
gem "cli_test", "~>1.0"
|
28
|
-
gem "rake-hooks"
|
35
|
+
gem "rake-hooks", '~> 1.2.3'
|
29
36
|
end
|
data/History.txt
CHANGED
data/Rakefile
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require './lib/tracksperanto'
|
2
|
-
require 'jeweler'
|
3
2
|
require 'rake/hooks'
|
4
3
|
|
4
|
+
require 'jeweler'
|
5
5
|
Jeweler::Tasks.new do |gem|
|
6
6
|
gem.version = Tracksperanto::VERSION
|
7
7
|
gem.name = "tracksperanto"
|
@@ -18,13 +18,14 @@ Jeweler::Tasks.new do |gem|
|
|
18
18
|
gem.files.exclude "test/import/samples"
|
19
19
|
gem.files.exclude "test/import/samples/*/*.*"
|
20
20
|
gem.files.exclude "test/subpixel"
|
21
|
-
|
21
|
+
|
22
22
|
# Do not package invisibles
|
23
23
|
gem.files.exclude ".*"
|
24
24
|
end
|
25
25
|
|
26
26
|
Jeweler::RubygemsDotOrgTasks.new
|
27
27
|
|
28
|
+
|
28
29
|
require 'rake/testtask'
|
29
30
|
desc "Run all tests"
|
30
31
|
Rake::TestTask.new("test") do |t|
|
data/lib/tracksperanto.rb
CHANGED
@@ -189,6 +189,22 @@ class NukeImportTest < Test::Unit::TestCase
|
|
189
189
|
assert_equal 48, first_t.length
|
190
190
|
end
|
191
191
|
|
192
|
+
def test_parsing_nuke7_start_with_curve_command
|
193
|
+
fixture = File.open(File.dirname(__FILE__) + '/samples/nuke/curve-start-with-curve-command.nk')
|
194
|
+
|
195
|
+
parser = Tracksperanto::Import::NukeScript.new(:io => fixture)
|
196
|
+
parser.width = 2048
|
197
|
+
parser.height = 1556
|
198
|
+
trackers = parser.to_a
|
199
|
+
|
200
|
+
assert_equal 4, trackers.length
|
201
|
+
first_t = trackers[0]
|
202
|
+
assert_equal "gun_track_track_1", first_t.name
|
203
|
+
assert_equal 40, first_t.length
|
204
|
+
assert_in_delta 1234.300049, first_t[0].abs_x, 0.001
|
205
|
+
assert_in_delta 738.0, first_t[0].abs_y, 0.001
|
206
|
+
end
|
207
|
+
|
192
208
|
def test_parsing_nuke8_tracker4
|
193
209
|
fixture = File.open(File.dirname(__FILE__) + '/samples/nuke/track_nuke8.nk')
|
194
210
|
|
data/tracksperanto.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{tracksperanto}
|
8
|
-
s.version = "3.4.
|
8
|
+
s.version = "3.4.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Julik Tarkhanov"]
|
12
|
-
s.date = %q{2014-
|
12
|
+
s.date = %q{2014-03-05}
|
13
13
|
s.default_executable = %q{tracksperanto}
|
14
14
|
s.description = %q{Converts 2D track exports between different apps like Flame, MatchMover, PFTrack...}
|
15
15
|
s.email = %q{me@julik.nl}
|
@@ -219,52 +219,52 @@ Gem::Specification.new do |s|
|
|
219
219
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
220
220
|
s.add_runtime_dependency(%q<bundler>, [">= 0"])
|
221
221
|
s.add_runtime_dependency(%q<obuf>, ["~> 1.1"])
|
222
|
-
s.add_runtime_dependency(%q<tickly>, ["~> 2.1.
|
222
|
+
s.add_runtime_dependency(%q<tickly>, ["~> 2.1.5"])
|
223
223
|
s.add_runtime_dependency(%q<bychar>, ["~> 2"])
|
224
224
|
s.add_runtime_dependency(%q<progressive_io>, ["~> 1.0"])
|
225
225
|
s.add_runtime_dependency(%q<flame_channel_parser>, ["~> 4.0"])
|
226
226
|
s.add_runtime_dependency(%q<progressbar>, ["= 0.10.0"])
|
227
227
|
s.add_runtime_dependency(%q<update_hints>, ["~> 1.0"])
|
228
228
|
s.add_development_dependency(%q<approximately>, [">= 0"])
|
229
|
-
s.add_development_dependency(%q<jeweler>, ["
|
229
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.8.8"])
|
230
230
|
s.add_development_dependency(%q<rake>, [">= 0"])
|
231
231
|
s.add_development_dependency(%q<linebyline>, [">= 0"])
|
232
232
|
s.add_development_dependency(%q<flexmock>, ["~> 1.3.2"])
|
233
233
|
s.add_development_dependency(%q<cli_test>, ["~> 1.0"])
|
234
|
-
s.add_development_dependency(%q<rake-hooks>, ["
|
234
|
+
s.add_development_dependency(%q<rake-hooks>, ["~> 1.2.3"])
|
235
235
|
else
|
236
236
|
s.add_dependency(%q<bundler>, [">= 0"])
|
237
237
|
s.add_dependency(%q<obuf>, ["~> 1.1"])
|
238
|
-
s.add_dependency(%q<tickly>, ["~> 2.1.
|
238
|
+
s.add_dependency(%q<tickly>, ["~> 2.1.5"])
|
239
239
|
s.add_dependency(%q<bychar>, ["~> 2"])
|
240
240
|
s.add_dependency(%q<progressive_io>, ["~> 1.0"])
|
241
241
|
s.add_dependency(%q<flame_channel_parser>, ["~> 4.0"])
|
242
242
|
s.add_dependency(%q<progressbar>, ["= 0.10.0"])
|
243
243
|
s.add_dependency(%q<update_hints>, ["~> 1.0"])
|
244
244
|
s.add_dependency(%q<approximately>, [">= 0"])
|
245
|
-
s.add_dependency(%q<jeweler>, ["
|
245
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.8"])
|
246
246
|
s.add_dependency(%q<rake>, [">= 0"])
|
247
247
|
s.add_dependency(%q<linebyline>, [">= 0"])
|
248
248
|
s.add_dependency(%q<flexmock>, ["~> 1.3.2"])
|
249
249
|
s.add_dependency(%q<cli_test>, ["~> 1.0"])
|
250
|
-
s.add_dependency(%q<rake-hooks>, ["
|
250
|
+
s.add_dependency(%q<rake-hooks>, ["~> 1.2.3"])
|
251
251
|
end
|
252
252
|
else
|
253
253
|
s.add_dependency(%q<bundler>, [">= 0"])
|
254
254
|
s.add_dependency(%q<obuf>, ["~> 1.1"])
|
255
|
-
s.add_dependency(%q<tickly>, ["~> 2.1.
|
255
|
+
s.add_dependency(%q<tickly>, ["~> 2.1.5"])
|
256
256
|
s.add_dependency(%q<bychar>, ["~> 2"])
|
257
257
|
s.add_dependency(%q<progressive_io>, ["~> 1.0"])
|
258
258
|
s.add_dependency(%q<flame_channel_parser>, ["~> 4.0"])
|
259
259
|
s.add_dependency(%q<progressbar>, ["= 0.10.0"])
|
260
260
|
s.add_dependency(%q<update_hints>, ["~> 1.0"])
|
261
261
|
s.add_dependency(%q<approximately>, [">= 0"])
|
262
|
-
s.add_dependency(%q<jeweler>, ["
|
262
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.8"])
|
263
263
|
s.add_dependency(%q<rake>, [">= 0"])
|
264
264
|
s.add_dependency(%q<linebyline>, [">= 0"])
|
265
265
|
s.add_dependency(%q<flexmock>, ["~> 1.3.2"])
|
266
266
|
s.add_dependency(%q<cli_test>, ["~> 1.0"])
|
267
|
-
s.add_dependency(%q<rake-hooks>, ["
|
267
|
+
s.add_dependency(%q<rake-hooks>, ["~> 1.2.3"])
|
268
268
|
end
|
269
269
|
end
|
270
270
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tracksperanto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 3.4.
|
9
|
+
- 1
|
10
|
+
version: 3.4.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Julik Tarkhanov
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2014-
|
18
|
+
date: 2014-03-05 00:00:00 +01:00
|
19
19
|
default_executable: tracksperanto
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -53,12 +53,12 @@ dependencies:
|
|
53
53
|
requirements:
|
54
54
|
- - ~>
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
hash:
|
56
|
+
hash: 1
|
57
57
|
segments:
|
58
58
|
- 2
|
59
59
|
- 1
|
60
|
-
-
|
61
|
-
version: 2.1.
|
60
|
+
- 5
|
61
|
+
version: 2.1.5
|
62
62
|
type: :runtime
|
63
63
|
name: tickly
|
64
64
|
version_requirements: *id003
|
@@ -156,12 +156,14 @@ dependencies:
|
|
156
156
|
requirement: &id010 !ruby/object:Gem::Requirement
|
157
157
|
none: false
|
158
158
|
requirements:
|
159
|
-
- -
|
159
|
+
- - ~>
|
160
160
|
- !ruby/object:Gem::Version
|
161
|
-
hash:
|
161
|
+
hash: 39
|
162
162
|
segments:
|
163
|
-
-
|
164
|
-
|
163
|
+
- 1
|
164
|
+
- 8
|
165
|
+
- 8
|
166
|
+
version: 1.8.8
|
165
167
|
type: :development
|
166
168
|
name: jeweler
|
167
169
|
version_requirements: *id010
|
@@ -229,12 +231,14 @@ dependencies:
|
|
229
231
|
requirement: &id015 !ruby/object:Gem::Requirement
|
230
232
|
none: false
|
231
233
|
requirements:
|
232
|
-
- -
|
234
|
+
- - ~>
|
233
235
|
- !ruby/object:Gem::Version
|
234
|
-
hash:
|
236
|
+
hash: 25
|
235
237
|
segments:
|
236
|
-
-
|
237
|
-
|
238
|
+
- 1
|
239
|
+
- 2
|
240
|
+
- 3
|
241
|
+
version: 1.2.3
|
238
242
|
type: :development
|
239
243
|
name: rake-hooks
|
240
244
|
version_requirements: *id015
|