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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6227e9bcd8b53e8e88354e06ff108779cb26d629
4
- data.tar.gz: 9c345cca5a9965e99b2709e23487b88b1b2e7de7
3
+ metadata.gz: 9e83cd4ab48fd907d24835e074b60a465de1baca
4
+ data.tar.gz: a18ac59dc099260df0f28693333fc46016a833d9
5
5
  SHA512:
6
- metadata.gz: 15d5c710379a5b8e9b07508c49a90e059a0038b92c8fda868afcf9883a7fc0f845a8cf86975758999c66cba8d894f1ab5e27c8671d6cdffdf89f1bc66c134af0
7
- data.tar.gz: 83ac13bfa0c506eacc44d20f43792872af951c8a8212d547cd673f91b195792305c6ae2bf38cce536cf08f1ee5a347be84f58d4fbf7e7ae94955dcb926cb6f6c
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
- register('validators', {}) unless key?('validators')
127
- register('repositories', {}) unless key?('repositories')
128
- register('validator_pipes', {}) unless key?('validator_pipes')
129
- register('domain_builders', {}) unless key?('domain_builders')
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
 
@@ -1,3 +1,3 @@
1
1
  module Appfuel
2
- VERSION = "0.6.14"
2
+ VERSION = "0.6.15"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appfuel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.14
4
+ version: 0.6.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Scott-Buccleuch