closeio 3.7.0 → 3.9.0

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
  SHA256:
3
- metadata.gz: 22d578f4787ecdd833a43e948731ec8e70bfed00e9699d286374d0296cd2f694
4
- data.tar.gz: 5c68599a29fcef18ac7dd342715e0839bc006f4ae825ef299fea694abcd85e36
3
+ metadata.gz: a6b0b40852d25d56f9df081bf0ffaa13f0fb595d7337852cd1675cbdb31ef8be
4
+ data.tar.gz: 67927424cf933329d352f3382c52a6ed2e70a09c8e5e54f89e676f83c802e0de
5
5
  SHA512:
6
- metadata.gz: fea7e6a3fc6cd61e26bb88f4bd2c27f56321ef0988db718213e568f1244de43b862c3837407c637b5a6133dddaa3322c259288d6894105f098fda1058f1b938c
7
- data.tar.gz: 285677e287ce76537a39463771efe7005bb194ee3bad250795f0c4fb6e30a88b11d85ed2ae7c6968df3517b7f8e15a6dd7ab8d5680004a2bab02af5cf07c33c3
6
+ metadata.gz: 8df504b0fc28e427470640ff9d0c24dd9cc92020ddb7e073d5c0fbd35c017ad71189ebdf4a95609cd72bdf627bc55b8f336db492efb9911870ff7669007980c8
7
+ data.tar.gz: 950a5076e89839ec877024c0a0fd620449bc0d2ba050762dcd29454aa51866622fd7f825b784fe5f06e516b819adecb4a6ab456e2383f249cfbcdf745a75e48f
data/.gitignore CHANGED
@@ -1,2 +1,3 @@
1
1
  closeio-*.gem
2
2
  .env
3
+ Gemfile.lock
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- closeio (3.7.0)
4
+ closeio (3.9.0)
5
5
  faraday
6
6
  faraday_middleware
7
7
  json
@@ -9,11 +9,11 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- addressable (2.5.2)
13
- public_suffix (>= 2.0.2, < 4.0)
12
+ addressable (2.8.0)
13
+ public_suffix (>= 2.0.2, < 5.0)
14
14
  crack (0.4.3)
15
15
  safe_yaml (~> 1.0.0)
16
- faraday (1.9.3)
16
+ faraday (1.10.2)
17
17
  faraday-em_http (~> 1.0)
18
18
  faraday-em_synchrony (~> 1.0)
19
19
  faraday-excon (~> 1.1)
@@ -29,8 +29,8 @@ GEM
29
29
  faraday-em_synchrony (1.0.0)
30
30
  faraday-excon (1.1.0)
31
31
  faraday-httpclient (1.0.1)
32
- faraday-multipart (1.0.3)
33
- multipart-post (>= 1.2, < 3)
32
+ faraday-multipart (1.0.4)
33
+ multipart-post (~> 2)
34
34
  faraday-net_http (1.0.1)
35
35
  faraday-net_http_persistent (1.2.0)
36
36
  faraday-patron (1.0.0)
@@ -39,10 +39,10 @@ GEM
39
39
  faraday_middleware (1.2.0)
40
40
  faraday (~> 1.0)
41
41
  hashdiff (0.3.6)
42
- json (2.6.1)
42
+ json (2.6.2)
43
43
  minitest (5.10.3)
44
- multipart-post (2.1.1)
45
- public_suffix (3.0.0)
44
+ multipart-post (2.2.3)
45
+ public_suffix (4.0.6)
46
46
  rake (12.0.0)
47
47
  ruby2_keywords (0.0.5)
48
48
  safe_yaml (1.0.4)
@@ -64,4 +64,4 @@ DEPENDENCIES
64
64
  webmock
65
65
 
66
66
  BUNDLED WITH
67
- 1.16.1
67
+ 1.17.2
data/README.md CHANGED
@@ -8,7 +8,7 @@ I :heart: Close, so if you have problems using the gem or would like to see supp
8
8
  Add this line to your application's Gemfile:
9
9
  ````ruby
10
10
  # in your Gemfile
11
- gem 'closeio', '~> 3.6'
11
+ gem 'closeio', '~> 3.9.0'
12
12
 
13
13
  # then...
14
14
  bundle install
@@ -94,7 +94,7 @@ module Closeio
94
94
  },
95
95
  ssl: { ca_file: ca_file }
96
96
  ) do |conn|
97
- conn.basic_auth api_key, ''
97
+ conn.request :basic_auth, api_key, ''
98
98
  conn.request :json
99
99
  conn.response :logger if logger
100
100
  conn.response :json
@@ -85,6 +85,10 @@ module Closeio
85
85
  post(call_path, options)
86
86
  end
87
87
 
88
+ def update_call(id, options = {})
89
+ put("#{call_path}#{id}/", options)
90
+ end
91
+
88
92
  def delete_call(id)
89
93
  delete("#{call_path}#{id}/")
90
94
  end
@@ -1,3 +1,3 @@
1
1
  module Closeio
2
- VERSION = '3.7.0'.freeze
2
+ VERSION = '3.9.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: closeio
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.0
4
+ version: 3.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taylor Brooks
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-12 00:00:00.000000000 Z
11
+ date: 2022-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -168,7 +168,7 @@ homepage: https://github.com/taylorbrooks/closeio
168
168
  licenses:
169
169
  - MIT
170
170
  metadata: {}
171
- post_install_message:
171
+ post_install_message:
172
172
  rdoc_options: []
173
173
  require_paths:
174
174
  - lib
@@ -183,8 +183,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
183
183
  - !ruby/object:Gem::Version
184
184
  version: '0'
185
185
  requirements: []
186
- rubygems_version: 3.1.4
187
- signing_key:
186
+ rubygems_version: 3.1.6
187
+ signing_key:
188
188
  specification_version: 4
189
189
  summary: A Ruby wrapper for the CloseIO API
190
190
  test_files: []