embiggen 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/embiggen/http_client.rb +2 -2
- data/shorteners.txt +10 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29d7aa3abad54d0246deb34ed0e90183c606ba14
|
4
|
+
data.tar.gz: c160f737f4d3655b8d039cf69f98c04bc84dcc50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df09a87b69964245982a9db24f9c180eede9dc8f30b43a15e0694eddd9f2527c54b1e451248618016cdfd87bc6cdd26b7e2afaf3b585266ea87e6fac99553f24
|
7
|
+
data.tar.gz: f472052fff50b78454f9efc2365c554bc8e42081232a87e905b1bbdf95ca829adffc4243412d15b9fa4bd06deec47679f06349281cdf89b5515ccb7f288ccd3d
|
data/README.md
CHANGED
@@ -2,19 +2,19 @@
|
|
2
2
|
|
3
3
|
A Ruby library to expand shortened URLs.
|
4
4
|
|
5
|
-
**Current version:** 1.
|
5
|
+
**Current version:** 1.4.0
|
6
6
|
**Supported Ruby versions:** 1.8.7, 1.9.2, 1.9.3, 2.0, 2.1, 2.2
|
7
7
|
|
8
8
|
## Installation
|
9
9
|
|
10
10
|
```
|
11
|
-
gem install embiggen -v '~> 1.
|
11
|
+
gem install embiggen -v '~> 1.4'
|
12
12
|
```
|
13
13
|
|
14
14
|
Or, in your `Gemfile`:
|
15
15
|
|
16
16
|
```ruby
|
17
|
-
gem 'embiggen', '~> 1.
|
17
|
+
gem 'embiggen', '~> 1.4'
|
18
18
|
```
|
19
19
|
|
20
20
|
## Usage
|
data/lib/embiggen/http_client.rb
CHANGED
@@ -2,7 +2,7 @@ require 'embiggen/error'
|
|
2
2
|
require 'net/http'
|
3
3
|
|
4
4
|
module Embiggen
|
5
|
-
class
|
5
|
+
class GetWithoutBody < ::Net::HTTPRequest
|
6
6
|
METHOD = 'GET'.freeze
|
7
7
|
REQUEST_HAS_BODY = false
|
8
8
|
RESPONSE_HAS_BODY = false
|
@@ -30,7 +30,7 @@ module Embiggen
|
|
30
30
|
private
|
31
31
|
|
32
32
|
def request(timeout)
|
33
|
-
request =
|
33
|
+
request = GetWithoutBody.new(uri.request_uri)
|
34
34
|
http.open_timeout = timeout
|
35
35
|
http.read_timeout = timeout
|
36
36
|
|
data/shorteners.txt
CHANGED
@@ -1519,6 +1519,7 @@ cook.ba
|
|
1519
1519
|
cook.meali.me
|
1520
1520
|
cooks.io
|
1521
1521
|
coolb.lu
|
1522
|
+
coolscul.pt
|
1522
1523
|
coop.uk
|
1523
1524
|
copdf.co
|
1524
1525
|
coptom.uk
|
@@ -1898,6 +1899,7 @@ dlvr.it
|
|
1898
1899
|
dlvroo.it
|
1899
1900
|
dly.do
|
1900
1901
|
dlycncpt.me
|
1902
|
+
dlypr.es
|
1901
1903
|
dmil.uk
|
1902
1904
|
dmn.hm
|
1903
1905
|
dmntd.ca
|
@@ -2148,6 +2150,7 @@ emc.im
|
|
2148
2150
|
emia.us
|
2149
2151
|
emily.gift
|
2150
2152
|
emilyley.co
|
2153
|
+
emktr.co
|
2151
2154
|
emmi.co
|
2152
2155
|
emn.online
|
2153
2156
|
emonight.la
|
@@ -3521,6 +3524,7 @@ intlifem.ag
|
|
3521
3524
|
intlrv.rs
|
3522
3525
|
into.gl
|
3523
3526
|
into.tv
|
3527
|
+
intouch.cc
|
3524
3528
|
intr.mx
|
3525
3529
|
intrin.io
|
3526
3530
|
intuit.me
|
@@ -5458,6 +5462,7 @@ ows.la
|
|
5458
5462
|
owy.mn
|
5459
5463
|
owyd.co
|
5460
5464
|
oxelt.gl
|
5465
|
+
oxf.am
|
5461
5466
|
oxford.ly
|
5462
5467
|
oxhorn.it
|
5463
5468
|
oxygen.tv
|
@@ -6276,6 +6281,7 @@ sbux.co
|
|
6276
6281
|
sbux.jp
|
6277
6282
|
sbx.cm
|
6278
6283
|
sc.cr
|
6284
|
+
sc.mp
|
6279
6285
|
sc.org
|
6280
6286
|
scap.in
|
6281
6287
|
scasera.com
|
@@ -6997,6 +7003,7 @@ tbo.ly
|
|
6997
7003
|
tbp.im
|
6998
7004
|
tcare.co
|
6999
7005
|
tcat.tc
|
7006
|
+
tcbm.ag
|
7000
7007
|
tcc.io
|
7001
7008
|
tcdy.co
|
7002
7009
|
tch.fm
|
@@ -7059,6 +7066,7 @@ tfir.es
|
|
7059
7066
|
tfl.to
|
7060
7067
|
tfne.ws
|
7061
7068
|
tft.link
|
7069
|
+
tgam.ca
|
7062
7070
|
tgcol.com
|
7063
7071
|
tgdn.co
|
7064
7072
|
tgilinks.com
|
@@ -7752,6 +7760,7 @@ viajo.bi
|
|
7752
7760
|
viajwat.ch
|
7753
7761
|
vibedrate.co
|
7754
7762
|
vice.fm
|
7763
|
+
vice.video
|
7755
7764
|
vicesports.de
|
7756
7765
|
viciousre.co
|
7757
7766
|
vicpk.co
|
@@ -8088,6 +8097,7 @@ wrdm.ag
|
|
8088
8097
|
wrhstol.com
|
8089
8098
|
writ.rs
|
8090
8099
|
wrkhr.co
|
8100
|
+
wrld.bg
|
8091
8101
|
wrldbra.in
|
8092
8102
|
wrp.la
|
8093
8103
|
wrt.lv
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embiggen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Mucur
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-11-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: addressable
|
@@ -95,13 +95,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
95
|
version: '0'
|
96
96
|
requirements: []
|
97
97
|
rubyforge_project:
|
98
|
-
rubygems_version: 2.6.
|
98
|
+
rubygems_version: 2.6.13
|
99
99
|
signing_key:
|
100
100
|
specification_version: 4
|
101
101
|
summary: A library to expand shortened URLs
|
102
102
|
test_files:
|
103
|
+
- spec/spec_helper.rb
|
104
|
+
- spec/embiggen_spec.rb
|
103
105
|
- spec/embiggen/configuration_spec.rb
|
104
106
|
- spec/embiggen/shortener_list_spec.rb
|
105
107
|
- spec/embiggen/uri_spec.rb
|
106
|
-
- spec/embiggen_spec.rb
|
107
|
-
- spec/spec_helper.rb
|