eventify 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/eventify/provider/piletilevi.rb +3 -1
- data/lib/eventify/version.rb +1 -1
- data/spec/eventify/provider/piletilevi_spec.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: b160ce59dce5068d9d3f23501755da3663557966554a460f717409160843dea0
|
4
|
+
data.tar.gz: a7418a7630badca41964915df6d7aed2b57152f55c9598f96fb8103345d97516
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6e9938df2ca2f5628b761edae72261acfaad2f27db13e5bc3014d2e328a17d5ec60cbb5be939da813fecdff87c5f9afdd12f76697a443b74192265d2076b868
|
7
|
+
data.tar.gz: 9f3e4882076cbaa8be4d3940ab77f685de07c2b07725f313da5d7b54d13c0d9d464cd8b676492d15434a4896a93eea15a266a7269be3e1aad928b9cca9971a53
|
@@ -23,7 +23,9 @@ module Eventify::Provider
|
|
23
23
|
def events(json)
|
24
24
|
entries = json["responseData"]["event"]
|
25
25
|
entries.map do |entry|
|
26
|
-
|
26
|
+
link = URI.parse(entry["link"])
|
27
|
+
link.scheme = "https" unless link.scheme
|
28
|
+
new id: entry["id"], title: entry["title"], link: link.to_s, date: Time.at(entry["startTime"]["stamp"])
|
27
29
|
end
|
28
30
|
end
|
29
31
|
end
|
data/lib/eventify/version.rb
CHANGED
@@ -16,7 +16,7 @@ describe Eventify::Provider::Piletilevi do
|
|
16
16
|
),
|
17
17
|
Eventify::Provider::Piletilevi.new(
|
18
18
|
title: "Huumoriteater ''ENSV kohvik''",
|
19
|
-
link: "
|
19
|
+
link: "https://www.kinkekaart.ee/est/piletid/teater/komoodia/huumoriteater-ensv-kohvik-318916/",
|
20
20
|
date: Time.at(1577898000),
|
21
21
|
id: 21428
|
22
22
|
),
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eventify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jarmo Pertman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-01-
|
11
|
+
date: 2021-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: simple-rss
|