wire_client 0.2.0 → 0.4.1

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: ae9a50f2c7226eff10f6329c2b67726b9bf646b964daf2adbbe8b28272b08f74
4
- data.tar.gz: 546fbc86399f8f7aa2547bd017af4505f2df33e22c1c5410ee9bc405e37cb940
3
+ metadata.gz: 887f7f0ac68ec6cdd1a111eacbbf8718e6a70cdfaf082d38b31d9f55f4517df4
4
+ data.tar.gz: c16e744764a994c66bb2ad0a2381ebdddf34a3203ecb263980d0bdd2172f733b
5
5
  SHA512:
6
- metadata.gz: cd21dfe7e31661553330b972697445a9da2353ae9c24de0a4d79e7bf67306861369ac8cee162755dd49cabf5da13c66eaf4ad9bb71b19443ebd4c7ad1d24ed43
7
- data.tar.gz: 745a020c31ae26f5177eb30cdc921f104f746c676f9738fa73e211bd2a4b6b7652f97fe79da430082154829eda18084dfbb9a9fc4df6975c42c6115e12878c7a
6
+ metadata.gz: 14913ffabaa2be4e85c049bc53f4aea02b3b483cd91f1ec4f98e7dc4df2cef0488bb25b6fecc0ef0e93dd53de24c614c1a3fb94fb653f64286c69e40d9027ad5
7
+ data.tar.gz: 70e8f27bd07c3bec17a662201b2b5f059715ed4af2a2f62037c84a15c5b5c2ad57770e11483f52b78db2c873e12623b8f1ed3fed497410b91babd3d2acef71ca
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.5.0
1
+ 3.1.3
data/.tool-versions CHANGED
@@ -1 +1 @@
1
- ruby 2.5.0
1
+ ruby 3.1.3
data/.tool-versions-e CHANGED
@@ -1 +1 @@
1
- ruby 2.5.0
1
+ ruby 2.7.6
@@ -12,13 +12,13 @@ module WireClient
12
12
  # The filename used for the batch
13
13
  # @return [String] filename to use
14
14
  def batch_file_name
15
- self.class.parent.file_naming_strategy.(@batch_number)
15
+ self.class.module_parent.file_naming_strategy.(@batch_number)
16
16
  end
17
17
 
18
18
  # Sends the batch to SFTP provider
19
19
  def do_send_batch
20
20
  file_path = File.join(
21
- self.class.parent.outgoing_path,
21
+ self.class.module_parent.outgoing_path,
22
22
  batch_file_name
23
23
  )
24
24
  file_body = begin
@@ -28,7 +28,7 @@ module WireClient
28
28
  @payment_initiation.to_xml('pain.008.001.02').to_s
29
29
  end
30
30
  end
31
- self.class.parent.write_remote_file(
31
+ self.class.module_parent.write_remote_file(
32
32
  file_path: file_path,
33
33
  file_body: file_body
34
34
  )
@@ -1,4 +1,4 @@
1
1
  module WireClient
2
2
  # Increment this when changes are published
3
- VERSION = '0.2.0'
3
+ VERSION = '0.4.1'
4
4
  end
data/wire_client.gemspec CHANGED
@@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
34
34
  spec.add_dependency 'ach_client'
35
35
 
36
36
  # Handy ruby behavior from rails
37
- spec.add_dependency 'activesupport'
37
+ spec.add_dependency 'activesupport', '>= 6'
38
38
  spec.add_dependency 'activemodel'
39
39
 
40
40
  # Provide a simple way to create XML markup and data structures
@@ -47,9 +47,9 @@ Gem::Specification.new do |spec|
47
47
  spec.add_dependency 'net-sftp'
48
48
 
49
49
  # Asynchronocity w/out extra infrastucture dependency (database/redis)
50
- spec.add_dependency 'sucker_punch', '~> 2'
50
+ spec.add_dependency 'sucker_punch', '>= 2'
51
51
 
52
- spec.add_development_dependency 'bundler', '~> 1.12'
52
+ #spec.add_development_dependency 'bundler', '~> 2.1.4'
53
53
  spec.add_development_dependency 'codeclimate-test-reporter'
54
54
  spec.add_development_dependency 'minitest-reporters'
55
55
  spec.add_development_dependency 'minitest', '~> 5'
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wire_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ewerton Carlos Assis
8
8
  - Forward Financing LLC
9
- autorequire:
9
+ autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2020-01-22 00:00:00.000000000 Z
12
+ date: 2023-07-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ach_client
@@ -31,14 +31,14 @@ dependencies:
31
31
  requirements:
32
32
  - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: '0'
34
+ version: '6'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - ">="
40
40
  - !ruby/object:Gem::Version
41
- version: '0'
41
+ version: '6'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: activemodel
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -99,30 +99,16 @@ dependencies:
99
99
  name: sucker_punch
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - "~>"
102
+ - - ">="
103
103
  - !ruby/object:Gem::Version
104
104
  version: '2'
105
105
  type: :runtime
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - "~>"
109
+ - - ">="
110
110
  - !ruby/object:Gem::Version
111
111
  version: '2'
112
- - !ruby/object:Gem::Dependency
113
- name: bundler
114
- requirement: !ruby/object:Gem::Requirement
115
- requirements:
116
- - - "~>"
117
- - !ruby/object:Gem::Version
118
- version: '1.12'
119
- type: :development
120
- prerelease: false
121
- version_requirements: !ruby/object:Gem::Requirement
122
- requirements:
123
- - - "~>"
124
- - !ruby/object:Gem::Version
125
- version: '1.12'
126
112
  - !ruby/object:Gem::Dependency
127
113
  name: codeclimate-test-reporter
128
114
  requirement: !ruby/object:Gem::Requirement
@@ -305,7 +291,7 @@ dependencies:
305
291
  - - ">="
306
292
  - !ruby/object:Gem::Version
307
293
  version: '0'
308
- description:
294
+ description:
309
295
  email:
310
296
  - eassis@forwardfinancing.com
311
297
  executables: []
@@ -351,7 +337,7 @@ homepage: https://github.com/ForwardFinancing/wire_client
351
337
  licenses:
352
338
  - MIT
353
339
  metadata: {}
354
- post_install_message:
340
+ post_install_message:
355
341
  rdoc_options: []
356
342
  require_paths:
357
343
  - lib
@@ -367,9 +353,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
367
353
  - !ruby/object:Gem::Version
368
354
  version: '0'
369
355
  requirements: []
370
- rubyforge_project:
371
- rubygems_version: 2.7.3
372
- signing_key:
356
+ rubygems_version: 3.3.26
357
+ signing_key:
373
358
  specification_version: 4
374
359
  summary: Implementation of ISO 20022 payment initiation (pain) messages and bank providers
375
360
  for wire transfers