omnievent 0.1.0.pre1 → 0.1.0.pre2
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -2
- data/Gemfile.lock +2 -2
- data/README.md +8 -4
- data/lib/omnievent/strategies/developer.rb +4 -4
- data/lib/omnievent/strategy.rb +2 -0
- data/lib/omnievent/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa8cce6c3cb47b7bfca7a47f52fa85716da5dad467f554cfc2a2b94f07ed7592
|
4
|
+
data.tar.gz: 5b93e428b47df1cdd7c705339789cba4e9964a72b632bc91af06777fe7c90d89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3dd505bcd7de6aabb10d74413ba53e1a1db5a4598ae2d2bd9871763ac5961b5dffbacbdfc64ce8f3146f00ae846e919e1ea145555d0f91ae46d327a34794ea27
|
7
|
+
data.tar.gz: 0aa3a3c99c131bf24230391aaa724e87bbe16b446851f81eb57c754fb718e0e816dd25a8646e0329d5f2637f7726ac1f0281876c1e359925c21d4e03ecd417e9
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
omnievent (0.1.0.
|
4
|
+
omnievent (0.1.0.pre2)
|
5
5
|
hashie (>= 3.4.6)
|
6
6
|
iso-639 (~> 0.3.5)
|
7
7
|
tzinfo (~> 2.0)
|
@@ -9,7 +9,7 @@ PATH
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
activesupport (7.0.
|
12
|
+
activesupport (7.0.4)
|
13
13
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
14
14
|
i18n (>= 1.6, < 2)
|
15
15
|
minitest (>= 5.1)
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# OmniEvent (
|
1
|
+
# OmniEvent (Pre Release)
|
2
2
|
|
3
3
|
Manage events from any calendar, event discovery, event ticketing, event management, social network or video conferencing provider in ruby.
|
4
4
|
|
@@ -10,11 +10,15 @@ The research and its associated data will be made publicly available in the comi
|
|
10
10
|
|
11
11
|
## Installation
|
12
12
|
|
13
|
-
|
13
|
+
> Please note that this gem is pre release and is not yet ready for production.
|
14
14
|
|
15
|
-
|
15
|
+
Install the gem as follows:
|
16
16
|
|
17
|
-
|
17
|
+
$ gem install omnievent
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
> Please note that this gem is pre release and is not yet ready for production.
|
18
22
|
|
19
23
|
### Configure Providers
|
20
24
|
|
@@ -20,14 +20,14 @@ module OmniEvent
|
|
20
20
|
include OmniEvent::Strategy
|
21
21
|
|
22
22
|
option :name, "developer"
|
23
|
+
option :uri, File.join(File.expand_path("../../..", __dir__), "spec", "fixtures", "list_events.json")
|
23
24
|
|
24
|
-
def
|
25
|
-
|
26
|
-
@raw_data ||= JSON.parse(File.open(fixture).read).to_h
|
25
|
+
def raw_data
|
26
|
+
@raw_data ||= JSON.parse(File.open(options.uri).read).to_h
|
27
27
|
end
|
28
28
|
|
29
29
|
def raw_events
|
30
|
-
|
30
|
+
raw_data["events"]
|
31
31
|
end
|
32
32
|
|
33
33
|
def event_hash(raw_event)
|
data/lib/omnievent/strategy.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.pre2
|
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-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|