atlas_rb 0.0.53 → 0.0.56

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: a7d9df70b466e4b62db94dd27024137fccb16c3f18b06821a93124ce0b6c15a9
4
- data.tar.gz: e8fbecc7b36ae97725201ed0b3db1fdbf3f81d1b0085ea3d0ce3526bbcd5e9b2
3
+ metadata.gz: 6d09fc403b8281ec42ebad4f21674e70673810f6e81cf55f918ff1693143c729
4
+ data.tar.gz: 1e8d34c7168dfca1d9c809f43a462cd5d000f82efc0b66a2df6ba4d4f345e78b
5
5
  SHA512:
6
- metadata.gz: 3f655fc91584e99757f706e417fa8480ae53dc4d913227f885ef9e981d0a0056c3456bbce50bc71fe6e536f6a9dea712fabedecf54f1c7869d0fe66df407bd20
7
- data.tar.gz: c7b0b663ca55eefe8c7fb5c35e53cd2f0dfac9facfb938094532dc0d05c494c9138ee159409c023fa155b55edf83e0cd88221e78ef6260ee67ecb2bcbf5e26f8
6
+ metadata.gz: '08da4ce03037241ff606caeb91d57fabedccda34fd639b787c08efde40119ce8650a8d1d9c4b3d961e2485d585f14616725b7b3e22897e1bbf40049906778088'
7
+ data.tar.gz: 80412e19adeb9309bf7f6c9946a10cef0557a9207b57d1d4d7da14c4a972c24f5e8ab89bf7d87e29fb4bb302f7e11713355530ed1c794a078bfa1b382f86289f
data/.version CHANGED
@@ -1 +1 @@
1
- 0.0.53
1
+ 0.0.56
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- atlas_rb (0.0.53)
4
+ atlas_rb (0.0.56)
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 = 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
@@ -9,7 +9,7 @@ module AtlasRb
9
9
  end
10
10
 
11
11
  def self.create(id, xml_path = nil)
12
- JSON.parse(connection({ collection_id: id }).post(ROUTE)&.body)["work"]
12
+ result = JSON.parse(connection({ collection_id: id }).post(ROUTE)&.body)["work"]
13
13
  return unless xml_path.present?
14
14
 
15
15
  update(result["id"], xml_path)
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.53
4
+ version: 0.0.56
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