omnievent 0.1.0.pre2 → 0.1.0.pre3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +2 -2
- data/lib/omnievent/event_hash.rb +16 -1
- data/lib/omnievent/utils.rb +0 -4
- data/lib/omnievent/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb07327f2d1f44b38d3eb76509641665bae87ed481d152382482617013be525f
|
4
|
+
data.tar.gz: 860d9fb49b3a7689cf29711cd4199e75ad8b197b05ae7bb348d5318ecacb806e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78ca39a4647ebdda34b2cda063a5b3b92b34693221b8e159ba68fafbc3e02fa8e067754e4445b96d209e3ad37d0b227d2179088f68c42fa3ffdffe28a761c9cd
|
7
|
+
data.tar.gz: 277bb9491cb240e4258d46bc11f4733077544ca356a1b14e6ec080fd98109b32c7f0411b4c38ada623ae0163996d39b825b07c8975fb58d0dba5fbb095c4bbf4
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/omnievent/event_hash.rb
CHANGED
@@ -122,6 +122,9 @@ module OmniEvent
|
|
122
122
|
language
|
123
123
|
status
|
124
124
|
taxonomies
|
125
|
+
sequence
|
126
|
+
series_id
|
127
|
+
occurrence_id
|
125
128
|
]
|
126
129
|
end
|
127
130
|
|
@@ -134,7 +137,7 @@ module OmniEvent
|
|
134
137
|
end
|
135
138
|
|
136
139
|
def uid_valid?
|
137
|
-
OmniEvent::Utils.
|
140
|
+
OmniEvent::Utils.valid_type?(uid, :string)
|
138
141
|
end
|
139
142
|
|
140
143
|
def created_at_valid?
|
@@ -156,6 +159,18 @@ module OmniEvent
|
|
156
159
|
def taxonomies_valid?
|
157
160
|
OmniEvent::Utils.all_valid_type?(taxonomies, :string)
|
158
161
|
end
|
162
|
+
|
163
|
+
def sequence_valid?
|
164
|
+
OmniEvent::Utils.valid_type?(sequence, :string)
|
165
|
+
end
|
166
|
+
|
167
|
+
def series_id_valid?
|
168
|
+
OmniEvent::Utils.valid_type?(series_id, :string)
|
169
|
+
end
|
170
|
+
|
171
|
+
def occurrence_id_valid?
|
172
|
+
OmniEvent::Utils.valid_type?(occurrence_id, :string)
|
173
|
+
end
|
159
174
|
end
|
160
175
|
|
161
176
|
# The event's associated data.
|
data/lib/omnievent/utils.rb
CHANGED
data/lib/omnievent/version.rb
CHANGED
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.
|
4
|
+
version: 0.1.0.pre3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Angus McLeod
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-10-
|
11
|
+
date: 2022-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
145
|
- !ruby/object:Gem::Version
|
146
146
|
version: 1.3.1
|
147
147
|
requirements: []
|
148
|
-
rubygems_version: 3.1.
|
148
|
+
rubygems_version: 3.1.6
|
149
149
|
signing_key:
|
150
150
|
specification_version: 4
|
151
151
|
summary: Manage events from multiple providers.
|