4me-sdk 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +45 -44
- data/lib/sdk4me/client.rb +1 -2
- data/lib/sdk4me/client/attachments.rb +1 -1
- data/lib/sdk4me/client/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0891ee58287a20d56f1fd9277dca725846b4fb3bba930e45ad13be6bf15a701
|
4
|
+
data.tar.gz: 0c22cb2a4439ab4b1464a06b07ea10aa34ae07cce83fc5ac3de7d8a570a310c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '086e9a48872135a2c8ec64de29b80130ea27e930e1be101e464640bfcd3affe02c0dcc44968dcac7812034770981fcc5bb81361977f23169411eb3daaba7d2e3'
|
7
|
+
data.tar.gz: a8831105d536d71369b79b1809e70a0627ae2bb143d3b4e06cf0483651967987d1414ee44aa47850ed7c678d6cd707f5f0b364c73ccebd14ce78759045f7a3b2
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
4me-sdk (2.0.0
|
4
|
+
4me-sdk (2.0.0)
|
5
5
|
activesupport (>= 4.2)
|
6
6
|
gem_config (>= 0.3)
|
7
7
|
mime-types (>= 3.0)
|
@@ -9,73 +9,74 @@ PATH
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
activesupport (6.
|
12
|
+
activesupport (6.1.1)
|
13
13
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
14
|
-
i18n (>=
|
15
|
-
minitest (
|
16
|
-
tzinfo (~>
|
17
|
-
zeitwerk (~> 2.
|
14
|
+
i18n (>= 1.6, < 2)
|
15
|
+
minitest (>= 5.1)
|
16
|
+
tzinfo (~> 2.0)
|
17
|
+
zeitwerk (~> 2.3)
|
18
18
|
addressable (2.7.0)
|
19
19
|
public_suffix (>= 2.0.2, < 5.0)
|
20
|
-
ast (2.4.
|
21
|
-
concurrent-ruby (1.1.
|
20
|
+
ast (2.4.2)
|
21
|
+
concurrent-ruby (1.1.8)
|
22
22
|
crack (0.4.4)
|
23
|
-
diff-lcs (1.
|
24
|
-
docile (1.3.
|
23
|
+
diff-lcs (1.3)
|
24
|
+
docile (1.3.1)
|
25
25
|
gem_config (0.3.2)
|
26
26
|
hashdiff (1.0.1)
|
27
|
-
i18n (1.8.
|
27
|
+
i18n (1.8.7)
|
28
28
|
concurrent-ruby (~> 1.0)
|
29
|
+
json (2.1.0)
|
29
30
|
mime-types (3.3.1)
|
30
31
|
mime-types-data (~> 3.2015)
|
31
32
|
mime-types-data (3.2020.1104)
|
32
|
-
minitest (5.14.
|
33
|
-
parallel (1.
|
34
|
-
parser (
|
33
|
+
minitest (5.14.3)
|
34
|
+
parallel (1.20.1)
|
35
|
+
parser (3.0.0.0)
|
35
36
|
ast (~> 2.4.1)
|
36
37
|
public_suffix (4.0.6)
|
37
38
|
rainbow (3.0.0)
|
38
|
-
rake (12.3.
|
39
|
-
regexp_parser (
|
39
|
+
rake (12.3.1)
|
40
|
+
regexp_parser (2.0.3)
|
40
41
|
rexml (3.2.4)
|
41
|
-
rspec (3.
|
42
|
-
rspec-core (~> 3.
|
43
|
-
rspec-expectations (~> 3.
|
44
|
-
rspec-mocks (~> 3.
|
45
|
-
rspec-core (3.
|
46
|
-
rspec-support (~> 3.
|
47
|
-
rspec-expectations (3.
|
42
|
+
rspec (3.8.0)
|
43
|
+
rspec-core (~> 3.8.0)
|
44
|
+
rspec-expectations (~> 3.8.0)
|
45
|
+
rspec-mocks (~> 3.8.0)
|
46
|
+
rspec-core (3.8.0)
|
47
|
+
rspec-support (~> 3.8.0)
|
48
|
+
rspec-expectations (3.8.2)
|
48
49
|
diff-lcs (>= 1.2.0, < 2.0)
|
49
|
-
rspec-support (~> 3.
|
50
|
-
rspec-mocks (3.
|
50
|
+
rspec-support (~> 3.8.0)
|
51
|
+
rspec-mocks (3.8.0)
|
51
52
|
diff-lcs (>= 1.2.0, < 2.0)
|
52
|
-
rspec-support (~> 3.
|
53
|
-
rspec-support (3.
|
54
|
-
rubocop (
|
53
|
+
rspec-support (~> 3.8.0)
|
54
|
+
rspec-support (3.8.0)
|
55
|
+
rubocop (1.8.1)
|
55
56
|
parallel (~> 1.10)
|
56
|
-
parser (>=
|
57
|
+
parser (>= 3.0.0.0)
|
57
58
|
rainbow (>= 2.2.2, < 4.0)
|
58
|
-
regexp_parser (>= 1.8)
|
59
|
+
regexp_parser (>= 1.8, < 3.0)
|
59
60
|
rexml
|
60
|
-
rubocop-ast (>=
|
61
|
+
rubocop-ast (>= 1.2.0, < 2.0)
|
61
62
|
ruby-progressbar (~> 1.7)
|
62
|
-
unicode-display_width (>= 1.4.0, <
|
63
|
-
rubocop-ast (1.
|
63
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
64
|
+
rubocop-ast (1.4.1)
|
64
65
|
parser (>= 2.7.1.5)
|
65
|
-
ruby-progressbar (1.
|
66
|
-
simplecov (0.
|
66
|
+
ruby-progressbar (1.11.0)
|
67
|
+
simplecov (0.16.1)
|
67
68
|
docile (~> 1.1)
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
tzinfo (
|
72
|
-
|
73
|
-
unicode-display_width (
|
74
|
-
webmock (3.9.
|
69
|
+
json (>= 1.8, < 3)
|
70
|
+
simplecov-html (~> 0.10.0)
|
71
|
+
simplecov-html (0.10.2)
|
72
|
+
tzinfo (2.0.4)
|
73
|
+
concurrent-ruby (~> 1.0)
|
74
|
+
unicode-display_width (2.0.0)
|
75
|
+
webmock (3.9.1)
|
75
76
|
addressable (>= 2.3.6)
|
76
77
|
crack (>= 0.3.2)
|
77
78
|
hashdiff (>= 0.4.0, < 2.0.0)
|
78
|
-
zeitwerk (2.4.
|
79
|
+
zeitwerk (2.4.2)
|
79
80
|
|
80
81
|
PLATFORMS
|
81
82
|
ruby
|
@@ -90,4 +91,4 @@ DEPENDENCIES
|
|
90
91
|
webmock (~> 3)
|
91
92
|
|
92
93
|
BUNDLED WITH
|
93
|
-
1.
|
94
|
+
1.17.3
|
data/lib/sdk4me/client.rb
CHANGED
@@ -216,9 +216,8 @@ module Sdk4me
|
|
216
216
|
request
|
217
217
|
end
|
218
218
|
|
219
|
-
URI_ESCAPE_PATTERN = Regexp.new("[^#{URI::PATTERN::UNRESERVED}]")
|
220
219
|
def uri_escape(value)
|
221
|
-
URI.
|
220
|
+
URI.encode_www_form_component(value).gsub('+', '%20').gsub('.', '%2E')
|
222
221
|
end
|
223
222
|
|
224
223
|
# Expand the given header with the default header
|
@@ -32,7 +32,7 @@ module Sdk4me
|
|
32
32
|
# data = {
|
33
33
|
# note: "Hello ![](storage/abc/adjhajdhjaadf.png) and ![](storage/abc/fskdhakjfkjdssdf.png])",
|
34
34
|
# note_attachments: [
|
35
|
-
# { key: 'storage/abc/
|
35
|
+
# { key: 'storage/abc/adjhajdhjaadf.png', filesize: 12345, inline: true },
|
36
36
|
# { key: 'storage/abc/fskdhakjfkjdssdf.png'], filesize: 98765, inline: true }
|
37
37
|
# ],
|
38
38
|
# ...
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: 4me-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 4me
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -184,8 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
184
184
|
- !ruby/object:Gem::Version
|
185
185
|
version: '0'
|
186
186
|
requirements: []
|
187
|
-
|
188
|
-
rubygems_version: 2.7.9
|
187
|
+
rubygems_version: 3.0.9
|
189
188
|
signing_key:
|
190
189
|
specification_version: 4
|
191
190
|
summary: The official 4me SDK for Ruby. Provides easy access to the REST APIs found
|