effective_assets 1.2.5 → 1.3.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 160c04b9bda2f5142520959215381c7b8d8b2f2b
|
4
|
+
data.tar.gz: 5bbf8413fae92e984a7a7477afbce819cfd7ea86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7bed61b177038a1b442b8d1e3495d27b29b51f696dc49109c58dd596ba42da5fbbadfcce20cf1f45c91bac46f9dbaa4b656e3438894bdb286ff03cb0b7e4f17
|
7
|
+
data.tar.gz: 41995bd175a697e1cb2ba902519982575b9a425128e59d5739eed7fa4414a953ca915dbc05503c7d4503c061b0495c6cc09e706420867f49a6566db8d15ac77c
|
@@ -25,6 +25,11 @@ module EffectiveAssets
|
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
28
|
+
# Set up our default configuration options.
|
29
|
+
initializer "effective_assets.defaults", :before => :load_config_initializers do |app|
|
30
|
+
eval File.read("#{config.root}/lib/generators/templates/effective_assets.rb")
|
31
|
+
end
|
32
|
+
|
28
33
|
initializer "effective_assets.append_precompiled_assets" do |app|
|
29
34
|
Rails.application.config.assets.precompile += ['effective_assets.js', 'effective_assets_iframe.js', 'effective_assets_iframe.css', 'spinner.gif']
|
30
35
|
end
|
@@ -4,7 +4,7 @@ EffectiveAssets.setup do |config|
|
|
4
4
|
config.assets_table_name = :assets
|
5
5
|
config.attachments_table_name = :attachments
|
6
6
|
|
7
|
-
config.uploader = AssetUploader # Must extend from EffectiveAssetsUploader
|
7
|
+
config.uploader = AssetUploader if defined?(AssetUploader) # Must extend from EffectiveAssetsUploader
|
8
8
|
|
9
9
|
# Authorization Method
|
10
10
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|