omnievent 0.1.0.pre5 → 0.1.0.pre6

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
  SHA256:
3
- metadata.gz: 5fe7bcccfdc17aa7d63acd4c44143de5006e7cee9c142078656751bc3a5641fe
4
- data.tar.gz: 7be7b177ae90c1eb8d3490e6563956c7d3f1ac702d59e108058c1eac70d4f696
3
+ metadata.gz: da7a854fa949e14a0f930de4108a7ca22b915290b1346ba36c82d82fc0a3559f
4
+ data.tar.gz: 055a064499e2ea885c1dfd6420f0e113ddf290cc8ed99d0a9479e68b83436e6f
5
5
  SHA512:
6
- metadata.gz: ba6ca77f917e16246ec0bb3d80186b9ae3fb515b4b4bc1947688cd5f2cd51bbf06abe88adaa557448f00c89fd12467c5bebf9f04852f6d92cae6773a12060230
7
- data.tar.gz: 43ebe3948021f40fa946c2bc5a7d200da65fd96754425bda2d378e6fa06dbdb94bfe1a051c53ed3605edfe9593b6a17ede5448065e61c696e5e1097a0d1f6150
6
+ metadata.gz: '0793a016b99ed2bcd95c7a84a8a3529d5b6fecea4523c60168bdc5f9056774cff70f095cff09567cc4726b15d4acf206df1f44c3312a4d7839aa32f6d409c1e0'
7
+ data.tar.gz: 23ab950fea1a63fa33205b870123bd80e713266684e64bc5570351c85f4c17a638f04395aad4dc60bb19a48a6eaa7a141652b5591d542357c8514b96e7845e61
@@ -10,8 +10,7 @@ module OmniEvent
10
10
  # Tells you if this is considered to be a valid EventHash.
11
11
  def valid?
12
12
  provider? &&
13
- data? &&
14
- data.valid? &&
13
+ (!data || data.valid?) &&
15
14
  (!metadata || metadata.valid?) &&
16
15
  (!associated_data || associated_data.valid?)
17
16
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OmniEvent
4
- VERSION = "0.1.0.pre5"
4
+ VERSION = "0.1.0.pre6"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omnievent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre5
4
+ version: 0.1.0.pre6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Angus McLeod
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-09-03 00:00:00.000000000 Z
11
+ date: 2024-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport