4me-sdk 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 32cfcbac334dbc605b6488e54db56eb8c7db3dfca80724b08114affc264d4d59
4
- data.tar.gz: ed44080e2df04693b32d62bd0a0086511af32301ba6e5d4a4e401ba0ab4d70f1
3
+ metadata.gz: e0891ee58287a20d56f1fd9277dca725846b4fb3bba930e45ad13be6bf15a701
4
+ data.tar.gz: 0c22cb2a4439ab4b1464a06b07ea10aa34ae07cce83fc5ac3de7d8a570a310c7
5
5
  SHA512:
6
- metadata.gz: 0b4d62a29b08e73e7afce649acbccf27f3192f46d50b533e02429e0da45f3f1c99ccd5201343da550c3a7f2561d27e732a39c22794fb78f8f182831ec42a97f7
7
- data.tar.gz: '08c618e5b35ec1a7bc3a47e5800b64da25a992475ccc7fa5f99d8e781b4b724a3caf32dbf0936d8ca79d244fac2a4c5ddb9facd5be06893c867f7d97a8dbc6fd'
6
+ metadata.gz: '086e9a48872135a2c8ec64de29b80130ea27e930e1be101e464640bfcd3affe02c0dcc44968dcac7812034770981fcc5bb81361977f23169411eb3daaba7d2e3'
7
+ data.tar.gz: a8831105d536d71369b79b1809e70a0627ae2bb143d3b4e06cf0483651967987d1414ee44aa47850ed7c678d6cd707f5f0b364c73ccebd14ce78759045f7a3b2
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- 4me-sdk (2.0.0.pre.rc.2)
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.0.3.4)
12
+ activesupport (6.1.1)
13
13
  concurrent-ruby (~> 1.0, >= 1.0.2)
14
- i18n (>= 0.7, < 2)
15
- minitest (~> 5.1)
16
- tzinfo (~> 1.1)
17
- zeitwerk (~> 2.2, >= 2.2.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.1)
21
- concurrent-ruby (1.1.7)
20
+ ast (2.4.2)
21
+ concurrent-ruby (1.1.8)
22
22
  crack (0.4.4)
23
- diff-lcs (1.4.4)
24
- docile (1.3.2)
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.5)
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.2)
33
- parallel (1.19.2)
34
- parser (2.7.2.0)
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.3)
39
- regexp_parser (1.8.2)
39
+ rake (12.3.1)
40
+ regexp_parser (2.0.3)
40
41
  rexml (3.2.4)
41
- rspec (3.10.0)
42
- rspec-core (~> 3.10.0)
43
- rspec-expectations (~> 3.10.0)
44
- rspec-mocks (~> 3.10.0)
45
- rspec-core (3.10.0)
46
- rspec-support (~> 3.10.0)
47
- rspec-expectations (3.10.0)
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.10.0)
50
- rspec-mocks (3.10.0)
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.10.0)
53
- rspec-support (3.10.0)
54
- rubocop (0.93.1)
53
+ rspec-support (~> 3.8.0)
54
+ rspec-support (3.8.0)
55
+ rubocop (1.8.1)
55
56
  parallel (~> 1.10)
56
- parser (>= 2.7.1.5)
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 (>= 0.6.0)
61
+ rubocop-ast (>= 1.2.0, < 2.0)
61
62
  ruby-progressbar (~> 1.7)
62
- unicode-display_width (>= 1.4.0, < 2.0)
63
- rubocop-ast (1.1.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.10.1)
66
- simplecov (0.19.1)
66
+ ruby-progressbar (1.11.0)
67
+ simplecov (0.16.1)
67
68
  docile (~> 1.1)
68
- simplecov-html (~> 0.11)
69
- simplecov-html (0.12.3)
70
- thread_safe (0.3.6)
71
- tzinfo (1.2.7)
72
- thread_safe (~> 0.1)
73
- unicode-display_width (1.7.0)
74
- webmock (3.9.4)
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.1)
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.16.6
94
+ 1.17.3
@@ -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.escape(value, URI_ESCAPE_PATTERN).gsub('.', '%2E')
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/fskdhakjfkjdssdf.png', filesize: 12345, inline: true },
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
  # ...
@@ -1,5 +1,5 @@
1
1
  module Sdk4me
2
2
  class Client
3
- VERSION = '2.0.0'.freeze
3
+ VERSION = '2.0.1'.freeze
4
4
  end
5
5
  end
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.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: 2020-11-28 00:00:00.000000000 Z
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
- rubyforge_project:
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