closeio 3.6.0 → 3.8.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 +1 -1
- data/Gemfile.lock +32 -10
- data/lib/closeio/client.rb +2 -2
- data/lib/closeio/resources/activity.rb +6 -2
- data/lib/closeio/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a20f7a0995248eb6cca108c486db611618eae19962fb6a39bc43e05a69f03d9
|
4
|
+
data.tar.gz: cfd4c126bedd90546a011bb36f4485f56a3a69ec232331857c1e22003ca14f0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7154ba639e379b9369d19040dd3a0ecc11e98f4ccccd720233cb7566a63ebbe42c764951489125d14bb155168e68ddfc1dde4ce7e3fe9a547c56a5a1a06186a4
|
7
|
+
data.tar.gz: c0af28088ecc574dde03344d500ee51ca07cc5b151498952d78c05f6a1d9a5e5d4194e1d9dc55210c55725dd477825256b431df1d1e997095cce5da64fd2aee7
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
closeio (
|
4
|
+
closeio (3.8.0)
|
5
5
|
faraday
|
6
6
|
faraday_middleware
|
7
7
|
json
|
@@ -9,20 +9,42 @@ PATH
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
addressable (2.
|
13
|
-
public_suffix (>= 2.0.2, <
|
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 (
|
16
|
+
faraday (1.10.0)
|
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.3)
|
17
33
|
multipart-post (>= 1.2, < 3)
|
18
|
-
|
19
|
-
|
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)
|
20
41
|
hashdiff (0.3.6)
|
21
|
-
json (2.1
|
42
|
+
json (2.6.1)
|
22
43
|
minitest (5.10.3)
|
23
|
-
multipart-post (2.
|
24
|
-
public_suffix (
|
44
|
+
multipart-post (2.1.1)
|
45
|
+
public_suffix (4.0.6)
|
25
46
|
rake (12.0.0)
|
47
|
+
ruby2_keywords (0.0.5)
|
26
48
|
safe_yaml (1.0.4)
|
27
49
|
vcr (3.0.3)
|
28
50
|
webmock (3.0.1)
|
@@ -42,4 +64,4 @@ DEPENDENCIES
|
|
42
64
|
webmock
|
43
65
|
|
44
66
|
BUNDLED WITH
|
45
|
-
1.
|
67
|
+
1.17.2
|
data/lib/closeio/client.rb
CHANGED
@@ -76,7 +76,7 @@ module Closeio
|
|
76
76
|
|
77
77
|
def assemble_list_query(query, options)
|
78
78
|
options[:query] = if query.respond_to? :map
|
79
|
-
query.map { |k, v| "#{k}
|
79
|
+
query.map { |k, v| "#{k}:\"#{v}\"" }.join(' ')
|
80
80
|
else
|
81
81
|
query
|
82
82
|
end
|
@@ -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
|
@@ -77,6 +77,10 @@ module Closeio
|
|
77
77
|
get(call_path, options)
|
78
78
|
end
|
79
79
|
|
80
|
+
def find_call(id)
|
81
|
+
get("#{call_path}#{id}/")
|
82
|
+
end
|
83
|
+
|
80
84
|
def create_call(options = {})
|
81
85
|
post(call_path, options)
|
82
86
|
end
|
@@ -97,11 +101,11 @@ module Closeio
|
|
97
101
|
get("#{sms_path}#{id}/")
|
98
102
|
end
|
99
103
|
|
100
|
-
def create_sms
|
104
|
+
def create_sms(options)
|
101
105
|
post(sms_path, options)
|
102
106
|
end
|
103
107
|
|
104
|
-
def update_sms
|
108
|
+
def update_sms(id, options = {})
|
105
109
|
put("#{sms_path}#{id}/", options)
|
106
110
|
end
|
107
111
|
|
data/lib/closeio/version.rb
CHANGED
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.
|
4
|
+
version: 3.8.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:
|
11
|
+
date: 2022-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -183,7 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
183
183
|
- !ruby/object:Gem::Version
|
184
184
|
version: '0'
|
185
185
|
requirements: []
|
186
|
-
rubygems_version: 3.
|
186
|
+
rubygems_version: 3.1.6
|
187
187
|
signing_key:
|
188
188
|
specification_version: 4
|
189
189
|
summary: A Ruby wrapper for the CloseIO API
|