whitelabelmachinename-ruby-sdk 3.2.0 → 3.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +5 -5
  3. data/lib/whitelabelmachinename-ruby-sdk/models/payment_initiation_advice_file.rb +11 -1
  4. data/lib/whitelabelmachinename-ruby-sdk/models/payment_initiation_advice_file_state.rb +3 -1
  5. data/lib/whitelabelmachinename-ruby-sdk/models/transaction_completion.rb +26 -1
  6. data/lib/whitelabelmachinename-ruby-sdk/models/transaction_completion_request.rb +26 -1
  7. data/lib/whitelabelmachinename-ruby-sdk/version.rb +1 -1
  8. data/vendor/bundle/ruby/2.4.0/cache/addressable-2.8.1.gem +0 -0
  9. data/vendor/bundle/ruby/2.4.0/cache/power_assert-2.0.2.gem +0 -0
  10. data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/ffi-1.15.5/gem_make.out +2 -2
  11. data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/json-2.6.2/gem_make.out +1 -1
  12. data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/json-2.6.2/mkmf.log +1 -1
  13. data/vendor/bundle/ruby/2.4.0/gems/{addressable-2.8.0 → addressable-2.8.1}/CHANGELOG.md +16 -0
  14. data/vendor/bundle/ruby/2.4.0/gems/{addressable-2.8.0 → addressable-2.8.1}/Gemfile +4 -2
  15. data/vendor/bundle/ruby/2.4.0/gems/{addressable-2.8.0 → addressable-2.8.1}/LICENSE.txt +0 -0
  16. data/vendor/bundle/ruby/2.4.0/gems/{addressable-2.8.0 → addressable-2.8.1}/README.md +0 -0
  17. data/vendor/bundle/ruby/2.4.0/gems/{addressable-2.8.0 → addressable-2.8.1}/Rakefile +0 -0
  18. data/vendor/bundle/ruby/2.4.0/gems/{addressable-2.8.0 → addressable-2.8.1}/data/unicode.data +0 -0
  19. data/vendor/bundle/ruby/2.4.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/idna/native.rb +0 -1
  20. data/vendor/bundle/ruby/2.4.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/idna/pure.rb +0 -1
  21. data/vendor/bundle/ruby/2.4.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/idna.rb +0 -1
  22. data/vendor/bundle/ruby/2.4.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/template.rb +3 -4
  23. data/vendor/bundle/ruby/2.4.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/uri.rb +57 -53
  24. data/vendor/bundle/ruby/2.4.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/version.rb +1 -2
  25. data/vendor/bundle/ruby/2.4.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable.rb +0 -0
  26. data/vendor/bundle/ruby/2.4.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/idna_spec.rb +0 -1
  27. data/vendor/bundle/ruby/2.4.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/net_http_compat_spec.rb +0 -1
  28. data/vendor/bundle/ruby/2.4.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/security_spec.rb +0 -1
  29. data/vendor/bundle/ruby/2.4.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/template_spec.rb +9 -1
  30. data/vendor/bundle/ruby/2.4.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/uri_spec.rb +81 -1
  31. data/vendor/bundle/ruby/2.4.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/spec_helper.rb +0 -0
  32. data/vendor/bundle/ruby/2.4.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/clobber.rake +0 -0
  33. data/vendor/bundle/ruby/2.4.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/gem.rake +5 -2
  34. data/vendor/bundle/ruby/2.4.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/git.rake +0 -0
  35. data/vendor/bundle/ruby/2.4.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/metrics.rake +0 -0
  36. data/vendor/bundle/ruby/2.4.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/profile.rake +0 -0
  37. data/vendor/bundle/ruby/2.4.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/rspec.rake +0 -0
  38. data/vendor/bundle/ruby/2.4.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/yard.rake +0 -0
  39. data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +3 -3
  40. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/Makefile +2 -2
  41. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/generator/Makefile +2 -2
  42. data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/parser/Makefile +2 -2
  43. data/vendor/bundle/ruby/2.4.0/gems/{power_assert-2.0.1 → power_assert-2.0.2}/.github/workflows/ci.yml +1 -1
  44. data/vendor/bundle/ruby/2.4.0/gems/{power_assert-2.0.1 → power_assert-2.0.2}/.gitignore +0 -0
  45. data/vendor/bundle/ruby/2.4.0/gems/{power_assert-2.0.1 → power_assert-2.0.2}/BSDL +0 -0
  46. data/vendor/bundle/ruby/2.4.0/gems/{power_assert-2.0.1 → power_assert-2.0.2}/COPYING +0 -0
  47. data/vendor/bundle/ruby/2.4.0/gems/{power_assert-2.0.1 → power_assert-2.0.2}/Gemfile +0 -0
  48. data/vendor/bundle/ruby/2.4.0/gems/{power_assert-2.0.1 → power_assert-2.0.2}/LEGAL +0 -0
  49. data/vendor/bundle/ruby/2.4.0/gems/{power_assert-2.0.1 → power_assert-2.0.2}/README.md +0 -0
  50. data/vendor/bundle/ruby/2.4.0/gems/{power_assert-2.0.1 → power_assert-2.0.2}/Rakefile +0 -0
  51. data/vendor/bundle/ruby/2.4.0/gems/{power_assert-2.0.1 → power_assert-2.0.2}/lib/power_assert/colorize.rb +0 -0
  52. data/vendor/bundle/ruby/2.4.0/gems/{power_assert-2.0.1 → power_assert-2.0.2}/lib/power_assert/configuration.rb +0 -0
  53. data/vendor/bundle/ruby/2.4.0/gems/{power_assert-2.0.1 → power_assert-2.0.2}/lib/power_assert/context.rb +0 -0
  54. data/vendor/bundle/ruby/2.4.0/gems/{power_assert-2.0.1 → power_assert-2.0.2}/lib/power_assert/enable_tracepoint_events.rb +4 -2
  55. data/vendor/bundle/ruby/2.4.0/gems/{power_assert-2.0.1 → power_assert-2.0.2}/lib/power_assert/inspector.rb +6 -2
  56. data/vendor/bundle/ruby/2.4.0/gems/{power_assert-2.0.1 → power_assert-2.0.2}/lib/power_assert/parser.rb +0 -0
  57. data/vendor/bundle/ruby/2.4.0/gems/{power_assert-2.0.1 → power_assert-2.0.2}/lib/power_assert/version.rb +1 -1
  58. data/vendor/bundle/ruby/2.4.0/gems/{power_assert-2.0.1 → power_assert-2.0.2}/lib/power_assert.rb +0 -0
  59. data/vendor/bundle/ruby/2.4.0/gems/{power_assert-2.0.1 → power_assert-2.0.2}/power_assert.gemspec +0 -0
  60. data/vendor/bundle/ruby/2.4.0/specifications/{addressable-2.8.0.gemspec → addressable-2.8.1.gemspec} +8 -7
  61. data/vendor/bundle/ruby/2.4.0/specifications/{power_assert-2.0.1.gemspec → power_assert-2.0.2.gemspec} +3 -3
  62. metadata +49 -50
  63. data/vendor/bundle/ruby/2.4.0/cache/addressable-2.8.0.gem +0 -0
  64. data/vendor/bundle/ruby/2.4.0/cache/power_assert-2.0.1.gem +0 -0
  65. data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/addressable.gemspec +0 -37
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5f8a8b710890b452d21b0c79dd697c404cbfda7e
4
- data.tar.gz: 0acdabc9725758cc38df14570b2d37496475356f
3
+ metadata.gz: 33af58f8b49de82581eb7ba600fd05c43e1dd2e4
4
+ data.tar.gz: 0dda63cf1c84ef80c105063cf3ad7c4cc17fbd33
5
5
  SHA512:
6
- metadata.gz: 372ceabb5651d4b494d3782acbe4e7919db761cb9df3d67aa0170111f318ffc4478dff37f11407e88b2c341dcc0cfe2c7fba71e64d70136c796d317a5fc0937f
7
- data.tar.gz: 58d81119c7653a535a589be71e273b9ccf816d727202244add43db2966fa12d4ea5fc06eeabff08a58979117e09bcd2aba828feda60292e6a0bbd13c6e8d760b
6
+ metadata.gz: 2bfb3948b2d3bc2429523984aa3f281b1b7bfb811fc637d798445ebdd871cbf860e6c4f09258554bd50dfea06f12d34b97e2741a9798db593e507734048cdbfc
7
+ data.tar.gz: 149d94e62135585f39f2de4936797f6b1dbe328f4f3dee31867bce50ffc56d1a79ba8d29bdd806ceae21d31000317ba64ec15f6ae921b52ae9c711832c4f4824
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- whitelabelmachinename-ruby-sdk (3.2.0)
4
+ whitelabelmachinename-ruby-sdk (3.2.1)
5
5
  addressable (~> 2.3, >= 2.3.0)
6
6
  json (~> 2.3, >= 2.3.0)
7
7
  typhoeus (~> 1.0, >= 1.0.1)
@@ -9,13 +9,13 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- addressable (2.8.0)
13
- public_suffix (>= 2.0.2, < 5.0)
12
+ addressable (2.8.1)
13
+ public_suffix (>= 2.0.2, < 6.0)
14
14
  ethon (0.15.0)
15
15
  ffi (>= 1.15.0)
16
16
  ffi (1.15.5)
17
17
  json (2.6.2)
18
- power_assert (2.0.1)
18
+ power_assert (2.0.2)
19
19
  public_suffix (4.0.7)
20
20
  rake (12.3.3)
21
21
  test-unit (3.2.9)
@@ -32,4 +32,4 @@ DEPENDENCIES
32
32
  whitelabelmachinename-ruby-sdk!
33
33
 
34
34
  BUNDLED WITH
35
- 2.3.20
35
+ 2.3.24
@@ -38,6 +38,9 @@ module WhiteLabelMachineName
38
38
  #
39
39
  attr_accessor :processed_on
40
40
 
41
+ #
42
+ attr_accessor :processor
43
+
41
44
  #
42
45
  attr_accessor :state
43
46
 
@@ -50,6 +53,7 @@ module WhiteLabelMachineName
50
53
  :'linked_space_id' => :'linkedSpaceId',
51
54
  :'name' => :'name',
52
55
  :'processed_on' => :'processedOn',
56
+ :'processor' => :'processor',
53
57
  :'state' => :'state'
54
58
  }
55
59
  end
@@ -63,6 +67,7 @@ module WhiteLabelMachineName
63
67
  :'linked_space_id' => :'Integer',
64
68
  :'name' => :'String',
65
69
  :'processed_on' => :'DateTime',
70
+ :'processor' => :'PaymentProcessor',
66
71
  :'state' => :'PaymentInitiationAdviceFileState'
67
72
  }
68
73
  end
@@ -99,6 +104,10 @@ module WhiteLabelMachineName
99
104
  self.processed_on = attributes[:'processedOn']
100
105
  end
101
106
 
107
+ if attributes.has_key?(:'processor')
108
+ self.processor = attributes[:'processor']
109
+ end
110
+
102
111
  if attributes.has_key?(:'state')
103
112
  self.state = attributes[:'state']
104
113
  end
@@ -128,6 +137,7 @@ module WhiteLabelMachineName
128
137
  linked_space_id == o.linked_space_id &&
129
138
  name == o.name &&
130
139
  processed_on == o.processed_on &&
140
+ processor == o.processor &&
131
141
  state == o.state
132
142
  end
133
143
 
@@ -140,7 +150,7 @@ module WhiteLabelMachineName
140
150
  # Calculates hash code according to all attributes.
141
151
  # @return [Fixnum] Hash code
142
152
  def hash
143
- [created_on, file_generated_on, id, linked_space_id, name, processed_on, state].hash
153
+ [created_on, file_generated_on, id, linked_space_id, name, processed_on, processor, state].hash
144
154
  end
145
155
 
146
156
  # Builds the object from hash
@@ -20,7 +20,9 @@ require 'date'
20
20
  module WhiteLabelMachineName
21
21
  class PaymentInitiationAdviceFileState
22
22
 
23
- PENDING = 'PENDING'.freeze
23
+ CREATED = 'CREATED'.freeze
24
+ UPLOADED = 'UPLOADED'.freeze
25
+ DOWNLOADED = 'DOWNLOADED'.freeze
24
26
  PROCESSED = 'PROCESSED'.freeze
25
27
 
26
28
  # Builds the enum from string
@@ -95,6 +95,9 @@ module WhiteLabelMachineName
95
95
  #
96
96
  attr_accessor :state
97
97
 
98
+ # The statement descriptor explain charges or payments on bank statements.
99
+ attr_accessor :statement_descriptor
100
+
98
101
  #
99
102
  attr_accessor :succeeded_on
100
103
 
@@ -138,6 +141,7 @@ module WhiteLabelMachineName
138
141
  :'remaining_line_items' => :'remainingLineItems',
139
142
  :'space_view_id' => :'spaceViewId',
140
143
  :'state' => :'state',
144
+ :'statement_descriptor' => :'statementDescriptor',
141
145
  :'succeeded_on' => :'succeededOn',
142
146
  :'tax_amount' => :'taxAmount',
143
147
  :'time_zone' => :'timeZone',
@@ -174,6 +178,7 @@ module WhiteLabelMachineName
174
178
  :'remaining_line_items' => :'Array<LineItem>',
175
179
  :'space_view_id' => :'Integer',
176
180
  :'state' => :'TransactionCompletionState',
181
+ :'statement_descriptor' => :'String',
177
182
  :'succeeded_on' => :'DateTime',
178
183
  :'tax_amount' => :'Float',
179
184
  :'time_zone' => :'String',
@@ -298,6 +303,10 @@ module WhiteLabelMachineName
298
303
  self.state = attributes[:'state']
299
304
  end
300
305
 
306
+ if attributes.has_key?(:'statementDescriptor')
307
+ self.statement_descriptor = attributes[:'statementDescriptor']
308
+ end
309
+
301
310
  if attributes.has_key?(:'succeededOn')
302
311
  self.succeeded_on = attributes[:'succeededOn']
303
312
  end
@@ -335,6 +344,10 @@ module WhiteLabelMachineName
335
344
  invalid_properties.push('invalid value for "invoice_merchant_reference", the character length must be smaller than or equal to 100.')
336
345
  end
337
346
 
347
+ if !@statement_descriptor.nil? && @statement_descriptor.to_s.length > 22
348
+ invalid_properties.push('invalid value for "statement_descriptor", the character length must be smaller than or equal to 22.')
349
+ end
350
+
338
351
  invalid_properties
339
352
  end
340
353
 
@@ -344,6 +357,7 @@ module WhiteLabelMachineName
344
357
  return false if !@external_id.nil? && @external_id.to_s.length > 100
345
358
  return false if !@external_id.nil? && @external_id.to_s.length < 1
346
359
  return false if !@invoice_merchant_reference.nil? && @invoice_merchant_reference.to_s.length > 100
360
+ return false if !@statement_descriptor.nil? && @statement_descriptor.to_s.length > 22
347
361
  true
348
362
  end
349
363
 
@@ -371,6 +385,16 @@ module WhiteLabelMachineName
371
385
  @invoice_merchant_reference = invoice_merchant_reference
372
386
  end
373
387
 
388
+ # Custom attribute writer method with validation
389
+ # @param [Object] statement_descriptor Value to be assigned
390
+ def statement_descriptor=(statement_descriptor)
391
+ if !statement_descriptor.nil? && statement_descriptor.to_s.length > 22
392
+ fail ArgumentError, 'invalid value for "statement_descriptor", the character length must be smaller than or equal to 22.'
393
+ end
394
+
395
+ @statement_descriptor = statement_descriptor
396
+ end
397
+
374
398
  # Checks equality by comparing each attribute.
375
399
  # @param [Object] Object to be compared
376
400
  def ==(o)
@@ -401,6 +425,7 @@ module WhiteLabelMachineName
401
425
  remaining_line_items == o.remaining_line_items &&
402
426
  space_view_id == o.space_view_id &&
403
427
  state == o.state &&
428
+ statement_descriptor == o.statement_descriptor &&
404
429
  succeeded_on == o.succeeded_on &&
405
430
  tax_amount == o.tax_amount &&
406
431
  time_zone == o.time_zone &&
@@ -417,7 +442,7 @@ module WhiteLabelMachineName
417
442
  # Calculates hash code according to all attributes.
418
443
  # @return [Fixnum] Hash code
419
444
  def hash
420
- [id, linked_space_id, linked_transaction, amount, base_line_items, created_by, created_on, external_id, failed_on, failure_reason, invoice_merchant_reference, labels, language, last_completion, line_item_version, line_items, mode, next_update_on, payment_information, planned_purge_date, processing_on, processor_reference, remaining_line_items, space_view_id, state, succeeded_on, tax_amount, time_zone, timeout_on, version].hash
445
+ [id, linked_space_id, linked_transaction, amount, base_line_items, created_by, created_on, external_id, failed_on, failure_reason, invoice_merchant_reference, labels, language, last_completion, line_item_version, line_items, mode, next_update_on, payment_information, planned_purge_date, processing_on, processor_reference, remaining_line_items, space_view_id, state, statement_descriptor, succeeded_on, tax_amount, time_zone, timeout_on, version].hash
421
446
  end
422
447
 
423
448
  # Builds the object from hash
@@ -32,6 +32,9 @@ module WhiteLabelMachineName
32
32
  # The line items which will be used to complete the transaction.
33
33
  attr_accessor :line_items
34
34
 
35
+ # The statement descriptor explain charges or payments on bank statements.
36
+ attr_accessor :statement_descriptor
37
+
35
38
  # The ID of the transaction which should be completed.
36
39
  attr_accessor :transaction_id
37
40
 
@@ -42,6 +45,7 @@ module WhiteLabelMachineName
42
45
  :'invoice_merchant_reference' => :'invoiceMerchantReference',
43
46
  :'last_completion' => :'lastCompletion',
44
47
  :'line_items' => :'lineItems',
48
+ :'statement_descriptor' => :'statementDescriptor',
45
49
  :'transaction_id' => :'transactionId'
46
50
  }
47
51
  end
@@ -53,6 +57,7 @@ module WhiteLabelMachineName
53
57
  :'invoice_merchant_reference' => :'String',
54
58
  :'last_completion' => :'BOOLEAN',
55
59
  :'line_items' => :'Array<CompletionLineItemCreate>',
60
+ :'statement_descriptor' => :'String',
56
61
  :'transaction_id' => :'Integer'
57
62
  }
58
63
  end
@@ -83,6 +88,10 @@ module WhiteLabelMachineName
83
88
  end
84
89
  end
85
90
 
91
+ if attributes.has_key?(:'statementDescriptor')
92
+ self.statement_descriptor = attributes[:'statementDescriptor']
93
+ end
94
+
86
95
  if attributes.has_key?(:'transactionId')
87
96
  self.transaction_id = attributes[:'transactionId']
88
97
  end
@@ -112,6 +121,10 @@ module WhiteLabelMachineName
112
121
  invalid_properties.push('invalid value for "last_completion", last_completion cannot be nil.')
113
122
  end
114
123
 
124
+ if !@statement_descriptor.nil? && @statement_descriptor.to_s.length > 22
125
+ invalid_properties.push('invalid value for "statement_descriptor", the character length must be smaller than or equal to 22.')
126
+ end
127
+
115
128
  if @transaction_id.nil?
116
129
  invalid_properties.push('invalid value for "transaction_id", transaction_id cannot be nil.')
117
130
  end
@@ -127,6 +140,7 @@ module WhiteLabelMachineName
127
140
  return false if @external_id.to_s.length < 1
128
141
  return false if !@invoice_merchant_reference.nil? && @invoice_merchant_reference.to_s.length > 100
129
142
  return false if @last_completion.nil?
143
+ return false if !@statement_descriptor.nil? && @statement_descriptor.to_s.length > 22
130
144
  return false if @transaction_id.nil?
131
145
  true
132
146
  end
@@ -159,6 +173,16 @@ module WhiteLabelMachineName
159
173
  @invoice_merchant_reference = invoice_merchant_reference
160
174
  end
161
175
 
176
+ # Custom attribute writer method with validation
177
+ # @param [Object] statement_descriptor Value to be assigned
178
+ def statement_descriptor=(statement_descriptor)
179
+ if !statement_descriptor.nil? && statement_descriptor.to_s.length > 22
180
+ fail ArgumentError, 'invalid value for "statement_descriptor", the character length must be smaller than or equal to 22.'
181
+ end
182
+
183
+ @statement_descriptor = statement_descriptor
184
+ end
185
+
162
186
  # Checks equality by comparing each attribute.
163
187
  # @param [Object] Object to be compared
164
188
  def ==(o)
@@ -168,6 +192,7 @@ module WhiteLabelMachineName
168
192
  invoice_merchant_reference == o.invoice_merchant_reference &&
169
193
  last_completion == o.last_completion &&
170
194
  line_items == o.line_items &&
195
+ statement_descriptor == o.statement_descriptor &&
171
196
  transaction_id == o.transaction_id
172
197
  end
173
198
 
@@ -180,7 +205,7 @@ module WhiteLabelMachineName
180
205
  # Calculates hash code according to all attributes.
181
206
  # @return [Fixnum] Hash code
182
207
  def hash
183
- [external_id, invoice_merchant_reference, last_completion, line_items, transaction_id].hash
208
+ [external_id, invoice_merchant_reference, last_completion, line_items, statement_descriptor, transaction_id].hash
184
209
  end
185
210
 
186
211
  # Builds the object from hash
@@ -16,5 +16,5 @@ limitations under the License.
16
16
  =end
17
17
 
18
18
  module WhiteLabelMachineName
19
- VERSION = '3.2.0'
19
+ VERSION = '3.2.1'
20
20
  end
@@ -1,5 +1,5 @@
1
1
  current directory: /home/runner/work/ruby-sdk/ruby-sdk/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c
2
- /opt/hostedtoolcache/Ruby/2.4.1/x64/bin/ruby -r ./siteconf20220808-1686-90jp49.rb extconf.rb
2
+ /opt/hostedtoolcache/Ruby/2.4.1/x64/bin/ruby -r ./siteconf20221101-1653-srlujl.rb extconf.rb
3
3
  checking for ffi.h... yes
4
4
  checking for ffi_prep_closure_loc() in -lffi... yes
5
5
  checking for ffi_prep_cif_var()... yes
@@ -367,4 +367,4 @@ linking shared-object ffi_c.so
367
367
 
368
368
  current directory: /home/runner/work/ruby-sdk/ruby-sdk/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c
369
369
  make "DESTDIR=" install
370
- /usr/bin/install -c -m 0755 ffi_c.so ./.gem.20220808-1686-17ytbo4
370
+ /usr/bin/install -c -m 0755 ffi_c.so ./.gem.20221101-1653-1tanz1c
@@ -1,5 +1,5 @@
1
1
  current directory: /home/runner/work/ruby-sdk/ruby-sdk/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json
2
- /opt/hostedtoolcache/Ruby/2.4.1/x64/bin/ruby -r ./siteconf20220808-1686-1dm1e7c.rb extconf.rb
2
+ /opt/hostedtoolcache/Ruby/2.4.1/x64/bin/ruby -r ./siteconf20221101-1653-la63e4.rb extconf.rb
3
3
  creating Makefile
4
4
 
5
5
  current directory: /home/runner/work/ruby-sdk/ruby-sdk/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json
@@ -176,7 +176,7 @@ In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/rub
176
176
  cc1: warning: unrecognized command line option ‘-Wno-self-assign’
177
177
  cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
178
178
  cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
