atlas_rb 0.0.53 → 0.0.54

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: 3783dac3e90e0710de6cb63dbefd12858c5cc6bbbab5d8bbc74100af52b56ce3
4
+ data.tar.gz: 5df48e147258911c1dcba2e637f94619c293cc398b602c76bfaaa31f1adc7129
5
5
  SHA512:
6
- metadata.gz: 3f655fc91584e99757f706e417fa8480ae53dc4d913227f885ef9e981d0a0056c3456bbce50bc71fe6e536f6a9dea712fabedecf54f1c7869d0fe66df407bd20
7
- data.tar.gz: c7b0b663ca55eefe8c7fb5c35e53cd2f0dfac9facfb938094532dc0d05c494c9138ee159409c023fa155b55edf83e0cd88221e78ef6260ee67ecb2bcbf5e26f8
6
+ metadata.gz: bb90d3591825c493b7ce4bd9ebaf2149e98f8708d5f1052961c4e842f34fefd41c61b7509998b4d326133ba4ab04d0ad3f372d553bfbb409c8cfafd5cf8f3055
7
+ data.tar.gz: 250613ec50dd638dfaacda8fb237aaa688d23a2a8dff561927bd79aaa27fed7e8d9ca2cdc29dee8d950f96c45041cf58add1835489d95889d5309bcd72aa9c3a
data/.version CHANGED
@@ -1 +1 @@
1
- 0.0.53
1
+ 0.0.54
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.54)
5
5
  faraday (~> 2.7)
6
6
  faraday-follow_redirects (~> 0.3.0)
7
7
  faraday-multipart (~> 1)
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,7 +1,7 @@
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.54
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cliff