sawyer 0.8.2 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +6 -1
- data/lib/sawyer/agent.rb +5 -0
- data/lib/sawyer.rb +1 -1
- data/sawyer.gemspec +1 -1
- metadata +13 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64487d4cb58ab69521a75070aedc4630968e138ca03add5e10f0a7933f007004
|
4
|
+
data.tar.gz: ecc9fb91e96931cc9e275ec976effbd88850a55a5f54c3ea521488b465d5b8bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7cdaadda1829426240d8f839c1065fa94b05014ebfede30367179c4e3d0add95484b1d6f3660e6bd810714beb7d6e1a3a814ce908539bd35b57e51a0b6a1e7ef
|
7
|
+
data.tar.gz: 3c4a5da79f2321361d0f6e9a36fa7d177eb0a087fb3514c66d1de3de0b932aa1b0fda2954e9df5815c5603367c8d1799031d16fd717299cccb73d1c80778ca27
|
data/Gemfile
CHANGED
data/lib/sawyer/agent.rb
CHANGED
@@ -48,6 +48,11 @@ module Sawyer
|
|
48
48
|
yield @conn if block_given?
|
49
49
|
end
|
50
50
|
|
51
|
+
# Public: Close the underlying connection.
|
52
|
+
def close
|
53
|
+
@conn.close if @conn.respond_to?(:close)
|
54
|
+
end
|
55
|
+
|
51
56
|
# Public: Retains a reference to the root relations of the API.
|
52
57
|
#
|
53
58
|
# Returns a Sawyer::Relation::Map.
|
data/lib/sawyer.rb
CHANGED
data/sawyer.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.homepage = 'https://github.com/lostisland/sawyer'
|
18
18
|
spec.licenses = ['MIT']
|
19
19
|
|
20
|
-
spec.add_dependency 'faraday',
|
20
|
+
spec.add_dependency 'faraday', '>= 0.17.3', '< 3'
|
21
21
|
spec.add_dependency 'addressable', ['>= 2.3.5']
|
22
22
|
|
23
23
|
spec.files = %w(Gemfile LICENSE.md README.md Rakefile)
|
metadata
CHANGED
@@ -1,36 +1,36 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sawyer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rick Olson
|
8
8
|
- Wynn Netherland
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2022-04-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: faraday
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - "
|
18
|
+
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
20
|
+
version: 0.17.3
|
21
21
|
- - "<"
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: '
|
23
|
+
version: '3'
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
27
|
requirements:
|
28
|
-
- - "
|
28
|
+
- - ">="
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
version:
|
30
|
+
version: 0.17.3
|
31
31
|
- - "<"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '3'
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: addressable
|
36
36
|
requirement: !ruby/object:Gem::Requirement
|
@@ -45,7 +45,7 @@ dependencies:
|
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 2.3.5
|
48
|
-
description:
|
48
|
+
description:
|
49
49
|
email: technoweenie@gmail.com
|
50
50
|
executables: []
|
51
51
|
extensions: []
|
@@ -73,7 +73,7 @@ homepage: https://github.com/lostisland/sawyer
|
|
73
73
|
licenses:
|
74
74
|
- MIT
|
75
75
|
metadata: {}
|
76
|
-
post_install_message:
|
76
|
+
post_install_message:
|
77
77
|
rdoc_options: []
|
78
78
|
require_paths:
|
79
79
|
- lib
|
@@ -88,9 +88,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: 1.3.5
|
90
90
|
requirements: []
|
91
|
-
|
92
|
-
|
93
|
-
signing_key:
|
91
|
+
rubygems_version: 3.0.9
|
92
|
+
signing_key:
|
94
93
|
specification_version: 2
|
95
94
|
summary: Secret User Agent of HTTP
|
96
95
|
test_files: []
|