atlas_rb 0.0.32 → 0.0.33

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: 9c56784f70e18564619d443f6d96cb3dbf825c7d238d67f40fed883d4670122d
4
- data.tar.gz: ec6e95cd19aa8a573a92f87aeb85cc429393a900f92ca9118a511c7f222ce0b8
3
+ metadata.gz: 4bcb6ba669f59f9b61755125865b5ee2d5ce2a62c36553f1a0abba3fb2fb9f18
4
+ data.tar.gz: 0a75471ab2addc5e5ecc5a4edf8d4da4021bd200a843598b358fff0f29831424
5
5
  SHA512:
6
- metadata.gz: '0913e61225fd475bfb126e1366cbaac709acbff9cf528953a1069779c386a4e27a592ccaa4c844557ac7c4574ba0f7d74cbfe3c56d46e48f6ee61e681771bc5d'
7
- data.tar.gz: d5cde201121607a933d6afc694ca5c0f36616fd317b6c65d0362f396aaf8f63527b418ed384384a4a21fc980ae723db1128360c0d0c524ef77931ac0e0725a2a
6
+ metadata.gz: 86363f07a1adb6f3df9924b114a369406f4ea0546fd6a5728e193454dd41074ffc06430240f737c9f93ba981d80d6b83c92ae23570b8dbd2eb46e3adf0a4635f
7
+ data.tar.gz: 702c394fec766b064b3aabcf70a99c1bb32056f339424719fda4cb77a9c23ac76d06f4f84ef1913f3489e848e2f2aaa6ab07e4033cd5b644f57d26261db9d9f4
data/.version CHANGED
@@ -1 +1 @@
1
- 0.0.32
1
+ 0.0.33
data/Gemfile.lock CHANGED
@@ -1,23 +1,23 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- atlas_rb (0.0.32)
4
+ atlas_rb (0.0.33)
5
5
  faraday (~> 2.7)
6
6
  faraday-multipart (~> 1)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- base64 (0.2.0)
12
11
  diff-lcs (1.5.0)
13
- faraday (2.8.1)
14
- base64
15
- faraday-net_http (>= 2.0, < 3.1)
16
- ruby2_keywords (>= 0.0.4)
12
+ faraday (2.9.0)
13
+ faraday-net_http (>= 2.0, < 3.2)
17
14
  faraday-multipart (1.0.4)
18
15
  multipart-post (~> 2)
19
- faraday-net_http (3.0.2)
16
+ faraday-net_http (3.1.0)
17
+ net-http
20
18
  multipart-post (2.3.0)
19
+ net-http (0.4.1)
20
+ uri
21
21
  rake (13.0.6)
22
22
  rspec (3.12.0)
23
23
  rspec-core (~> 3.12.0)
@@ -32,7 +32,7 @@ GEM
32
32
  diff-lcs (>= 1.2.0, < 2.0)
33
33
  rspec-support (~> 3.12.0)
34
34
  rspec-support (3.12.1)
35
- ruby2_keywords (0.0.5)
35
+ uri (0.13.0)
36
36
 
37
37
  PLATFORMS
38
38
  x86_64-linux
@@ -26,5 +26,10 @@ module AtlasRb
26
26
  File.basename(xml_path)) }
27
27
  JSON.parse(multipart({}).patch(ROUTE + id, payload)&.body)
28
28
  end
29
+
30
+ def self.metadata(id, values)
31
+ payload = { metadata: values }
32
+ JSON.parse(multipart({}).patch(ROUTE + id, payload)&.body)
33
+ end
29
34
  end
30
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.32
4
+ version: 0.0.33
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-03 00:00:00.000000000 Z
11
+ date: 2024-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday