limelight 0.4.0-java → 0.5.0-java
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/lib/limelight.jar +0 -0
- data/lib/limelight/animation.rb +4 -3
- data/lib/limelight/builtin/players.rb +3 -1
- data/lib/limelight/builtin/players/image.rb +4 -0
- data/lib/limelight/builtin/players/stage_mover.rb +31 -0
- data/lib/limelight/builtin/players/stage_sizer.rb +34 -0
- data/lib/limelight/builtin/utilities_production/alert/players/alert.rb +11 -0
- data/lib/limelight/builtin/utilities_production/alert/props.rb +3 -0
- data/lib/limelight/builtin/utilities_production/alert/styles.rb +7 -0
- data/lib/limelight/builtin/utilities_production/incompatible_version/props.rb +3 -0
- data/lib/limelight/builtin/utilities_production/incompatible_version/styles.rb +3 -0
- data/lib/limelight/builtin/utilities_production/production.rb +3 -0
- data/lib/limelight/builtin/utilities_production/stages.rb +3 -0
- data/lib/limelight/builtin/utilities_production/styles.rb +3 -0
- data/lib/limelight/casting_director.rb +1 -1
- data/lib/limelight/commands/create_command.rb +33 -19
- data/lib/limelight/commands/freeze_command.rb +20 -5
- data/lib/limelight/commands/open_command.rb +2 -1
- data/lib/limelight/dsl/styles_builder.rb +40 -18
- data/lib/limelight/file_loader.rb +1 -1
- data/lib/limelight/gems.rb +3 -1
- data/lib/limelight/java_couplings.rb +1 -0
- data/lib/limelight/producer.rb +4 -47
- data/lib/limelight/production.rb +20 -0
- data/lib/limelight/prop.rb +32 -32
- data/lib/limelight/scene.rb +2 -1
- data/lib/limelight/specs/spec_helper.rb +24 -22
- data/lib/limelight/specs/test_scene_opener.rb +60 -0
- data/lib/limelight/string.rb +1 -1
- data/lib/limelight/studio.rb +28 -9
- data/lib/limelight/templates/production_templater.rb +5 -2
- data/lib/limelight/templates/scene_templater.rb +7 -6
- data/lib/limelight/templates/sources/production/production.rb.template +1 -1
- data/lib/limelight/templates/sources/production/spec/spec_helper.rb.template +8 -1
- data/lib/limelight/version.rb +1 -1
- data/productions/examples/sandbox/alerts/incompatible_production/default_scene/props.rb +3 -0
- data/productions/examples/sandbox/alerts/incompatible_production/default_scene/styles.rb +3 -0
- data/productions/examples/sandbox/alerts/incompatible_production/production.rb +3 -0
- data/productions/examples/sandbox/alerts/incompatible_production/spec/default_scene/default_scene_spec.rb +3 -0
- data/productions/examples/sandbox/alerts/incompatible_production/spec/spec_helper.rb +3 -0
- data/productions/examples/sandbox/alerts/incompatible_production/stages.rb +3 -0
- data/productions/examples/sandbox/alerts/incompatible_production/styles.rb +3 -0
- data/productions/examples/sandbox/alerts/players/alerts.rb +3 -0
- data/productions/examples/sandbox/alerts/props.rb +3 -0
- data/productions/examples/sandbox/alerts/styles.rb +3 -0
- data/productions/examples/sandbox/background_images/props.rb +3 -0
- data/productions/examples/sandbox/header.rb +1 -0
- data/productions/examples/sandbox/images_scene/props.rb +8 -0
- data/productions/examples/sandbox/kiosk/players/kiosk.rb +3 -0
- data/productions/examples/sandbox/kiosk/props.rb +3 -0
- data/productions/examples/sandbox/kiosk/styles.rb +3 -0
- data/productions/examples/sandbox/spec/alerts/alerts_spec.rb +3 -0
- data/productions/examples/sandbox/stage_handles/players/sizer.rb +35 -0
- data/productions/examples/sandbox/stage_handles/props.rb +17 -0
- data/productions/examples/sandbox/stage_handles/styles.rb +58 -0
- data/productions/playbills.lll +1 -0
- data/productions/startup/production.rb +3 -0
- data/productions/startup/spec/default_scene/default_scene_spec.rb +3 -0
- data/productions/startup/spec/spec_helper.rb +3 -0
- data/productions/startup/styles.rb +3 -0
- data/spec/{builtin → limelight/builtin}/players/button_spec.rb +1 -1
- data/spec/{builtin → limelight/builtin}/players/check_box_spec.rb +1 -1
- data/spec/{builtin → limelight/builtin}/players/combo_box_spec.rb +1 -1
- data/spec/{builtin → limelight/builtin}/players/image_spec.rb +1 -2
- data/spec/{builtin → limelight/builtin}/players/password_box_spec.rb +1 -1
- data/spec/{builtin → limelight/builtin}/players/radio_button_spec.rb +1 -1
- data/spec/limelight/builtin/players/stage_mover_spec.rb +36 -0
- data/spec/limelight/builtin/players/stage_sizer_spec.rb +40 -0
- data/spec/{builtin → limelight/builtin}/players/text_area_spec.rb +1 -1
- data/spec/{builtin → limelight/builtin}/players/text_box_spec.rb +1 -1
- data/spec/limelight/builtin/utilities_production/spec_helper.rb +7 -0
- data/spec/{builtin → limelight/builtin}/utilities_production/utilities_production_spec.rb +3 -0
- data/spec/{casting_director_spec.rb → limelight/casting_director_spec.rb} +1 -1
- data/spec/{client → limelight/client}/playbills_spec.rb +1 -1
- data/spec/{commands → limelight/commands}/command_spec.rb +1 -1
- data/spec/{commands → limelight/commands}/create_command_spec.rb +23 -19
- data/spec/limelight/commands/freeze_command_spec.rb +143 -0
- data/spec/{commands → limelight/commands}/help_command_spec.rb +1 -1
- data/spec/{commands → limelight/commands}/open_command_spec.rb +1 -1
- data/spec/{commands → limelight/commands}/pack_command_spec.rb +1 -1
- data/spec/{commands → limelight/commands}/unpack_command_spec.rb +1 -1
- data/spec/{data_spec.rb → limelight/data_spec.rb} +1 -1
- data/spec/{dsl → limelight/dsl}/prop_builder_spec.rb +1 -1
- data/spec/{dsl → limelight/dsl}/stage_builder_spec.rb +1 -1
- data/spec/{dsl → limelight/dsl}/styles_builder_spec.rb +52 -13
- data/spec/{file_chooser_spec.rb → limelight/file_chooser_spec.rb} +1 -1
- data/spec/{file_filter_spec.rb → limelight/file_filter_spec.rb} +1 -1
- data/spec/{file_loader_spec.rb → limelight/file_loader_spec.rb} +1 -1
- data/spec/{gems_spec.rb → limelight/gems_spec.rb} +10 -4
- data/spec/{java_util_spec.rb → limelight/java_util_spec.rb} +1 -1
- data/spec/{main_spec.rb → limelight/main_spec.rb} +1 -1
- data/spec/{paint_action_spec.rb → limelight/paint_action_spec.rb} +1 -1
- data/spec/{pen_spec.rb → limelight/pen_spec.rb} +1 -1
- data/spec/{producer_spec.rb → limelight/producer_spec.rb} +4 -12
- data/spec/{production_spec.rb → limelight/production_spec.rb} +32 -11
- data/spec/{prop_spec.rb → limelight/prop_spec.rb} +30 -2
- data/spec/{scene_spec.rb → limelight/scene_spec.rb} +28 -2
- data/spec/{stage_spec.rb → limelight/stage_spec.rb} +1 -1
- data/spec/{string_spec.rb → limelight/string_spec.rb} +1 -1
- data/spec/{studio_spec.rb → limelight/studio_spec.rb} +16 -1
- data/spec/{styles_spec.rb → limelight/styles_spec.rb} +1 -1
- data/spec/{templates → limelight/templates}/production_templater_spec.rb +17 -6
- data/spec/{templates → limelight/templates}/scene_templater_spec.rb +15 -4
- data/spec/{templates → limelight/templates}/templater_logger_spec.rb +1 -1
- data/spec/{templates → limelight/templates}/templater_spec.rb +1 -1
- data/spec/{theater_spec.rb → limelight/theater_spec.rb} +1 -1
- data/spec/{util → limelight/util}/downloader_spec.rb +1 -1
- data/spec/spec_helper.rb +11 -0
- metadata +62 -70
- data/lib/limelight/dsl/production_builder.rb +0 -71
- data/spec/builtin/utilities_production/spec_helper.rb +0 -4
- data/spec/commands/freeze_command_spec.rb +0 -62
- data/spec/dsl/production_builder_spec.rb +0 -46
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
#- Copyright � 2008-2009 8th Light, Inc. All Rights Reserved.
|
|
2
2
|
#- Limelight and all included source files are distributed under terms of the GNU LGPL.
|
|
3
3
|
|
|
4
|
-
require File.expand_path(File.dirname(__FILE__) + "
|
|
4
|
+
require File.expand_path(File.dirname(__FILE__) + "/../spec_helper")
|
|
5
5
|
require 'limelight/scene'
|
|
6
|
+
require 'limelight/dsl/styles_builder'
|
|
6
7
|
|
|
7
8
|
describe Limelight::Scene do
|
|
8
9
|
|
|
@@ -23,7 +24,7 @@ describe Limelight::Scene do
|
|
|
23
24
|
end
|
|
24
25
|
|
|
25
26
|
it "should pullout sytles and casting_director from options" do
|
|
26
|
-
scene = Limelight::Scene.new(:
|
|
27
|
+
scene = Limelight::Scene.new(:styles_hash => "styles", :casting_director => @casting_director)
|
|
27
28
|
scene.illuminate
|
|
28
29
|
|
|
29
30
|
scene.styles.should == "styles"
|
|
@@ -48,6 +49,31 @@ describe Limelight::Scene do
|
|
|
48
49
|
Limelight::Scene.new().path.should == File.expand_path("")
|
|
49
50
|
end
|
|
50
51
|
|
|
52
|
+
it "should inherit styles in options" do
|
|
53
|
+
@scene.styles = Limelight.build_styles do
|
|
54
|
+
foo { width 100; height 200 }
|
|
55
|
+
bar { x 11; y 22 }
|
|
56
|
+
end
|
|
57
|
+
@scene.add_options :styles => "foo", :name => "bar"
|
|
58
|
+
|
|
59
|
+
@scene.illuminate
|
|
60
|
+
|
|
61
|
+
@scene.style.width.should == "100"
|
|
62
|
+
@scene.style.height.should == "200"
|
|
63
|
+
@scene.style.x.should == "11"
|
|
64
|
+
@scene.style.y.should == "22"
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
# it "should set the production during illumination before casting" do
|
|
68
|
+
# production = mock("production")
|
|
69
|
+
# scene = Limelight::Scene.new(:styles_hash => "styles", :casting_director => @casting_director, :production => production)
|
|
70
|
+
# @casting_director.should_receive(:fill_cast).with(scene) do |scene|
|
|
71
|
+
# scene.production.should_not == nil
|
|
72
|
+
# end
|
|
73
|
+
#
|
|
74
|
+
# scene.illuminate
|
|
75
|
+
# end
|
|
76
|
+
|
|
51
77
|
describe Limelight::Scene, "paths" do
|
|
52
78
|
|
|
53
79
|
before(:each) do
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#- Copyright � 2008-2009 8th Light, Inc. All Rights Reserved.
|
|
2
2
|
#- Limelight and all included source files are distributed under terms of the GNU LGPL.
|
|
3
3
|
|
|
4
|
-
require File.expand_path(File.dirname(__FILE__) + "
|
|
4
|
+
require File.expand_path(File.dirname(__FILE__) + "/../spec_helper")
|
|
5
5
|
require 'limelight/stage'
|
|
6
6
|
require 'limelight/scene'
|
|
7
7
|
require 'limelight/theater'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#- Copyright � 2008-2009 8th Light, Inc. All Rights Reserved.
|
|
2
2
|
#- Limelight and all included source files are distributed under terms of the GNU LGPL.
|
|
3
3
|
|
|
4
|
-
require File.expand_path(File.dirname(__FILE__) + "
|
|
4
|
+
require File.expand_path(File.dirname(__FILE__) + "/../spec_helper")
|
|
5
5
|
require 'limelight/string'
|
|
6
6
|
|
|
7
7
|
describe String do
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#- Copyright � 2008-2009 8th Light, Inc. All Rights Reserved.
|
|
2
2
|
#- Limelight and all included source files are distributed under terms of the GNU LGPL.
|
|
3
3
|
|
|
4
|
-
require File.expand_path(File.dirname(__FILE__) + "
|
|
4
|
+
require File.expand_path(File.dirname(__FILE__) + "/../spec_helper")
|
|
5
5
|
require 'limelight/studio'
|
|
6
6
|
|
|
7
7
|
Studio = Limelight::Studio
|
|
@@ -139,4 +139,19 @@ describe Limelight::Studio do
|
|
|
139
139
|
# Studio.utilities_production.close
|
|
140
140
|
end
|
|
141
141
|
|
|
142
|
+
it "should give the same buildin_styles hash twice" do
|
|
143
|
+
Studio.builtin_styles.should be(Studio.builtin_styles)
|
|
144
|
+
Studio.builtin_styles["limelight_builtin_players_curtains"].should_not == nil
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
it "should show alert and shutdown if first production fails to open" do
|
|
148
|
+
utilities = mock("utilities")
|
|
149
|
+
utilities.should_receive(:alert)
|
|
150
|
+
Studio.should_receive(:utilities_production).and_return(utilities)
|
|
151
|
+
Limelight::Context.instance().should_receive(:shutdown)
|
|
152
|
+
|
|
153
|
+
Studio.open("http://blah.blah:1234/blah.llp") # will fail
|
|
154
|
+
sleep(0.1)
|
|
155
|
+
end
|
|
156
|
+
|
|
142
157
|
end
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#- Copyright � 2008-2009 8th Light, Inc. All Rights Reserved.
|
|
2
2
|
#- Limelight and all included source files are distributed under terms of the GNU LGPL.
|
|
3
3
|
|
|
4
|
-
require File.expand_path(File.dirname(__FILE__) + "
|
|
4
|
+
require File.expand_path(File.dirname(__FILE__) + "/../spec_helper")
|
|
5
5
|
require 'limelight/styles'
|
|
6
6
|
|
|
7
7
|
describe Limelight::Styles do
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#- Copyright � 2008-2009 8th Light, Inc. All Rights Reserved.
|
|
2
2
|
#- Limelight and all included source files are distributed under terms of the GNU LGPL.
|
|
3
3
|
|
|
4
|
-
require File.expand_path(File.dirname(__FILE__) + "
|
|
4
|
+
require File.expand_path(File.dirname(__FILE__) + "/../../spec_helper")
|
|
5
5
|
require 'limelight/templates/production_templater'
|
|
6
6
|
|
|
7
7
|
describe Limelight::Templates::ProductionTemplater do
|
|
8
8
|
|
|
9
9
|
it "should initialize settings" do
|
|
10
|
-
templater = Limelight::Templates::ProductionTemplater.new("some_production", "default_scene")
|
|
10
|
+
templater = Limelight::Templates::ProductionTemplater.new(:production_path => "some_production", :scene_path => "default_scene", :spec_path => "spec")
|
|
11
11
|
|
|
12
12
|
templater.target_root.should == "."
|
|
13
13
|
templater.source_root.should == Limelight::Templates::Templater.source_dir
|
|
@@ -16,7 +16,7 @@ describe Limelight::Templates::ProductionTemplater do
|
|
|
16
16
|
end
|
|
17
17
|
|
|
18
18
|
it "should initialize settings for deep dir name" do
|
|
19
|
-
templater = Limelight::Templates::ProductionTemplater.new("dir1/dir2/some_production", "default_scene")
|
|
19
|
+
templater = Limelight::Templates::ProductionTemplater.new(:production_path => "dir1/dir2/some_production", :scene_path => "default_scene", :spec_path => "spec")
|
|
20
20
|
|
|
21
21
|
templater.target_root.should == "./dir1/dir2"
|
|
22
22
|
templater.source_root.should == Limelight::Templates::Templater.source_dir
|
|
@@ -25,7 +25,7 @@ describe Limelight::Templates::ProductionTemplater do
|
|
|
25
25
|
end
|
|
26
26
|
|
|
27
27
|
it "should initialize settings for root path" do
|
|
28
|
-
templater = Limelight::Templates::ProductionTemplater.new("/some_production", "default_scene")
|
|
28
|
+
templater = Limelight::Templates::ProductionTemplater.new(:production_path => "/some_production", :scene_path => "default_scene", :spec_path => "spec")
|
|
29
29
|
|
|
30
30
|
templater.target_root.should == "/"
|
|
31
31
|
templater.source_root.should == Limelight::Templates::Templater.source_dir
|
|
@@ -34,7 +34,7 @@ describe Limelight::Templates::ProductionTemplater do
|
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
it "should generate files" do
|
|
37
|
-
templater = Limelight::Templates::ProductionTemplater.new("some_production", "default_scene")
|
|
37
|
+
templater = Limelight::Templates::ProductionTemplater.new(:production_path => "some_production", :scene_path => "default_scene", :spec_path => "spec")
|
|
38
38
|
|
|
39
39
|
templater.should_receive(:file).with("some_production/production.rb", "production/production.rb.template", templater.tokens)
|
|
40
40
|
templater.should_receive(:file).with("some_production/stages.rb", "production/stages.rb.template", templater.tokens)
|
|
@@ -43,9 +43,20 @@ describe Limelight::Templates::ProductionTemplater do
|
|
|
43
43
|
|
|
44
44
|
templater.generate
|
|
45
45
|
end
|
|
46
|
+
|
|
47
|
+
it "should generate files with different paths" do
|
|
48
|
+
templater = Limelight::Templates::ProductionTemplater.new(:production_path => "some_production", :scene_path => "default_scene", :spec_path => "../spec")
|
|
49
|
+
|
|
50
|
+
templater.should_receive(:file).with("some_production/production.rb", "production/production.rb.template", templater.tokens)
|
|
51
|
+
templater.should_receive(:file).with("some_production/stages.rb", "production/stages.rb.template", templater.tokens)
|
|
52
|
+
templater.should_receive(:file).with("some_production/styles.rb", "production/styles.rb.template", templater.tokens)
|
|
53
|
+
templater.should_receive(:file).with("some_production/../spec/spec_helper.rb", "production/spec/spec_helper.rb.template", templater.tokens)
|
|
54
|
+
|
|
55
|
+
templater.generate
|
|
56
|
+
end
|
|
46
57
|
|
|
47
58
|
it "should have tokens" do
|
|
48
|
-
templater = Limelight::Templates::ProductionTemplater.new("some_production", "default_scene")
|
|
59
|
+
templater = Limelight::Templates::ProductionTemplater.new(:production_path => "some_production", :scene_path => "default_scene", :spec_path => "spec")
|
|
49
60
|
|
|
50
61
|
templater.tokens[:PRODUCTION_NAME].should == "Some Production"
|
|
51
62
|
templater.tokens[:DEFAULT_SCENE_NAME].should == "default_scene"
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#- Copyright � 2008-2009 8th Light, Inc. All Rights Reserved.
|
|
2
2
|
#- Limelight and all included source files are distributed under terms of the GNU LGPL.
|
|
3
3
|
|
|
4
|
-
require File.expand_path(File.dirname(__FILE__) + "
|
|
4
|
+
require File.expand_path(File.dirname(__FILE__) + "/../../spec_helper")
|
|
5
5
|
require 'limelight/templates/scene_templater'
|
|
6
6
|
|
|
7
7
|
describe Limelight::Templates::SceneTemplater do
|
|
8
8
|
|
|
9
9
|
it "should initialize" do
|
|
10
|
-
templater = Limelight::Templates::SceneTemplater.new("prod", "some_scene")
|
|
10
|
+
templater = Limelight::Templates::SceneTemplater.new(:production_path => "prod", :scene_path => "some_scene", :spec_path => "spec")
|
|
11
11
|
|
|
12
12
|
templater.target_root.should == "./prod"
|
|
13
13
|
templater.source_root.should == Limelight::Templates::Templater.source_dir
|
|
@@ -16,7 +16,7 @@ describe Limelight::Templates::SceneTemplater do
|
|
|
16
16
|
end
|
|
17
17
|
|
|
18
18
|
it "should generate files" do
|
|
19
|
-
templater = Limelight::Templates::SceneTemplater.new("prod", "some_scene")
|
|
19
|
+
templater = Limelight::Templates::SceneTemplater.new(:production_path => "prod", :scene_path => "some_scene", :spec_path => "spec")
|
|
20
20
|
|
|
21
21
|
templater.should_receive(:file).with("some_scene/props.rb", "scene/props.rb.template", templater.tokens)
|
|
22
22
|
templater.should_receive(:file).with("some_scene/styles.rb", "scene/styles.rb.template", templater.tokens)
|
|
@@ -27,7 +27,7 @@ describe Limelight::Templates::SceneTemplater do
|
|
|
27
27
|
end
|
|
28
28
|
|
|
29
29
|
it "should generate files for a nested scene" do
|
|
30
|
-
templater = Limelight::Templates::SceneTemplater.new("prod", "nested/some_scene")
|
|
30
|
+
templater = Limelight::Templates::SceneTemplater.new(:production_path => "prod", :scene_path => "nested/some_scene", :spec_path => "spec")
|
|
31
31
|
|
|
32
32
|
templater.should_receive(:file).with("nested/some_scene/props.rb", "scene/props.rb.template", templater.tokens)
|
|
33
33
|
templater.should_receive(:file).with("nested/some_scene/styles.rb", "scene/styles.rb.template", templater.tokens)
|
|
@@ -37,4 +37,15 @@ describe Limelight::Templates::SceneTemplater do
|
|
|
37
37
|
templater.generate
|
|
38
38
|
end
|
|
39
39
|
|
|
40
|
+
it "should generate files" do
|
|
41
|
+
templater = Limelight::Templates::SceneTemplater.new(:production_path => "prod", :scene_path => "some_scene", :spec_path => "../spec")
|
|
42
|
+
|
|
43
|
+
templater.should_receive(:file).with("some_scene/props.rb", "scene/props.rb.template", templater.tokens)
|
|
44
|
+
templater.should_receive(:file).with("some_scene/styles.rb", "scene/styles.rb.template", templater.tokens)
|
|
45
|
+
templater.should_receive(:directory).with("some_scene/players")
|
|
46
|
+
templater.should_receive(:file).with("../spec/some_scene/some_scene_spec.rb", "scene_spec/scene_spec.rb.template", templater.tokens)
|
|
47
|
+
|
|
48
|
+
templater.generate
|
|
49
|
+
end
|
|
50
|
+
|
|
40
51
|
end
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#- Copyright � 2008-2009 8th Light, Inc. All Rights Reserved.
|
|
2
2
|
#- Limelight and all included source files are distributed under terms of the GNU LGPL.
|
|
3
3
|
|
|
4
|
-
require File.expand_path(File.dirname(__FILE__) + "
|
|
4
|
+
require File.expand_path(File.dirname(__FILE__) + "/../../spec_helper")
|
|
5
5
|
require 'limelight/templates/templater_logger'
|
|
6
6
|
|
|
7
7
|
describe Limelight::Templates::TemplaterLogger do
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#- Copyright � 2008-2009 8th Light, Inc. All Rights Reserved.
|
|
2
2
|
#- Limelight and all included source files are distributed under terms of the GNU LGPL.
|
|
3
3
|
|
|
4
|
-
require File.expand_path(File.dirname(__FILE__) + "
|
|
4
|
+
require File.expand_path(File.dirname(__FILE__) + "/../../spec_helper")
|
|
5
5
|
require 'limelight/templates/templater'
|
|
6
6
|
|
|
7
7
|
describe Limelight::Templates::Templater do
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#- Copyright � 2008-2009 8th Light, Inc. All Rights Reserved.
|
|
2
2
|
#- Limelight and all included source files are distributed under terms of the GNU LGPL.
|
|
3
3
|
|
|
4
|
-
require File.expand_path(File.dirname(__FILE__) + "
|
|
4
|
+
require File.expand_path(File.dirname(__FILE__) + "/../spec_helper")
|
|
5
5
|
require 'limelight/theater'
|
|
6
6
|
require 'limelight/stage'
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#- Copyright � 2008-2009 8th Light, Inc. All Rights Reserved.
|
|
2
2
|
#- Limelight and all included source files are distributed under terms of the GNU LGPL.
|
|
3
3
|
|
|
4
|
-
require File.expand_path(File.dirname(__FILE__) + "
|
|
4
|
+
require File.expand_path(File.dirname(__FILE__) + "/../../spec_helper")
|
|
5
5
|
require 'limelight/util/downloader'
|
|
6
6
|
|
|
7
7
|
describe Limelight::Util::Downloader do
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: limelight
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.0
|
|
5
5
|
platform: java
|
|
6
6
|
authors:
|
|
7
7
|
- Micah Martin, 8th Light
|
|
@@ -9,7 +9,7 @@ autorequire: init
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-
|
|
12
|
+
date: 2009-10-21 00:00:00 -05:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies: []
|
|
15
15
|
|
|
@@ -35,6 +35,8 @@ files:
|
|
|
35
35
|
- lib/limelight/builtin/players/image.rb
|
|
36
36
|
- lib/limelight/builtin/players/password_box.rb
|
|
37
37
|
- lib/limelight/builtin/players/radio_button.rb
|
|
38
|
+
- lib/limelight/builtin/players/stage_mover.rb
|
|
39
|
+
- lib/limelight/builtin/players/stage_sizer.rb
|
|
38
40
|
- lib/limelight/builtin/players/text_area.rb
|
|
39
41
|
- lib/limelight/builtin/players/text_box.rb
|
|
40
42
|
- lib/limelight/builtin/players.rb
|
|
@@ -42,6 +44,7 @@ files:
|
|
|
42
44
|
- lib/limelight/builtin/utilities_production
|
|
43
45
|
- lib/limelight/builtin/utilities_production/alert
|
|
44
46
|
- lib/limelight/builtin/utilities_production/alert/players
|
|
47
|
+
- lib/limelight/builtin/utilities_production/alert/players/alert.rb
|
|
45
48
|
- lib/limelight/builtin/utilities_production/alert/props.rb
|
|
46
49
|
- lib/limelight/builtin/utilities_production/alert/styles.rb
|
|
47
50
|
- lib/limelight/builtin/utilities_production/incompatible_version
|
|
@@ -67,7 +70,6 @@ files:
|
|
|
67
70
|
- lib/limelight/dsl
|
|
68
71
|
- lib/limelight/dsl/build_exception.rb
|
|
69
72
|
- lib/limelight/dsl/menu_bar.rb
|
|
70
|
-
- lib/limelight/dsl/production_builder.rb
|
|
71
73
|
- lib/limelight/dsl/prop_builder.rb
|
|
72
74
|
- lib/limelight/dsl/stage_builder.rb
|
|
73
75
|
- lib/limelight/dsl/styles_builder.rb
|
|
@@ -87,6 +89,7 @@ files:
|
|
|
87
89
|
- lib/limelight/scene.rb
|
|
88
90
|
- lib/limelight/specs
|
|
89
91
|
- lib/limelight/specs/spec_helper.rb
|
|
92
|
+
- lib/limelight/specs/test_scene_opener.rb
|
|
90
93
|
- lib/limelight/stage.rb
|
|
91
94
|
- lib/limelight/string.rb
|
|
92
95
|
- lib/limelight/studio.rb
|
|
@@ -117,53 +120,54 @@ files:
|
|
|
117
120
|
- lib/limelight/util.rb
|
|
118
121
|
- lib/limelight/version.rb
|
|
119
122
|
- lib/limelight.jar
|
|
120
|
-
- spec/builtin/players/button_spec.rb
|
|
121
|
-
- spec/builtin/players/check_box_spec.rb
|
|
122
|
-
- spec/builtin/players/combo_box_spec.rb
|
|
123
|
-
- spec/builtin/players/image_spec.rb
|
|
124
|
-
- spec/builtin/players/password_box_spec.rb
|
|
125
|
-
- spec/builtin/players/radio_button_spec.rb
|
|
126
|
-
- spec/builtin/players/
|
|
127
|
-
- spec/builtin/players/
|
|
128
|
-
- spec/builtin/
|
|
129
|
-
- spec/builtin/
|
|
130
|
-
- spec/
|
|
131
|
-
- spec/
|
|
132
|
-
- spec/
|
|
133
|
-
- spec/
|
|
134
|
-
- spec/commands/
|
|
135
|
-
- spec/commands/
|
|
136
|
-
- spec/commands/
|
|
137
|
-
- spec/commands/
|
|
138
|
-
- spec/commands/
|
|
139
|
-
- spec/
|
|
140
|
-
- spec/
|
|
141
|
-
- spec/
|
|
142
|
-
- spec/dsl/
|
|
143
|
-
- spec/dsl/
|
|
144
|
-
- spec/
|
|
145
|
-
- spec/
|
|
146
|
-
- spec/
|
|
147
|
-
- spec/
|
|
148
|
-
- spec/
|
|
149
|
-
- spec/
|
|
150
|
-
- spec/
|
|
151
|
-
- spec/
|
|
152
|
-
- spec/
|
|
153
|
-
- spec/
|
|
154
|
-
- spec/
|
|
155
|
-
- spec/
|
|
123
|
+
- spec/limelight/builtin/players/button_spec.rb
|
|
124
|
+
- spec/limelight/builtin/players/check_box_spec.rb
|
|
125
|
+
- spec/limelight/builtin/players/combo_box_spec.rb
|
|
126
|
+
- spec/limelight/builtin/players/image_spec.rb
|
|
127
|
+
- spec/limelight/builtin/players/password_box_spec.rb
|
|
128
|
+
- spec/limelight/builtin/players/radio_button_spec.rb
|
|
129
|
+
- spec/limelight/builtin/players/stage_mover_spec.rb
|
|
130
|
+
- spec/limelight/builtin/players/stage_sizer_spec.rb
|
|
131
|
+
- spec/limelight/builtin/players/text_area_spec.rb
|
|
132
|
+
- spec/limelight/builtin/players/text_box_spec.rb
|
|
133
|
+
- spec/limelight/builtin/utilities_production/spec_helper.rb
|
|
134
|
+
- spec/limelight/builtin/utilities_production/utilities_production_spec.rb
|
|
135
|
+
- spec/limelight/casting_director_spec.rb
|
|
136
|
+
- spec/limelight/client/playbills_spec.rb
|
|
137
|
+
- spec/limelight/commands/command_spec.rb
|
|
138
|
+
- spec/limelight/commands/create_command_spec.rb
|
|
139
|
+
- spec/limelight/commands/freeze_command_spec.rb
|
|
140
|
+
- spec/limelight/commands/help_command_spec.rb
|
|
141
|
+
- spec/limelight/commands/open_command_spec.rb
|
|
142
|
+
- spec/limelight/commands/pack_command_spec.rb
|
|
143
|
+
- spec/limelight/commands/unpack_command_spec.rb
|
|
144
|
+
- spec/limelight/data_spec.rb
|
|
145
|
+
- spec/limelight/dsl/prop_builder_spec.rb
|
|
146
|
+
- spec/limelight/dsl/stage_builder_spec.rb
|
|
147
|
+
- spec/limelight/dsl/styles_builder_spec.rb
|
|
148
|
+
- spec/limelight/file_chooser_spec.rb
|
|
149
|
+
- spec/limelight/file_filter_spec.rb
|
|
150
|
+
- spec/limelight/file_loader_spec.rb
|
|
151
|
+
- spec/limelight/gems_spec.rb
|
|
152
|
+
- spec/limelight/java_util_spec.rb
|
|
153
|
+
- spec/limelight/main_spec.rb
|
|
154
|
+
- spec/limelight/paint_action_spec.rb
|
|
155
|
+
- spec/limelight/pen_spec.rb
|
|
156
|
+
- spec/limelight/producer_spec.rb
|
|
157
|
+
- spec/limelight/production_spec.rb
|
|
158
|
+
- spec/limelight/prop_spec.rb
|
|
159
|
+
- spec/limelight/scene_spec.rb
|
|
160
|
+
- spec/limelight/stage_spec.rb
|
|
161
|
+
- spec/limelight/string_spec.rb
|
|
162
|
+
- spec/limelight/studio_spec.rb
|
|
163
|
+
- spec/limelight/styles_spec.rb
|
|
164
|
+
- spec/limelight/templates/production_templater_spec.rb
|
|
165
|
+
- spec/limelight/templates/scene_templater_spec.rb
|
|
166
|
+
- spec/limelight/templates/templater_logger_spec.rb
|
|
167
|
+
- spec/limelight/templates/templater_spec.rb
|
|
168
|
+
- spec/limelight/theater_spec.rb
|
|
169
|
+
- spec/limelight/util/downloader_spec.rb
|
|
156
170
|
- spec/spec_helper.rb
|
|
157
|
-
- spec/stage_spec.rb
|
|
158
|
-
- spec/string_spec.rb
|
|
159
|
-
- spec/studio_spec.rb
|
|
160
|
-
- spec/styles_spec.rb
|
|
161
|
-
- spec/templates/production_templater_spec.rb
|
|
162
|
-
- spec/templates/scene_templater_spec.rb
|
|
163
|
-
- spec/templates/templater_logger_spec.rb
|
|
164
|
-
- spec/templates/templater_spec.rb
|
|
165
|
-
- spec/theater_spec.rb
|
|
166
|
-
- spec/util/downloader_spec.rb
|
|
167
171
|
- productions/examples
|
|
168
172
|
- productions/examples/8thlight.com
|
|
169
173
|
- productions/examples/8thlight.com/about
|
|
@@ -323,6 +327,11 @@ files:
|
|
|
323
327
|
- productions/examples/sandbox/spec
|
|
324
328
|
- productions/examples/sandbox/spec/alerts
|
|
325
329
|
- productions/examples/sandbox/spec/alerts/alerts_spec.rb
|
|
330
|
+
- productions/examples/sandbox/stage_handles
|
|
331
|
+
- productions/examples/sandbox/stage_handles/players
|
|
332
|
+
- productions/examples/sandbox/stage_handles/players/sizer.rb
|
|
333
|
+
- productions/examples/sandbox/stage_handles/props.rb
|
|
334
|
+
- productions/examples/sandbox/stage_handles/styles.rb
|
|
326
335
|
- productions/examples/sandbox/stages.rb
|
|
327
336
|
- productions/examples/sandbox/styles.rb
|
|
328
337
|
- productions/examples/sandbox/teaser
|
|
@@ -336,6 +345,7 @@ files:
|
|
|
336
345
|
- productions/examples/tutorials/tutorial_1/players/sample.rb
|
|
337
346
|
- productions/examples/tutorials/tutorial_1/props.rb
|
|
338
347
|
- productions/examples/tutorials/tutorial_1/styles.rb
|
|
348
|
+
- productions/playbills.lll
|
|
339
349
|
- productions/stage_composer
|
|
340
350
|
- productions/stage_composer/init.rb
|
|
341
351
|
- productions/stage_composer/inspector
|
|
@@ -405,24 +415,6 @@ rubyforge_project: limelight
|
|
|
405
415
|
rubygems_version: 1.3.1
|
|
406
416
|
signing_key:
|
|
407
417
|
specification_version: 2
|
|
408
|
-
summary: Limelight-0.
|
|
409
|
-
test_files:
|
|
410
|
-
|
|
411
|
-
- spec/data_spec.rb
|
|
412
|
-
- spec/file_chooser_spec.rb
|
|
413
|
-
- spec/file_filter_spec.rb
|
|
414
|
-
- spec/file_loader_spec.rb
|
|
415
|
-
- spec/gems_spec.rb
|
|
416
|
-
- spec/java_util_spec.rb
|
|
417
|
-
- spec/main_spec.rb
|
|
418
|
-
- spec/paint_action_spec.rb
|
|
419
|
-
- spec/pen_spec.rb
|
|
420
|
-
- spec/producer_spec.rb
|
|
421
|
-
- spec/production_spec.rb
|
|
422
|
-
- spec/prop_spec.rb
|
|
423
|
-
- spec/scene_spec.rb
|
|
424
|
-
- spec/stage_spec.rb
|
|
425
|
-
- spec/string_spec.rb
|
|
426
|
-
- spec/studio_spec.rb
|
|
427
|
-
- spec/styles_spec.rb
|
|
428
|
-
- spec/theater_spec.rb
|
|
418
|
+
summary: Limelight-0.5.0 - Limelight http://limelight.8thlight.com
|
|
419
|
+
test_files: []
|
|
420
|
+
|