closeio 3.12.0 → 3.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/closeio.gemspec +3 -4
- data/lib/closeio/client.rb +6 -7
- data/lib/closeio/error.rb +1 -1
- data/lib/closeio/version.rb +1 -1
- metadata +8 -23
- data/Gemfile.lock +0 -67
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 455a72fb4450c853ef1c1f4a56cb163ed3a0a0eb367c3ea653118243aa0ddb04
|
4
|
+
data.tar.gz: 131feeaa904df435be2707d63220cc53782a6903219e2fa86beef721c404fc7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a1fed22f49bde9672d561e974aac065c0c81be1eb00e8b2d380fc99b3dfc1024dd88da8c65dc5cd73f3b5cc16e87590400272f9d2d48f933ae9759feb11972a
|
7
|
+
data.tar.gz: 636bbb8c0440d715ac89c9956d05928be9b7eb880c24ca430dad2f407e85aead93c9ad72bb4e2c0ae89864f7b55f3c6f03d52e329eeb0a034915247a45e191ba
|
data/CHANGELOG.md
CHANGED
data/closeio.gemspec
CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |s|
|
|
8
8
|
s.authors = ['Taylor Brooks']
|
9
9
|
s.email = ['dGJyb29rc0BnbWFpbC5jb20='].map { |e| Base64.decode64(e) }
|
10
10
|
s.homepage = 'https://github.com/taylorbrooks/closeio'
|
11
|
-
s.summary = 'A Ruby wrapper for the
|
12
|
-
s.description = 'A Ruby wrapper for the
|
11
|
+
s.summary = 'A Ruby wrapper for the Close API'
|
12
|
+
s.description = 'A Ruby wrapper for the Close API -- a sales CRM built by salespeople, for salespeople.'
|
13
13
|
s.license = 'MIT'
|
14
14
|
|
15
15
|
s.files = `git ls-files`.split($/)
|
@@ -18,8 +18,7 @@ Gem::Specification.new do |s|
|
|
18
18
|
|
19
19
|
s.require_paths = ['lib']
|
20
20
|
|
21
|
-
s.add_runtime_dependency 'faraday'
|
22
|
-
s.add_runtime_dependency 'faraday_middleware'
|
21
|
+
s.add_runtime_dependency 'faraday', '> 2.0'
|
23
22
|
s.add_runtime_dependency 'json'
|
24
23
|
|
25
24
|
s.add_development_dependency 'bundler'
|
data/lib/closeio/client.rb
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
require 'faraday'
|
2
|
-
require 'faraday_middleware'
|
3
2
|
require_relative 'error'
|
4
3
|
require_relative 'version'
|
5
4
|
|
@@ -97,12 +96,12 @@ module Closeio
|
|
97
96
|
},
|
98
97
|
ssl: { ca_file: ca_file }
|
99
98
|
) do |conn|
|
100
|
-
conn.request
|
101
|
-
conn.request
|
102
|
-
conn.response
|
103
|
-
conn.response
|
104
|
-
conn.use
|
105
|
-
conn.adapter
|
99
|
+
conn.request :authorization, :basic, api_key, ''
|
100
|
+
conn.request :json
|
101
|
+
conn.response :logger if logger
|
102
|
+
conn.response :json
|
103
|
+
conn.use FaradayMiddleware::CloseioErrorHandler if errors
|
104
|
+
conn.adapter Faraday.default_adapter
|
106
105
|
end
|
107
106
|
end
|
108
107
|
end
|
data/lib/closeio/error.rb
CHANGED
data/lib/closeio/version.rb
CHANGED
metadata
CHANGED
@@ -1,43 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: closeio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Taylor Brooks
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
19
|
+
version: '2.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: faraday_middleware
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
24
|
+
- - ">"
|
32
25
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
26
|
+
version: '2.0'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: json
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,7 +108,7 @@ dependencies:
|
|
122
108
|
- - ">="
|
123
109
|
- !ruby/object:Gem::Version
|
124
110
|
version: '0'
|
125
|
-
description: A Ruby wrapper for the
|
111
|
+
description: A Ruby wrapper for the Close API -- a sales CRM built by salespeople,
|
126
112
|
for salespeople.
|
127
113
|
email:
|
128
114
|
- tbrooks@gmail.com
|
@@ -134,7 +120,6 @@ files:
|
|
134
120
|
- ".gitignore"
|
135
121
|
- CHANGELOG.md
|
136
122
|
- Gemfile
|
137
|
-
- Gemfile.lock
|
138
123
|
- LICENSE
|
139
124
|
- README.md
|
140
125
|
- Rakefile
|
@@ -191,5 +176,5 @@ requirements: []
|
|
191
176
|
rubygems_version: 3.1.6
|
192
177
|
signing_key:
|
193
178
|
specification_version: 4
|
194
|
-
summary: A Ruby wrapper for the
|
179
|
+
summary: A Ruby wrapper for the Close API
|
195
180
|
test_files: []
|
data/Gemfile.lock
DELETED
@@ -1,67 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
closeio (3.12.0)
|
5
|
-
faraday
|
6
|
-
faraday_middleware
|
7
|
-
json
|
8
|
-
|
9
|
-
GEM
|
10
|
-
remote: https://rubygems.org/
|
11
|
-
specs:
|
12
|
-
addressable (2.8.0)
|
13
|
-
public_suffix (>= 2.0.2, < 5.0)
|
14
|
-
crack (0.4.3)
|
15
|
-
safe_yaml (~> 1.0.0)
|
16
|
-
faraday (1.10.2)
|
17
|
-
faraday-em_http (~> 1.0)
|
18
|
-
faraday-em_synchrony (~> 1.0)
|
19
|
-
faraday-excon (~> 1.1)
|
20
|
-
faraday-httpclient (~> 1.0)
|
21
|
-
faraday-multipart (~> 1.0)
|
22
|
-
faraday-net_http (~> 1.0)
|
23
|
-
faraday-net_http_persistent (~> 1.0)
|
24
|
-
faraday-patron (~> 1.0)
|
25
|
-
faraday-rack (~> 1.0)
|
26
|
-
faraday-retry (~> 1.0)
|
27
|
-
ruby2_keywords (>= 0.0.4)
|
28
|
-
faraday-em_http (1.0.0)
|
29
|
-
faraday-em_synchrony (1.0.0)
|
30
|
-
faraday-excon (1.1.0)
|
31
|
-
faraday-httpclient (1.0.1)
|
32
|
-
faraday-multipart (1.0.4)
|
33
|
-
multipart-post (~> 2)
|
34
|
-
faraday-net_http (1.0.1)
|
35
|
-
faraday-net_http_persistent (1.2.0)
|
36
|
-
faraday-patron (1.0.0)
|
37
|
-
faraday-rack (1.0.0)
|
38
|
-
faraday-retry (1.0.3)
|
39
|
-
faraday_middleware (1.2.0)
|
40
|
-
faraday (~> 1.0)
|
41
|
-
hashdiff (0.3.6)
|
42
|
-
json (2.6.3)
|
43
|
-
minitest (5.10.3)
|
44
|
-
multipart-post (2.2.3)
|
45
|
-
public_suffix (4.0.6)
|
46
|
-
rake (12.0.0)
|
47
|
-
ruby2_keywords (0.0.5)
|
48
|
-
safe_yaml (1.0.4)
|
49
|
-
vcr (3.0.3)
|
50
|
-
webmock (3.0.1)
|
51
|
-
addressable (>= 2.3.6)
|
52
|
-
crack (>= 0.3.2)
|
53
|
-
hashdiff
|
54
|
-
|
55
|
-
PLATFORMS
|
56
|
-
ruby
|
57
|
-
|
58
|
-
DEPENDENCIES
|
59
|
-
bundler
|
60
|
-
closeio!
|
61
|
-
minitest
|
62
|
-
rake
|
63
|
-
vcr
|
64
|
-
webmock
|
65
|
-
|
66
|
-
BUNDLED WITH
|
67
|
-
1.17.2
|