moonwalkair 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +21 -0
- data/LICENSE +20 -0
- data/README.rdoc +17 -0
- data/Rakefile +43 -0
- data/VERSION.yml +5 -0
- data/bin/moonwalk +5 -0
- data/lib/initializer.rb +40 -0
- data/lib/moonwalkair/generator/application.rb +36 -0
- data/lib/moonwalkair/generator/options.rb +47 -0
- data/lib/moonwalkair/generator.rb +125 -0
- data/lib/moonwalkair/templates/LICENSE +20 -0
- data/lib/moonwalkair/templates/README +7 -0
- data/lib/moonwalkair/templates/app/assets/css/jqtouch.css +373 -0
- data/lib/moonwalkair/templates/app/assets/css/theme.css +677 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/backButton.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/blueButton.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/cancel.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/chevron.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/grayButton.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/listArrowSel.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/listGroup.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/loading.gif +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/on_off.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/pinstripes.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/selection.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/thumb.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/toggle.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/toggleOn.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/toolButton.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/toolbar.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/apple/whiteButton.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/icons/128.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/icons/16.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/icons/32.png +0 -0
- data/lib/moonwalkair/templates/app/assets/images/icons/48.png +0 -0
- data/lib/moonwalkair/templates/app/lib/air/AIRAliases.js +233 -0
- data/lib/moonwalkair/templates/app/lib/air/AIRIntrospector.js +1949 -0
- data/lib/moonwalkair/templates/app/lib/air/AIRLocalizer.js +1325 -0
- data/lib/moonwalkair/templates/app/lib/air/AIRMenuBuilder.js +1322 -0
- data/lib/moonwalkair/templates/app/lib/air/AIRSourceViewer.js +2933 -0
- data/lib/moonwalkair/templates/app/lib/air/airglobal.abc +0 -0
- data/lib/moonwalkair/templates/app/lib/air/applicationupdater.swf +0 -0
- data/lib/moonwalkair/templates/app/lib/air/applicationupdater_ui.swf +0 -0
- data/lib/moonwalkair/templates/app/lib/air/servicemonitor.swf +0 -0
- data/lib/moonwalkair/templates/app/lib/jquery.js +4376 -0
- data/lib/moonwalkair/templates/app/lib/plugins/jqtouch/jqtouch.js +634 -0
- data/lib/moonwalkair/templates/app/lib/plugins/jqtouch/jqtouch.transitions.js +60 -0
- data/lib/moonwalkair/templates/app/views/index.html +19 -0
- data/lib/moonwalkair/templates/config/boot.rb +15 -0
- data/lib/moonwalkair/templates/config/build.yml +9 -0
- data/lib/moonwalkair/templates/config/config.yml +2 -0
- data/lib/moonwalkair/templates/config/update_config.xml +5 -0
- data/lib/moonwalkair/templates/descriptor.xml +122 -0
- data/lib/moonwalkair/templates/script/build +51 -0
- data/lib/moonwalkair/templates/script/certificate +26 -0
- data/lib/moonwalkair/templates/script/run +38 -0
- data/lib/moonwalkair.rb +15 -0
- data/moonwalkair.gemspec +108 -0
- data/spec/moonwalkair_spec.rb +7 -0
- data/spec/spec.opts +1 -0
- data/spec/spec_helper.rb +9 -0
- metadata +127 -0
@@ -0,0 +1,19 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8" />
|
5
|
+
<title>MoonwalkAIR beta</title>
|
6
|
+
<style type="text/css" media="screen">
|
7
|
+
@import "../assets/css/jqtouch.css";
|
8
|
+
@import "../assets/css/theme.css";
|
9
|
+
</style>
|
10
|
+
|
11
|
+
<script src="../lib/jquery.js" type="text/javascript" charset="utf-8" />
|
12
|
+
<script src="../lib/plugins/jqtouch/jqtouch.js" type="application/x-javascript" charset="utf-8" />
|
13
|
+
</head>
|
14
|
+
<body>
|
15
|
+
<div id="home">
|
16
|
+
<p>Wellcome!</p>
|
17
|
+
</div>
|
18
|
+
</body>
|
19
|
+
</html>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require "rubygems"
|
2
|
+
|
3
|
+
MOON_ROOT = "#{File.dirname(__FILE__)}/.." unless defined?(MOON_ROOT)
|
4
|
+
CONFIG = YAML.load_file(File.join(MOON_ROOT, 'config', 'config.yml'))
|
5
|
+
|
6
|
+
module MoonwalkAir
|
7
|
+
class << self
|
8
|
+
def boot!
|
9
|
+
gem 'moonwalkair'
|
10
|
+
require 'initializer'
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
MoonwalkAir.boot!
|
@@ -0,0 +1,122 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" ?>
|
2
|
+
<application xmlns="http://ns.adobe.com/air/application/1.5">
|
3
|
+
<!-- The application identifier string, unique to this application. Required. -->
|
4
|
+
<id><%= "com.#{project_name}" %></id>
|
5
|
+
|
6
|
+
<!-- Used as the filename for the application. Required. -->
|
7
|
+
<filename><%= project_name %></filename>
|
8
|
+
|
9
|
+
<!-- The name that is displayed in the AIR application installer.
|
10
|
+
May have multiple values for each language. See samples or xsd schema file. Optional. -->
|
11
|
+
<name><%= project_name %></name>
|
12
|
+
|
13
|
+
<!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
|
14
|
+
<version>0.1</version>
|
15
|
+
|
16
|
+
<!-- Description, displayed in the AIR application installer.
|
17
|
+
May have multiple values for each language. See samples or xsd schema file. Optional. -->
|
18
|
+
<description></description>
|
19
|
+
|
20
|
+
<!-- Copyright information. Optional -->
|
21
|
+
<copyright></copyright>
|
22
|
+
|
23
|
+
<!-- Settings for the application's initial window. Required. -->
|
24
|
+
<initialWindow>
|
25
|
+
<!-- The main SWF or HTML file of the application. Required. -->
|
26
|
+
<!-- Note: In Flash Builder, the SWF reference is set automatically. -->
|
27
|
+
<content>app/views/index.html</content>
|
28
|
+
|
29
|
+
<!-- The title of the main window. Optional. -->
|
30
|
+
<!-- <title></title> -->
|
31
|
+
|
32
|
+
<!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
|
33
|
+
<!-- <systemChrome></systemChrome> -->
|
34
|
+
|
35
|
+
<!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
|
36
|
+
<!-- <transparent></transparent> -->
|
37
|
+
|
38
|
+
<!-- Whether the window is initially visible. Optional. Default false. -->
|
39
|
+
<visible>true</visible>
|
40
|
+
|
41
|
+
<!-- Whether the user can minimize the window. Optional. Default true. -->
|
42
|
+
<!-- <minimizable></minimizable> -->
|
43
|
+
|
44
|
+
<!-- Whether the user can maximize the window. Optional. Default true. -->
|
45
|
+
<!-- <maximizable></maximizable> -->
|
46
|
+
|
47
|
+
<!-- Whether the user can resize the window. Optional. Default true. -->
|
48
|
+
<!-- <resizable></resizable> -->
|
49
|
+
|
50
|
+
<!-- The window's initial width. Optional. -->
|
51
|
+
<!-- <width></width> -->
|
52
|
+
|
53
|
+
<!-- The window's initial height. Optional. -->
|
54
|
+
<!-- <height></height> -->
|
55
|
+
|
56
|
+
<!-- The window's initial x position. Optional. -->
|
57
|
+
<!-- <x></x> -->
|
58
|
+
|
59
|
+
<!-- The window's initial y position. Optional. -->
|
60
|
+
<!-- <y></y> -->
|
61
|
+
|
62
|
+
<!-- The window's minimum size, specified as a width/height pair, such as "400 200". Optional. -->
|
63
|
+
<!-- <minSize></minSize> -->
|
64
|
+
|
65
|
+
<!-- The window's initial maximum size, specified as a width/height pair, such as "1600 1200". Optional. -->
|
66
|
+
<!-- <maxSize></maxSize> -->
|
67
|
+
</initialWindow>
|
68
|
+
|
69
|
+
<!-- The subpath of the standard default installation location to use. Optional. -->
|
70
|
+
<!-- <installFolder></installFolder> -->
|
71
|
+
|
72
|
+
<!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
|
73
|
+
<!-- <programMenuFolder></programMenuFolder> -->
|
74
|
+
|
75
|
+
<!-- The icon the system uses for the application. For at least one resolution,
|
76
|
+
specify the path to a PNG file included in the AIR package. Optional. -->
|
77
|
+
<icon>
|
78
|
+
<image16x16>app/assets/images/icons/16.png</image16x16>
|
79
|
+
<image32x32>app/assets/images/icons/32.png</image32x32>
|
80
|
+
<image48x48>app/assets/images/icons/48.png</image48x48>
|
81
|
+
<image128x128>app/assets/images/icons/128.png</image128x128>
|
82
|
+
</icon>
|
83
|
+
|
84
|
+
<!-- Whether the application handles the update when a user double-clicks an update version
|
85
|
+
of the AIR file (true), or the default AIR application installer handles the update (false).
|
86
|
+
Optional. Default false. -->
|
87
|
+
<!-- <customUpdateUI></customUpdateUI> -->
|
88
|
+
|
89
|
+
<!-- Whether the application can be launched when the user clicks a link in a web browser.
|
90
|
+
Optional. Default false. -->
|
91
|
+
<!-- <allowBrowserInvocation></allowBrowserInvocation> -->
|
92
|
+
|
93
|
+
<!-- Listing of file types for which the application can register. Optional. -->
|
94
|
+
<!-- <fileTypes> -->
|
95
|
+
|
96
|
+
<!-- Defines one file type. Optional. -->
|
97
|
+
<!-- <fileType> -->
|
98
|
+
|
99
|
+
<!-- The name that the system displays for the registered file type. Required. -->
|
100
|
+
<!-- <name></name> -->
|
101
|
+
|
102
|
+
<!-- The extension to register. Required. -->
|
103
|
+
<!-- <extension></extension> -->
|
104
|
+
|
105
|
+
<!-- The description of the file type. Optional. -->
|
106
|
+
<!-- <description></description> -->
|
107
|
+
|
108
|
+
<!-- The MIME content type. -->
|
109
|
+
<!-- <contentType></contentType> -->
|
110
|
+
|
111
|
+
<!-- The icon to display for the file type. Optional. -->
|
112
|
+
<!-- <icon>
|
113
|
+
<image16x16></image16x16>
|
114
|
+
<image32x32></image32x32>
|
115
|
+
<image48x48></image48x48>
|
116
|
+
<image128x128></image128x128>
|
117
|
+
</icon> -->
|
118
|
+
|
119
|
+
<!-- </fileType> -->
|
120
|
+
<!-- </fileTypes> -->
|
121
|
+
|
122
|
+
</application>
|
@@ -0,0 +1,51 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require "rubygems"
|
3
|
+
require 'tempfile'
|
4
|
+
require "yui/compressor"
|
5
|
+
require "optparse"
|
6
|
+
require "#{File.dirname(__FILE__)}/../config/boot"
|
7
|
+
|
8
|
+
class AirFile
|
9
|
+
class << self
|
10
|
+
def copy_to_tmp
|
11
|
+
FileUtils.rm_r Dir.glob(MoonwalkAir.tmp)
|
12
|
+
FileUtils.mkdir(MoonwalkAir.tmp)
|
13
|
+
FileUtils.cp("#{MoonwalkAir.root}/descriptor.xml", "#{MoonwalkAir.tmp}" )
|
14
|
+
build_files = YAML.load_file("#{MoonwalkAir.config}/build.yml")["build_files"]
|
15
|
+
build_files.each do |f|
|
16
|
+
FileUtils.mkdir_p("#{MoonwalkAir.tmp}/#{File.dirname(f)}")
|
17
|
+
FileUtils.cp_r(File.expand_path(f), "#{MoonwalkAir.tmp}/#{f}")
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
def compress(path)
|
22
|
+
yui = YUI::JavaScriptCompressor.new(:munge => true)
|
23
|
+
Dir.glob("#{path}/**/*") do |file|
|
24
|
+
compressed = File.open(file, 'r') { | f | yui.compress(f.read) }
|
25
|
+
File.open(file, 'w+') { |f| f.puts compressed }
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
def build!
|
30
|
+
puts "copying files to tmp folder"
|
31
|
+
copy_to_tmp
|
32
|
+
|
33
|
+
puts "compressing and obfuscating files"
|
34
|
+
compress("#{MoonwalkAir.tmp}/app/scripts")
|
35
|
+
|
36
|
+
system "cd tmp && #{MoonwalkAir.air_bin}/adt -package -storetype pkcs12 -keystore #{MoonwalkAir.config}/cert.pfx #{MoonwalkAir.bin}/#{MoonwalkAir.app_name}.air descriptor.xml ."
|
37
|
+
|
38
|
+
puts "cleaning tmp folder"
|
39
|
+
FileUtils.rm_r Dir.glob("#{MoonwalkAir.tmp}/*")
|
40
|
+
puts "=========================="
|
41
|
+
puts "Finished build process"
|
42
|
+
rescue => ex
|
43
|
+
puts "=========================="
|
44
|
+
puts "An error happen when try to build #{MoonwalkAir.app_name}.air file"
|
45
|
+
puts "error: #{ex.message}"
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
end
|
50
|
+
|
51
|
+
AirFile.build!
|
@@ -0,0 +1,26 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require "#{File.dirname(__FILE__)}/../config/boot"
|
3
|
+
require 'optparse'
|
4
|
+
|
5
|
+
# This hash will hold all of the options
|
6
|
+
options = {}
|
7
|
+
|
8
|
+
optparse = OptionParser.new do|opts|
|
9
|
+
opts.banner = "Generate a self signed certifcate for development purpose or not signed apps. \n"
|
10
|
+
opts.banner += "Usage: script/certificate -p xyz"
|
11
|
+
|
12
|
+
options[:password] = nil
|
13
|
+
opts.on( '-p', '--password PASSWORD', 'Your secret PASSWORD for cert' ) do |password|
|
14
|
+
options[:password] = password
|
15
|
+
end
|
16
|
+
|
17
|
+
# help screen
|
18
|
+
opts.on( '-h', '--help', 'Help screen' ) do
|
19
|
+
puts opts
|
20
|
+
exit
|
21
|
+
end
|
22
|
+
end
|
23
|
+
optparse.parse!
|
24
|
+
|
25
|
+
system "#{MoonwalkAir.air_bin}/adt -certificate -cn SelfSigned 1024-RSA #{MoonwalkAir.config}/cert.pfx #{options[:password]}"
|
26
|
+
puts "successfuly generated cert.pfx in config folder"
|
@@ -0,0 +1,38 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require "#{File.dirname(__FILE__)}/../config/boot"
|
3
|
+
require 'optparse'
|
4
|
+
|
5
|
+
# This hash will hold all of the options
|
6
|
+
options = {}
|
7
|
+
|
8
|
+
optparse = OptionParser.new do|opts|
|
9
|
+
opts.banner = "Run the app with Adobe Debuger Launcher. \n"
|
10
|
+
opts.banner += "Usage: script/run [--pubid publisher-id] [--nodebug] [--arguments]"
|
11
|
+
|
12
|
+
opts.on( '-p', '--pubid [pubid]', 'Publisher ID' ) do |pubid|
|
13
|
+
options[:pubid] = pubid
|
14
|
+
end
|
15
|
+
|
16
|
+
opts.on( '-n', '--nodebug [nodebug]', 'Disable degub options' ) do |nodebug|
|
17
|
+
options[:nodebug] = true if nodebug
|
18
|
+
end
|
19
|
+
|
20
|
+
opts.on( '-a', '--arguments [arguments]', 'Arguments for the app' ) do |args|
|
21
|
+
options[:arguments] = args
|
22
|
+
end
|
23
|
+
|
24
|
+
# help screen
|
25
|
+
opts.on( '-h', '--help', 'Help screen' ) do
|
26
|
+
puts opts
|
27
|
+
exit
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
optparse.parse!
|
32
|
+
|
33
|
+
cmd = "#{MoonwalkAir.air_bin}/adl"
|
34
|
+
cmd+= " -pubid #{options[:pubid]}" if options.include?(:pubid)
|
35
|
+
cmd+= " -nodebug" if options.include?(:nodebug)
|
36
|
+
cmd+= " #{MoonwalkAir.root}/descriptor.xml -- #{options[:arguments]}"
|
37
|
+
|
38
|
+
system cmd
|
data/lib/moonwalkair.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# The Moonwalkair helps you start and organize you HTML/JS based AIR app.
|
2
|
+
|
3
|
+
class Moonwalkair
|
4
|
+
require 'rubygems/user_interaction'
|
5
|
+
|
6
|
+
autoload :Generator, 'moonwalkair/generator'
|
7
|
+
|
8
|
+
attr_accessor :base_dir, :output
|
9
|
+
|
10
|
+
def initialize(base_dir = '.')
|
11
|
+
@base_dir = base_dir
|
12
|
+
end
|
13
|
+
|
14
|
+
end
|
15
|
+
|
data/moonwalkair.gemspec
ADDED
@@ -0,0 +1,108 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{moonwalkair}
|
8
|
+
s.version = "0.1.0"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Daniel Lopes"]
|
12
|
+
s.date = %q{2010-01-09}
|
13
|
+
s.default_executable = %q{moonwalk}
|
14
|
+
s.description = %q{Moonwalkair help you to start build your AIR app and make it walk in the right way. The gem let you start your development faster, creating the entire folder structure and many files that a AIR app depends}
|
15
|
+
s.email = %q{danielvlopes@gmail.com}
|
16
|
+
s.executables = ["moonwalk"]
|
17
|
+
s.extra_rdoc_files = [
|
18
|
+
"LICENSE",
|
19
|
+
"README.rdoc"
|
20
|
+
]
|
21
|
+
s.files = [
|
22
|
+
".document",
|
23
|
+
".gitignore",
|
24
|
+
"LICENSE",
|
25
|
+
"README.rdoc",
|
26
|
+
"Rakefile",
|
27
|
+
"VERSION.yml",
|
28
|
+
"bin/moonwalk",
|
29
|
+
"lib/initializer.rb",
|
30
|
+
"lib/moonwalkair.rb",
|
31
|
+
"lib/moonwalkair/generator.rb",
|
32
|
+
"lib/moonwalkair/generator/application.rb",
|
33
|
+
"lib/moonwalkair/generator/options.rb",
|
34
|
+
"lib/moonwalkair/templates/LICENSE",
|
35
|
+
"lib/moonwalkair/templates/README",
|
36
|
+
"lib/moonwalkair/templates/app/assets/css/jqtouch.css",
|
37
|
+
"lib/moonwalkair/templates/app/assets/css/theme.css",
|
38
|
+
"lib/moonwalkair/templates/app/assets/images/apple/backButton.png",
|
39
|
+
"lib/moonwalkair/templates/app/assets/images/apple/blueButton.png",
|
40
|
+
"lib/moonwalkair/templates/app/assets/images/apple/cancel.png",
|
41
|
+
"lib/moonwalkair/templates/app/assets/images/apple/chevron.png",
|
42
|
+
"lib/moonwalkair/templates/app/assets/images/apple/grayButton.png",
|
43
|
+
"lib/moonwalkair/templates/app/assets/images/apple/listArrowSel.png",
|
44
|
+
"lib/moonwalkair/templates/app/assets/images/apple/listGroup.png",
|
45
|
+
"lib/moonwalkair/templates/app/assets/images/apple/loading.gif",
|
46
|
+
"lib/moonwalkair/templates/app/assets/images/apple/on_off.png",
|
47
|
+
"lib/moonwalkair/templates/app/assets/images/apple/pinstripes.png",
|
48
|
+
"lib/moonwalkair/templates/app/assets/images/apple/selection.png",
|
49
|
+
"lib/moonwalkair/templates/app/assets/images/apple/thumb.png",
|
50
|
+
"lib/moonwalkair/templates/app/assets/images/apple/toggle.png",
|
51
|
+
"lib/moonwalkair/templates/app/assets/images/apple/toggleOn.png",
|
52
|
+
"lib/moonwalkair/templates/app/assets/images/apple/toolButton.png",
|
53
|
+
"lib/moonwalkair/templates/app/assets/images/apple/toolbar.png",
|
54
|
+
"lib/moonwalkair/templates/app/assets/images/apple/whiteButton.png",
|
55
|
+
"lib/moonwalkair/templates/app/assets/images/icons/128.png",
|
56
|
+
"lib/moonwalkair/templates/app/assets/images/icons/16.png",
|
57
|
+
"lib/moonwalkair/templates/app/assets/images/icons/32.png",
|
58
|
+
"lib/moonwalkair/templates/app/assets/images/icons/48.png",
|
59
|
+
"lib/moonwalkair/templates/app/lib/air/AIRAliases.js",
|
60
|
+
"lib/moonwalkair/templates/app/lib/air/AIRIntrospector.js",
|
61
|
+
"lib/moonwalkair/templates/app/lib/air/AIRLocalizer.js",
|
62
|
+
"lib/moonwalkair/templates/app/lib/air/AIRMenuBuilder.js",
|
63
|
+
"lib/moonwalkair/templates/app/lib/air/AIRSourceViewer.js",
|
64
|
+
"lib/moonwalkair/templates/app/lib/air/airglobal.abc",
|
65
|
+
"lib/moonwalkair/templates/app/lib/air/applicationupdater.swf",
|
66
|
+
"lib/moonwalkair/templates/app/lib/air/applicationupdater_ui.swf",
|
67
|
+
"lib/moonwalkair/templates/app/lib/air/servicemonitor.swf",
|
68
|
+
"lib/moonwalkair/templates/app/lib/jquery.js",
|
69
|
+
"lib/moonwalkair/templates/app/lib/plugins/jqtouch/jqtouch.js",
|
70
|
+
"lib/moonwalkair/templates/app/lib/plugins/jqtouch/jqtouch.transitions.js",
|
71
|
+
"lib/moonwalkair/templates/app/views/index.html",
|
72
|
+
"lib/moonwalkair/templates/config/boot.rb",
|
73
|
+
"lib/moonwalkair/templates/config/build.yml",
|
74
|
+
"lib/moonwalkair/templates/config/config.yml",
|
75
|
+
"lib/moonwalkair/templates/config/update_config.xml",
|
76
|
+
"lib/moonwalkair/templates/descriptor.xml",
|
77
|
+
"lib/moonwalkair/templates/script/build",
|
78
|
+
"lib/moonwalkair/templates/script/certificate",
|
79
|
+
"lib/moonwalkair/templates/script/run",
|
80
|
+
"moonwalkair.gemspec",
|
81
|
+
"spec/moonwalkair_spec.rb",
|
82
|
+
"spec/spec.opts",
|
83
|
+
"spec/spec_helper.rb"
|
84
|
+
]
|
85
|
+
s.homepage = %q{http://github.com/danielvlopes/moonwalkair}
|
86
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
87
|
+
s.require_paths = ["lib"]
|
88
|
+
s.rubygems_version = %q{1.3.5}
|
89
|
+
s.summary = %q{Help you to get your AIR/JS app up and running}
|
90
|
+
s.test_files = [
|
91
|
+
"spec/moonwalkair_spec.rb",
|
92
|
+
"spec/spec_helper.rb"
|
93
|
+
]
|
94
|
+
|
95
|
+
if s.respond_to? :specification_version then
|
96
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
97
|
+
s.specification_version = 3
|
98
|
+
|
99
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
100
|
+
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
|
101
|
+
else
|
102
|
+
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
103
|
+
end
|
104
|
+
else
|
105
|
+
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
data/spec/spec.opts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--color
|
data/spec/spec_helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,127 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: moonwalkair
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Daniel Lopes
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2010-01-09 00:00:00 -02:00
|
13
|
+
default_executable: moonwalk
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: rspec
|
17
|
+
type: :development
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 1.2.9
|
24
|
+
version:
|
25
|
+
description: Moonwalkair help you to start build your AIR app and make it walk in the right way. The gem let you start your development faster, creating the entire folder structure and many files that a AIR app depends
|
26
|
+
email: danielvlopes@gmail.com
|
27
|
+
executables:
|
28
|
+
- moonwalk
|
29
|
+
extensions: []
|
30
|
+
|
31
|
+
extra_rdoc_files:
|
32
|
+
- LICENSE
|
33
|
+
- README.rdoc
|
34
|
+
files:
|
35
|
+
- .document
|
36
|
+
- .gitignore
|
37
|
+
- LICENSE
|
38
|
+
- README.rdoc
|
39
|
+
- Rakefile
|
40
|
+
- VERSION.yml
|
41
|
+
- bin/moonwalk
|
42
|
+
- lib/initializer.rb
|
43
|
+
- lib/moonwalkair.rb
|
44
|
+
- lib/moonwalkair/generator.rb
|
45
|
+
- lib/moonwalkair/generator/application.rb
|
46
|
+
- lib/moonwalkair/generator/options.rb
|
47
|
+
- lib/moonwalkair/templates/LICENSE
|
48
|
+
- lib/moonwalkair/templates/README
|
49
|
+
- lib/moonwalkair/templates/app/assets/css/jqtouch.css
|
50
|
+
- lib/moonwalkair/templates/app/assets/css/theme.css
|
51
|
+
- lib/moonwalkair/templates/app/assets/images/apple/backButton.png
|
52
|
+
- lib/moonwalkair/templates/app/assets/images/apple/blueButton.png
|
53
|
+
- lib/moonwalkair/templates/app/assets/images/apple/cancel.png
|
54
|
+
- lib/moonwalkair/templates/app/assets/images/apple/chevron.png
|
55
|
+
- lib/moonwalkair/templates/app/assets/images/apple/grayButton.png
|
56
|
+
- lib/moonwalkair/templates/app/assets/images/apple/listArrowSel.png
|
57
|
+
- lib/moonwalkair/templates/app/assets/images/apple/listGroup.png
|
58
|
+
- lib/moonwalkair/templates/app/assets/images/apple/loading.gif
|
59
|
+
- lib/moonwalkair/templates/app/assets/images/apple/on_off.png
|
60
|
+
- lib/moonwalkair/templates/app/assets/images/apple/pinstripes.png
|
61
|
+
- lib/moonwalkair/templates/app/assets/images/apple/selection.png
|
62
|
+
- lib/moonwalkair/templates/app/assets/images/apple/thumb.png
|
63
|
+
- lib/moonwalkair/templates/app/assets/images/apple/toggle.png
|
64
|
+
- lib/moonwalkair/templates/app/assets/images/apple/toggleOn.png
|
65
|
+
- lib/moonwalkair/templates/app/assets/images/apple/toolButton.png
|
66
|
+
- lib/moonwalkair/templates/app/assets/images/apple/toolbar.png
|
67
|
+
- lib/moonwalkair/templates/app/assets/images/apple/whiteButton.png
|
68
|
+
- lib/moonwalkair/templates/app/assets/images/icons/128.png
|
69
|
+
- lib/moonwalkair/templates/app/assets/images/icons/16.png
|
70
|
+
- lib/moonwalkair/templates/app/assets/images/icons/32.png
|
71
|
+
- lib/moonwalkair/templates/app/assets/images/icons/48.png
|
72
|
+
- lib/moonwalkair/templates/app/lib/air/AIRAliases.js
|
73
|
+
- lib/moonwalkair/templates/app/lib/air/AIRIntrospector.js
|
74
|
+
- lib/moonwalkair/templates/app/lib/air/AIRLocalizer.js
|
75
|
+
- lib/moonwalkair/templates/app/lib/air/AIRMenuBuilder.js
|
76
|
+
- lib/moonwalkair/templates/app/lib/air/AIRSourceViewer.js
|
77
|
+
- lib/moonwalkair/templates/app/lib/air/airglobal.abc
|
78
|
+
- lib/moonwalkair/templates/app/lib/air/applicationupdater.swf
|
79
|
+
- lib/moonwalkair/templates/app/lib/air/applicationupdater_ui.swf
|
80
|
+
- lib/moonwalkair/templates/app/lib/air/servicemonitor.swf
|
81
|
+
- lib/moonwalkair/templates/app/lib/jquery.js
|
82
|
+
- lib/moonwalkair/templates/app/lib/plugins/jqtouch/jqtouch.js
|
83
|
+
- lib/moonwalkair/templates/app/lib/plugins/jqtouch/jqtouch.transitions.js
|
84
|
+
- lib/moonwalkair/templates/app/views/index.html
|
85
|
+
- lib/moonwalkair/templates/config/boot.rb
|
86
|
+
- lib/moonwalkair/templates/config/build.yml
|
87
|
+
- lib/moonwalkair/templates/config/config.yml
|
88
|
+
- lib/moonwalkair/templates/config/update_config.xml
|
89
|
+
- lib/moonwalkair/templates/descriptor.xml
|
90
|
+
- lib/moonwalkair/templates/script/build
|
91
|
+
- lib/moonwalkair/templates/script/certificate
|
92
|
+
- lib/moonwalkair/templates/script/run
|
93
|
+
- moonwalkair.gemspec
|
94
|
+
- spec/moonwalkair_spec.rb
|
95
|
+
- spec/spec.opts
|
96
|
+
- spec/spec_helper.rb
|
97
|
+
has_rdoc: true
|
98
|
+
homepage: http://github.com/danielvlopes/moonwalkair
|
99
|
+
licenses: []
|
100
|
+
|
101
|
+
post_install_message:
|
102
|
+
rdoc_options:
|
103
|
+
- --charset=UTF-8
|
104
|
+
require_paths:
|
105
|
+
- lib
|
106
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: "0"
|
111
|
+
version:
|
112
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - ">="
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: "0"
|
117
|
+
version:
|
118
|
+
requirements: []
|
119
|
+
|
120
|
+
rubyforge_project:
|
121
|
+
rubygems_version: 1.3.5
|
122
|
+
signing_key:
|
123
|
+
specification_version: 3
|
124
|
+
summary: Help you to get your AIR/JS app up and running
|
125
|
+
test_files:
|
126
|
+
- spec/moonwalkair_spec.rb
|
127
|
+
- spec/spec_helper.rb
|