s3 0.3.26 → 0.3.27

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
  SHA256:
3
- metadata.gz: 4ba1a66cd1b2070360712c3ec3ad0bdc01b35821f87dc6241307558b3ec99f5a
4
- data.tar.gz: 0afd07c4159fa258eb415e611f56d3d069d9f789563aa57225fda26c914eb448
3
+ metadata.gz: ffec1548425f8ee90508e8f37d352c346985c3d5f02f3be65b7bc84c25730350
4
+ data.tar.gz: ed6c7585bdecd2190a0ed5980ce702a0dc20e2f2c5cee52085f927800326589c
5
5
  SHA512:
6
- metadata.gz: 06aab60c71c763fe50bc79f6461ff580627f5d58d7016d433aab2fe83ab861faf22dcb723f18cae494ff9a5f440ff652110a56cbfb1897adfd2ac3d8ce9f36dd
7
- data.tar.gz: 48aaf87bf566a218f2cd84b18186d77c82a74a550fccf465a6bef3c6a49490f463a9d2ea56f624c1c9c2fc42d94fbc94434311654c4944ce2b246f6a6ffaaa47
6
+ metadata.gz: dcc1cd2708130de24b5a5b386b955f150c05fa0d4f316022fd16d6b4af7030c5bcc19562275d2941a59a9f4a3f49e7b27afd9443dc43915cb556630e72fbcdbb
7
+ data.tar.gz: 422db102ea2b6e147113fe67a9671e1eac5f6d1401aed9be482c8de4490d4d006a1ad5295056a5a03274afbf203852ed14027df75c89225d72651a7692fe15df
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- s3 (0.3.25)
4
+ s3 (0.3.27)
5
5
  addressable
6
6
  proxies
7
7
 
@@ -11,13 +11,13 @@ GEM
11
11
  addressable (2.5.2)
12
12
  public_suffix (>= 2.0.2, < 4.0)
13
13
  metaclass (0.0.4)
14
- mocha (1.3.0)
14
+ mocha (1.5.0)
15
15
  metaclass (~> 0.0.1)
16
16
  power_assert (1.1.1)
17
17
  proxies (0.2.3)
18
- public_suffix (3.0.1)
18
+ public_suffix (3.0.2)
19
19
  rake (10.5.0)
20
- test-unit (3.2.7)
20
+ test-unit (3.2.8)
21
21
  power_assert
22
22
 
23
23
  PLATFORMS
@@ -84,7 +84,7 @@ module S3
84
84
  # Downloads the content of the object, and caches it. Pass true to
85
85
  # clear the cache and download the object again.
86
86
  def content(reload = false)
87
- return @content if defined?(@content) and not reload
87
+ return @content unless reload or @content.nil?
88
88
  get_object
89
89
  @content
90
90
  end
@@ -1,3 +1,3 @@
1
1
  module S3
2
- VERSION = "0.3.26"
2
+ VERSION = "0.3.27"
3
3
  end
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.26
4
+ version: 0.3.27
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: 2018-01-11 00:00:00.000000000 Z
11
+ date: 2018-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
144
  version: '0'
145
145
  requirements: []
146
146
  rubyforge_project:
147
- rubygems_version: 2.7.3
147
+ rubygems_version: 2.7.6
148
148
  signing_key:
149
149
  specification_version: 4
150
150
  summary: Library for accessing S3 objects and buckets