lsst-git-lfs-s3 0.3.8 → 0.3.9

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: 1523b548f03ddb2ed1bacb1dae9c10bb128f6ffe
4
- data.tar.gz: ace7ce26c3c1285c920a43ad72b806e3a8e2ffdc
3
+ metadata.gz: d6af533fb779c519b48566103bd44ae088246218
4
+ data.tar.gz: 12182c61344bb1907e4bb12329d051c2eb620a65
5
5
  SHA512:
6
- metadata.gz: f5a40948d98517ce984b82344b24509b6d6a718d4a20f996c7caad1c37959cf0707b958cdb7dd1b640680e12004c38f3d7e15b3e14754a1f34a78e95e6c5c2f2
7
- data.tar.gz: e6573c19e88749cf3aa57b68f88e18668b4f2ef323601e587808f487ab95bf85c6ea0aabd237126f54b175f26659ec9a155129411499b83e858ada4717c4fa15
6
+ metadata.gz: 5730b910a229497f91e4a62ff173c7acfb55ced22c0e8f6ba0bd287513d48d8d401263720f72bca2894b7f90e920002078aad62dfc1d760793a8c34f43f27823
7
+ data.tar.gz: b9bdf2eeebb5f82b9fdc497ddbbd2cb9fe01292e3e249706a2f5068aa4e48000b9130e92a9e0aac6584c875310710d3da3663bd09fde7c4aafbd82f4646b3e78
@@ -120,7 +120,7 @@ module GitLfsS3
120
120
  # Handle git-lfs batch downloads.
121
121
  objects = []
122
122
  params[:objects].each do |obj_json|
123
- obj_json = IndifferentHash[obj_json]
123
+ obj_json = Sinatra::IndifferentHash[obj_json]
124
124
  obj = object_data(obj_json[:oid])
125
125
  if valid_obj?(obj_json)
126
126
  if obj.exists?
@@ -139,7 +139,7 @@ module GitLfsS3
139
139
  # Handle git-lfs batch uploads.
140
140
  objects = []
141
141
  params[:objects].each do |obj_json|
142
- obj_json = IndifferentHash[obj_json]
142
+ obj_json = Sinatra::IndifferentHash[obj_json]
143
143
  obj = object_data(obj_json[:oid])
144
144
  if valid_obj?(obj_json)
145
145
  if obj.exists?
@@ -177,7 +177,7 @@ module GitLfsS3
177
177
  post '/objects/batch', provides: 'application/vnd.git-lfs+json' do
178
178
  # git-lfs batch API
179
179
  authenticated = authorized?
180
- params = IndifferentHash[JSON.parse(request.body.read)]
180
+ params = Sinatra::IndifferentHash[JSON.parse(request.body.read)]
181
181
  logger.debug params
182
182
  if params[:operation] == 'download'
183
183
  if settings.public_server
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GitLfsS3
4
- VERSION = '0.3.8'
4
+ VERSION = '0.3.9'
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.8
4
+ version: 0.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan LeFevre
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-03-09 00:00:00.000000000 Z
12
+ date: 2018-03-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aws-sdk