helios 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +50 -21
- data/README.md +27 -2
- data/helios.gemspec +10 -6
- data/lib/helios.rb +10 -4
- data/lib/helios/backend.rb +29 -22
- data/lib/helios/backend/data.rb +10 -5
- data/lib/helios/backend/in-app-purchase.rb +4 -2
- data/lib/helios/backend/newsstand.rb +97 -0
- data/lib/helios/backend/passbook.rb +8 -2
- data/lib/helios/backend/push-notification.rb +25 -12
- data/lib/helios/commands/console.rb +4 -10
- data/lib/helios/commands/new.rb +0 -1
- data/lib/helios/commands/server.rb +4 -1
- data/lib/helios/frontend.rb +6 -14
- data/lib/helios/frontend/images/helios.svg +33 -0
- data/lib/helios/frontend/javascripts/helios.coffee +39 -3
- data/lib/helios/frontend/javascripts/helios/collections.coffee +10 -2
- data/lib/helios/frontend/javascripts/helios/models.coffee +4 -1
- data/lib/helios/frontend/javascripts/helios/router.coffee +13 -1
- data/lib/helios/frontend/javascripts/helios/views.coffee +82 -8
- data/lib/helios/frontend/javascripts/vendor/jquery/jquery.fileupload-ui.js +807 -0
- data/lib/helios/frontend/javascripts/vendor/jquery/jquery.fileupload.js +1201 -0
- data/lib/helios/frontend/javascripts/vendor/jquery/jquery.ui.widget.js +530 -0
- data/lib/helios/frontend/javascripts/vendor/linkheaders.js +117 -0
- data/lib/helios/frontend/stylesheets/_iphone.sass +1 -1
- data/lib/helios/frontend/stylesheets/screen.sass +2 -6
- data/lib/helios/frontend/templates/{entities.jst.tpl → data/entities.jst.tpl} +0 -0
- data/lib/helios/frontend/templates/{receipts.jst.tpl → in-app-purchase/receipts.jst.tpl} +0 -0
- data/lib/helios/frontend/templates/navigation.jst.tpl +31 -0
- data/lib/helios/frontend/templates/newsstand/issues.jst.tpl +16 -0
- data/lib/helios/frontend/templates/newsstand/new.jst.tpl +28 -0
- data/lib/helios/frontend/templates/{passes.jst.tpl → passbook/passes.jst.tpl} +0 -0
- data/lib/helios/frontend/templates/{compose.jst.tpl → push-notification/compose.jst.tpl} +0 -0
- data/lib/helios/frontend/templates/{devices.jst.tpl → push-notification/devices.jst.tpl} +0 -0
- data/lib/helios/frontend/views/index.haml +4 -28
- data/lib/helios/templates/.env.erb +1 -0
- data/lib/helios/templates/.gitignore +3 -0
- data/lib/helios/version.rb +1 -1
- metadata +86 -20
- data/lib/helios/frontend/stylesheets/_bariol.scss +0 -41
@@ -0,0 +1,117 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
@author Rowan Crawford (wombleton@gmail.com)
|
4
|
+
@version 0.3
|
5
|
+
@requires jQuery, $.uritemplate
|
6
|
+
@link http://github.com/wombleton/linkheaders
|
7
|
+
|
8
|
+
JavaScript parsing of linkheaders as per http://tools.ietf.org/html/draft-nottingham-http-link-header-10
|
9
|
+
|
10
|
+
Usage:
|
11
|
+
var linkHeader = '</collection/{itemId}>; rel="foo foz bar"; type="application/json", </fozzes/{fozId}>; rel="foz baz"; type="application/json"';
|
12
|
+
var links = $.linkheaders(linkHeader);
|
13
|
+
links.find('foo bar').href().expand({ itemId: 'xxx' }) => /collection/xxx
|
14
|
+
links.find(['foz']).href().expand({ itemId: 'xxx' }) => /collection/xxx
|
15
|
+
links.find('baz').rel() => 'foz baz'
|
16
|
+
links.find('foz').attr('type') => 'application/json
|
17
|
+
links.findAll('foz') => Array with two links
|
18
|
+
links.each(fn) => calls fn(i, link) on each link.
|
19
|
+
links.each('foo', fn) => calls fn(i, link) on each link that has rel 'foo'.
|
20
|
+
|
21
|
+
MIT License
|
22
|
+
|
23
|
+
*/
|
24
|
+
|
25
|
+
(function($, undefined) {
|
26
|
+
// taken from linkheader.grammer.min.js
|
27
|
+
// regenerate by using linkheaders.pegjs in http://pegjs.majda.cz
|
28
|
+
var parser=(function(){var a={parse:function(k){var h=0;var p=0;var g=[];var n={};function s(z,D,B){var y=z;var C=B-z.length;for(var A=0;A<C;A++){y=D+y}return y}function q(A){var z=A.charCodeAt(0);if(z<=255){var y="x";var B=2}else{var y="u";var B=4}return"\\"+y+s(z.toString(16).toUpperCase(),"0",B)}function t(y){return'"'+y.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\n/g,"\\n").replace(/[\x80-\uFFFF]/g,q)+'"'}function w(B,A){var z=B.length;for(var y=0;y<z;y++){if(B[y]===A){return true}}return false}function l(y){if(h<p){return}if(h>p){p=h;g=[]}if(!w(g,y)){g.push(y)}}function c(B){var D="links@"+h;var A=n[D];if(A){h=A.nextPos;return A.result}var y=v(B);if(y!==null){var z=[];while(y!==null){z.push(y);var y=v(B)}}else{var z=null}var C=z!==null?(function(F){var E=[],G;for(G=0;G<F.length;G++){E.push(F[G])}return E})(z):null;n[D]={nextPos:h,result:C};return C}function v(B){var I="link@"+h;var C=n[I];if(C){h=C.nextPos;return C.result}var J=h;var F=d(B);if(F!==null){var E=u(B);if(E!==null){var D=e(B);if(D!==null){if(k.substr(h,1)===","){var y=",";h+=1}else{var y=null;if(B.reportMatchFailures){l(t(","))}}var A=y!==null?y:"";if(A!==null){var z=u(B);if(z!==null){var G=[F,E,D,A,z]}else{var G=null;h=J}}else{var G=null;h=J}}else{var G=null;h=J}}else{var G=null;h=J}}else{var G=null;h=J}var H=G!==null?(function(L,K){var M=K;M.href=L;return M})(G[0],G[2]):null;n[I]={nextPos:h,result:H};return H}function d(y){var G="href@"+h;var A=n[G];if(A){h=A.nextPos;return A.result}var H=h;if(k.substr(h,1)==="<"){var D="<";h+=1}else{var D=null;if(y.reportMatchFailures){l(t("<"))}}if(D!==null){var C=f(y);if(C!==null){if(k.substr(h,1)===">"){var B=">";h+=1}else{var B=null;if(y.reportMatchFailures){l(t(">"))}}if(B!==null){if(k.substr(h,1)===";"){var z=";";h+=1}else{var z=null;if(y.reportMatchFailures){l(t(";"))}}if(z!==null){var E=[D,C,B,z]}else{var E=null;h=H}}else{var E=null;h=H}}else{var E=null;h=H}}else{var E=null;h=H}var F=E!==null?(function(I){return I})(E[1]):null;n[G]={nextPos:h,result:F};return F}function e(B){var D="attributes@"+h;var A=n[D];if(A){h=A.nextPos;return A.result}var y=m(B);if(y!==null){var z=[];while(y!==null){z.push(y);var y=m(B)}}else{var z=null}var C=z!==null?(function(E){var G={},F;for(F=0;F<E.length;F++){G[E[F].name]=E[F].value}return G})(z):null;n[D]={nextPos:h,result:C};return C}function m(A){var I="attribute@"+h;var C=n[I];if(C){h=C.nextPos;return C.result}var J=h;var F=i(A);if(F!==null){var E=u(A);if(E!==null){if(k.substr(h,1)==="="){var D="=";h+=1}else{var D=null;if(A.reportMatchFailures){l(t("="))}}if(D!==null){var B=u(A);if(B!==null){var z=r(A);if(z!==null){if(k.substr(h,1)===";"){var K=";";h+=1}else{var K=null;if(A.reportMatchFailures){l(t(";"))}}var y=K!==null?K:"";if(y!==null){var L=u(A);if(L!==null){var G=[F,E,D,B,z,y,L]}else{var G=null;h=J}}else{var G=null;h=J}}else{var G=null;h=J}}else{var G=null;h=J}}else{var G=null;h=J}}else{var G=null;h=J}}else{var G=null;h=J}var H=G!==null?(function(N,M){return{name:N,value:M}})(G[0],G[4]):null;n[I]={nextPos:h,result:H};return H}function i(B){var D="name@"+h;var A=n[D];if(A){h=A.nextPos;return A.result}if(k.substr(h).match(/^[a-zA-Z]/)!==null){var y=k.charAt(h);h++}else{var y=null;if(B.reportMatchFailures){l("[a-zA-Z]")}}if(y!==null){var z=[];while(y!==null){z.push(y);if(k.substr(h).match(/^[a-zA-Z]/)!==null){var y=k.charAt(h);h++}else{var y=null;if(B.reportMatchFailures){l("[a-zA-Z]")}}}}else{var z=null}var C=z!==null?(function(E){return E.join("")})(z):null;n[D]={nextPos:h,result:C};return C}function r(B){var I="value@"+h;var D=n[I];if(D){h=D.nextPos;return D.result}var J=h;if(k.substr(h).match(/^["]/)!==null){var z=k.charAt(h);h++}else{var z=null;if(B.reportMatchFailures){l('["]')}}if(z!==null){if(k.substr(h).match(/^[^"]/)!==null){var K=k.charAt(h);h++}else{var K=null;if(B.reportMatchFailures){l('[^"]')}}if(K!==null){var y=[];while(K!==null){y.push(K);if(k.substr(h).match(/^[^"]/)!==null){var K=k.charAt(h);h++}else{var K=null;if(B.reportMatchFailures){l('[^"]')}}}}else{var y=null}if(y!==null){if(k.substr(h).match(/^["]/)!==null){var L=k.charAt(h);h++}else{var L=null;if(B.reportMatchFailures){l('["]')}}if(L!==null){var A=[z,y,L]}else{var A=null;h=J}}else{var A=null;h=J}}else{var A=null;h=J}var C=A!==null?(function(M){return M.join("")})(A[1]):null;if(C!==null){var H=C}else{if(k.substr(h).match(/^[^";,]/)!==null){var E=k.charAt(h);h++}else{var E=null;if(B.reportMatchFailures){l('[^";,]')}}if(E!==null){var F=[];while(E!==null){F.push(E);if(k.substr(h).match(/^[^";,]/)!==null){var E=k.charAt(h);h++}else{var E=null;if(B.reportMatchFailures){l('[^";,]')}}}}else{var F=null}var G=F!==null?(function(M){return M.join("")})(F):null;if(G!==null){var H=G}else{var H=null}}n[I]={nextPos:h,result:H};return H}function f(B){var D="url@"+h;var A=n[D];if(A){h=A.nextPos;return A.result}if(k.substr(h).match(/^[^>]/)!==null){var y=k.charAt(h);h++}else{var y=null;if(B.reportMatchFailures){l("[^>]")}}if(y!==null){var z=[];while(y!==null){z.push(y);if(k.substr(h).match(/^[^>]/)!==null){var y=k.charAt(h);h++}else{var y=null;if(B.reportMatchFailures){l("[^>]")}}}}else{var z=null}var C=z!==null?(function(E){return E.join("")})(z):null;n[D]={nextPos:h,result:C};return C}function u(A){var C="ws@"+h;var z=n[C];if(z){h=z.nextPos;return z.result}var B=[];if(k.substr(h).match(/^[ ]/)!==null){var y=k.charAt(h);h++}else{var y=null;if(A.reportMatchFailures){l("[ ]")}}while(y!==null){B.push(y);if(k.substr(h).match(/^[ ]/)!==null){var y=k.charAt(h);h++}else{var y=null;if(A.reportMatchFailures){l("[ ]")}}}n[C]={nextPos:h,result:B};return B}function b(){function A(C){switch(C.length){case 0:return"end of input";case 1:return C[0];default:C.sort();return C.slice(0,C.length-1).join(", ")+" or "+C[C.length-1]}}var z=A(g);var y=Math.max(h,p);var B=y<k.length?t(k.charAt(y)):"end of input";return"Expected "+z+" but "+B+" found."}function x(){var y=1;var B=1;var C=false;for(var z=0;z<p;z++){var A=k.charAt(z);if(A==="\n"){if(!C){y++}B=1;C=false}else{if(A==="\r"|A==="\u2028"||A==="\u2029"){y++;B=1;C=true}else{B++;C=false}}}return{line:y,column:B}}var j=c({reportMatchFailures:true});if(j===null||h!==k.length){var o=x();throw new this.SyntaxError(b(),o.line,o.column)}return j},toSource:function(){return this._source}};a.SyntaxError=function(d,b,c){this.name="SyntaxError";this.message=d;this.line=b;this.column=c};a.SyntaxError.prototype=Error.prototype;return a})();
|
29
|
+
|
30
|
+
function Link(attrs) {
|
31
|
+
var href,
|
32
|
+
rels = [];
|
33
|
+
|
34
|
+
href = attrs.href;
|
35
|
+
rels = (attrs.rel || '').split(' ');
|
36
|
+
|
37
|
+
return {
|
38
|
+
attr: function(key) {
|
39
|
+
return attrs[key] || '';
|
40
|
+
},
|
41
|
+
resolve: function(obj) {
|
42
|
+
return this.template().expand(obj);
|
43
|
+
},
|
44
|
+
template: function() {
|
45
|
+
return $.uritemplate(href);
|
46
|
+
},
|
47
|
+
rels: function() {
|
48
|
+
return rels;
|
49
|
+
},
|
50
|
+
match: function(matches) {
|
51
|
+
matches = $.isArray(matches) ? matches : matches.split(' ');
|
52
|
+
|
53
|
+
for (var i = 0; i < matches.length; i++) {
|
54
|
+
var match = matches[i];
|
55
|
+
if ($.inArray(match, rels) < 0) {
|
56
|
+
return false;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
return true;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
|
64
|
+
function Links(header) {
|
65
|
+
var i,
|
66
|
+
parsed,
|
67
|
+
links = [];
|
68
|
+
|
69
|
+
try {
|
70
|
+
parsed = parser.parse(header);
|
71
|
+
} catch(e) { /* do nothing */ }
|
72
|
+
|
73
|
+
for (i = 0; parsed && i < parsed.length; i++) {
|
74
|
+
links.push(new Link(parsed[i]));
|
75
|
+
}
|
76
|
+
|
77
|
+
function find(rels) {
|
78
|
+
var links = findAll(rels);
|
79
|
+
return links.length ? links[0] : null;
|
80
|
+
}
|
81
|
+
|
82
|
+
function findAll(rels) {
|
83
|
+
var i,
|
84
|
+
link,
|
85
|
+
result = [];
|
86
|
+
|
87
|
+
for (i = 0; i < links.length; i++) {
|
88
|
+
link = links[i];
|
89
|
+
if (!rels || link.match(rels)) {
|
90
|
+
result.push(link);
|
91
|
+
}
|
92
|
+
}
|
93
|
+
return result;
|
94
|
+
}
|
95
|
+
|
96
|
+
return {
|
97
|
+
each: function(rels, fn) {
|
98
|
+
if ($.isFunction(rels)) {
|
99
|
+
fn = rels;
|
100
|
+
rels = undefined;
|
101
|
+
}
|
102
|
+
$.each(findAll(rels), fn);
|
103
|
+
},
|
104
|
+
find: find,
|
105
|
+
findAll: findAll
|
106
|
+
}
|
107
|
+
}
|
108
|
+
|
109
|
+
function linkheaders(header) {
|
110
|
+
return new Links(header);
|
111
|
+
}
|
112
|
+
|
113
|
+
$.extend({
|
114
|
+
linkheaders: linkheaders
|
115
|
+
})
|
116
|
+
|
117
|
+
})(jQuery);
|
@@ -120,7 +120,7 @@ figure.iphone
|
|
120
120
|
height: 44px
|
121
121
|
-webkit-border-radius: 10px
|
122
122
|
border-radius: 10px
|
123
|
-
background-image: url(
|
123
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAYCAYAAAB0kZQKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAASJJREFUeNpi7OnpYaAC0AXiF0D8mhzNTAzUASBHnAdim4F0BAhIA/EBIC4aSEeAADMQ9wLxRiDmHyhHwIAfNHqMiXZEcXExGJMCiNCjCMTHgDiTkFmM////p4rXe3t78Rm0DIjTgfgLNkkWoGZQij7MQFsQBY2aICC+Rq80gQ2oA/EZIE4YSEeAACcQzwfimVD2gDgCBtKgiVZlIB0BAgbQbBwykI5A5I4BtPsaNLfcHKiQWADEJiAHDERIfAfiLKgjBiQ67kCD/zK2NAFqjMyi0AJQVnPCI78GiBNxFttQF6ZToVjG5ohfoLoOiKcMVO54BA3+swPVntgKxIbEOIAWjvgLxJVA7APE7waisHoKxBFAfGSgSszL0MLnBTmaAQIMAKg/OsrT7JG8AAAAAElFTkSuQmCC), -webkit-gradient(linear, left top, left bottom, color-stop(0, #fefefe), color-stop(0.49, #dddddd), color-stop(0.51, #d1d1d1), color-stop(1, #a1a1a1))
|
124
124
|
background-repeat: no-repeat
|
125
125
|
background-position: 50%
|
126
126
|
|
@@ -1,9 +1,6 @@
|
|
1
1
|
@import "compass"
|
2
2
|
+global-reset
|
3
3
|
|
4
|
-
@mixin bariol-font-stack
|
5
|
-
font-family: "Bariol", "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif
|
6
|
-
|
7
4
|
@mixin helvetica-font-stack
|
8
5
|
font-family: "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif
|
9
6
|
|
@@ -11,7 +8,6 @@
|
|
11
8
|
font-family: "Meslo", Menlo, Monaco, monospace
|
12
9
|
|
13
10
|
@import "./settings"
|
14
|
-
@import "./bariol"
|
15
11
|
@import "./fonts"
|
16
12
|
@import "./iphone"
|
17
13
|
@import "./codemirror"
|
@@ -31,7 +27,7 @@ body
|
|
31
27
|
+grid-row($behavior: nest-collapse)
|
32
28
|
|
33
29
|
#logo
|
34
|
-
+
|
30
|
+
+helvetica-font-stack
|
35
31
|
font-weight: 700
|
36
32
|
text-align: left
|
37
33
|
+grid-column(2, $float: left)
|
@@ -54,7 +50,7 @@ body
|
|
54
50
|
a
|
55
51
|
display: block
|
56
52
|
text-align: left
|
57
|
-
padding: 1em
|
53
|
+
padding: 1em 0.5em 2em 0.6em
|
58
54
|
height: 2em
|
59
55
|
|
60
56
|
i
|
File without changes
|
File without changes
|
@@ -0,0 +1,31 @@
|
|
1
|
+
<ul class="button-group">
|
2
|
+
<% if(Helios.services['data']) { %>
|
3
|
+
<li class="button">
|
4
|
+
<a href="#data"><i class="data"/> Data</a>
|
5
|
+
</li>
|
6
|
+
<% } %>
|
7
|
+
|
8
|
+
<% if(Helios.services['push-notification']) { %>
|
9
|
+
<li class="button">
|
10
|
+
<a href="#push-notification"><i class="push-notification"/> Push Notification</a>
|
11
|
+
</li>
|
12
|
+
<% } %>
|
13
|
+
|
14
|
+
<% if(Helios.services['in-app-purchase']) { %>
|
15
|
+
<li class="button">
|
16
|
+
<a href="#in-app-purchase"><i class="in-app-purchase"/> In-App Purchase</a>
|
17
|
+
</li>
|
18
|
+
<% } %>
|
19
|
+
|
20
|
+
<% if(Helios.services['passbook']) { %>
|
21
|
+
<li class="button">
|
22
|
+
<a href="#passbook"><i class="passbook"/> Passbook</a>
|
23
|
+
</li>
|
24
|
+
<% } %>
|
25
|
+
|
26
|
+
<% if(Helios.services['newsstand']) { %>
|
27
|
+
<li class="button">
|
28
|
+
<a href="#newsstand"><i class="data"/> Newsstand</a>
|
29
|
+
</li>
|
30
|
+
<% } %>
|
31
|
+
</ul>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<div class="auxiliary">
|
2
|
+
<h2>Issues</h2>
|
3
|
+
|
4
|
+
<form class="filter">
|
5
|
+
<input type="text" placeholder="Filter Issues..." value=""/>
|
6
|
+
</form>
|
7
|
+
|
8
|
+
<button class="button" data-reveal-id="new-issue-modal">Create</button>
|
9
|
+
|
10
|
+
</div>
|
11
|
+
|
12
|
+
<div class="master">
|
13
|
+
<div id="datagrid"></div>
|
14
|
+
</div>
|
15
|
+
|
16
|
+
<div id="new-issue-modal" class="reveal-modal"></div>
|
@@ -0,0 +1,28 @@
|
|
1
|
+
<h1>New Issue</h1>
|
2
|
+
|
3
|
+
<form id="new" action="<%= Helios.services['newsstand']%>/issues" method="post" enctype="multipart/form-data">
|
4
|
+
<ol>
|
5
|
+
<li>
|
6
|
+
<label>Name</lable>
|
7
|
+
<input type="text" name="name"/>
|
8
|
+
</li>
|
9
|
+
<li>
|
10
|
+
<label>Summary</lable>
|
11
|
+
<textarea name="summary"/>
|
12
|
+
</li>
|
13
|
+
<li>
|
14
|
+
<label>Covers</lable>
|
15
|
+
<input type="file" name="covers[]" multiple/>
|
16
|
+
</li>
|
17
|
+
<li>
|
18
|
+
<label>Assets</lable>
|
19
|
+
<input type="file" name="assets[]" multiple/>
|
20
|
+
</li>
|
21
|
+
<li>
|
22
|
+
<label>Published</lable>
|
23
|
+
<input type="datetime-local" name="published_at"/>
|
24
|
+
</li>
|
25
|
+
</ol>
|
26
|
+
|
27
|
+
<button id="create" type="button">Create</button>
|
28
|
+
</form>
|
File without changes
|
File without changes
|
File without changes
|
@@ -3,44 +3,20 @@
|
|
3
3
|
%head
|
4
4
|
%meta{charset: "utf-8"}
|
5
5
|
%meta{:'http-equiv' => "X-UA-Compatible", content: "IE=edge,chrome=1"}
|
6
|
+
%meta{name: "generator", content: "Helios #{Helios::VERSION}"}
|
6
7
|
%title Helios
|
7
8
|
%link{rel: "license", href: "http://opensource.org/licenses/MIT", :title => "MIT License"}
|
8
|
-
%link{rel: "
|
9
|
+
%link{rel: "shortcut icon", href: "data:image/x-icon;,", type: "image/x-icon"}
|
9
10
|
= css :application
|
10
11
|
|
11
12
|
%body{role: 'application', data: {version: Helios::VERSION}}
|
12
13
|
%header{role: 'banner'}
|
13
14
|
%h1#logo
|
14
|
-
%a{href: ''}
|
15
|
+
%a{href: ''}
|
16
|
+
%img{src: 'images/helios.svg'}
|
15
17
|
|
16
18
|
%nav{role: 'navigation'}
|
17
|
-
%ul.button-group
|
18
|
-
%li.button
|
19
|
-
%a{href: "#data"}
|
20
|
-
%i.data
|
21
|
-
Data
|
22
|
-
%li.button
|
23
|
-
%a{href: "#push-notification"}
|
24
|
-
%i.push-notification
|
25
|
-
Push Notification
|
26
|
-
|
27
|
-
%li.button
|
28
|
-
%a{href: "#in-app-purchase"}
|
29
|
-
%i.in-app-purchase
|
30
|
-
In-App Purchase
|
31
|
-
|
32
|
-
%li.button
|
33
|
-
%a{href: "#passbook"}
|
34
|
-
%i.passbook
|
35
|
-
Passbook
|
36
|
-
|
37
|
-
|
38
|
-
|
39
19
|
|
40
20
|
%div{role: 'main'}
|
41
21
|
|
42
|
-
/ %footer
|
43
|
-
/ %p= "Helios #{Helios::VERSION}"
|
44
|
-
|
45
|
-
|
46
22
|
= js :application
|
@@ -0,0 +1 @@
|
|
1
|
+
DATABASE_URL=postgres://localhost/<%= app_name %>
|
data/lib/helios/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: helios
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mattt Thompson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: commander
|
@@ -53,35 +53,35 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '1.1'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name: rack-
|
56
|
+
name: rack-push-notification
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '0.
|
61
|
+
version: '0.4'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - ~>
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '0.
|
68
|
+
version: '0.4'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name: rack-
|
70
|
+
name: rack-in-app-purchase
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ~>
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '0.
|
75
|
+
version: '0.1'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - ~>
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '0.
|
82
|
+
version: '0.1'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name: rack-
|
84
|
+
name: rack-passbook
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ~>
|
@@ -95,7 +95,7 @@ dependencies:
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0.1'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name: rack-
|
98
|
+
name: rack-newsstand
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - ~>
|
@@ -108,6 +108,34 @@ dependencies:
|
|
108
108
|
- - ~>
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0.1'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rack-scaffold
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ! '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: core_data
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ! '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ! '>='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
111
139
|
- !ruby/object:Gem::Dependency
|
112
140
|
name: json
|
113
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -170,28 +198,28 @@ dependencies:
|
|
170
198
|
requirements:
|
171
199
|
- - ~>
|
172
200
|
- !ruby/object:Gem::Version
|
173
|
-
version: 0.
|
201
|
+
version: 0.2.2
|
174
202
|
type: :runtime
|
175
203
|
prerelease: false
|
176
204
|
version_requirements: !ruby/object:Gem::Requirement
|
177
205
|
requirements:
|
178
206
|
- - ~>
|
179
207
|
- !ruby/object:Gem::Version
|
180
|
-
version: 0.
|
208
|
+
version: 0.2.2
|
181
209
|
- !ruby/object:Gem::Dependency
|
182
210
|
name: sinatra-backbone
|
183
211
|
requirement: !ruby/object:Gem::Requirement
|
184
212
|
requirements:
|
185
213
|
- - ~>
|
186
214
|
- !ruby/object:Gem::Version
|
187
|
-
version: 0.1.
|
215
|
+
version: 0.1.1
|
188
216
|
type: :runtime
|
189
217
|
prerelease: false
|
190
218
|
version_requirements: !ruby/object:Gem::Requirement
|
191
219
|
requirements:
|
192
220
|
- - ~>
|
193
221
|
- !ruby/object:Gem::Version
|
194
|
-
version: 0.1.
|
222
|
+
version: 0.1.1
|
195
223
|
- !ruby/object:Gem::Dependency
|
196
224
|
name: sinatra-param
|
197
225
|
requirement: !ruby/object:Gem::Requirement
|
@@ -276,6 +304,34 @@ dependencies:
|
|
276
304
|
- - ~>
|
277
305
|
- !ruby/object:Gem::Version
|
278
306
|
version: '1.0'
|
307
|
+
- !ruby/object:Gem::Dependency
|
308
|
+
name: fog
|
309
|
+
requirement: !ruby/object:Gem::Requirement
|
310
|
+
requirements:
|
311
|
+
- - ~>
|
312
|
+
- !ruby/object:Gem::Version
|
313
|
+
version: '1.10'
|
314
|
+
type: :runtime
|
315
|
+
prerelease: false
|
316
|
+
version_requirements: !ruby/object:Gem::Requirement
|
317
|
+
requirements:
|
318
|
+
- - ~>
|
319
|
+
- !ruby/object:Gem::Version
|
320
|
+
version: '1.10'
|
321
|
+
- !ruby/object:Gem::Dependency
|
322
|
+
name: houston
|
323
|
+
requirement: !ruby/object:Gem::Requirement
|
324
|
+
requirements:
|
325
|
+
- - ~>
|
326
|
+
- !ruby/object:Gem::Version
|
327
|
+
version: '0.2'
|
328
|
+
type: :runtime
|
329
|
+
prerelease: false
|
330
|
+
version_requirements: !ruby/object:Gem::Requirement
|
331
|
+
requirements:
|
332
|
+
- - ~>
|
333
|
+
- !ruby/object:Gem::Version
|
334
|
+
version: '0.2'
|
279
335
|
- !ruby/object:Gem::Dependency
|
280
336
|
name: rake
|
281
337
|
requirement: !ruby/object:Gem::Requirement
|
@@ -320,6 +376,7 @@ files:
|
|
320
376
|
- ./helios.gemspec
|
321
377
|
- ./lib/helios/backend/data.rb
|
322
378
|
- ./lib/helios/backend/in-app-purchase.rb
|
379
|
+
- ./lib/helios/backend/newsstand.rb
|
323
380
|
- ./lib/helios/backend/passbook.rb
|
324
381
|
- ./lib/helios/backend/push-notification.rb
|
325
382
|
- ./lib/helios/backend.rb
|
@@ -332,6 +389,7 @@ files:
|
|
332
389
|
- ./lib/helios/frontend/fonts/icons.ttf
|
333
390
|
- ./lib/helios/frontend/fonts/icons.woff
|
334
391
|
- ./lib/helios/frontend/images/bg.jpg
|
392
|
+
- ./lib/helios/frontend/images/helios.svg
|
335
393
|
- ./lib/helios/frontend/javascripts/helios/collections.coffee
|
336
394
|
- ./lib/helios/frontend/javascripts/helios/models.coffee
|
337
395
|
- ./lib/helios/frontend/javascripts/helios/router.coffee
|
@@ -357,19 +415,25 @@ files:
|
|
357
415
|
- ./lib/helios/frontend/javascripts/vendor/foundation/foundation.tooltips.js
|
358
416
|
- ./lib/helios/frontend/javascripts/vendor/foundation/foundation.topbar.js
|
359
417
|
- ./lib/helios/frontend/javascripts/vendor/foundation.js
|
418
|
+
- ./lib/helios/frontend/javascripts/vendor/jquery/jquery.fileupload-ui.js
|
419
|
+
- ./lib/helios/frontend/javascripts/vendor/jquery/jquery.fileupload.js
|
420
|
+
- ./lib/helios/frontend/javascripts/vendor/jquery/jquery.ui.widget.js
|
360
421
|
- ./lib/helios/frontend/javascripts/vendor/jquery.js
|
422
|
+
- ./lib/helios/frontend/javascripts/vendor/linkheaders.js
|
361
423
|
- ./lib/helios/frontend/javascripts/vendor/underscore.js
|
362
|
-
- ./lib/helios/frontend/stylesheets/_bariol.scss
|
363
424
|
- ./lib/helios/frontend/stylesheets/_codemirror.sass
|
364
425
|
- ./lib/helios/frontend/stylesheets/_fonts.sass
|
365
426
|
- ./lib/helios/frontend/stylesheets/_iphone.sass
|
366
427
|
- ./lib/helios/frontend/stylesheets/_settings.scss
|
367
428
|
- ./lib/helios/frontend/stylesheets/screen.sass
|
368
|
-
- ./lib/helios/frontend/templates/
|
369
|
-
- ./lib/helios/frontend/templates/
|
370
|
-
- ./lib/helios/frontend/templates/
|
371
|
-
- ./lib/helios/frontend/templates/
|
372
|
-
- ./lib/helios/frontend/templates/
|
429
|
+
- ./lib/helios/frontend/templates/data/entities.jst.tpl
|
430
|
+
- ./lib/helios/frontend/templates/in-app-purchase/receipts.jst.tpl
|
431
|
+
- ./lib/helios/frontend/templates/navigation.jst.tpl
|
432
|
+
- ./lib/helios/frontend/templates/newsstand/issues.jst.tpl
|
433
|
+
- ./lib/helios/frontend/templates/newsstand/new.jst.tpl
|
434
|
+
- ./lib/helios/frontend/templates/passbook/passes.jst.tpl
|
435
|
+
- ./lib/helios/frontend/templates/push-notification/compose.jst.tpl
|
436
|
+
- ./lib/helios/frontend/templates/push-notification/devices.jst.tpl
|
373
437
|
- ./lib/helios/frontend/views/index.haml
|
374
438
|
- ./lib/helios/frontend.rb
|
375
439
|
- ./lib/helios/templates/config.ru.erb
|
@@ -381,6 +445,8 @@ files:
|
|
381
445
|
- ./LICENSE
|
382
446
|
- ./Rakefile
|
383
447
|
- ./README.md
|
448
|
+
- ./lib/helios/templates/.env.erb
|
449
|
+
- ./lib/helios/templates/.gitignore
|
384
450
|
- bin/helios
|
385
451
|
homepage: http://helios.io
|
386
452
|
licenses:
|