richurls 0.5.1 → 0.5.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 333ae948670d4269a0e5d240c89b30ff5294ee1279c4f9023c502c24b3015f7f
4
- data.tar.gz: 0bdcaba4cec6d302b8b90ca7cf40a6235d231c1941fd087d452bb6c296cedfac
3
+ metadata.gz: 490075ea6a2e9a699998b0c01482e173f9d31db067885165943fc3257ddbfe90
4
+ data.tar.gz: 8a79f58d979835f17a73ad51520e81845be699e5737367a297f439e6341a8bb0
5
5
  SHA512:
6
- metadata.gz: e59058c228696a5ca313b0a43f8ace599f08b82fc530d415fbee52dd187c2b25c40131cfd9c312d39b0d976ff72a99c79041685fcc56712c206eb49a659864a8
7
- data.tar.gz: b244644902bdc6bba724b60542e4fe08f1c84038b5ce6c543bd507c58f04544ffdbe4dc12a35c2e33fcf909f3bbe02374e0f60ee9ad9b6dd49997710f8cdc422
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.1)
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.5)
15
+ oj (3.10.6)
16
16
  ox (2.13.2)
17
17
  parallel (1.19.1)
18
- parser (2.7.0.4)
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.80.1)
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, < 1.7)
44
+ unicode-display_width (>= 1.4.0, < 2.0)
45
45
  ruby-progressbar (1.10.1)
46
- unicode-display_width (1.6.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' && @uri.path =~ /\/p\/[a-zA-Z0-9]+/
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
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = 'richurls'
6
- spec.version = '0.5.1'
6
+ spec.version = '0.5.2'
7
7
  spec.authors = ['grdw']
8
8
  spec.email = ['gerard@wetransfer.com']
9
9
 
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.1
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-03-27 00:00:00.000000000 Z
11
+ date: 2020-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oj