flame_timewarp_extractor 0.0.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/.gemtest +0 -0
- data/History.txt +6 -0
- data/Manifest.txt +9 -0
- data/README.txt +45 -0
- data/Rakefile +11 -0
- data/bin/flametwextract +4 -0
- data/lib/flame_timewarp_extractor.rb +79 -0
- data/test/samples/TW_015_010_v01_Baked.timewarp +12288 -0
- data/test/samples/output.txt +816 -0
- data/test/test_twextract.rb +19 -0
- metadata +95 -0
@@ -0,0 +1,19 @@
|
|
1
|
+
require "test/unit"
|
2
|
+
require "flame_timewarp_extractor"
|
3
|
+
require "stringio"
|
4
|
+
|
5
|
+
class TestTwextract < Test::Unit::TestCase
|
6
|
+
def test_parse
|
7
|
+
bkup = $stdout
|
8
|
+
output = StringIO.new
|
9
|
+
begin
|
10
|
+
$stdout = output
|
11
|
+
FlameTimewarpExtractor.new.extract(File.dirname(__FILE__) + "/samples/TW_015_010_v01_Baked.timewarp")
|
12
|
+
ensure
|
13
|
+
$stdout = bkup
|
14
|
+
end
|
15
|
+
|
16
|
+
ref = File.read(File.dirname(__FILE__) + "/samples/output.txt")
|
17
|
+
assert_equal ref, output.string, "Should have the same output"
|
18
|
+
end
|
19
|
+
end
|
metadata
ADDED
@@ -0,0 +1,95 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: flame_timewarp_extractor
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 29
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 1
|
10
|
+
version: 0.0.1
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Julik
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2011-03-18 00:00:00 +01:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: hoe
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 41
|
30
|
+
segments:
|
31
|
+
- 2
|
32
|
+
- 9
|
33
|
+
- 1
|
34
|
+
version: 2.9.1
|
35
|
+
type: :development
|
36
|
+
version_requirements: *id001
|
37
|
+
description: Extract timewarp channels from Flame setup files, for usage in say Maya or Houdini or whathaveyou.
|
38
|
+
email:
|
39
|
+
- me@julik.nl
|
40
|
+
executables:
|
41
|
+
- flametwextract
|
42
|
+
extensions: []
|
43
|
+
|
44
|
+
extra_rdoc_files:
|
45
|
+
- History.txt
|
46
|
+
- Manifest.txt
|
47
|
+
- README.txt
|
48
|
+
files:
|
49
|
+
- History.txt
|
50
|
+
- Manifest.txt
|
51
|
+
- README.txt
|
52
|
+
- Rakefile
|
53
|
+
- bin/flametwextract
|
54
|
+
- lib/flame_timewarp_extractor.rb
|
55
|
+
- test/samples/TW_015_010_v01_Baked.timewarp
|
56
|
+
- test/samples/output.txt
|
57
|
+
- test/test_twextract.rb
|
58
|
+
- .gemtest
|
59
|
+
has_rdoc: true
|
60
|
+
homepage: http://github.com/guerilla-di/twextract
|
61
|
+
licenses: []
|
62
|
+
|
63
|
+
post_install_message:
|
64
|
+
rdoc_options:
|
65
|
+
- --main
|
66
|
+
- README.txt
|
67
|
+
require_paths:
|
68
|
+
- lib
|
69
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
70
|
+
none: false
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
hash: 3
|
75
|
+
segments:
|
76
|
+
- 0
|
77
|
+
version: "0"
|
78
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
79
|
+
none: false
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
hash: 3
|
84
|
+
segments:
|
85
|
+
- 0
|
86
|
+
version: "0"
|
87
|
+
requirements: []
|
88
|
+
|
89
|
+
rubyforge_project: flame_timewarp_extractor
|
90
|
+
rubygems_version: 1.4.1
|
91
|
+
signing_key:
|
92
|
+
specification_version: 3
|
93
|
+
summary: Extract timewarp channels from Flame setup files, for usage in say Maya or Houdini or whathaveyou.
|
94
|
+
test_files:
|
95
|
+
- test/test_twextract.rb
|