179
- /usr/bin/ld: /tmp/ccLoRBrD.o: in function `t':
179
+ /usr/bin/ld: /tmp/cciAzPxg.o: in function `t':
180
180
  /home/runner/work/ruby-sdk/ruby-sdk/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/parser/conftest.c:16: undefined reference to `rb_enc_interned_str'
181
181
  collect2: error: ld returned 1 exit status
182
182
  checked program was:
@@ -1,3 +1,19 @@
1
+ # Addressable 2.8.1
2
+ - refactor `Addressable::URI.normalize_path` to address linter offenses ([#430](https://github.com/sporkmonger/addressable/pull/430))
3
+ - remove redundant colon in `Addressable::URI::CharacterClasses::AUTHORITY` regex ([#438](https://github.com/sporkmonger/addressable/pull/438))
4
+ - update gemspec to reflect supported Ruby versions ([#466], [#464], [#463])
5
+ - compatibility w/ public_suffix 5.x ([#466], [#465], [#460])
6
+ - fixes "invalid byte sequence in UTF-8" exception when unencoding URLs containing non UTF-8 characters ([#459](https://github.com/sporkmonger/addressable/pull/459))
7
+ - `Ractor` compatibility ([#449](https://github.com/sporkmonger/addressable/pull/449))
8
+ - use the whole string instead of a single line for template match ([#431](https://github.com/sporkmonger/addressable/pull/431))
9
+ - force UTF-8 encoding only if needed ([#341](https://github.com/sporkmonger/addressable/pull/341))
10
+
11
+ [#460]: https://github.com/sporkmonger/addressable/pull/460
12
+ [#463]: https://github.com/sporkmonger/addressable/pull/463
13
+ [#464]: https://github.com/sporkmonger/addressable/pull/464
14
+ [#465]: https://github.com/sporkmonger/addressable/pull/465
15
+ [#466]: https://github.com/sporkmonger/addressable/pull/466
16
+
1
17
  # Addressable 2.8.0
2
18
  - fixes ReDoS vulnerability in Addressable::Template#match
3
19
  - no longer replaces `+` with spaces in queries for non-http(s) schemes
@@ -2,7 +2,7 @@
2
2
 
3
3
  source 'https://rubygems.org'
4
4
 
5
- gemspec(path: __FILE__ == "(eval)" ? ".." : ".")
5
+ gemspec
6
6
 
7
7
  group :test do
8
8
  gem 'rspec', '~> 3.8'
@@ -25,4 +25,6 @@ group :test, :development do
25
25
  gem "rake", ">= 12.3.3"
26
26
  end
27
27
 
28
- gem "idn-ruby", platform: :mri
28
+ unless ENV["IDNA_MODE"] == "pure"
29
+ gem "idn-ruby", platform: :mri
30
+ end
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # encoding:utf-8
4
3
  #--
5
4
  # Copyright (C) Bob Aman
6
5
  #
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # encoding:utf-8
4
3
  #--
5
4
  # Copyright (C) Bob Aman
6
5
  #
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # encoding:utf-8
4
3
  #--
5
4
  # Copyright (C) Bob Aman
6
5
  #
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # encoding:utf-8
4
3
  #--
5
4
  # Copyright (C) Bob Aman
6
5
  #
@@ -657,12 +656,12 @@ module Addressable
657
656
  def ordered_variable_defaults
658
657
  @ordered_variable_defaults ||= begin
659
658
  expansions, _ = parse_template_pattern(pattern)
660
- expansions.map do |capture|
659
+ expansions.flat_map do |capture|
661
660
  _, _, varlist = *capture.match(EXPRESSION)
662
661
  varlist.split(',').map do |varspec|
663
662
  varspec[VARSPEC, 1]
664
663
  end
665
- end.flatten
664
+ end
666
665
  end
667
666
  end
668
667
 
@@ -1023,7 +1022,7 @@ module Addressable
1023
1022
  end
1024
1023
 
1025
1024
  # Ensure that the regular expression matches the whole URI.
1026
- regexp_string = "^#{regexp_string}$"
1025
+ regexp_string = "\\A#{regexp_string}\\z"
1027
1026
  return expansions, Regexp.new(regexp_string)
1028
1027
  end
1029
1028