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 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, env)
321
+ response = dispatcher.call(:some_use_case, :some_input)
322
322
  response.success? # => false
323
323
  ```
data/config/flay.yml CHANGED
@@ -1,3 +1,3 @@
1
1
  ---
2
2
  threshold: 6
3
- total_score: 46
3
+ total_score: 61
@@ -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
  #
@@ -4,7 +4,7 @@ module Substation
4
4
  class Request
5
5
 
6
6
  include Concord.new(:env, :input)
7
- include Adamantium
7
+ include Adamantium::Flat
8
8
 
9
9
  # Create a new successful response
10
10
  #
@@ -7,7 +7,7 @@ module Substation
7
7
 
8
8
  include AbstractType
9
9
  include Equalizer.new(:request, :output)
10
- include Adamantium
10
+ include Adamantium::Flat
11
11
 
12
12
  # The environment used to return this response
13
13
  #
@@ -1,4 +1,4 @@
1
1
  module Substation
2
2
  # Gem version
3
- VERSION = '0.0.2'.freeze
3
+ VERSION = '0.0.3'.freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: substation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: