richurls 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +6 -6
- data/lib/parsers/embed_parsers/paste.rb +3 -1
- data/richurls.gemspec +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: 490075ea6a2e9a699998b0c01482e173f9d31db067885165943fc3257ddbfe90
|
4
|
+
data.tar.gz: 8a79f58d979835f17a73ad51520e81845be699e5737367a297f439e6341a8bb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 900a48b5f28c16049b60b3d6d84ed644458e5df55ef1de2f55a096ae1fea8714ba1f2e29e34f7d7fa9db8d61c8ca544ea0524a5f73c9f8d8e14cef7a5a69170e
|
7
|
+
data.tar.gz: 7923a8c1bd74250099747aa108595547693b414192aac64b330cb4ae555f40e4cea9f359d42e5f8061785a7f1e5e3d9ee72245c58548b8cde715403bf53db43b
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
richurls (0.5.
|
4
|
+
richurls (0.5.2)
|
5
5
|
oj (~> 3)
|
6
6
|
ox (~> 2)
|
7
7
|
patron (~> 0.13)
|
@@ -12,10 +12,10 @@ GEM
|
|
12
12
|
ast (2.4.0)
|
13
13
|
diff-lcs (1.3)
|
14
14
|
jaro_winkler (1.5.4)
|
15
|
-
oj (3.10.
|
15
|
+
oj (3.10.6)
|
16
16
|
ox (2.13.2)
|
17
17
|
parallel (1.19.1)
|
18
|
-
parser (2.7.0.
|
18
|
+
parser (2.7.0.5)
|
19
19
|
ast (~> 2.4.0)
|
20
20
|
patron (0.13.3)
|
21
21
|
rainbow (3.0.0)
|
@@ -34,16 +34,16 @@ GEM
|
|
34
34
|
diff-lcs (>= 1.2.0, < 2.0)
|
35
35
|
rspec-support (~> 3.9.0)
|
36
36
|
rspec-support (3.9.2)
|
37
|
-
rubocop (0.
|
37
|
+
rubocop (0.81.0)
|
38
38
|
jaro_winkler (~> 1.5.1)
|
39
39
|
parallel (~> 1.10)
|
40
40
|
parser (>= 2.7.0.1)
|
41
41
|
rainbow (>= 2.2.2, < 4.0)
|
42
42
|
rexml
|
43
43
|
ruby-progressbar (~> 1.7)
|
44
|
-
unicode-display_width (>= 1.4.0, <
|
44
|
+
unicode-display_width (>= 1.4.0, < 2.0)
|
45
45
|
ruby-progressbar (1.10.1)
|
46
|
-
unicode-display_width (1.
|
46
|
+
unicode-display_width (1.7.0)
|
47
47
|
|
48
48
|
PLATFORMS
|
49
49
|
ruby
|
@@ -7,7 +7,9 @@ module RichUrls
|
|
7
7
|
'frameborder="0" allowfullscreen></iframe>'.freeze
|
8
8
|
|
9
9
|
def match?
|
10
|
-
@uri.host == 'pasteapp.com' &&
|
10
|
+
@uri.host == 'pasteapp.com' &&
|
11
|
+
@uri.path =~ /\/p\/[a-zA-Z0-9]+/ &&
|
12
|
+
!@uri.query.nil?
|
11
13
|
end
|
12
14
|
|
13
15
|
def parse
|
data/richurls.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: richurls
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- grdw
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oj
|