arkaan 2.0.0 → 2.1.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/lib/arkaan/monitoring/route.rb +6 -0
- data/lib/arkaan/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ac24b9a1965256ba6dee7471db0aa4be3d83edffa32478fe56a7e306869e995
|
4
|
+
data.tar.gz: c59db73326dddf95bb8e4e10283f122207b4924d27a91068596c43d0a8fb0f65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 025a125c48b204298b0365153eae8527e35a9b92defcf9a38c136895c5869de1a7fa86e4cc2a13aaf7b6578e8078be799844ae5817d1fb042775cb0165a8f3c5
|
7
|
+
data.tar.gz: 4d27a49e75b1199b355bf12dbe5ef3c3454045ee2c68b0c7114b903ad3e4e4a4dabd5ca184643179532950652c0b9cda64e646e326960e9262f1f1a27bfe7f7f
|
@@ -31,6 +31,12 @@ module Arkaan
|
|
31
31
|
|
32
32
|
validates :verb,
|
33
33
|
inclusion: {message: 'unknown', in: ['get', 'post', 'put', 'delete', 'patch', 'option']}
|
34
|
+
|
35
|
+
# Returns the complete path, enriched with the path of the service.
|
36
|
+
# @return [String] the complete path to access this route from the outside.
|
37
|
+
def complete_path
|
38
|
+
path == '/' ? service.path : "#{service.path}#{path}"
|
39
|
+
end
|
34
40
|
end
|
35
41
|
end
|
36
42
|
end
|
data/lib/arkaan/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arkaan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vincent Courtois
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-12-
|
11
|
+
date: 2019-12-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|