lsst-git-lfs-s3 0.3.6 → 0.3.7

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
  SHA1:
3
- metadata.gz: 71878bf6966f50b7f5f3000dd16f4c309f885ff6
4
- data.tar.gz: 4b73e19c8cbccc032efa5f8b845fd0eb733345c2
3
+ metadata.gz: 4c56681beab455a5733c58fe10b1275cd50e3e01
4
+ data.tar.gz: ec3656ac09d4e671c197550bd5c46537a8da0a28
5
5
  SHA512:
6
- metadata.gz: 83b172cb17cc167133baa0dd04169c8266a294026b45faa49aeb46fa3c9839f0d9518f6635e20a727f7d09478571adef8175a174b4c4a6c59e7cb29c3816c1b8
7
- data.tar.gz: a2293c788540582f2a2015b4b93e3eed7656659174b91fe45085ecf6e7dbb8f5f991db824fe08b800a678ed3fae65007b93f84d5d2e676c1c79e38dbac82a56a
6
+ metadata.gz: e69199d6b0796a1c78a7ee50236d40bdd5d89d87d25d722258420df984e40dc6748cc80b81c4aaf8390fa72b179dba9d1f180086b4e26113fd3ba6d67effd7a0
7
+ data.tar.gz: 4d931519d3de9be55b4708345ddcb6a92e8147d5fe7ca361f0e24f3938789cf3e9a1ef2df26cceee6b0ae0c43ef8503813d926686070fd0f1b414b8ba1e4f338
@@ -119,7 +119,7 @@ module GitLfsS3
119
119
  # Handle git-lfs batch downloads.
120
120
  objects = []
121
121
  params[:objects].each do |obj_json|
122
- obj_json = IndifferentHash(obj_json)
122
+ obj_json = IndifferentHash[obj_json]
123
123
  obj = object_data(obj_json[:oid])
124
124
  if valid_obj?(obj_json)
125
125
  if obj.exists?
@@ -138,7 +138,7 @@ module GitLfsS3
138
138
  # Handle git-lfs batch uploads.
139
139
  objects = []
140
140
  params[:objects].each do |obj_json|
141
- obj_json = IndifferentHash(obj_json)
141
+ obj_json = IndifferentHash[obj_json]
142
142
  obj = object_data(obj_json[:oid])
143
143
  if valid_obj?(obj_json)
144
144
  if obj.exists?
@@ -176,7 +176,7 @@ module GitLfsS3
176
176
  post '/objects/batch', provides: 'application/vnd.git-lfs+json' do
177
177
  # git-lfs batch API
178
178
  authenticated = authorized?
179
- params = IndifferentHash(JSON.parse(request.body.read))
179
+ params = IndifferentHash[JSON.parse(request.body.read)]
180
180
  logger.debug params
181
181
  if params[:operation] == 'download'
182
182
  if settings.public_server
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GitLfsS3
4
- VERSION = '0.3.6'
4
+ VERSION = '0.3.7'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lsst-git-lfs-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan LeFevre