pubsub_on_rails 0.0.6 → 0.0.7

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: 2e16a6ca580753f0ca70829ed5eb5d5a2753efeb
4
- data.tar.gz: 2b659e40f78ab70028dfc472329c7d2b41310ad2
3
+ metadata.gz: e3e25ad0c40aca45ee464ada4fd7f99c58b9d85c
4
+ data.tar.gz: f120f19a9df7626cfe7fe8322bca917644c0763c
5
5
  SHA512:
6
- metadata.gz: c94ffa2864057fa7c1a31370ccb2cc4fb28d08dd80ffc2377d2817637e9305850ff95acc3ff018f6dddf4baf2e5d112120533b05daa9a51b648d1d006e2a061f
7
- data.tar.gz: 970079ba07b38fb9187e4beacf93179dc95bae38c38900064f887b9029bd7e14b8a5242ff23a6a92b7de26fb032ebf632de4844d3892daa66d69d27ff5ebcd8e
6
+ metadata.gz: 41513d591f90f71e6ffdcbc21483236619d1912b5857d78a754bec3fa6d9180b40f9919fec7e2a17f43d3d3d4b618845e686510f8f423f2f4a801f73abec9167
7
+ data.tar.gz: f79dc8a3a235c565c51d1ccaaf0b06aba964bba67b322476d097776095083f989d0b9bd5fbdb482d6e128a16bf6e523f954fa4e4b0e4847e3604e8c0d8fef174
@@ -1,5 +1,5 @@
1
1
  require 'dry-struct'
2
2
 
3
3
  module Types
4
- include Dry::Types.module
4
+ include Dry.Types()
5
5
  end
@@ -27,7 +27,7 @@ module PubSub
27
27
  event_payload_attribute_names.each_with_object({}) do |attribute_name, result|
28
28
  result[attribute_name] = PayloadAttribute.new(attribute_name, explicit_payload, context).get
29
29
  rescue PayloadAttribute::CannotEvaluate => cannot_evaluate_error
30
- if event_class.schema[attribute_name.to_sym].default?
30
+ if event_class.schema.key(attribute_name).default?
31
31
  next
32
32
  else
33
33
  raise(
@@ -1,3 +1,3 @@
1
1
  module PubSub
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pubsub_on_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stevo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-12 00:00:00.000000000 Z
11
+ date: 2020-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-struct