affirm-ruby-api 1.0.1 → 1.0.2

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: cb476ada854f87754b3a17dc7cae3935e129ac62dd6be452d3244e9ee4c76f6b
4
- data.tar.gz: ba20fd676d408cc39fdbf1a9efc3822a21f00d393bfe4ceb145ecc59face5008
3
+ metadata.gz: a0df8ada7075ef3babd97d1c61ab3995f4a0a3de3c4ac11d5829ed59d5881105
4
+ data.tar.gz: 8e1b68e21079f052125da6c5d668b06e8c616450181fb460990932fa60bab71a
5
5
  SHA512:
6
- metadata.gz: c0710a8d0d937dde6ba98f1e8ac54a37dd411536ed4afd1d016ec7e44a9b8a19eeaed37d48f9b9e2ef0e94e9fff649b7a71b8f4cda9ca6d7ecbd1c4db3aca913
7
- data.tar.gz: ec5e34418e3e2f873dcc275f741637d00aed6aedb61a62a0ef5255163fb65b378b48621afdec14d61634ade576d0a160d64c53a58aa2f50b5da8d5164ce3e038
6
+ metadata.gz: dfa097ad10c557a8a32644d0364d7337a9db4e9713cc4acadc2b6354007f5db3d07b089f396f62442b95b28fd4b634bdcce7c14b1ff2b13e4a2832cf177b510a
7
+ data.tar.gz: 493edcb74fd37a736ec6ce4a9b4b1e392aa9191c6ca482735b8c64a94955613c0c9f810092b3dc0d0ae4756c535301450e4c5b48c031e3bca4b1555f46c45c2a
@@ -7,6 +7,14 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.0.2] - 2020-04-21
11
+
12
+ ### Changed
13
+ - Fix Gemfile.lock missing version bump
14
+ - Support Ruby >= 2.5 (https://www.ruby-lang.org/en/news/2020/04/05/support-of-ruby-2-4-has-ended/)
15
+
16
+ ## [1.0.1] - 2020-04-13
17
+
10
18
  ### Added
11
19
  - Introduce `TestingSupport::HttpResponses` for sharing the http and JSON fixtures
12
20
  so we can share these in environments that use this gem.
data/Gemfile CHANGED
@@ -3,7 +3,7 @@ source "https://rubygems.org"
3
3
  # Specify your gem's dependencies in affirm-ruby-api.gemspec
4
4
  gemspec
5
5
 
6
- gem "rake", "~> 12.0"
6
+ gem "rake", "~> 13.0"
7
7
  gem "rspec", "~> 3.0"
8
8
  gem "webmock", "~> 3.8"
9
9
  gem "pry"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- affirm-ruby-api (1.0.0)
4
+ affirm-ruby-api (1.0.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -17,16 +17,17 @@ GEM
17
17
  gem-release (2.1.1)
18
18
  hashdiff (1.0.1)
19
19
  jaro_winkler (1.5.4)
20
- method_source (0.9.2)
20
+ method_source (1.0.0)
21
21
  parallel (1.19.1)
22
- parser (2.7.0.5)
22
+ parser (2.7.1.1)
23
23
  ast (~> 2.4.0)
24
- pry (0.12.2)
25
- coderay (~> 1.1.0)
26
- method_source (~> 0.9.0)
24
+ pry (0.13.1)
25
+ coderay (~> 1.1)
26
+ method_source (~> 1.0)
27
27
  public_suffix (4.0.3)
28
28
  rainbow (3.0.0)
29
- rake (12.3.3)
29
+ rake (13.0.1)
30
+ rexml (3.2.4)
30
31
  rspec (3.9.0)
31
32
  rspec-core (~> 3.9.0)
32
33
  rspec-expectations (~> 3.9.0)
@@ -40,11 +41,12 @@ GEM
40
41
  diff-lcs (>= 1.2.0, < 2.0)
41
42
  rspec-support (~> 3.9.0)
42
43
  rspec-support (3.9.2)
43
- rubocop (0.79.0)
44
+ rubocop (0.80.1)
44
45
  jaro_winkler (~> 1.5.1)
45
46
  parallel (~> 1.10)
46
47
  parser (>= 2.7.0.1)
47
48
  rainbow (>= 2.2.2, < 4.0)
49
+ rexml
48
50
  ruby-progressbar (~> 1.7)
49
51
  unicode-display_width (>= 1.4.0, < 1.7)
50
52
  rubocop-performance (1.5.2)
@@ -55,9 +57,9 @@ GEM
55
57
  docile (~> 1.1)
56
58
  simplecov-html (~> 0.11)
57
59
  simplecov-html (0.12.2)
58
- standard (0.2.2)
59
- rubocop (~> 0.79.0)
60
- rubocop-performance (~> 1.5.1)
60
+ standard (0.2.4)
61
+ rubocop (~> 0.80.1)
62
+ rubocop-performance (~> 1.5.2)
61
63
  unicode-display_width (1.6.1)
62
64
  webmock (3.8.3)
63
65
  addressable (>= 2.3.6)
@@ -71,7 +73,7 @@ DEPENDENCIES
71
73
  affirm-ruby-api!
72
74
  gem-release
73
75
  pry
74
- rake (~> 12.0)
76
+ rake (~> 13.0)
75
77
  rspec (~> 3.0)
76
78
  simplecov
77
79
  standard
data/README.md CHANGED
@@ -1,10 +1,12 @@
1
- # Affirm Ruby
1
+ # Affirm Ruby API
2
2
 
3
3
  ![Run Tests](https://github.com/peterberkenbosch/affirm-ruby-api/workflows/Run%20Tests/badge.svg)
4
4
  [![Gem Version](https://badge.fury.io/rb/affirm-ruby-api.svg)](https://badge.fury.io/rb/affirm-ruby-api)
5
5
 
6
- Implements the Affirm api using just Ruby. [Affirm documentation](https://docs.affirm.com/affirm-developers/reference)
6
+ Clean, fast and pure Ruby implementation for the [Affirm API](https://docs.affirm.com/affirm-developers/reference)
7
7
 
8
+ This is using the new Transaction API and is not compatible with the Charge API.
9
+ Also see the [Affirm Changelog](https://docs.affirm.com/affirm-developers/changelog/transactions-api)
8
10
 
9
11
  ## Installation
10
12
 
@@ -25,6 +27,9 @@ Or install it yourself as:
25
27
  ## Usage
26
28
 
27
29
 
30
+ ## Sponsorship
31
+
32
+ If you use this extension and like to support this work, please consider [being a sponsor](https://github.com/sponsors/peterberkenbosch).
28
33
 
29
34
  ## Development
30
35
 
@@ -52,7 +57,6 @@ For details on how to use this, take a look at the usage in the spec files here.
52
57
 
53
58
  Bug reports and pull requests are welcome on GitHub at https://github.com/peterberkenbosch/affirm-ruby-api. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/peterberkenbosch/affirm-ruby-api/blob/master/CODE_OF_CONDUCT.md).
54
59
 
55
-
56
60
  ## License
57
61
 
58
62
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -6,13 +6,11 @@ Gem::Specification.new do |spec|
6
6
  spec.authors = ["Peter Berkenbosch"]
7
7
  spec.email = ["info@peterberkenbosch.nl"]
8
8
 
9
- spec.summary = "Affirm Ruby client implementing the new Transaction api"
10
- spec.description = spec.summary
9
+ spec.summary = "Affirm Ruby API implementation"
10
+ spec.description = "Affirm Ruby API for enabling Affirm Financing in your Ruby based projects."
11
11
  spec.homepage = "https://github.com/peterberkenbosch/affirm-ruby-api"
12
12
  spec.license = "MIT"
13
- spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
14
-
15
- # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
13
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
16
14
 
17
15
  spec.metadata["homepage_uri"] = spec.homepage
18
16
  spec.metadata["source_code_uri"] = "https://github.com/peterberkenbosch/affirm-ruby-api"
@@ -7,7 +7,6 @@ module Affirm
7
7
  attr_accessor :type
8
8
  attr_accessor :fee
9
9
  attr_accessor :currency
10
- attr_accessor :events
11
10
  end
12
11
  end
13
12
  end
@@ -1,3 +1,3 @@
1
1
  module Affirm
2
- VERSION = "1.0.1".freeze
2
+ VERSION = "1.0.2".freeze
3
3
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: affirm-ruby-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Berkenbosch
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-04-13 00:00:00.000000000 Z
11
+ date: 2020-04-21 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: Affirm Ruby client implementing the new Transaction api
13
+ description: Affirm Ruby API for enabling Affirm Financing in your Ruby based projects.
14
14
  email:
15
15
  - info@peterberkenbosch.nl
16
16
  executables: []
@@ -81,7 +81,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - ">="
83
83
  - !ruby/object:Gem::Version
84
- version: 2.3.0
84
+ version: 2.5.0
85
85
  required_rubygems_version: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
@@ -91,5 +91,5 @@ requirements: []
91
91
  rubygems_version: 3.0.3
92
92
  signing_key:
93
93
  specification_version: 4
94
- summary: Affirm Ruby client implementing the new Transaction api
94
+ summary: Affirm Ruby API implementation
95
95
  test_files: []