spree_cloudinary 0.0.2 → 0.0.3

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: 7e1bf2cbd5304e4d9118a27e840db15cc9c18c5c
4
- data.tar.gz: dd9496dba7654e9c766b1617b6b3df0f2a4676c4
3
+ metadata.gz: 59c1f29606bfffc3cd9777f4722fa4673e1afb00
4
+ data.tar.gz: d7d3a432b0462424f621eca789220e2cefdeca13
5
5
  SHA512:
6
- metadata.gz: 74746ee8884f36b52f0ddc9befcffbd3b32eee83283101da99fc3f1271b070f8187b9a7419ac0e415080a27671a65aa4f24dc42569325dc7891a001364581319
7
- data.tar.gz: 94d3b529e89ee36c18311f6e6a759a9d93dea2a37dfeff7b1349827e1c3b4f73f53e1a40edb4db9e0d8aea46a25154316410fafef52378d4f0a37f9789a2e6ba
6
+ metadata.gz: 769106f47a9ef99763e6cf51d73c076fa27e3b4f28a968bd1c6d7b56dd3bd9c6650325ef0cf3d586a415ea194e6af6e37e8b23df4fa06f27de6c2fe973df348f
7
+ data.tar.gz: 10cf95a367f08631f10d1650df24c28f315e176ef3e6bc3ec4da9f7ec519cfe3790d1199345fb85c4787fdbb7a6a4ffaae150d16b75a5814b3c89191b1b06f8d
@@ -0,0 +1,14 @@
1
+ module SpreeCloudinary
2
+ class Engine < Rails::Engine
3
+ engine_name 'spree_cloudinary'
4
+
5
+ config.autoload_paths += %W(#{config.root}/lib)
6
+
7
+ def self.activate
8
+ Dir.glob(File.join(File.dirname(__FILE__), "../../app/**/*_decorator*.rb")) do |c|
9
+ Rails.configuration.cache_classes ? require(c) : load(c)
10
+ end
11
+ end
12
+ config.to_prepare &method(:activate).to_proc
13
+ end
14
+ end
@@ -1,3 +1,3 @@
1
1
  module SpreeCloudinary
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_cloudinary
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thach Chau
@@ -124,6 +124,7 @@ files:
124
124
  - Rakefile
125
125
  - app/models/spree/image_decorator.rb
126
126
  - lib/spree_cloudinary.rb
127
+ - lib/spree_cloudinary/engine.rb
127
128
  - lib/spree_cloudinary/version.rb
128
129
  - spree_cloudinary.gemspec
129
130
  homepage: https://github.com/chautoni