arcabouco 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/arcabouco/server.rb +1 -1
- data/lib/arcabouco/version.rb +1 -1
- data/lib/templates/index.html.erb +3 -3
- metadata +1 -2
- data/lib/templates/index.haml +0 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9bddbf9b5944f2c9aa202630b6b85f901c4ce7a3
|
4
|
+
data.tar.gz: 3ad5b4c9721762c20a88370ecf53e7a2ca9edc13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 099678df91f56f2a1e51811fdec5876f6083a7e749cbfcfec097220d1b8a779b2a9c4beaaf96ebc388d710b4e3572ef2cf2f5babcce94431994dc2faac708ec4
|
7
|
+
data.tar.gz: f776d0974740e29b83ab786a49f6ac9dba81b553093baa5a3e12fa879c1cd2739477e9d82844d53a6c4fdb2022d0931e8c90ca1989b79f6b1df81a3c90fc2794
|
data/lib/arcabouco/server.rb
CHANGED
@@ -40,7 +40,7 @@ module Arcabouco
|
|
40
40
|
obj['assets'] = {}
|
41
41
|
Arcabouco.asset_list.each do |asset|
|
42
42
|
next if asset.to_s.index("*")
|
43
|
-
obj['assets'][asset] =
|
43
|
+
obj['assets'][asset] = $environment[asset.to_s].digest_path
|
44
44
|
end
|
45
45
|
obj.to_json
|
46
46
|
end
|
data/lib/arcabouco/version.rb
CHANGED
@@ -53,7 +53,7 @@
|
|
53
53
|
{
|
54
54
|
var newScript = document.createElement('script');
|
55
55
|
newScript.type = 'text/javascript';
|
56
|
-
newScript.src = src;
|
56
|
+
newScript.src = '/app.assets/' + src;
|
57
57
|
document.head.appendChild(newScript);
|
58
58
|
}
|
59
59
|
|
@@ -64,8 +64,8 @@
|
|
64
64
|
console.log("START");
|
65
65
|
console.log("FETCH " + app.assets_manifest );
|
66
66
|
jQuery.getJSON( app.assets_manifest, function(data) {
|
67
|
-
$('head').append('<link rel="stylesheet" href="' + data.assets["vendor.css"] + '" type="text/css" />');
|
68
|
-
$('head').append('<link rel="stylesheet" href="' + data.assets["app.css"] + '" type="text/css" />');
|
67
|
+
$('head').append('<link rel="stylesheet" href="/app.assets/' + data.assets["vendor.css"] + '" type="text/css" />');
|
68
|
+
$('head').append('<link rel="stylesheet" href="/app.assets/' + data.assets["app.css"] + '" type="text/css" />');
|
69
69
|
addScriptTag( data.assets['vendor.js'] );
|
70
70
|
addScriptTag( data.assets['app.js'] );
|
71
71
|
});
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arcabouco
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patrick Negri
|
@@ -318,7 +318,6 @@ files:
|
|
318
318
|
- lib/assets/js/vendor/handlebars.js
|
319
319
|
- lib/assets/js/vendor/tasks.js.coffee
|
320
320
|
- lib/assets/js/vendor/underscore.js
|
321
|
-
- lib/templates/index.haml
|
322
321
|
- lib/templates/index.html.erb
|
323
322
|
- lib/templates/manifest.erb
|
324
323
|
- lib/templates/save_app.html
|
data/lib/templates/index.haml
DELETED
@@ -1,20 +0,0 @@
|
|
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
|
-
%meta{ :name => "viewport", :content => "width=device-width, initial-scale=1, maximum-scale=1" }
|
10
|
-
%meta{ :name => "apple-mobile-web-app-capable", :content => "yes" }
|
11
|
-
%meta{ :name => "apple-mobile-web-status-bar-style", :content => "black" }
|
12
|
-
%meta{ 'http-equiv' => 'cleartype', :content => 'on' }
|
13
|
-
%meta{ 'http-equiv' => 'X-UA-Compatible', :content => 'IE=edge,chrome=1' }
|
14
|
-
%meta{ :name => 'MobileOptimized', :content => '320' }
|
15
|
-
%body
|
16
|
-
|
17
|
-
%noscript
|
18
|
-
.js-warning
|
19
|
-
|
20
|
-
#app
|