appfuel 0.6.3 → 0.6.4

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: cdb23ba841ae6e72df581ea7170a59ffa443310b
4
- data.tar.gz: 3ad6fcc67ee5328cd589cd48113e75554c63f211
3
+ metadata.gz: 291bad00d1de9144841e6a765ac34115a6839246
4
+ data.tar.gz: b5d4dd8aec1cf1fdaf3dfc6f788d3e3924eb168b
5
5
  SHA512:
6
- metadata.gz: 3a5670824c5e474474093af8720271cbe90be0fe2ed489dbf90adf61705d186a7acf2e13ca4107e90a25b6ff2592e30b8d44b17719d0e578d4b8e28425aec834
7
- data.tar.gz: 519aeea32b5dfc40e4fad5128d8a5783e32edd06d09e4694c87ad33a9a34e15ebf650b67a30dc3a8636a0036a0be9edbff0452fbcea72fc9e2c6290424f9a74f
6
+ metadata.gz: 5669227bdc10b862bca2a77dfe1066776951b141f531fbd7a3596b41e886004158036fe0b2a57087b38e91e49b47e92c36def39cbfbe44f67824bd8f5f67d883
7
+ data.tar.gz: 6de05a3a86a18f201ee4326a137e147ef2c1ddb60086fd73920f0ca1d2b62a365517f38ea8e1bdf13e53ca1e9c2de9c6cefdcceff5f2d27eafd64b009216d783
data/CHANGELOG.md CHANGED
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file. (Pending ap
5
5
 
6
6
 
7
7
  # Releases
8
+ ## [[0.6.4]](https://github.com/rsb/appfuel/releases/tag/0.6.4) 2017-08-18
9
+ ### Fixed
10
+ - invalid reference to `feature_name` in action's `dispatch`
11
+
12
+ ### Changed
13
+ - `handlers` will now always deep symbolize their input keys
14
+
15
+ ### Added
16
+ - `repository` now has a `timestamp` which gives `Time.now.utc.iso8601`
17
+
8
18
  ## [[0.6.3]](https://github.com/rsb/appfuel/releases/tag/0.6.3) 2017-08-14
9
19
  ### Fixed
10
20
  - invalid method is web_api/http_model when checking url
@@ -20,7 +20,9 @@ module Appfuel
20
20
  route = route.to_s
21
21
  fail "route can not be empty" if route.empty?
22
22
 
23
- route = "#{feature_name}/#{route}" unless route.include?('/')
23
+ unless route.include?('/')
24
+ route = "#{self.class.container_feature_name}/#{route}"
25
+ end
24
26
  root = app_container[:root]
25
27
  root.call(route, payload)
26
28
  end
@@ -146,6 +146,7 @@ module Appfuel
146
146
  return ok(inputs) if skip_validation?
147
147
  return ok({}) unless validators?
148
148
 
149
+ inputs.deep_symbolize_keys!
149
150
  response = nil
150
151
  has_failed = false
151
152
  load_validators.each do |validator|
@@ -248,6 +248,10 @@ module Appfuel
248
248
  SecureRandom.urlsafe_base64(nbr)
249
249
  end
250
250
 
251
+ def timestamp
252
+ Time.now.utc.iso8601
253
+ end
254
+
251
255
  private
252
256
  def method_not_implemented_error
253
257
  fail "must be implemented by a storage specific repository"
@@ -1,3 +1,3 @@
1
1
  module Appfuel
2
- VERSION = "0.6.3"
2
+ VERSION = "0.6.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appfuel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Scott-Buccleuch
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-14 00:00:00.000000000 Z
11
+ date: 2017-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord