appfuel 0.6.14 → 0.6.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/appfuel.rb +5 -9
- data/lib/appfuel/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e83cd4ab48fd907d24835e074b60a465de1baca
|
4
|
+
data.tar.gz: a18ac59dc099260df0f28693333fc46016a833d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bee1ca2cd41b1ff54e27cb888ea742ad1de1d4df8993d4ca9006532ee83bb7510cc1bf9a2403db49013017920c8d8e195ddd25c99b54cb6d718b5c487a02b2e
|
7
|
+
data.tar.gz: 5a66604fcd3ffb618da8e290e22d67f720363c4e1dee44c85936f3606ffd5b7599ceb6486bcdc05666f6da007ddec92768618aa3ed68dc8d80c16ea2480e4443
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. (Pending ap
|
|
5
5
|
|
6
6
|
|
7
7
|
# Releases
|
8
|
+
## [[0.6.15]](https://github.com/rsb/appfuel/releases/tag/0.6.15) 2017-09-28
|
9
|
+
### Fixed
|
10
|
+
- initializer failing when key exists in the feature
|
11
|
+
|
8
12
|
## [[0.6.14]](https://github.com/rsb/appfuel/releases/tag/0.6.14) 2017-09-28
|
9
13
|
### Fixed
|
10
14
|
- web_api adapter was parsing error body as json
|
data/lib/appfuel.rb
CHANGED
@@ -118,17 +118,13 @@ module Appfuel
|
|
118
118
|
|
119
119
|
|
120
120
|
def setup_container_dependencies(namespace_key, container)
|
121
|
-
container.namespace(namespace_key) do
|
122
|
-
unless key?("initializers")
|
123
|
-
register('initializers', ThreadSafe::Array.new)
|
124
|
-
end
|
125
121
|
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
register(
|
130
|
-
register('presenters', {}) unless key?('presenters')
|
122
|
+
init_key = "#{namespace_key}.initializers"
|
123
|
+
|
124
|
+
unless container.key?(init_key)
|
125
|
+
container.register(init_key, ThreadSafe::Array.new)
|
131
126
|
end
|
127
|
+
|
132
128
|
container
|
133
129
|
end
|
134
130
|
|
data/lib/appfuel/version.rb
CHANGED