lalala 4.0.0.dev.111 → 4.0.0.dev.113

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 69fefe0342bac68702672e3ca4ba71275a1f9de6
4
- data.tar.gz: 6a9a4d20a088c7442c0db65206933d8a056a6085
3
+ metadata.gz: 6a18fa31c579f63367a7f2e81fb0a6946f537455
4
+ data.tar.gz: 5e5ae09983dc6840fe699d35200f5b75aade7052
5
5
  SHA512:
6
- metadata.gz: 028aa9bb7ad12f7a8c1a2dfd95731fe0374aa44b30f5bc6f441ac9220d9212ed61f8670b1e7257d46ff42b4dcffc9d2ea5579b46cc6f355808ac3e8e549cb703
7
- data.tar.gz: 7d1e680933c34267bf2678e30fba1c030a4f7b73d97d86de25c8634bc28531b9f17d36ad57b50d57465a6932ed67da41be3e5ef70abb36a6315c8b49e376d8c7
6
+ metadata.gz: 51bd17bb510521152232e2b0cc96307f5778adc8ec333891044ef1d711f9dadb379671af06407266307d9326d2818648ec5534430412f8b2ebf965d50e75e12c
7
+ data.tar.gz: dceb79a23527110155e67cd009d8448c97a3e1be903e67477c3d6b951c82d2c18ca20a821beb5e0fdb83fc5ae37c2d2ec0333af82032626c1e80cecc1d0eb7da
@@ -3,7 +3,7 @@
3
3
  #
4
4
  CarrierWave.configure do |config|
5
5
 
6
- if Rails.env.production? or Rails.env.staging?
6
+ if (Rails.env.production? or Rails.env.staging?) and ENV["LALALA_S3_BUCKET"]
7
7
 
8
8
  config.storage = :fog
9
9
  config.root = Rails.root.join('tmp')
data/lib/lalala/engine.rb CHANGED
@@ -51,8 +51,8 @@ module Lalala
51
51
 
52
52
  end
53
53
 
54
- initializer :assets do |config|
55
- Rails.application.config.assets.precompile += %w( editor-preview.css )
54
+ initializer :assets do |app|
55
+ app.config.assets.precompile += %w( lalala/editor-preview.css )
56
56
  end
57
57
 
58
58
  end
@@ -1,6 +1,6 @@
1
1
  module Lalala
2
2
  VERSION = "4.0.0"
3
- BUILD = "111"
3
+ BUILD = "113"
4
4
 
5
5
  if BUILD != ("{{BUILD_NUMBER" + "}}") # prevent sed replacement (see script/ci)
6
6
  BUILD_VERSION = "#{VERSION}.dev.#{BUILD}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lalala
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.dev.111
4
+ version: 4.0.0.dev.113
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Menke