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 +4 -4
- data/.version +1 -1
- data/Gemfile.lock +8 -8
- data/lib/atlas_rb/community.rb +5 -0
- 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: 4bcb6ba669f59f9b61755125865b5ee2d5ce2a62c36553f1a0abba3fb2fb9f18
|
4
|
+
data.tar.gz: 0a75471ab2addc5e5ecc5a4edf8d4da4021bd200a843598b358fff0f29831424
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86363f07a1adb6f3df9924b114a369406f4ea0546fd6a5728e193454dd41074ffc06430240f737c9f93ba981d80d6b83c92ae23570b8dbd2eb46e3adf0a4635f
|
7
|
+
data.tar.gz: 702c394fec766b064b3aabcf70a99c1bb32056f339424719fda4cb77a9c23ac76d06f4f84ef1913f3489e848e2f2aaa6ab07e4033cd5b644f57d26261db9d9f4
|
data/.version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
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.
|
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.
|
14
|
-
|
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
|
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
|
-
|
35
|
+
uri (0.13.0)
|
36
36
|
|
37
37
|
PLATFORMS
|
38
38
|
x86_64-linux
|
data/lib/atlas_rb/community.rb
CHANGED
@@ -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.
|
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-
|
11
|
+
date: 2024-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|