wrapi 0.1.1 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/wrapi/configuration.rb +1 -0
- data/lib/wrapi/connection.rb +1 -1
- data/lib/wrapi/entity.rb +1 -1
- data/lib/wrapi/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7707119492c003388e3396aebeb7a50b64009075e35fa6fbe8f779ae8312785e
|
4
|
+
data.tar.gz: a503388426775cd56de06672c62b7ba7086963d8191f2782e519061c13c21b28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f7d3ef57fcd6ab8e0fcd92d387d093d0f46430349139f2b51718718c63da1d2429768b42fa159ec22384a26a753b2bdeaff9bac3f0778cbfdc344be3439aa7e
|
7
|
+
data.tar.gz: a669367530c66723672ab9523e055d752e235f45aee312366a4c1edbbd9240e2f137d5ea5f965f09b5f7371c873841bb0843d26364452ec93ba9985af883ff64
|
data/CHANGELOG.md
CHANGED
@@ -5,3 +5,9 @@
|
|
5
5
|
|
6
6
|
## [0.1.1] - 2024-02-5
|
7
7
|
- default endpoint to nil and raise error in connection when not available
|
8
|
+
|
9
|
+
## [0.1.2] - 2024-02-5
|
10
|
+
- default endpoint to nil and raise error in connection when not available
|
11
|
+
|
12
|
+
## [0.1.3] - 2024-02-5
|
13
|
+
- fix entity should return empty array insted of nil
|
data/lib/wrapi/configuration.rb
CHANGED
data/lib/wrapi/connection.rb
CHANGED
@@ -10,7 +10,7 @@ module WrAPI
|
|
10
10
|
private
|
11
11
|
|
12
12
|
def connection
|
13
|
-
raise
|
13
|
+
raise ArgumentError, "Option for endpoint is not defined" unless endpoint
|
14
14
|
|
15
15
|
options = setup_options
|
16
16
|
Faraday::Connection.new(options) do |connection|
|
data/lib/wrapi/entity.rb
CHANGED
data/lib/wrapi/version.rb
CHANGED