atlas_rb 0.0.54 → 0.0.57

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: 3783dac3e90e0710de6cb63dbefd12858c5cc6bbbab5d8bbc74100af52b56ce3
4
- data.tar.gz: 5df48e147258911c1dcba2e637f94619c293cc398b602c76bfaaa31f1adc7129
3
+ metadata.gz: 0d58db2984562d7e7c12919bd230c46248d08178000118b0b3623ae3e6bc9404
4
+ data.tar.gz: 425bc76bdb8e936c44c74d9b99b38a8aa38a489bdf4d255ec330b0cc015b2eac
5
5
  SHA512:
6
- metadata.gz: bb90d3591825c493b7ce4bd9ebaf2149e98f8708d5f1052961c4e842f34fefd41c61b7509998b4d326133ba4ab04d0ad3f372d553bfbb409c8cfafd5cf8f3055
7
- data.tar.gz: 250613ec50dd638dfaacda8fb237aaa688d23a2a8dff561927bd79aaa27fed7e8d9ca2cdc29dee8d950f96c45041cf58add1835489d95889d5309bcd72aa9c3a
6
+ metadata.gz: b4dce99ccb653a74fa20ffab11f8e19e194377d0c1781aeaba07f0b0da4d07069f6a9bc3af22048520e9102a86ad50e89ae69b2ec102727a680704e5bf455025
7
+ data.tar.gz: 6b0226e2bdc3ac260cc86152fb3d7ff8211de70b9ce41bad9f51fd4c831fac4fb79cba1894ff43e9a63a837f6bf5af2fc88d079e1c09af13e7891f9c6b16376f
data/.version CHANGED
@@ -1 +1 @@
1
- 0.0.54
1
+ 0.0.57
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- atlas_rb (0.0.54)
4
+ atlas_rb (0.0.57)
5
5
  faraday (~> 2.7)
6
6
  faraday-follow_redirects (~> 0.3.0)
7
7
  faraday-multipart (~> 1)
@@ -10,14 +10,14 @@ GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
12
  diff-lcs (1.5.0)
13
- faraday (2.10.0)
14
- faraday-net_http (>= 2.0, < 3.2)
13
+ faraday (2.11.0)
14
+ faraday-net_http (>= 2.0, < 3.4)
15
15
  logger
16
16
  faraday-follow_redirects (0.3.0)
17
17
  faraday (>= 1, < 3)
18
18
  faraday-multipart (1.0.4)
19
19
  multipart-post (~> 2)
20
- faraday-net_http (3.1.1)
20
+ faraday-net_http (3.3.0)
21
21
  net-http
22
22
  logger (1.6.0)
23
23
  multipart-post (2.4.1)
@@ -10,7 +10,7 @@ module AtlasRb
10
10
 
11
11
  def self.create(id, xml_path = nil)
12
12
  result = JSON.parse(connection({ parent_id: id }).post(ROUTE)&.body)["collection"]
13
- return unless xml_path.present?
13
+ return result unless xml_path.present?
14
14
 
15
15
  update(result["id"], xml_path)
16
16
  find(result["id"])
@@ -10,7 +10,7 @@ module AtlasRb
10
10
 
11
11
  def self.create(id = nil, xml_path = nil)
12
12
  result = JSON.parse(connection({ parent_id: id }).post(ROUTE)&.body)["community"]
13
- return unless xml_path.present?
13
+ return result unless xml_path.present?
14
14
 
15
15
  update(result["id"], xml_path)
16
16
  find(result["id"])
data/lib/atlas_rb/work.rb CHANGED
@@ -10,7 +10,7 @@ module AtlasRb
10
10
 
11
11
  def self.create(id, xml_path = nil)
12
12
  result = JSON.parse(connection({ collection_id: id }).post(ROUTE)&.body)["work"]
13
- return unless xml_path.present?
13
+ return result unless xml_path.present?
14
14
 
15
15
  update(result["id"], xml_path)
16
16
  find(result["id"])
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.54
4
+ version: 0.0.57
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-07-26 00:00:00.000000000 Z
11
+ date: 2024-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday