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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b251eb78f9cdca0422843b3b8d667e389d2921f66f032cefbd53d34a03cbc849
4
- data.tar.gz: d67a700713d06499d0de8760f13c32c425f897ea49a884ff75ff75748d2cf4fe
3
+ metadata.gz: 7924179dc613023b3134ba0a3bb0e0c96df3368023983a094d2221453e9727f3
4
+ data.tar.gz: 1308b7e9adeab96789ed6cf7a3e308148059260727fd0873bec8450b3b7fa9e5
5
5
  SHA512:
6
- metadata.gz: 64c65e4ee9c6483f0909011184c4d030b38aab3bc2144af2e67869fb070aec44b7792e900d2f14f2ddacb294279ce908654b8634ea960e2a400ed6c7f291e917
7
- data.tar.gz: 0b93ce48cef7acd0fded425e978b66c797714db64b4e387793975b35d2ea69a0c1303404aa9f30be96bbee13b8cd8473770e3912e400a30209b77f412ffab724
6
+ metadata.gz: c06fd14aab90f75c196c9e16b95392d154388a7b7983cce8293ce6affdae1fb0b96261e0b2f7896ca481c6d1477f3853b35fcb39de02e8822e68c0e44c404a5f
7
+ data.tar.gz: 63fda40ce6688119fdfffa9069e8a7e3166f26afe189d93bbc29d3c5626aa797ec123c34d998e4048505d1584934084b35e1dcd9b6e59b4ddefadaddad9c4008
data/.version CHANGED
@@ -1 +1 @@
1
- 0.0.40
1
+ 0.0.41
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- atlas_rb (0.0.40)
4
+ atlas_rb (0.0.41)
5
5
  faraday (~> 2.7)
6
6
  faraday-follow_redirects (~> 0.3.0)
7
7
  faraday-multipart (~> 1)
@@ -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.40
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-24 00:00:00.000000000 Z
11
+ date: 2024-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday