atlas_rb 0.0.36 → 0.0.37

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: d0e7f73044fd6d14e662747c8e9b9ffb274a81ebe99111df162fd3ea07e85d4a
4
- data.tar.gz: 20b6dfae60f52efec793bc73dd73c423af2abd4c9a3b69a3f027970558169a4d
3
+ metadata.gz: 149b9168c85df4b0a5f01fd1698e9ea0c26324c750835cc1a164c78bd3ff4125
4
+ data.tar.gz: 28d932df35ad0562a620493fad6182b11fbf756a9c3f93939a8f655366c1878b
5
5
  SHA512:
6
- metadata.gz: 350a9fefe8a11ef8695959573d38c2eccbe99128d8ffcad9798766e6a8621b1659c1f57c6ab0bbd98e67c835f66c5e07d45647f719ba6af29a94b1808bba17d9
7
- data.tar.gz: e3417f374286da1f8ebbe0ba5851b70f550a56560aaf011ba6bdd30214fc6118ab8bc83a16c04ac7d83346335be33a4f6725b9fb52170ae4c01d08d3bf8982c3
6
+ metadata.gz: 04b8b8abc3d21e1cd27f76bf93bb9d61b935575e06429e73954088893016144514f8a49630a0758600e75a5c650c619d2b70b12ae2ddd35abf707643512614de
7
+ data.tar.gz: 6d8c48b0d97998b3fc459476c7cd9cecead996ca032ac2ec74a4aafe624efe1f989bb76b65777649751f174506006b996948f63a8183a05810d2d97ef2bda871
data/.version CHANGED
@@ -1 +1 @@
1
- 0.0.36
1
+ 0.0.37
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- atlas_rb (0.0.36)
4
+ atlas_rb (0.0.37)
5
5
  faraday (~> 2.7)
6
6
  faraday-multipart (~> 1)
7
7
 
@@ -27,5 +27,9 @@ module AtlasRb
27
27
  File.basename(xml_path)) }
28
28
  JSON.parse(multipart({}).patch(ROUTE + id, payload)&.body)
29
29
  end
30
+
31
+ def self.metadata(id, values)
32
+ JSON.parse(connection({ metadata: values }).patch(ROUTE + id)&.body)
33
+ end
30
34
  end
31
35
  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.36
4
+ version: 0.0.37
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-09 00:00:00.000000000 Z
11
+ date: 2024-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday