href-preview 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +5 -0
- data/lib/href_preview.rb +1 -1
- data/lib/href_preview/version.rb +1 -1
- data/tasks/gem.rake +1 -2
- metadata +3 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66e6608b7ebeee6a4e8c5d68b3818fc3777326ac
|
4
|
+
data.tar.gz: ddfa80c769a0cb705526e79950f0cf9a396111e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14c7ecfc2421d28223d93cebbb299b30fee6092c2de2d605d4a4c949a6a9d1453f0e84afcb58e3f6a5c6b46785c8d26d697bddd3243d91f950f45958c2e7b86c
|
7
|
+
data.tar.gz: ccfe9cc13509ece210bc878ec5b94d18798b5955e9770217e6928e73970fbe2d9e79b3d27aa2d044b6ea282eca53edfde398a50f6d8dc743130cd874ced64eac
|
data/CHANGELOG
CHANGED
data/lib/href_preview.rb
CHANGED
@@ -24,7 +24,7 @@ module HRefPreview
|
|
24
24
|
DEFAULT_CONNECTION = Faraday.new do |connection|
|
25
25
|
connection.use FaradayMiddleware::FollowRedirects, {:limit => 5}
|
26
26
|
connection.use Faraday::CommonRequest
|
27
|
-
connection.adapter :
|
27
|
+
connection.adapter :net_http
|
28
28
|
end
|
29
29
|
|
30
30
|
def self.open(uri, connection=DEFAULT_CONNECTION)
|
data/lib/href_preview/version.rb
CHANGED
data/tasks/gem.rake
CHANGED
@@ -28,8 +28,7 @@ namespace :gem do
|
|
28
28
|
s.add_runtime_dependency("faraday_middleware", ">= 0.8.0")
|
29
29
|
s.add_runtime_dependency("sanitize", ">= 2.0.0")
|
30
30
|
s.add_runtime_dependency("nokogiri", ">= 1.5.0")
|
31
|
-
s.add_runtime_dependency("mime-types", ">= 1.
|
32
|
-
s.add_runtime_dependency("httpclient", ">= 2.3")
|
31
|
+
s.add_runtime_dependency("mime-types", ">= 1.16.0")
|
33
32
|
s.add_runtime_dependency("fastimage", ">= 1.5.0")
|
34
33
|
|
35
34
|
s.require_path = "lib"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: href-preview
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bob Aman
|
@@ -142,28 +142,14 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - '>='
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 1.
|
145
|
+
version: 1.16.0
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - '>='
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 1.
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: httpclient
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - '>='
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '2.3'
|
160
|
-
type: :runtime
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - '>='
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: '2.3'
|
152
|
+
version: 1.16.0
|
167
153
|
- !ruby/object:Gem::Dependency
|
168
154
|
name: fastimage
|
169
155
|
requirement: !ruby/object:Gem::Requirement
|