ecm_pictures 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,6 +15,13 @@ module Ecm
15
15
  class Engine < Rails::Engine
16
16
  paths["config/locales"] << File.dirname(__FILE__) + '/../../../config/locales'
17
17
 
18
+ # Enabling assets precompiling under rails 3.1 or greater
19
+ if Rails.version >= '3.1'
20
+ initializer :assets do |config|
21
+ Rails.application.config.assets.precompile += %w( ecm_pictures.js ecm_pictures.css orangebox/*.png orangebox/*.gif )
22
+ end
23
+ end
24
+
18
25
  config.to_prepare do
19
26
  ApplicationController.helper(Ecm::PicturesHelper)
20
27
  end
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module Pictures
3
- VERSION = "0.0.8"
3
+ VERSION = "0.0.9"
4
4
  end
5
5
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: ecm_pictures
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.8
5
+ version: 0.0.9
6
6
  platform: ruby
7
7
  authors:
8
8
  - Roberto Vasquez Angel