beyond_api 0.21.0.pre → 0.22.1.pre

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: 40f831d05843ba3350e2aa8a390715004c1bc99f82836a9f40b60e7f0888ef25
4
- data.tar.gz: 4ae22902b0eb2b17941d3e1c59c039eba3d374cb6c0836091ed96906e2f2eae3
3
+ metadata.gz: c1c17d3c33972bbb2122a03c118ea64589d54b047d59a365d9ebeaba20b4ecd2
4
+ data.tar.gz: 98c14c1abd45b93590681d6f30cf76b626658b6d0809eab436af6e6b74751e1b
5
5
  SHA512:
6
- metadata.gz: 555e694512db5677f89330f54586fc377461e7d5ea17d8a4d8fb4c65851c01ab2f443ee182b1ebe50f725e57eceada098d4eb11e7e2d538f2a5b8bffd69fafd1
7
- data.tar.gz: 41752eb106202b23d7c1a449e30d6e4defe811d00bddb1280403829fe71d59683a08ae0b7797c615ff88a583ddcbcd05aa60c72dcc1b6b47ce0b610732c8ac6f
6
+ metadata.gz: 0dbfddd7937bbb4c38e1f5d8c1535bba4c42d535e2374b94eaa53c28c23904a3d60defb6087d7e4b25698f11c171ae09439a6f3d955066ea293dc2517857a465
7
+ data.tar.gz: '02159d93b4bd6e491ab63c842582d00d22182394f73064d9a411bdb8d883a36f155f2ecbb6bfc71086abffd94e81a7be8212d0e464513c69fd98bff3251faf51'
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ### v0.22.1.pre
2
+
3
+ * enhancements
4
+ * Update `faraday` gem to avoid warning messages.
5
+
6
+ ### v0.22.0.pre
7
+
8
+ * features
9
+ * Add at `ScriptTags#all` an optional parameter to retrieve only owner scripts
10
+
1
11
  ### v0.21.0.pre
2
12
 
