airake 0.4.1 → 0.4.2
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/History.txt +4 -0
- data/Manifest.txt +12 -7
- data/README.txt +18 -54
- data/app_generators/airake/airake_generator.rb +1 -2
- data/app_generators/airake/templates/README +21 -50
- data/app_generators/shared/Rakefile +1 -0
- data/app_generators/shared/airake.yml +1 -0
- data/app_generators/shared/application.mxml +2 -4
- data/app_generators/shared/descriptor_1.xml +57 -0
- data/app_generators/shared/test/Test-app.xml +4 -20
- data/html/app_generators.html +42 -0
- data/html/component_generators.html +43 -0
- data/html/copy_to_rubyforge.sh +1 -0
- data/html/index.html +130 -0
- data/html/resources.html +51 -0
- data/html/screen.css +105 -0
- data/html/tasks.html +64 -0
- data/lib/airake/commands/acompc.rb +7 -6
- data/lib/airake/commands/adl.rb +6 -5
- data/lib/airake/commands/adt.rb +27 -25
- data/lib/airake/commands/asdoc.rb +7 -6
- data/lib/airake/commands/base.rb +7 -0
- data/lib/airake/commands/fcsh.rb +25 -0
- data/lib/airake/commands/flash_player.rb +34 -0
- data/lib/airake/commands/mxmlc.rb +9 -8
- data/lib/airake/project.rb +24 -17
- data/lib/airake/tasks/air.rake +13 -2
- data/lib/airake/version.rb +1 -1
- data/test/test_airake.rb +17 -15
- data/test/test_runner.rb +17 -0
- metadata +17 -14
- data/app_generators/browsair/USAGE +0 -5
- data/app_generators/browsair/browsair_generator.rb +0 -95
- data/app_generators/browsair/templates/README +0 -11
- data/app_generators/shared/icons/MouseRunnerDotComGraphicsLicense.txt +0 -15
- data/bin/browsair +0 -12
- data/test/test_browsair_generator.rb +0 -53
@@ -1,15 +0,0 @@
|
|
1
|
-
Thanks for downloading ColoCons. While I want you to enjoy these icons for free, I ask that you please abide by the terms that they are licensed under.
|
2
|
-
Enjoy and come back to MouseRunner.com for all free content and resources.
|
3
|
-
|
4
|
-
|
5
|
-
The graphics contained in these files are licensed under the Creative Commons Attribution-ShareAlike 2.5 License
|
6
|
-
|
7
|
-
Furthermore,
|
8
|
-
You may not claim the works as your own.
|
9
|
-
You must provide a link back to www.MouseRunner.com when using on a website, for commercial purposes, and for applications.
|
10
|
-
|
11
|
-
Visit the address below to learn more about the Creative Commons license.
|
12
|
-
http://creativecommons.org/licenses/by-nc-sa/2.5/legalcode
|
13
|
-
|
14
|
-
|
15
|
-
|
data/bin/browsair
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'rubigen'
|
3
|
-
|
4
|
-
if %w(-v --version).include? ARGV.first
|
5
|
-
require 'airake/version'
|
6
|
-
puts "#{File.basename($0)} #{Airake::VERSION::STRING}"
|
7
|
-
exit(0)
|
8
|
-
end
|
9
|
-
|
10
|
-
require 'rubigen/scripts/generate'
|
11
|
-
RubiGen::Base.use_application_sources! :air
|
12
|
-
RubiGen::Scripts::Generate.new.run(ARGV, :generator => 'browsair')
|
@@ -1,53 +0,0 @@
|
|
1
|
-
require File.join(File.dirname(__FILE__), "test_generator_helper.rb")
|
2
|
-
|
3
|
-
class TestBrowsairGenerator < Test::Unit::TestCase
|
4
|
-
include RubiGen::GeneratorTestHelper
|
5
|
-
|
6
|
-
def setup
|
7
|
-
bare_setup
|
8
|
-
end
|
9
|
-
|
10
|
-
def teardown
|
11
|
-
bare_teardown
|
12
|
-
end
|
13
|
-
|
14
|
-
# Some generator-related assertions:
|
15
|
-
# assert_generated_file(name, &block) # block passed the file contents
|
16
|
-
# assert_directory_exists(name)
|
17
|
-
# assert_generated_class(name, &block)
|
18
|
-
# assert_generated_module(name, &block)
|
19
|
-
# assert_generated_test_for(name, &block)
|
20
|
-
# The assert_generated_(class|module|test_for) &block is passed the body of the class/module within the file
|
21
|
-
# assert_has_method(body, *methods) # check that the body has a list of methods (methods with parentheses not supported yet)
|
22
|
-
#
|
23
|
-
# Other helper methods are:
|
24
|
-
# app_root_files - put this in teardown to show files generated by the test method (e.g. p app_root_files)
|
25
|
-
# bare_setup - place this in setup method to create the APP_ROOT folder for each test
|
26
|
-
# bare_teardown - place this in teardown method to destroy the TMP_ROOT or APP_ROOT folder after each test
|
27
|
-
|
28
|
-
def test_generator_with_options
|
29
|
-
run_generator('browsair', [ APP_ROOT, "http://reader.google.com" ], sources)
|
30
|
-
assert_generated_file "Rakefile"
|
31
|
-
assert_generated_file "README"
|
32
|
-
assert_directory_exists "bin"
|
33
|
-
assert_directory_exists "src"
|
34
|
-
assert_directory_exists "script"
|
35
|
-
assert_generated_file "script/generate"
|
36
|
-
assert_generated_file "script/destroy"
|
37
|
-
end
|
38
|
-
|
39
|
-
def test_generator_with_icon
|
40
|
-
icon_path = File.join(File.dirname(__FILE__), "..", "app_generators", "shared", "icons", "Web.png")
|
41
|
-
run_generator('browsair', [ APP_ROOT, "http://facebook.com", icon_path ], sources)
|
42
|
-
end
|
43
|
-
|
44
|
-
private
|
45
|
-
|
46
|
-
def sources
|
47
|
-
[ RubiGen::PathSource.new(:test, File.join(File.dirname(__FILE__), "..", generator_path)) ]
|
48
|
-
end
|
49
|
-
|
50
|
-
def generator_path
|
51
|
-
"app_generators"
|
52
|
-
end
|
53
|
-
end
|