s3 0.3.28 → 0.3.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +6 -6
- data/lib/s3/object.rb +2 -2
- data/lib/s3/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f85370d71a4aa6ec22b7958be57fe3a3f7fe1400c0df1c6925eb0668c4c36c1
|
4
|
+
data.tar.gz: 83df23960eba0e404ccbfc6d2c01be099873540c739522c00238cb9ac710e5ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b80c3ddf9d5b725924a49ad7c0b94f0946e54eb6f53b13dae552e2654c831c95494e2d316dd28d2b39f7caeea48d520e1e12e60edf8860f0c875720c48821c6a
|
7
|
+
data.tar.gz: d78658b3e8e5dff3190260a231e967b7ef859cff788f963822d67c755dfbea18e96dfcf6348bd5710470b6613fbb17513d72492236b676acedbd110e04717277
|
data/Gemfile.lock
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
s3 (0.3.
|
4
|
+
s3 (0.3.29)
|
5
5
|
addressable
|
6
6
|
proxies
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
addressable (2.
|
12
|
-
public_suffix (>= 2.0.2, <
|
11
|
+
addressable (2.7.0)
|
12
|
+
public_suffix (>= 2.0.2, < 5.0)
|
13
13
|
metaclass (0.0.4)
|
14
14
|
mocha (1.5.0)
|
15
15
|
metaclass (~> 0.0.1)
|
16
|
-
power_assert (1.1.
|
16
|
+
power_assert (1.1.2)
|
17
17
|
proxies (0.2.3)
|
18
|
-
public_suffix (
|
18
|
+
public_suffix (4.0.3)
|
19
19
|
rake (10.5.0)
|
20
20
|
test-unit (3.2.8)
|
21
21
|
power_assert
|
@@ -31,4 +31,4 @@ DEPENDENCIES
|
|
31
31
|
test-unit
|
32
32
|
|
33
33
|
BUNDLED WITH
|
34
|
-
1.
|
34
|
+
1.17.2
|
data/lib/s3/object.rb
CHANGED
@@ -9,7 +9,7 @@ module S3
|
|
9
9
|
attr_reader :last_modified, :etag, :size, :bucket, :key, :acl, :storage_class, :metadata
|
10
10
|
attr_writer :content
|
11
11
|
|
12
|
-
def_instance_delegators :bucket, :name, :service, :
|
12
|
+
def_instance_delegators :bucket, :name, :service, :vhost?, :host, :path_prefix
|
13
13
|
def_instance_delegators :service, :protocol, :port, :secret_access_key
|
14
14
|
private_class_method :new
|
15
15
|
|
@@ -230,7 +230,7 @@ module S3
|
|
230
230
|
end
|
231
231
|
|
232
232
|
def object_request(method, options = {})
|
233
|
-
bucket_request
|
233
|
+
bucket.send(:bucket_request, method, options.merge(:path => key))
|
234
234
|
end
|
235
235
|
|
236
236
|
def last_modified=(last_modified)
|
data/lib/s3/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: s3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.29
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kuba Kuźma
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -143,8 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
143
143
|
- !ruby/object:Gem::Version
|
144
144
|
version: '0'
|
145
145
|
requirements: []
|
146
|
-
|
147
|
-
rubygems_version: 2.7.6
|
146
|
+
rubygems_version: 3.0.3
|
148
147
|
signing_key:
|
149
148
|
specification_version: 4
|
150
149
|
summary: Library for accessing S3 objects and buckets
|