macgap 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +20 -0
- data/README.md +19 -0
- data/assets/MacGap.app/Contents/MacOS/MacGap +0 -0
- data/assets/MacGap.app/Contents/Resources/public/index.html +8 -2
- data/macgap.gemspec +1 -1
- metadata +4 -2
data/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2012 Alex MacCaw (info@eribium.org)
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# MacGap generator
|
2
|
+
|
3
|
+
MacGap is a lightweight WebKit wrapper for HTML apps, allowing you to distribute web applications as desktop apps.
|
4
|
+
|
5
|
+
For more information on MacGap, please see [its repository](http://github.com/maccman/macgap).
|
6
|
+
|
7
|
+
# Usage
|
8
|
+
|
9
|
+
gem install macgap
|
10
|
+
|
11
|
+
macgap macgap [options] DIR
|
12
|
+
|
13
|
+
For example:
|
14
|
+
|
15
|
+
macgap --name MyApp --output ./build ./public
|
16
|
+
|
17
|
+
This will build `MyApp.app` in the specified `build` dir.
|
18
|
+
|
19
|
+
The directory (`DIR`) you specify should contain a file called `index.html` which will be loaded when the application starts.
|
Binary file
|
@@ -21,12 +21,18 @@
|
|
21
21
|
}
|
22
22
|
</style>
|
23
23
|
|
24
|
-
<meta http-equiv="refresh" content="5;url=http://
|
24
|
+
<meta http-equiv="refresh" content="5;url=http://google.com">
|
25
25
|
</head>
|
26
26
|
<body>
|
27
27
|
|
28
28
|
<script type="text/javascript" charset="utf-8">
|
29
|
-
|
29
|
+
setTimeout(function(){
|
30
|
+
|
31
|
+
var lc = window.localStorage['blash'];
|
32
|
+
console.log(lc);
|
33
|
+
window.localStorage['blash'] = '1';
|
34
|
+
console.log(window.localStorage['blash']);
|
35
|
+
}, 500);
|
30
36
|
</script>
|
31
37
|
|
32
38
|
<h1>MacGap</h1>
|
data/macgap.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: macgap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
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: 2012-01-
|
12
|
+
date: 2012-01-10 00:00:00.000000000Z
|
13
13
|
dependencies: []
|
14
14
|
description: Command line utility for generating MacGap applications
|
15
15
|
email:
|
@@ -21,6 +21,8 @@ extra_rdoc_files: []
|
|
21
21
|
files:
|
22
22
|
- .gitignore
|
23
23
|
- Gemfile
|
24
|
+
- LICENSE
|
25
|
+
- README.md
|
24
26
|
- Rakefile
|
25
27
|
- assets/MacGap.app/Contents/Frameworks/Growl.framework/Growl
|
26
28
|
- assets/MacGap.app/Contents/Frameworks/Growl.framework/Versions/A/Growl
|