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 +4 -4
- data/lib/git-lfs-s3/application.rb +3 -3
- data/lib/git-lfs-s3/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6af533fb779c519b48566103bd44ae088246218
|
4
|
+
data.tar.gz: 12182c61344bb1907e4bb12329d051c2eb620a65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/git-lfs-s3/version.rb
CHANGED
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.
|
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-
|
12
|
+
date: 2018-03-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aws-sdk
|