ecrire 0.28.2 → 0.28.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: c2a8192526b2cc15efd2d6b3d00fe10a0b92f684
4
- data.tar.gz: 93e30fdf61eb92c4ef63fff06da7b78ccb773539
3
+ metadata.gz: 629884e8e58d57c5c64d4f888d93ba8bf33549fb
4
+ data.tar.gz: 8cf5ac6fe7db70763605200d1d70195bb63a8d93
5
5
  SHA512:
6
- metadata.gz: 8a0ca4db790b3da087069e82faf9fab0dbaeed8a830eeccad362e659c47fdb6d0452640316d665bac20ca34c4aa9932bc8964eb22da4fd559770459816dde156
7
- data.tar.gz: ca9c57b47bf53357ec3eb0e30c64a59845db41051e011493c9c5ffc61d990eb50a100eb30b6c6d5f10bde0a8d350e4a9ee7cd52379e5651c08f6ca3af6640f6e
6
+ metadata.gz: 9f63c01f342f64ab815edb42ce430c5ebcd07a134f73af6b55e8e578e00a144d51fa8dd51a6262edd0ae1337031e0749420985d7d1a2838788e03f7f74737757
7
+ data.tar.gz: 4defce3a565e5c53d7696191e6daeb4dd6bda4a94d6b13e71bf588f20cf8c4159a21bf147517a456572f42a5d38534954ab8c5933ada39a4145457dbfae8db3d
@@ -1,8 +1,6 @@
1
1
  Ecrire::Application.configure do
2
2
  config.assets.js_compressor = :uglifier
3
- config.assets.debug = false
4
- config.assets.compress = true
5
- config.assets.compile = true
3
+ config.assets.compile = false
6
4
  config.assets.digest = true
7
5
  config.assets.version = '1.0'
8
6
 
@@ -113,6 +113,10 @@ module Ecrire
113
113
  initializer 'ecrire.load_paths', before: :bootstrap_hook do |app|
114
114
  ActiveSupport::Dependencies.autoload_paths.unshift(*self.paths.autoload_paths)
115
115
  ActiveSupport::Dependencies.autoload_once_paths.unshift(*self.paths.autoload_once)
116
+
117
+ if self.paths['public'].existent.any?
118
+ app.paths.add 'public', with: self.paths['public'].existent
119
+ end
116
120
  end
117
121
 
118
122
  initializer 'ecrire.append_paths', before: :set_autoload_paths do |app|
@@ -1,3 +1,3 @@
1
1
  module Ecrire
2
- VERSION = '0.28.2'
2
+ VERSION = '0.28.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecrire
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.2
4
+ version: 0.28.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pier-Olivier Thibault
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-24 00:00:00.000000000 Z
11
+ date: 2015-08-25 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Blog engine on Rails
14
14
  email: pothibo@gmail.com