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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a3390276b35fd0dd3b56ad571b8f780d2a34392d9bc2bf96e8598bc60a6ee2b8
4
- data.tar.gz: 419bf7845e4bf1eafee30201c2a601676511b1938b5e4f277af6197eef7c7c80
3
+ metadata.gz: b8fa3886e8839e49ce0ca467b8aeb70e0df5610e43d04e9a668776b1779c6d6c
4
+ data.tar.gz: 59cdb87d2305ce67429ecc434664decc14f6ae76053ef1cb7840faa679ae405f
5
5
  SHA512:
6
- metadata.gz: e63cf230c1b23a6e75b2c4aeb7806bb0d4f6627cbf8b3bc72940f858f0f9f8328ca40227c4e0983664bb54989280a8043bd7c616456640d2dab0e7ff86d83cbb
7
- data.tar.gz: bcab893dac34848a1da83809417ce24974f73ad629fe121016d8b18d3e76d94e3f72a7172e9ceead74bccda95dc68019596dca9a05de37be97c2c7d8fd4244df
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 = /(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!10(?:\.\d{1,3}){3})(?!127(?:\.\d{1,3}){3})(?!169\.254(?:\.\d{1,3}){2})(?!192\.168(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]+-?)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]+-?)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?/
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)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  class IcalTag < Liquid::Block
5
- VERSION = "1.2.0"
5
+ VERSION = "1.2.1"
6
6
  end
7
7
  end
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.0
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-09 00:00:00.000000000 Z
11
+ date: 2020-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll