interactor-schema 0.2.1 → 0.2.2

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: 0c8d88f7c999b068bac2a2a1b7020f19106b2342
4
- data.tar.gz: d6eaabb74318ee503176bcb1b58ec19dea6823e2
3
+ metadata.gz: 037d3198e197b1a9423ea64abe0f0268ed241f5a
4
+ data.tar.gz: 66e49d0ee1f27d9d2b028df5641e02f18a4cb7e0
5
5
  SHA512:
6
- metadata.gz: 07da40274758d6b58a32fc0b4aa7481ba8efc8054e65ac6e560eac3377666f84c0dc04956df3a47c875401ad9ce14cff5d550e2e9f10486679e7fa7d51791777
7
- data.tar.gz: 102ef5400f2ff854725057a367469c380c9c9f87b31ec353fc758054b7058e39547c1ddf20c98993bbed8464295643b0b1cc901e6a48fef9743e1d0f571d41e9
6
+ metadata.gz: a142b939cdc8a798ed967e618da4c449a6368df13c2855c5e8734354f095598bbd3882b091fee99a9af72f438286ed022ac3abe8a87dabf498dba39a92ac5c4f
7
+ data.tar.gz: a91512f22c2874738ba0a3a2979f0f455d4bad41037bbeafdf98c753ff9ec3cb8f1ccfae4bebb9b7b2d9cf9f8029b0730723f4e921e98610ea15e3a263cf7578
@@ -18,7 +18,7 @@ module Interactor
18
18
  end
19
19
 
20
20
  def assign(context)
21
- filtered_context = context.select { |k, _| _schema.include?(k) }
21
+ filtered_context = context.to_h.select { |k, _| _schema.include?(k) }
22
22
  @table.merge!(filtered_context)
23
23
  end
24
24
 
@@ -1,5 +1,5 @@
1
1
  module Interactor
2
2
  module Schema
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: interactor-schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bernardo Farah
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-31 00:00:00.000000000 Z
11
+ date: 2017-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: interactor