richurls 0.1.3 → 0.1.4

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: a6d77aaca3d8003b5cc6a4c7f35da04af68ea28ee776db506050b2ff26c35fab
4
- data.tar.gz: d2005a77f2316d465098b0472b3cbbb9d8da748de1177ba6a98676891e81d35d
3
+ metadata.gz: 5541eccaaeea815ea3d2fb9b27922f60aa304d60b25be19930551ae0a0880916
4
+ data.tar.gz: 7b0cb64b78a4f0a26153dcec85795264ea184e4a624a1ad396962a26de655247
5
5
  SHA512:
6
- metadata.gz: c9324ae32e325bd7c1c21d502bbf1a3dd7b5ba84d7e2ef7903b70075c8f84cc1dee1ff7d84e42d211becd04fd5aaafddf2f76836dfcf69f1427d377219749528
7
- data.tar.gz: f150a9311c4e670382a40f0c3bba955dceded26be8f6c0ac1f221528e6ebec14a59d7670d6a3c44a49ab94c3cbccc13e87dc0dd88b5fa9a63958633516327a0a
6
+ metadata.gz: 24be5d37ee7b9e1f7968b23befe4638ff5c8c080c595b9ef59715a1c954e07751d64de67ec70a59c36183d2dc055164de2309ee19f8d1289608579de180e8d91
7
+ data.tar.gz: 9d334c3ae45c72b2a930931a9598017a1aca4ed69070c09d33b255cc4db7322bd0166f85c5b02646250d26e13a4e50eae1887e32d1812c9d1806d86780309948
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- richurls (0.1.3)
4
+ richurls (0.1.4)
5
5
  oj (~> 3)
6
6
  ox (~> 2)
7
7
  patron (~> 0.13)
@@ -19,7 +19,6 @@ GEM
19
19
  parser (2.7.0.2)
20
20
  ast (~> 2.4.0)
21
21
  patron (0.13.3)
22
- psych (3.1.0)
23
22
  rainbow (3.0.0)
24
23
  redis (4.1.3)
25
24
  rspec (3.9.0)
@@ -35,16 +34,15 @@ GEM
35
34
  diff-lcs (>= 1.2.0, < 2.0)
36
35
  rspec-support (~> 3.9.0)
37
36
  rspec-support (3.9.2)
38
- rubocop (0.67.2)
37
+ rubocop (0.79.0)
39
38
  jaro_winkler (~> 1.5.1)
40
39
  parallel (~> 1.10)
41
- parser (>= 2.5, != 2.5.1.1)
42
- psych (>= 3.1.0)
40
+ parser (>= 2.7.0.1)
43
41
  rainbow (>= 2.2.2, < 4.0)
44
42
  ruby-progressbar (~> 1.7)
45
- unicode-display_width (>= 1.4.0, < 1.6)
43
+ unicode-display_width (>= 1.4.0, < 1.7)
46
44
  ruby-progressbar (1.10.1)
47
- unicode-display_width (1.5.0)
45
+ unicode-display_width (1.6.0)
48
46
 
49
47
  PLATFORMS
50
48
  ruby
@@ -53,7 +51,7 @@ DEPENDENCIES
53
51
  bundler (~> 2.1)
54
52
  richurls!
55
53
  rspec (~> 3.9)
56
- rubocop (~> 0.67.2)
54
+ rubocop (~> 0.79)
57
55
 
58
56
  BUNDLED WITH
59
57
  2.1.4
@@ -1,7 +1,3 @@
1
1
  module Parsers
2
- ProviderDisplayParser = lambda do |_, url|
3
- uri = URI(url)
4
-
5
- uri.scheme + '://' + uri.host
6
- end
2
+ ProviderDisplayParser = ->(_, url) { URI(url).host }
7
3
  end
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.1.3'
6
+ spec.version = '0.1.4'
7
7
  spec.authors = ['grdw']
8
8
  spec.email = ['gerard@wetransfer.com']
9
9
 
@@ -34,5 +34,5 @@ Gem::Specification.new do |spec|
34
34
  spec.add_dependency 'redis', '~> 4.1'
35
35
  spec.add_development_dependency 'bundler', '~> 2.1'
36
36
  spec.add_development_dependency 'rspec', '~> 3.9'
37
- spec.add_development_dependency 'rubocop', '~> 0.67.2'
37
+ spec.add_development_dependency 'rubocop', '~> 0.79'
38
38
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: richurls
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - grdw
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 0.67.2
103
+ version: '0.79'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 0.67.2
110
+ version: '0.79'
111
111
  description: Service which enriches URLs fast and cheap
112
112
  email:
113
113
  - gerard@wetransfer.com