jekyll-ical-tag 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll-ical-tag/event.rb +21 -1
- data/lib/jekyll-ical-tag/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: b8fa3886e8839e49ce0ca467b8aeb70e0df5610e43d04e9a668776b1779c6d6c
|
4
|
+
data.tar.gz: 59cdb87d2305ce67429ecc434664decc14f6ae76053ef1cb7840faa679ae405f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93f3276d4043e1c5a0b5bfde84fa3c01ba4279d2bf60237bab34e5217f2938f91eda04ffd220dab89b7deb1168e5d3d916835dffc49f3d5e0acdc178a7d01cbd
|
7
|
+
data.tar.gz: 10de4f0d4667666a405171225cdd7230d496c6b3aa1722e8c37cbc1bee91521e3d307aaafe6562b2ad399f909dff2b40816f1f5f24aa890bb10adac2d5b6b1af
|
@@ -6,7 +6,27 @@ require "uri"
|
|
6
6
|
module Jekyll
|
7
7
|
class IcalTag
|
8
8
|
class Event
|
9
|
-
URL_REGEX = /
|
9
|
+
URL_REGEX = /
|
10
|
+
(?:(?:https?|ftp):\/\/) # Allowable schemes
|
11
|
+
(?:\S+(?::\S*)?@)? # username:password, which is optional
|
12
|
+
(?: # Domain part follows; non-capturing
|
13
|
+
# These IP addresses are valid domain values
|
14
|
+
(?!10(?:\.\d{1,3}){3})
|
15
|
+
(?!127(?:\.\d{1,3}){3})
|
16
|
+
(?!169\.254(?:\.\d{1,3}){2})
|
17
|
+
(?!192\.168(?:\.\d{1,3}){2})
|
18
|
+
(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})
|
19
|
+
(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])
|
20
|
+
(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}
|
21
|
+
(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))
|
22
|
+
|
|
23
|
+
(?:(?:[a-z\u00a1-\uffff0-9]+-?)*[a-z\u00a1-\uffff0-9]+)
|
24
|
+
(?:\.(?:[a-z\u00a1-\uffff0-9]+-?)*[a-z\u00a1-\uffff0-9]+)*
|
25
|
+
(?:\.(?:[a-z\u00a1-\uffff]{2,}))
|
26
|
+
)
|
27
|
+
(?::\d{2,5})? # Optional port number
|
28
|
+
(?:\/[^\s"]*)? # Anything that is not a space or a double quote
|
29
|
+
/x
|
10
30
|
extend Forwardable
|
11
31
|
|
12
32
|
def initialize(event)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-ical-tag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ricky Chilcott
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-04-
|
11
|
+
date: 2020-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|