atlas_rb 0.0.95 → 0.0.97

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f04b74aca7b48fdba1f279e1b818cacc6e34be23c96a12b90c7cdd201ee0904
4
- data.tar.gz: 9aeefc94a12ac0d8798e4fbf0d5edd5a9d6dacf9a6ec540184e2617b0cb0d5cc
3
+ metadata.gz: 9b6ef40045a79aa04b9ca98e80e92a456ae933f5cbad55772d7de9c73786480d
4
+ data.tar.gz: 23c2f7a59045c1e1d7ec268fcaa2f47578f12e1a4ff4d7e21ab16a983e8c501b
5
5
  SHA512:
6
- metadata.gz: e028b1c2439beff9c27bc2f6a98082f7b76ebe86b7a16620c0a3d8aadfe5bc2463093e4c70f7d91198cf04a38100c4ea311f3415195743640aeb833b7847df3b
7
- data.tar.gz: 4730752d8d3df7ec5715d7ae0bc71c892944a3ee215659f611d4216be171a284f3d71bf3413b2d4db17404641691f4c18836d7246b0d8045e0128552e22e069b
6
+ metadata.gz: 743d6f4b3e107a41597faca5108f7bfaefc2fae92c0efbc3ea2668cbd043206f104f095f87b722bd90bb23a95b3d2de0f90d549ffade362d4e1ee983163b8c90
7
+ data.tar.gz: 64bbc84b852c22d6d4894b1f59e2809ada532d8fc31790eccd2615756ac7c11905608e589a981940bfb1d6beaccd75bc4f3ba801c0e4fc6c1665dc9f7ffd53ba
data/.version CHANGED
@@ -1 +1 @@
1
- 0.0.95
1
+ 0.0.97
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- atlas_rb (0.0.95)
4
+ atlas_rb (0.0.97)
5
5
  faraday (~> 2.7)
6
6
  faraday-follow_redirects (~> 0.3.0)
7
7
  faraday-multipart (~> 1)
data/README.md CHANGED
@@ -123,7 +123,7 @@ work = AtlasRb::Work.create(collection.id, "/tmp/work-mods.xml")
123
123
  blob = AtlasRb::Blob.create(work.id, "/tmp/upload.tmp", "thesis.pdf")
124
124
 
125
125
  # 3. List everything attached to the work.
126
- AtlasRb::Work.files(work.id)
126
+ AtlasRb::Work.assets(work.id)
127
127
 
128
128
  # 4. Stream the binary back without buffering it in memory.
129
129
  File.open("out.pdf", "wb") do |f|
data/lib/atlas_rb/work.rb CHANGED
@@ -272,11 +272,6 @@ module AtlasRb
272
272
  JSON.parse(connection({}).get(ROUTE + id + '/assets')&.body).map { |entry| AtlasRb::Mash.new(entry) }
273
273
  end
274
274
 
275
- # @deprecated Use {.assets} instead. Will be removed in the next release.
276
- def self.files(id)
277
- assets(id)
278
- end
279
-
280
275
  # Fetch the Work's MODS representation in the requested format.
281
276
  #
282
277
  # @param id [String] the Work ID.
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.95
4
+ version: 0.0.97
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cliff