thecore 1.5.4 → 1.5.5

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: e7ecde420b6b5ee531fdce52a2844be50f3282a0
4
- data.tar.gz: 37c593961d4a52ef7c7538f3f8b231de186a7a22
3
+ metadata.gz: d14b676a04c1496cbc2ced249e8099bbb64b5e3b
4
+ data.tar.gz: 4472a27441f84c3971c08fb53210e30093e9b372
5
5
  SHA512:
6
- metadata.gz: fb708a135202e921aae325a3bb0f0ea5bda62021468f20585bd3ee861a1f45170d52a4af51802bff1a1a68086c38c76c32426c145140baa7f7da181529ecf862
7
- data.tar.gz: f1d340c79e8c0c8e7afff359258f1756ffd7e3c1684300c0b4bc908d68544156d1931165165921c23ac575c30ede9a110680b3a68d03338b96a10a66403dc329
6
+ metadata.gz: b99f42ee952a8ed8fa3c3ec765ce42c3c078a5abe4833e24f071362cc7985fe4ea9c48ddb25ac13425e8910b70c80bb98557b9d863bb836fb0c58fbc1fd83101
7
+ data.tar.gz: 85da45b314730a17ebfb2be12273144a043e54b16ef9585e81fbd3e8f34c64a18347206c4bed66da5d0e842c758ea457e70ccd963bfd731c669b63a33201c881
@@ -19,6 +19,12 @@ Rails.application.configure do
19
19
  config.assets.precompile += %w( browserconfig.xml )
20
20
  config.assets.precompile += %w( ckeditor/* )
21
21
 
22
+ config.action_controller.asset_host = if ENV['RAILS_URL'].blank? || ENV['RAILS_RELATIVE_URL_ROOT'].blank?
23
+ "http://localhost:3000"
24
+ else
25
+ "#{ENV['RAILS_URL']}#{ENV['RAILS_RELATIVE_URL_ROOT']}"
26
+ end
27
+
22
28
  config.filter_parameters += [:password]
23
29
 
24
30
  config.active_record.raise_in_transactional_callbacks = true
@@ -1,3 +1,3 @@
1
1
  module Thecore
2
- VERSION = '1.5.4'.freeze
2
+ VERSION = '1.5.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.4
4
+ version: 1.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni