atlas_rb 0.0.75 → 0.0.77

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 73b1118eaf0773ab3c929e9443c98c0e0ea9eafa1706da70d65ea5f6609170bd
4
- data.tar.gz: c522884ea44a14c208708cb6123a872f4cceff81e7a7d9cbe239792e13d2ff08
3
+ metadata.gz: 464b7b4b86a2ae0c2953e3c1799bfaefd4e18c79b45029bc560065766a4b335f
4
+ data.tar.gz: b457c5d60549d8899c2cf22a1eba121ef68fb44e4925cb256a0072446bdd0b44
5
5
  SHA512:
6
- metadata.gz: 5ba168250dbc8543959b16a81ffb3cb5236351dcd3bfc57907d618700e49fdc0b6c114cd7a90dd8a2ffb652102af80b894cb2b457ded1283ef491594d1fab999
7
- data.tar.gz: e44e42643f13f28972ec6cf659255a659c0c1acbacca04929a692389a12664efab3996217f63655232274f6382398ed0d5ff0635ebb9622266dd955bf242ee15
6
+ metadata.gz: 51e8507181804f6b5e9c156b9f0cb8437c96238a4c9973b9a4cc0b740956e88974e00f358a080b4e36edcd7f6938ca29e9476267fcb3a8c6006c0b3d672d872d
7
+ data.tar.gz: 81702063945483875b4c60bc1fa91e2ce9d8486bd8a0db00fed4b7a0fa73c5920e8aceeece153f049735a641713c72170bfca27fed7e8524466d59c245c1df2b
data/.version CHANGED
@@ -1 +1 @@
1
- 0.0.75
1
+ 0.0.77
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- atlas_rb (0.0.75)
4
+ atlas_rb (0.0.77)
5
5
  faraday (~> 2.7)
6
6
  faraday-follow_redirects (~> 0.3.0)
7
7
  faraday-multipart (~> 1)
@@ -10,7 +10,7 @@ GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
12
  diff-lcs (1.6.1)
13
- faraday (2.14.0)
13
+ faraday (2.14.1)
14
14
  faraday-net_http (>= 2.0, < 3.5)
15
15
  json
16
16
  logger
@@ -20,7 +20,7 @@ GEM
20
20
  multipart-post (~> 2.0)
21
21
  faraday-net_http (3.4.2)
22
22
  net-http (~> 0.5)
23
- json (2.18.0)
23
+ json (2.19.3)
24
24
  logger (1.7.0)
25
25
  multipart-post (2.4.1)
26
26
  net-http (0.9.1)
@@ -5,11 +5,11 @@ module AtlasRb
5
5
  ROUTE = "/file_sets/"
6
6
 
7
7
  def self.find(id)
8
- connection({}).get(ROUTE + id)&.body
8
+ JSON.parse(connection({}).get(ROUTE + id)&.body)["file_set"]
9
9
  end
10
10
 
11
11
  def self.create(id, classification)
12
- connection({ work_id: id, classification: classification }).post(ROUTE)&.body
12
+ JSON.parse(connection({ work_id: id, classification: classification }).post(ROUTE)&.body)["file_set"]
13
13
  end
14
14
 
15
15
  def self.destroy(id)
@@ -21,7 +21,7 @@ module AtlasRb
21
21
  payload = { binary: Faraday::Multipart::FilePart.new(File.open(blob_path),
22
22
  "application/octet-stream",
23
23
  File.basename(blob_path)) }
24
- multipart({}).patch(ROUTE + id, payload)&.body
24
+ JSON.parse(multipart({}).patch(ROUTE + id, payload)&.body)
25
25
  end
26
26
  end
27
27
  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.75
4
+ version: 0.0.77
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cliff
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-01-08 00:00:00.000000000 Z
11
+ date: 2026-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday