substation 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.
- data/Changelog.md +6 -0
- data/README.md +1 -1
- data/config/flay.yml +1 -1
- data/lib/substation/dispatcher.rb +2 -2
- data/lib/substation/request.rb +1 -1
- data/lib/substation/response.rb +1 -1
- data/lib/substation/version.rb +1 -1
- metadata +1 -1
data/Changelog.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
# v0.0.3 2013-05-15
|
|
2
|
+
|
|
3
|
+
* [changed] Stop (deep) freezing objects coming from client code (snusnu)
|
|
4
|
+
|
|
5
|
+
[Compare v0.0.2..v0.0.3](https://github.com/snusnu/substation/compare/v0.0.2...v0.0.3)
|
|
6
|
+
|
|
1
7
|
# v0.0.2 2013-05-15
|
|
2
8
|
|
|
3
9
|
* [BREAKING CHANGE] Creating a dispatcher requires an application env (snusnu)
|
data/README.md
CHANGED
|
@@ -318,6 +318,6 @@ dispatcher = Substation::Dispatcher.coerce({
|
|
|
318
318
|
}, env)
|
|
319
319
|
|
|
320
320
|
# :some_input is no person, db.save_person will fail
|
|
321
|
-
response = dispatcher.call(:some_use_case, :some_input
|
|
321
|
+
response = dispatcher.call(:some_use_case, :some_input)
|
|
322
322
|
response.success? # => false
|
|
323
323
|
```
|
data/config/flay.yml
CHANGED
|
@@ -36,7 +36,7 @@ module Substation
|
|
|
36
36
|
end
|
|
37
37
|
|
|
38
38
|
include Concord.new(:handler, :observer)
|
|
39
|
-
include Adamantium
|
|
39
|
+
include Adamantium::Flat
|
|
40
40
|
|
|
41
41
|
# Call the action
|
|
42
42
|
#
|
|
@@ -175,7 +175,7 @@ module Substation
|
|
|
175
175
|
private_class_method :normalize_config
|
|
176
176
|
|
|
177
177
|
include Concord.new(:actions, :env)
|
|
178
|
-
include Adamantium
|
|
178
|
+
include Adamantium::Flat
|
|
179
179
|
|
|
180
180
|
# Invoke the action identified by +name+
|
|
181
181
|
#
|
data/lib/substation/request.rb
CHANGED
data/lib/substation/response.rb
CHANGED
data/lib/substation/version.rb
CHANGED