solid_storage 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/solid_storage/engine.rb +8 -0
- data/lib/solid_storage/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da33fbf673440b70c1c015cadeb895e9d375f54a17653945189966568abbe1ec
|
4
|
+
data.tar.gz: 16a10c9192a0191881769f790ab827314fccd77b2e2dcf93b7a0b72c4a30b033
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e701cbfd6be9483bc5f00680e3af4f05d20e007a8e8fff3517a3aa704c9afc453760b142b2c648995217192f1c8df04c1fda6663c6c303b6703b8e77cfdc244d
|
7
|
+
data.tar.gz: 2f28f1413af7e71b30c2f25f6920f43c219c410f961337ca36ec5c0c71efc424569db245df4f526cd375f232a712096498a8193136e9fa81a9fd166a918fb51a
|
data/lib/solid_storage/engine.rb
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
module SolidStorage
|
2
2
|
class Engine < ::Rails::Engine
|
3
3
|
isolate_namespace SolidStorage
|
4
|
+
|
5
|
+
config.solid_storage = ActiveSupport::OrderedOptions.new
|
6
|
+
|
7
|
+
initializer "solid_storage.config" do
|
8
|
+
config.solid_storage.each do |name, value|
|
9
|
+
SolidStorage.public_send(:"#{name}=", value)
|
10
|
+
end
|
11
|
+
end
|
4
12
|
end
|
5
13
|
end
|