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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 524e6bb73299d1b0d1158be720df55d05750aec0
4
- data.tar.gz: 9b79bfc5e77b5eb1647f2d1084ced01008adedfa
3
+ metadata.gz: 9bddbf9b5944f2c9aa202630b6b85f901c4ce7a3
4
+ data.tar.gz: 3ad5b4c9721762c20a88370ecf53e7a2ca9edc13
5
5
  SHA512:
6
- metadata.gz: b03745c52f34905c5b9183e2cd72446a11bd8fd9ac446bc6048991e45ae4346757aa0a9748e2a1bb197fe5bdb3cf9c50a3f8a49b617b4f7e20d90c7a4767abb3
7
- data.tar.gz: 6aa39945e4e983d48fe92a33280a28df72f01f5e303187e2d843183d35651fc210e1ec1a0f775b67a319f52ca37cf48425771b6f087242c3efd926e6990b8135
6
+ metadata.gz: 099678df91f56f2a1e51811fdec5876f6083a7e749cbfcfec097220d1b8a779b2a9c4beaaf96ebc388d710b4e3572ef2cf2f5babcce94431994dc2faac708ec4
7
+ data.tar.gz: f776d0974740e29b83ab786a49f6ac9dba81b553093baa5a3e12fa879c1cd2739477e9d82844d53a6c4fdb2022d0931e8c90ca1989b79f6b1df81a3c90fc2794
@@ -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] = "/app.assets/" + $environment[asset.to_s].digest_path
43
+ obj['assets'][asset] = $environment[asset.to_s].digest_path
44
44
  end
45
45
  obj.to_json
46
46
  end
@@ -1,3 +1,3 @@
1
1
  module Arcabouco
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -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.2
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
@@ -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