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 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.
@@ -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.
@@ -21,12 +21,18 @@
21
21
  }
22
22
  </style>
23
23
 
24
- <meta http-equiv="refresh" content="5;url=http://postmonk.com">
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
- macgap.growl.notify({title: "MacGap", content: "Hello World"});
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>
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "macgap"
6
- s.version = "0.0.1"
6
+ s.version = "0.0.2"
7
7
  s.authors = ["Alex MacCaw"]
8
8
  s.email = ["info@eribium.org"]
9
9
  s.homepage = "http://github.com/maccman/macgap-rb"
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.1
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-09 00:00:00.000000000Z
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