dwolla_v2 3.2.0 → 4.0.0

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: a283e4ef9b5e8d0202220cfbd8f9d8dac299b9639b18cfde4886e5dd899d83f0
4
- data.tar.gz: d33bff404c79b6b65b9dc6d46b93db369d401fa3ee2e4272398b258cc0f98293
3
+ metadata.gz: 88344d27831145faf1977637ec194dc1311b9c6e4aa3c2c20489af89804b1536
4
+ data.tar.gz: 6acff34ef57f47aa6e4418b8f8f649f3cf49915696b0952da716f0bf572a2d08
5
5
  SHA512:
6
- metadata.gz: 55adfc35398537ef84565d361f3b9eb91dee7caca81497c4e6e30eb083cb1a8b3bdd6a1e3cbab3b2ddfac16c0f8a1c406c3a53af43276d1394bca39b69ba80cd
7
- data.tar.gz: 8dfd11085f7ffa6441b581c4177ef34dcd4b70b0dbf73f535017c0f2c3b29f6cd0da46021837459dee978f1a92362d344afc895582a5d7701d0360aefbe25035
6
+ metadata.gz: 64772c46ee9044665005e1b598182ebba3cea236cc7eab8b77df2fd1b016e3c1819de4189d125f6e3591491fbf169aba3462583bdeab0e1deece7e3bb5ab2dc7
7
+ data.tar.gz: c61820a0d28c698990acad6f5a31e619073b066af4ce5276632b41e88c75f3298392a8dd1e6a7ed33afab627ab171bd8fd7b6a397fc00adb9e37cbf975927629
@@ -18,18 +18,17 @@ jobs:
18
18
  strategy:
19
19
  matrix:
20
20
  os: ["ubuntu-latest"]
21
- ruby: ["2.4", "2.5", "2.6", "2.7"]
21
+ ruby: ["2.6", "2.7", "3.0", "3.1", "3.2"]
22
22
 
23
23
  runs-on: ${{ matrix.os }}
24
24
 
25
25
  steps:
26
- - uses: actions/checkout@v2
26
+ - uses: actions/checkout@v4
27
27
  - name: Set up Ruby
28
28
  # https://github.com/ruby/setup-ruby
29
29
  uses: ruby/setup-ruby@v1
30
30
  with:
31
31
  ruby-version: ${{ matrix.ruby }}
32
- - name: Install dependencies
33
- run: bundle install
32
+ bundler-cache: true
34
33
  - name: Run tests
35
34
  run: bundle exec rspec
data/README.md CHANGED
@@ -1,7 +1,5 @@
1
1
  # Dwolla SDK for Ruby
2
2
 
3
- ![Build Status](https://travis-ci.org/Dwolla/dwolla-v2-ruby.svg)
4
-
5
3
  This repository contains the source code for Dwolla's Ruby-based SDK, which allows developers to interact with Dwolla's server-side API via a Ruby API, with automatic OAuth token management included. Any action that can be performed via an HTTP request can be made using this SDK when executed within a server-side environment.
6
4
 
7
5
  ## Table of Contents
@@ -204,6 +202,7 @@ _See https://developers.dwolla.com/api-reference#errors for more info._
204
202
 
205
203
  ## Changelog
206
204
 
205
+ - [**4.0.0**](https://github.com/Dwolla/dwolla-v2-ruby/releases/tag/v4.0.0) - Major version update to include support for Faraday 2.0, discontinue support for Ruby versions prior to v2.6, and adopt faraday-multipart in place of Faraday middleware.
207
206
  - [**3.2.0**](https://github.com/Dwolla/dwolla-v2-ruby/releases/tag/3.2.0) - Minor version update to support Ruby 3.2+. The change involves adding '**' to the codebase to make `opts` in `./lib/dwollav2/client.rb` compliant with Ruby 3.2+. (Thanks [@peterb-onramp](https://github.com/peterb-onramp)!). [#68](https://github.com/Dwolla/dwolla-v2-ruby/pull/68)
208
207
  - **3.1.1** - Fix deprecation warning on Faraday::Connection#authorization (Thanks [@javierjulio](https://github.com/javierjulio)!). [#60](https://github.com/Dwolla/dwolla-v2-ruby/pull/60)
209
208
  - **3.1.0** - Added `DwollaV2::MaxNumberOfResourcesError` (Thanks [@paulyeo21](https://github.com/paulyeo21)!). [#54](https://github.com/Dwolla/dwolla-v2-ruby/pull/54)
data/dwolla_v2.gemspec CHANGED
@@ -15,16 +15,17 @@ Gem::Specification.new do |spec|
15
15
  spec.license = "MIT"
16
16
 
17
17
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.files << "README.md"
18
19
  spec.bindir = "exe"
19
20
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
21
  spec.require_paths = ["lib"]
21
22
 
22
23
  spec.add_development_dependency "bundler", "~> 2.0"
23
- spec.add_development_dependency "rake", "~> 12.3"
24
+ spec.add_development_dependency "rake", "~> 13.0"
24
25
  spec.add_development_dependency "rspec", "~> 3.8"
25
26
  spec.add_development_dependency "webmock", "~> 3.6"
26
27
 
27
28
  spec.add_dependency "hashie", ">= 3.6"
28
- spec.add_dependency "faraday", ">= 0.15"
29
- spec.add_dependency "faraday_middleware", ">= 0.13"
29
+ spec.add_dependency "faraday", "~> 2.0"
30
+ spec.add_dependency "faraday-multipart"
30
31
  end
@@ -58,7 +58,7 @@ module DwollaV2
58
58
 
59
59
  def conn
60
60
  @conn ||= Faraday.new do |f|
61
- f.request :basic_auth, id, secret
61
+ f.request :authorization, :basic, id, secret
62
62
  f.request :url_encoded
63
63
  f.use SetUserAgent
64
64
  f.use HandleErrors
@@ -1,3 +1,3 @@
1
1
  module DwollaV2
2
- VERSION = "3.2.0"
3
- end
2
+ VERSION = "4.0.0"
3
+ end
data/lib/dwolla_v2.rb CHANGED
@@ -8,7 +8,7 @@ require "time"
8
8
  require "hashie"
9
9
 
10
10
  require "faraday"
11
- require "faraday_middleware"
11
+ require "faraday/multipart"
12
12
 
13
13
  require "dwolla_v2/version"
14
14
  require "dwolla_v2/client"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dwolla_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Ausman
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-20 00:00:00.000000000 Z
11
+ date: 2023-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '12.3'
33
+ version: '13.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '12.3'
40
+ version: '13.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -84,30 +84,30 @@ dependencies:
84
84
  name: faraday
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0.15'
89
+ version: '2.0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0.15'
96
+ version: '2.0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: faraday_middleware
98
+ name: faraday-multipart
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: '0.13'
103
+ version: '0'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
- version: '0.13'
110
+ version: '0'
111
111
  description: Dwolla V2 Ruby client
112
112
  email:
113
113
  - stephen@dwolla.com
@@ -188,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
188
188
  - !ruby/object:Gem::Version
189
189
  version: '0'
190
190
  requirements: []
191
- rubygems_version: 3.2.3
191
+ rubygems_version: 3.4.1
192
192
  signing_key:
193
193
  specification_version: 4
194
194
  summary: Dwolla V2 Ruby client