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.
@@ -1,11 +0,0 @@
1
- == Browsair
2
-
3
- If you don't have a certificate you may need to run:
4
-
5
- rake air:certificate
6
-
7
- To create the AIR application
8
-
9
- rake air:package
10
-
11
- And then look in the bin directory.
@@ -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