lpt-ruby 0.4.1 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/lpt/api_operations/create.rb +2 -0
- data/lib/lpt/api_operations/retrieve.rb +2 -0
- data/lib/lpt/errors.rb +8 -0
- data/lib/lpt/version.rb +1 -1
- data/lib/lpt.rb +1 -2
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 57043092b9865d103e1ee5f5694099fbc5406f25871a7ecc4b36320ff8d78eb2
|
|
4
|
+
data.tar.gz: 4183c8d62b486d16ec8d52d2c7c03f12f38455b9c7075afb30c0c36affcba936
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b3bbb8825217b8b5915a3dc5f0f81afc181593e3663d2199bd2f3b4c8beefcc7b1135f60145d612d5462d7145398113ce6473c9dc5a3c8150b4c96cc84584041
|
|
7
|
+
data.tar.gz: f4709ac2f3c704ce7cc00894a1d7a0b70f9babfed1d2b0078a63107fb9d92101ee8e75c7b2f987173720d7fd135b8af39015ebb15ff2a947f83e715b311a2075
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [0.5.0] - 2025-09-09
|
|
2
|
+
|
|
3
|
+
- Introduces better error handling for resources
|
|
4
|
+
- ResourceCreationFailure - a runtime error when a resource cannot be created
|
|
5
|
+
- ResourceRetrievalFailure - a runtime error whena resource cannot be retrieved
|
|
6
|
+
|
|
1
7
|
## [0.4.1] - 2025-07-29
|
|
2
8
|
|
|
3
9
|
- The first official release of the LPT Ruby Gem
|
data/lib/lpt/errors.rb
ADDED
data/lib/lpt/version.rb
CHANGED
data/lib/lpt.rb
CHANGED
|
@@ -8,6 +8,7 @@ require "logger"
|
|
|
8
8
|
require_relative "lpt/authentication"
|
|
9
9
|
require_relative "lpt/version"
|
|
10
10
|
require_relative "lpt/environment"
|
|
11
|
+
require_relative "lpt/errors"
|
|
11
12
|
require_relative "lpt/lpt_client"
|
|
12
13
|
|
|
13
14
|
require_relative "lpt/api_operations/create"
|
|
@@ -27,8 +28,6 @@ require_relative "lpt/requests/payment_request"
|
|
|
27
28
|
require_relative "lpt/requests/profile_request"
|
|
28
29
|
|
|
29
30
|
module Lpt
|
|
30
|
-
class Error < StandardError; end
|
|
31
|
-
|
|
32
31
|
DEFAULT_CA_BUNDLE_PATH = "#{__dir__}/data/ca-certificates.crt"
|
|
33
32
|
|
|
34
33
|
LEVEL_DEBUG = Logger::DEBUG
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lpt-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- LPT
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-09-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -59,6 +59,7 @@ files:
|
|
|
59
59
|
- lib/lpt/api_operations/update.rb
|
|
60
60
|
- lib/lpt/authentication.rb
|
|
61
61
|
- lib/lpt/environment.rb
|
|
62
|
+
- lib/lpt/errors.rb
|
|
62
63
|
- lib/lpt/lpt_client.rb
|
|
63
64
|
- lib/lpt/requests/api_request.rb
|
|
64
65
|
- lib/lpt/requests/empty_request.rb
|