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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1cf552a82d43a329b88522217450a8cff11d366c
4
- data.tar.gz: ae60a53a916664d689545eb2ff77db0e194cfa5a
3
+ metadata.gz: 66e6608b7ebeee6a4e8c5d68b3818fc3777326ac
4
+ data.tar.gz: ddfa80c769a0cb705526e79950f0cf9a396111e5
5
5
  SHA512:
6
- metadata.gz: a74a66e6eb404e0e6d6a8b35997527d44b8adeb2061fdeb5a117a0902a3292443d4524f9459bc9704a81b02dc78339cfe9c54895044e5f493036285750749a7f
7
- data.tar.gz: bc8d10b7ac871a3091cbbd32c684f96dc974348d88ac84e0c4b4e2713e7f7dfbda9ea4f68987d47a78a8a47091cb9db9d1ddcc6dae46be21b737a8496df18d4d
6
+ metadata.gz: 14c7ecfc2421d28223d93cebbb299b30fee6092c2de2d605d4a4c949a6a9d1453f0e84afcb58e3f6a5c6b46785c8d26d697bddd3243d91f950f45958c2e7b86c
7
+ data.tar.gz: ccfe9cc13509ece210bc878ec5b94d18798b5955e9770217e6928e73970fbe2d9e79b3d27aa2d044b6ea282eca53edfde398a50f6d8dc743130cd874ced64eac
data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ == 0.1.3
2
+
3
+ * dropping httpclient dependency and defaulting to Net::HTTP adapter
4
+ * relaxed mime-type dependency
5
+
1
6
  == 0.1.2
2
7
 
3
8
  * relaxed mime-type dependency
@@ -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 :httpclient
27
+ connection.adapter :net_http
28
28
  end
29
29
 
30
30
  def self.open(uri, connection=DEFAULT_CONNECTION)
@@ -19,7 +19,7 @@ unless defined? HRefPreview::VERSION
19
19
  module VERSION
20
20
  MAJOR = 0
21
21
  MINOR = 1
22
- TINY = 2
22
+ TINY = 3
23
23
 
24
24
  STRING = [MAJOR, MINOR, TINY].join('.')
25
25
  end
@@ -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.25.0")
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.2
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.25.0
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.25.0
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