atlas_rb 0.0.40 → 0.0.41
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.version +1 -1
- data/Gemfile.lock +1 -1
- data/lib/atlas_rb/resource.rb +3 -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: 7924179dc613023b3134ba0a3bb0e0c96df3368023983a094d2221453e9727f3
|
4
|
+
data.tar.gz: 1308b7e9adeab96789ed6cf7a3e308148059260727fd0873bec8450b3b7fa9e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c06fd14aab90f75c196c9e16b95392d154388a7b7983cce8293ce6affdae1fb0b96261e0b2f7896ca481c6d1477f3853b35fcb39de02e8822e68c0e44c404a5f
|
7
|
+
data.tar.gz: 63fda40ce6688119fdfffa9069e8a7e3166f26afe189d93bbc29d3c5626aa797ec123c34d998e4048505d1584934084b35e1dcd9b6e59b4ddefadaddad9c4008
|
data/.version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.41
|
data/Gemfile.lock
CHANGED
data/lib/atlas_rb/resource.rb
CHANGED
@@ -5,7 +5,9 @@ module AtlasRb
|
|
5
5
|
extend AtlasRb::FaradayHelper
|
6
6
|
|
7
7
|
def self.find(id)
|
8
|
-
JSON.parse(connection({}).get('/resources/' + id)&.body)
|
8
|
+
result = JSON.parse(connection({}).get('/resources/' + id)&.body)
|
9
|
+
{ "klass" => result.first[0].capitalize,
|
10
|
+
"resource" => result.first[1] }
|
9
11
|
end
|
10
12
|
end
|
11
13
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: atlas_rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.41
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Cliff
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|