arcabouco 0.2.11 → 0.2.12

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: 8d1d44ac78e9e803f913601f78722cd24b559ab4
4
- data.tar.gz: 60790390b76e5a419198b976c24b7e989645fbb3
3
+ metadata.gz: 48f186d19f7dd2ac59fde52d75ed7b5e6fdcdac5
4
+ data.tar.gz: db3a112554f05b8d620c7e79eb4f4a99ba1278d1
5
5
  SHA512:
6
- metadata.gz: 3d6d4ab015f61d796d19d18ae42ac374850c816e72af9e95cd2955972e3e73afa0ee5cdf0a7bd1f4d330aa2106095630f142cc51fb3c13ec9ef1126394f19d21
7
- data.tar.gz: a967bf0972bce9726f60ded8913136023d9317d4fb8cdca853181e4b1c6543e879f771cbc243169bdb6ac52834deb0a9c8a967b1f7a06f394590c4d1c9a10171
6
+ metadata.gz: b7be75714d30ae435cedbd8859925eab83d951b8d8189514ee54d832f91e87ddadfc50699bde5232093e84498215a517ea889d0780babe9c98164ace0f981873
7
+ data.tar.gz: 29c5d3f93e635c7e26963a8bf75e5fc02788a3553b5c55ccac215ed53a378bb23a5724308d85f403f0b62219ace1d6acf02f0e65ed13078899f9d415ba610a0d
@@ -7,7 +7,9 @@ Compass.configuration do |compass|
7
7
  compass.css_dir = 'app/css'
8
8
  compass.sass_dir = 'app/css'
9
9
  compass.javascripts_dir = 'app/js'
10
- compass.relative_assets = true
11
- compass.http_generated_images_path = '/app.assets/media'
10
+ compass.relative_assets = false
11
+ # compass.assetCacheBuster = false
12
+ compass.generated_images_dir = 'public/app.assets'
13
+ compass.http_generated_images_path = '/app.assets'
12
14
  end
13
15
 
@@ -93,6 +93,7 @@ module Arcabouco
93
93
  self.env.append_path File.join(Arcabouco.gem_root,'assets','js')
94
94
  Sprockets::Helpers.configure do |config|
95
95
  config.prefix = '/app.assets'
96
+ config.digest = true
96
97
  end
97
98
  end
98
99
 
@@ -109,6 +110,7 @@ module Arcabouco
109
110
  web = self.web
110
111
 
111
112
  # app_css.write_to( Arcabouco.root + "/public/app-#{app_css.digest}.min.css" )
113
+ self.prepare_env_for_server()
112
114
  $environment = self.get_env()
113
115
  self.rack = Rack::Builder.new do
114
116
  map '/app.assets' do
@@ -132,6 +134,10 @@ module Arcabouco
132
134
  self.env.css_compressor = :sass
133
135
  end
134
136
 
137
+ def prepare_env_for_server
138
+ self.env.append_path 'public/app.assets'
139
+ end
140
+
135
141
 
136
142
  def build
137
143
  FileUtils.mkpath Arcabouco.root + "/public"
@@ -1,3 +1,3 @@
1
1
  module Arcabouco
2
- VERSION = "0.2.11"
2
+ VERSION = "0.2.12"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arcabouco
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.11
4
+ version: 0.2.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Negri
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-09 00:00:00.000000000 Z
11
+ date: 2016-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack