ecm_pictures 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,8 +17,12 @@ module Ecm
17
17
 
18
18
  # Enabling assets precompiling under rails 3.1 or greater
19
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 )
20
+ # initializer :assets do |config|
21
+ # Rails.application.config.assets.precompile += %w( ecm_pictures.js ecm_pictures.css )
22
+ # end
23
+ initializer "ecm_pictures.asset_pipeline" do |app|
24
+ app.config.assets.precompile << 'ecm_pictures.js'
25
+ app.config.assets.precompile << 'ecm_pictures.css'
22
26
  end
23
27
  end
24
28
 
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module Pictures
3
- VERSION = "0.0.9"
3
+ VERSION = "0.0.10"
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.9
5
+ version: 0.0.10
6
6
  platform: ruby
7
7
  authors:
8
8
  - Roberto Vasquez Angel