arcabouco 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +4 -0
- data/Rakefile +28 -0
- data/bin/arcabouco +24 -0
- data/lib/arcabouco/application.rb +17 -0
- data/lib/arcabouco/base.rb +20 -0
- data/lib/arcabouco/cmd.rb +53 -0
- data/lib/arcabouco/compass.rb +13 -0
- data/lib/arcabouco/server.rb +114 -0
- data/lib/arcabouco/version.rb +3 -0
- data/lib/arcabouco.rb +7 -0
- data/lib/assets/css/adaptative-mixins.sass +50 -0
- data/lib/assets/css/app.css +8 -0
- data/lib/assets/css/arcabouco-entry.sass +9 -0
- data/lib/assets/css/base.css +0 -0
- data/lib/assets/css/core.sass +13 -0
- data/lib/assets/css/mixins.sass +28 -0
- data/lib/assets/css/no-js.sass +16 -0
- data/lib/assets/css/reset.sass +199 -0
- data/lib/assets/js/app.js +7 -0
- data/lib/assets/js/config.js.coffee +0 -0
- data/lib/assets/js/core/boot.js.coffee +2 -0
- data/lib/assets/js/core/capabilities.js +211 -0
- data/lib/assets/js/core/debug.js.coffee +3 -0
- data/lib/assets/js/core/environment.js.coffee +14 -0
- data/lib/assets/js/templates.js +0 -0
- data/lib/assets/js/usecode.js +0 -0
- data/lib/assets/js/vendor/async.js +701 -0
- data/lib/assets/js/vendor/backbone.js +1608 -0
- data/lib/assets/js/vendor/handlebars.js +2746 -0
- data/lib/assets/js/vendor/jquery.js +9267 -0
- data/lib/assets/js/vendor/tasks.js.coffee +17 -0
- data/lib/assets/js/vendor/underscore.js +1343 -0
- data/lib/assets/js/vendor.js +7 -0
- data/lib/templates/index.haml +38 -0
- data/lib/templates/manifest.erb +13 -0
- metadata +331 -0
@@ -0,0 +1,38 @@
|
|
1
|
+
!!!
|
2
|
+
%html{ :class => "no-js not-ready", :manifest => :"/manifest.appcache" }
|
3
|
+
-# Set a base Title (From Partial maybe?)
|
4
|
+
%link{:href => "//iugu.com/imgs/favicon.ico", :rel => "icon"}/
|
5
|
+
%link{:href => "//iugu.com/imgs/favicon.ico", :rel => "shortcut icon"}/
|
6
|
+
%title ...
|
7
|
+
%meta{ :charset => "utf-8" }
|
8
|
+
|
9
|
+
%link{:rel => :stylesheet, :type => :"text/css", :href => "/app.assets/#{assets['app.css'].digest_path}" }
|
10
|
+
%script{:type => :"text/javascript", :src => "/app.assets/#{assets['vendor.js'].digest_path}"}
|
11
|
+
%script{:type => :"text/javascript", :src => "/app.assets/#{assets['app.js'].digest_path}"}
|
12
|
+
|
13
|
+
%meta{ :name => "viewport", :content => "width=device-width, initial-scale=1, maximum-scale=1" }
|
14
|
+
%meta{ :name => "apple-mobile-web-app-capable", :content => "yes" }
|
15
|
+
%meta{ :name => "apple-mobile-web-status-bar-style", :content => "black" }
|
16
|
+
%meta{ 'http-equiv' => 'cleartype', :content => 'on' }
|
17
|
+
%meta{ 'http-equiv' => 'X-UA-Compatible', :content => 'IE=edge,chrome=1' }
|
18
|
+
%meta{ :name => 'MobileOptimized', :content => '320' }
|
19
|
+
%body
|
20
|
+
|
21
|
+
%noscript
|
22
|
+
.js-warning
|
23
|
+
|
24
|
+
#app
|
25
|
+
%h1
|
26
|
+
Application Place Holder
|
27
|
+
|
28
|
+
-# Need to render additional footer
|
29
|
+
-# Google Tag Manager and footer additional scripts
|
30
|
+
-# Best to have a base_footer
|
31
|
+
|
32
|
+
%script
|
33
|
+
(function() { $(function() {
|
34
|
+
if (typeof(run_webapp) == 'function')
|
35
|
+
return run_webapp(true);
|
36
|
+
});
|
37
|
+
}).call(this);
|
38
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
CACHE MANIFEST
|
2
|
+
|
3
|
+
CACHE:
|
4
|
+
<% if assets['app.css'] %>/app.assets/<%= assets['app.css'].digest_path %><% end %>
|
5
|
+
|
6
|
+
<% if assets['app.js'] %>/app.assets/<%= assets['app.js'].digest_path %><% end %>
|
7
|
+
|
8
|
+
<% if assets['vendor.js'] %>/app.assets/<%= assets['vendor.js'].digest_path %><% end %>
|
9
|
+
|
10
|
+
NETWORK:
|
11
|
+
|
12
|
+
FALLBACK:
|
13
|
+
|
metadata
ADDED
@@ -0,0 +1,331 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: arcabouco
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Patrick Negri
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-04-18 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rack
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rack-test
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: sinatra
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: thin
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: sprockets
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: sprockets-sass
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: sprockets-helpers
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: handlebars_assets
|
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: coffee-script
|
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'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: haml
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: sass
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: slop
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :runtime
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: eco
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :runtime
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: guard-sprockets
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - ">="
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
type: :runtime
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: yui-compressor
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :runtime
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: uglifier
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - ">="
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0'
|
230
|
+
type: :runtime
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - ">="
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0'
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: compass
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - ">="
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0'
|
244
|
+
type: :runtime
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - ">="
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '0'
|
251
|
+
- !ruby/object:Gem::Dependency
|
252
|
+
name: rake
|
253
|
+
requirement: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - ">="
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '0'
|
258
|
+
type: :runtime
|
259
|
+
prerelease: false
|
260
|
+
version_requirements: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - ">="
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: '0'
|
265
|
+
description: Arcabouco WebApp Framework
|
266
|
+
email:
|
267
|
+
- support@iugu.com
|
268
|
+
executables:
|
269
|
+
- arcabouco
|
270
|
+
extensions: []
|
271
|
+
extra_rdoc_files: []
|
272
|
+
files:
|
273
|
+
- README.md
|
274
|
+
- Rakefile
|
275
|
+
- bin/arcabouco
|
276
|
+
- lib/arcabouco.rb
|
277
|
+
- lib/arcabouco/application.rb
|
278
|
+
- lib/arcabouco/base.rb
|
279
|
+
- lib/arcabouco/cmd.rb
|
280
|
+
- lib/arcabouco/compass.rb
|
281
|
+
- lib/arcabouco/server.rb
|
282
|
+
- lib/arcabouco/version.rb
|
283
|
+
- lib/assets/css/adaptative-mixins.sass
|
284
|
+
- lib/assets/css/app.css
|
285
|
+
- lib/assets/css/arcabouco-entry.sass
|
286
|
+
- lib/assets/css/base.css
|
287
|
+
- lib/assets/css/core.sass
|
288
|
+
- lib/assets/css/mixins.sass
|
289
|
+
- lib/assets/css/no-js.sass
|
290
|
+
- lib/assets/css/reset.sass
|
291
|
+
- lib/assets/js/app.js
|
292
|
+
- lib/assets/js/config.js.coffee
|
293
|
+
- lib/assets/js/core/boot.js.coffee
|
294
|
+
- lib/assets/js/core/capabilities.js
|
295
|
+
- lib/assets/js/core/debug.js.coffee
|
296
|
+
- lib/assets/js/core/environment.js.coffee
|
297
|
+
- lib/assets/js/templates.js
|
298
|
+
- lib/assets/js/usecode.js
|
299
|
+
- lib/assets/js/vendor.js
|
300
|
+
- lib/assets/js/vendor/async.js
|
301
|
+
- lib/assets/js/vendor/backbone.js
|
302
|
+
- lib/assets/js/vendor/handlebars.js
|
303
|
+
- lib/assets/js/vendor/jquery.js
|
304
|
+
- lib/assets/js/vendor/tasks.js.coffee
|
305
|
+
- lib/assets/js/vendor/underscore.js
|
306
|
+
- lib/templates/index.haml
|
307
|
+
- lib/templates/manifest.erb
|
308
|
+
homepage: ''
|
309
|
+
licenses: []
|
310
|
+
metadata: {}
|
311
|
+
post_install_message:
|
312
|
+
rdoc_options: []
|
313
|
+
require_paths:
|
314
|
+
- lib
|
315
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
316
|
+
requirements:
|
317
|
+
- - ">="
|
318
|
+
- !ruby/object:Gem::Version
|
319
|
+
version: '0'
|
320
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
321
|
+
requirements:
|
322
|
+
- - ">="
|
323
|
+
- !ruby/object:Gem::Version
|
324
|
+
version: '0'
|
325
|
+
requirements: []
|
326
|
+
rubyforge_project: arcabouco
|
327
|
+
rubygems_version: 2.4.3
|
328
|
+
signing_key:
|
329
|
+
specification_version: 4
|
330
|
+
summary: Arcabouco WebApp Framework
|
331
|
+
test_files: []
|