3
13
  * bug-fixes
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- beyond_api (0.21.0.pre)
5
- faraday (~> 1.8.0)
4
+ beyond_api (0.22.1.pre)
5
+ faraday (~> 1.9.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -22,30 +22,34 @@ GEM
22
22
  activesupport (>= 5.0.0)
23
23
  faker (2.19.0)
24
24
  i18n (>= 1.6, < 2)
25
- faraday (1.8.0)
25
+ faraday (1.9.3)
26
26
  faraday-em_http (~> 1.0)
27
27
  faraday-em_synchrony (~> 1.0)
28
28
  faraday-excon (~> 1.1)
29
- faraday-httpclient (~> 1.0.1)
29
+ faraday-httpclient (~> 1.0)
30
+ faraday-multipart (~> 1.0)
30
31
  faraday-net_http (~> 1.0)
31
- faraday-net_http_persistent (~> 1.1)
32
+ faraday-net_http_persistent (~> 1.0)
32
33
  faraday-patron (~> 1.0)
33
34
  faraday-rack (~> 1.0)
34
- multipart-post (>= 1.2, < 3)
35
+ faraday-retry (~> 1.0)
35
36
  ruby2_keywords (>= 0.0.4)
36
37
  faraday-em_http (1.0.0)
37
38
  faraday-em_synchrony (1.0.0)
38
39
  faraday-excon (1.1.0)
39
40
  faraday-httpclient (1.0.1)
41
+ faraday-multipart (1.0.4)
42
+ multipart-post (~> 2)
40
43
  faraday-net_http (1.0.1)
41
44
  faraday-net_http_persistent (1.2.0)
42
45
  faraday-patron (1.0.0)
43
46
  faraday-rack (1.0.0)
47
+ faraday-retry (1.0.3)
44
48
  i18n (1.8.11)
45
49
  concurrent-ruby (~> 1.0)
46
50
  method_source (1.0.0)
47
51
  minitest (5.14.4)
48
- multipart-post (2.1.1)
52
+ multipart-post (2.3.0)
49
53
  parallel (1.21.0)
50
54
  parser (3.0.3.1)
51
55
  ast (~> 2.4.1)
@@ -112,4 +116,4 @@ DEPENDENCIES
112
116
  yard (~> 0.9)
113
117
 
114
118
  BUNDLED WITH
115
- 2.3.0
119
+ 2.4.8
data/beyond_api.gemspec CHANGED
@@ -31,5 +31,5 @@ Gem::Specification.new do |spec|
31
31
  spec.add_development_dependency "rubocop-rspec", "~> 2.4"
32
32
  spec.add_development_dependency "yard", "~> 0.9"
33
33
 
34
- spec.add_dependency "faraday", "~> 1.8.0"
34
+ spec.add_dependency "faraday", "~> 1.9.0"
35
35
  end
@@ -139,7 +139,7 @@ module BeyondApi
139
139
  # -H 'Authorization: Bearer <Access token>' \
140
140
  # -d '{
141
141
  # "name" : "Another name",
142
- # "description" : "Pay by Converge.",
142
+ # "description" : "Pay by ACME.",
143
143
  # "taxClass" : "REGULAR",
144
144
  # "discountOrFee" : {
145
145
  # "type" : "ABSOLUTE",
@@ -166,7 +166,7 @@ module BeyondApi
166
166
  # @example
167
167
  # body = {
168
168
  # "name" => "Another name",
169
- # "description" => "Pay by Converge.",
169
+ # "description" => "Pay by ACME.",
170
170
  # "tax_class" => "REGULAR",
171
171
  # "discount_or_fee" => {
172
172
  # "type" => "ABSOLUTE",
@@ -13,6 +13,7 @@ module BeyondApi
13
13
  # -H 'Authorization: Bearer <Access token>'
14
14
  #
15
15
  # @option params [Boolean] :paginated
16
+ # @option params [Boolean] :only_own
16
17
  # @option params [Integer] :size the page size
17
18
  # @option params [Integer] :page the page number
18
19
  #
@@ -24,6 +25,8 @@ module BeyondApi
24
25
  def all(params = {})
25
26
  path = "/script-tags"
26
27
 
28
+ params.merge!(client_id: BeyondApi.configuration.client_id) if params[:only_own]
29
+
27
30
  handle_all_request(path, :script_tags, params)
28
31
  end
29
32
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BeyondApi
4
- VERSION = "0.21.0.pre"
4
+ VERSION = "0.22.1.pre"
5
5
  end
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beyond_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0.pre
4
+ version: 0.22.1.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Unai Abrisketa
8
8
  - Kathia Salazar
9
9
  - German San Emeterio
10
10
  - Kenneth Gallego
11
- autorequire:
11
+ autorequire:
12
12
  bindir: exe
13
13
  cert_chain: []
14
- date: 2022-01-18 00:00:00.000000000 Z
14
+ date: 2023-03-29 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler
@@ -145,16 +145,16 @@ dependencies:
145
145
  requirements:
146
146
  - - "~>"
147
147
  - !ruby/object:Gem::Version
148
- version: 1.8.0
148
+ version: 1.9.0
149
149
  type: :runtime
150
150
  prerelease: false
151
151
  version_requirements: !ruby/object:Gem::Requirement
152
152
  requirements:
153
153
  - - "~>"
154
154
  - !ruby/object:Gem::Version
155
- version: 1.8.0
156
- description:
157
- email:
155
+ version: 1.9.0
156
+ description:
157
+ email:
158
158
  executables: []
159
159
  extensions: []
160
160
  extra_rdoc_files: []
@@ -228,7 +228,7 @@ files:
228
228
  homepage: https://github.com/ePages-de/beyond_api-ruby_client
229
229
  licenses: []
230
230
  metadata: {}
231
- post_install_message:
231
+ post_install_message:
232
232
  rdoc_options: []
233
233
  require_paths:
234
234
  - lib
@@ -243,8 +243,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
243
243
  - !ruby/object:Gem::Version
244
244
  version: 1.3.1
245
245
  requirements: []
246
- rubygems_version: 3.2.16
247
- signing_key:
246
+ rubygems_version: 3.4.1
247
+ signing_key:
248
248
  specification_version: 4
249
249
  summary: Ruby client to access the Beyond API
250
250
  test_files: []