tidyflash 0.9.8 → 0.9.9
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/Manifest
CHANGED
@@ -20,9 +20,9 @@ lib/tidy/version.rb
|
|
20
20
|
lib/tidy_project.rb
|
21
21
|
templates/eclipsify/eclipsify.rb
|
22
22
|
templates/project/Gemfile
|
23
|
+
templates/project/Rakefile
|
23
24
|
templates/project/config/templates/air.axml.erb
|
24
25
|
templates/project/project.rb
|
25
|
-
templates/project/rakefile.rb
|
26
26
|
templates/project/script/fcsh/rakefile.rb
|
27
27
|
templates/project/src/app/helpers/Colours.as
|
28
28
|
templates/project/src/app/helpers/Debug.as
|
data/lib/tidy/compile.rb
CHANGED
@@ -83,12 +83,14 @@ module Tidy
|
|
83
83
|
swf_url(args)
|
84
84
|
end
|
85
85
|
|
86
|
+
# TODO: introduce config file for things like this.
|
86
87
|
DEFAULT_PATHS = %w[src ~/.tidy/tidy-as3]
|
87
88
|
def self.parse_options(args)
|
88
89
|
options = DEFAULTS.dup()
|
89
90
|
options.each_pair do |k,v|
|
90
|
-
|
91
|
-
|
91
|
+
options[k] = args.delete(k) unless args[k].nil?
|
92
|
+
end
|
93
|
+
options.merge! args[:mxmlc] unless args[:mxmlc].nil?
|
92
94
|
paths = DEFAULT_PATHS
|
93
95
|
paths = args[:paths].concat(DEFAULT_PATHS) unless args[:paths].nil?
|
94
96
|
paths = paths.map{|path| "-source-path+=#{File.expand_path path}" }.join(" ")
|
data/lib/tidy/version.rb
CHANGED
@@ -15,8 +15,8 @@ task :test do |t|
|
|
15
15
|
end
|
16
16
|
|
17
17
|
desc 'Compile and run app'
|
18
|
-
task :app do
|
19
|
-
# replace Compile.air with Compile.swf to compile a swf file
|
18
|
+
task :app => 'library:images' do
|
19
|
+
# replace Compile.air with Compile.swf to compile a swf file
|
20
20
|
output = Tidy::Compile.air(:main=>'src/app/views/MainView.as',
|
21
21
|
:output=>"<%= @project_name.underscore %>",
|
22
22
|
:version=> "0.1",
|
@@ -28,10 +28,10 @@ package library.fonts {
|
|
28
28
|
// SAMPLE OF HOW TO EMBED A FONT WITH TWO WEIGHTS (normal and bold)
|
29
29
|
|
30
30
|
public static var BITSTREAM_VERA_SANS : String = "Bitstream Vera Sans";
|
31
|
-
[Embed(source="Vera.ttf", fontFamily="Bitstream Vera Sans",fontWeight="normal")]
|
31
|
+
[Embed(source="Vera.ttf", fontFamily="Bitstream Vera Sans",fontWeight="normal", embedAsCFF="false")]
|
32
32
|
private static var bitstream_vera_sans : Class;
|
33
33
|
|
34
|
-
[Embed(source="Vera-Bold.ttf", fontFamily="Bitstream Vera Sans",fontWeight="bold")]
|
34
|
+
[Embed(source="Vera-Bold.ttf", fontFamily="Bitstream Vera Sans",fontWeight="bold", embedAsCFF="false")]
|
35
35
|
private static var bitstream_vera_sans_bold : Class;
|
36
36
|
*/
|
37
37
|
|
data/tidyflash.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{tidyflash}
|
5
|
-
s.version = "0.9.
|
5
|
+
s.version = "0.9.9"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = [%q{Michael Forrest}]
|
9
|
-
s.date = %q{2011-
|
9
|
+
s.date = %q{2011-09-23}
|
10
10
|
s.description = %q{Tidy Flash - an ActionScript framework for people who love Ruby}
|
11
11
|
s.email = %q{mf@grimaceworks.com}
|
12
12
|
s.executables = [%q{tidyflash}, %q{tidyflash-server}]
|
13
13
|
s.extra_rdoc_files = [%q{README}, %q{bin/tidyflash}, %q{bin/tidyflash-server}, %q{lib/tidy/air_packager.rb}, %q{lib/tidy/axml.rb}, %q{lib/tidy/bwlimit.rb}, %q{lib/tidy/compile.rb}, %q{lib/tidy/demo_config.rb}, %q{lib/tidy/generate.rb}, %q{lib/tidy/server.rb}, %q{lib/tidy/template.rb}, %q{lib/tidy/template_binding.rb}, %q{lib/tidy/templates/demo_config.as.erb}, %q{lib/tidy/version.rb}, %q{lib/tidy_project.rb}]
|
14
|
-
s.files = [%q{Assets/TidyHome.ai}, %q{Gemfile}, %q{Gemfile.lock}, %q{Manifest}, %q{README}, %q{Rakefile}, %q{bin/tidyflash}, %q{bin/tidyflash-server}, %q{lib/tidy/air_packager.rb}, %q{lib/tidy/axml.rb}, %q{lib/tidy/bwlimit.rb}, %q{lib/tidy/compile.rb}, %q{lib/tidy/demo_config.rb}, %q{lib/tidy/generate.rb}, %q{lib/tidy/server.rb}, %q{lib/tidy/template.rb}, %q{lib/tidy/template_binding.rb}, %q{lib/tidy/templates/demo_config.as.erb}, %q{lib/tidy/version.rb}, %q{lib/tidy_project.rb}, %q{templates/eclipsify/eclipsify.rb}, %q{templates/project/Gemfile}, %q{templates/project/
|
14
|
+
s.files = [%q{Assets/TidyHome.ai}, %q{Gemfile}, %q{Gemfile.lock}, %q{Manifest}, %q{README}, %q{Rakefile}, %q{bin/tidyflash}, %q{bin/tidyflash-server}, %q{lib/tidy/air_packager.rb}, %q{lib/tidy/axml.rb}, %q{lib/tidy/bwlimit.rb}, %q{lib/tidy/compile.rb}, %q{lib/tidy/demo_config.rb}, %q{lib/tidy/generate.rb}, %q{lib/tidy/server.rb}, %q{lib/tidy/template.rb}, %q{lib/tidy/template_binding.rb}, %q{lib/tidy/templates/demo_config.as.erb}, %q{lib/tidy/version.rb}, %q{lib/tidy_project.rb}, %q{templates/eclipsify/eclipsify.rb}, %q{templates/project/Gemfile}, %q{templates/project/Rakefile}, %q{templates/project/config/templates/air.axml.erb}, %q{templates/project/project.rb}, %q{templates/project/script/fcsh/rakefile.rb}, %q{templates/project/src/app/helpers/Colours.as}, %q{templates/project/src/app/helpers/Debug.as}, %q{templates/project/src/app/helpers/Style.as}, %q{templates/project/src/app/helpers/Typography.as}, %q{templates/project/src/app/models/App.as}, %q{templates/project/src/app/models/FlashVars.as}, %q{templates/project/src/app/views/MainView.as}, %q{templates/project/src/app/views/PreloaderView.as}, %q{templates/project/src/app/views/ViewBase.as}, %q{templates/project/src/library/fonts/Fonts.as}, %q{templates/project/src/library/images/README.txt}, %q{templates/project/tasks/deploy.rake}, %q{templates/project/tasks/library.rake}, %q{templates/scaffold/bin/xml/__model.xml}, %q{templates/scaffold/scaffold.rb}, %q{templates/scaffold/src/models/__Model.as}, %q{templates/scaffold/src/views/__model/__ModelDetailView.as}, %q{templates/scaffold/src/views/__model/__ModelListItemView.as}, %q{templates/scaffold/src/views/__model/__ModelListView.as}, %q{templates/web/bin/index.html}, %q{templates/web/bin/js/swfobject.js}, %q{templates/web/web.rb}, %q{test/test_tidy_project.rb}, %q{tools/TidyHarness/bin/tidy_harness.axml}, %q{tools/TidyHarness/bin/tidy_harness.swf}, %q{tools/TidyHarness/config/templates/air.axml.erb}, %q{tools/TidyHarness/rakefile.rb}, %q{tools/TidyHarness/script/fcsh/rakefile.rb}, %q{tools/TidyHarness/src/app/helpers/Colours.as}, %q{tools/TidyHarness/src/app/helpers/Debug.as}, %q{tools/TidyHarness/src/app/helpers/Style.as}, %q{tools/TidyHarness/src/app/helpers/Typography.as}, %q{tools/TidyHarness/src/app/models/App.as}, %q{tools/TidyHarness/src/app/models/FlashVars.as}, %q{tools/TidyHarness/src/app/views/MainView.as}, %q{tools/TidyHarness/src/app/views/PreloaderView.as}, %q{tools/TidyHarness/src/app/views/ViewBase.as}, %q{tools/TidyHarness/src/assets/fonts/Fonts.as}, %q{tools/TidyHarness/tasks/assets.rb}, %q{tools/TidyHarness/tasks/deploy.rb}, %q{tidyflash.gemspec}]
|
15
15
|
s.homepage = %q{http://github.com/michaelforrest/tidy}
|
16
16
|
s.rdoc_options = [%q{--line-numbers}, %q{--inline-source}, %q{--title}, %q{Tidyflash}, %q{--main}, %q{README}]
|
17
17
|
s.require_paths = [%q{lib}]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tidyflash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-
|
12
|
+
date: 2011-09-23 00:00:00.000000000Z
|
13
13
|
dependencies: []
|
14
14
|
description: Tidy Flash - an ActionScript framework for people who love Ruby
|
15
15
|
email: mf@grimaceworks.com
|
@@ -56,9 +56,9 @@ files:
|
|
56
56
|
- lib/tidy_project.rb
|
57
57
|
- templates/eclipsify/eclipsify.rb
|
58
58
|
- templates/project/Gemfile
|
59
|
+
- templates/project/Rakefile
|
59
60
|
- templates/project/config/templates/air.axml.erb
|
60
61
|
- templates/project/project.rb
|
61
|
-
- templates/project/rakefile.rb
|
62
62
|
- templates/project/script/fcsh/rakefile.rb
|
63
63
|
- templates/project/src/app/helpers/Colours.as
|
64
64
|
- templates/project/src/app/helpers/Debug.as
|