billomat 1.4.0 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +1 -1
- data/CHANGELOG.md +26 -18
- data/billomat.gemspec +1 -1
- data/lib/billomat/version.rb +1 -1
- data/lib/billomat.rb +2 -4
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa8065de1ae3aa281d75f0021aec499e7ee218e3e768a54f2571011073f76d9d
|
4
|
+
data.tar.gz: 9a4a6f26d77652b6ac0e242cb84b24ab01f5089a9d1dae9b7317934b9aecb344
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f7a148260094d9c89f828ae8adde9dcb7205fea54828aeb8e00b708aeed30238def5f9fc0661c6a205f1e959c1d29771738c57582e2bea2bbba5e67920a2921
|
7
|
+
data.tar.gz: 315670b263e80f5d665e50e1cc9aee5a3d4153977555093d0d2264b1c4a145cbeea81ac1bdb3f70195111e2904df6b9b3bfdaf82b6912b4ea51be9e77c04d7a2
|
data/.github/workflows/test.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -2,13 +2,21 @@
|
|
2
2
|
|
3
3
|
* TODO: Replace this bullet point with an actual description of a change.
|
4
4
|
|
5
|
+
### 1.5.0 (30 January 2025)
|
6
|
+
|
7
|
+
* Added all versions up to Ruby 3.4 to the CI matrix ([#29](https://github.com/hausgold/billomat/pull/29))
|
8
|
+
|
9
|
+
### 1.4.1 (17 January 2025)
|
10
|
+
|
11
|
+
* Added the logger dependency ([#28](https://github.com/hausgold/billomat/pull/28))
|
12
|
+
|
5
13
|
### 1.4.0 (11 January 2025)
|
6
14
|
|
7
|
-
* Switched to Zeitwerk as autoloader (#27)
|
15
|
+
* Switched to Zeitwerk as autoloader ([#27](https://github.com/hausgold/billomat/pull/27))
|
8
16
|
|
9
17
|
### 1.3.0 (3 January 2025)
|
10
18
|
|
11
|
-
* Raised minimum supported Ruby/Rails version to 2.7/6.1 (#26)
|
19
|
+
* Raised minimum supported Ruby/Rails version to 2.7/6.1 ([#26](https://github.com/hausgold/billomat/pull/26))
|
12
20
|
|
13
21
|
### 1.2.5 (15 August 2024)
|
14
22
|
|
@@ -28,14 +36,14 @@
|
|
28
36
|
|
29
37
|
### 1.2.1 (9 August 2024)
|
30
38
|
|
31
|
-
* Added API docs building to continuous integration (#25)
|
39
|
+
* Added API docs building to continuous integration ([#25](https://github.com/hausgold/billomat/pull/25))
|
32
40
|
|
33
41
|
### 1.2.0 (8 July 2024)
|
34
42
|
|
35
|
-
* Moved the development dependencies from the gemspec to the Gemfile (#19)
|
36
|
-
* Introduce `after_response` callback (#22)
|
37
|
-
* Fix response parsing for responses exceeding the page size (#23)
|
38
|
-
* Dropped support for Ruby <2.7 (#24)
|
43
|
+
* Moved the development dependencies from the gemspec to the Gemfile ([#19](https://github.com/hausgold/billomat/pull/19))
|
44
|
+
* Introduce `after_response` callback ([#22](https://github.com/hausgold/billomat/pull/22))
|
45
|
+
* Fix response parsing for responses exceeding the page size ([#23](https://github.com/hausgold/billomat/pull/23))
|
46
|
+
* Dropped support for Ruby <2.7 ([#24](https://github.com/hausgold/billomat/pull/24))
|
39
47
|
|
40
48
|
### 1.1.0 (24 February 2023)
|
41
49
|
|
@@ -43,24 +51,24 @@
|
|
43
51
|
|
44
52
|
### 1.0.0 (18 January 2023)
|
45
53
|
|
46
|
-
* Bundler >= 2.3 is from now on required as minimal version (#18)
|
47
|
-
* Dropped support for Ruby < 2.5 (#18)
|
48
|
-
* Dropped support for Rails < 5.2 (#18)
|
54
|
+
* Bundler >= 2.3 is from now on required as minimal version ([#18](https://github.com/hausgold/billomat/pull/18))
|
55
|
+
* Dropped support for Ruby < 2.5 ([#18](https://github.com/hausgold/billomat/pull/18))
|
56
|
+
* Dropped support for Rails < 5.2 ([#18](https://github.com/hausgold/billomat/pull/18))
|
49
57
|
* Updated all development/runtime gems to their latest
|
50
|
-
Ruby 2.5 compatible version (#18)
|
58
|
+
Ruby 2.5 compatible version ([#18](https://github.com/hausgold/billomat/pull/18))
|
51
59
|
|
52
60
|
### 0.4.1 (27 June 2022)
|
53
61
|
|
54
|
-
* Added `InvoiceComment` models (#17)
|
62
|
+
* Added `InvoiceComment` models ([#17](https://github.com/hausgold/billomat/pull/17))
|
55
63
|
|
56
64
|
### 0.3.0 (11 October 2021)
|
57
65
|
|
58
66
|
* Improve error handling (breaking change, as we are now raising
|
59
67
|
`Billomat::GatewayError`s rather than just the client's
|
60
|
-
`RestClient::Exception`) (#15)
|
68
|
+
`RestClient::Exception`) ([#15](https://github.com/hausgold/billomat/pull/15))
|
61
69
|
* Added bang variants to API methods
|
62
|
-
(`Billomat::Models::Base#{save!,create!,update!,delete!}`) (#16)
|
63
|
-
* Added `CreditNote` and `CreditNoteItem` models (#14)
|
70
|
+
(`Billomat::Models::Base#{save!,create!,update!,delete!}`) ([#16](https://github.com/hausgold/billomat/pull/16))
|
71
|
+
* Added `CreditNote` and `CreditNoteItem` models ([#14](https://github.com/hausgold/billomat/pull/14))
|
64
72
|
* Moved to GitHub Actions
|
65
73
|
* Migrated to our own coverage reporting
|
66
74
|
|
@@ -69,14 +77,14 @@
|
|
69
77
|
* Add codeclimate test runner
|
70
78
|
* Update codeclimate reporter id
|
71
79
|
* Switched to SVG project teasers
|
72
|
-
* Updated Travis CI and Code Climate configs (#11)
|
80
|
+
* Updated Travis CI and Code Climate configs ([#11](https://github.com/hausgold/billomat/pull/11))
|
73
81
|
* Changed travis-ci.org to travis-ci.com links
|
74
|
-
* Adds templates and tags to models (#13)
|
82
|
+
* Adds templates and tags to models ([#13](https://github.com/hausgold/billomat/pull/13))
|
75
83
|
|
76
84
|
### 0.1.6 (16 May 2018)
|
77
85
|
|
78
86
|
* Support registered apps
|
79
|
-
* Added `app_id` and `app_secret` to configuration (#9)
|
87
|
+
* Added `app_id` and `app_secret` to configuration ([#9](https://github.com/hausgold/billomat/pull/9))
|
80
88
|
|
81
89
|
### 0.1.5 (14 November 2017)
|
82
90
|
|
data/billomat.gemspec
CHANGED
@@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
|
|
33
33
|
|
34
34
|
spec.required_ruby_version = '>= 2.7'
|
35
35
|
|
36
|
-
spec.add_dependency 'rest-client', '~> 2.1'
|
37
36
|
spec.add_dependency 'activesupport', '>= 6.1'
|
37
|
+
spec.add_dependency 'rest-client', '~> 2.1'
|
38
38
|
spec.add_dependency 'zeitwerk', '~> 2.6'
|
39
39
|
end
|
data/lib/billomat/version.rb
CHANGED
data/lib/billomat.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'zeitwerk'
|
4
|
+
require 'logger'
|
4
5
|
require 'active_support'
|
5
6
|
require 'rest-client'
|
6
7
|
require 'json'
|
@@ -9,16 +10,13 @@ require 'uri'
|
|
9
10
|
|
10
11
|
# An wrapper for the Billomat API.
|
11
12
|
module Billomat
|
12
|
-
# Configure the relative gem code base location
|
13
|
-
root_path = Pathname.new("#{__dir__}/billomat")
|
14
|
-
|
15
13
|
# Setup a Zeitwerk autoloader instance and configure it
|
16
14
|
loader = Zeitwerk::Loader.for_gem
|
17
15
|
|
18
16
|
# Finish the auto loader configuration
|
19
17
|
loader.setup
|
20
18
|
|
21
|
-
# Make sure to eager load all
|
19
|
+
# Make sure to eager load all constants
|
22
20
|
loader.eager_load
|
23
21
|
|
24
22
|
class << self
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: billomat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hermann Mayer
|
@@ -9,36 +9,36 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2025-01-
|
12
|
+
date: 2025-01-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
15
|
+
name: activesupport
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - "
|
18
|
+
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '
|
20
|
+
version: '6.1'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- - "
|
25
|
+
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: '
|
27
|
+
version: '6.1'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
|
-
name:
|
29
|
+
name: rest-client
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- - "
|
32
|
+
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '
|
34
|
+
version: '2.1'
|
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: '
|
41
|
+
version: '2.1'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: zeitwerk
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -135,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
135
|
- !ruby/object:Gem::Version
|
136
136
|
version: '0'
|
137
137
|
requirements: []
|
138
|
-
rubygems_version: 3.
|
138
|
+
rubygems_version: 3.4.22
|
139
139
|
signing_key:
|
140
140
|
specification_version: 4
|
141
141
|
summary: Wrapper for the Billomat API
|