attachie 1.0.0 → 1.0.1

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: 2a6322baba1a72a9869ed2cb50a2f58a890fed49a5b1fbfb57c6e358dfcce4b2
4
- data.tar.gz: 7e95e247cf920af92fd51d32b21bf2d0a82a59af022cacc1343a2bb71612d5b7
3
+ metadata.gz: b46cc167a6c4926e50df706732529767dd6d57a39cafa5460f840ef069f9d503
4
+ data.tar.gz: e95f361bc70b9cbe82711e53665a7a3e44eee7f3cdf154517bbedf6371ca04c0
5
5
  SHA512:
6
- metadata.gz: ef797be58fb2573636f3cfc9de41fc1484cc8f6357488e7d1699ed5288a79b3c2ca0a51795ab825ce8941f05c69986dd84dd05b1861493ef74c8cc1afb5a1cd6
7
- data.tar.gz: e986a15bc1a7781d4d60f620949582ae455c0dc6374c818930c7990a430bc9cbc4740d14cb2b0a60865769c084b7bc5bbce9c55f5aa1cabb0a10790704767745
6
+ metadata.gz: 882ddb538d5369758fa73eccb272ca8be5384697bd018670d1a5e88ffc09bdcf0401bf4cd59016f291fffdbd2dc1f02b1dba78ea56e04d05a26f4c1c9df5342d
7
+ data.tar.gz: 36b8a206de8998afbce19fd9495a16259686f14a5ea395e425bda7d4f5bc479111212648a3372dbdfa2c9d5e82a9f4099543cac000684825bfce90f68e8ebed6
@@ -0,0 +1,3 @@
1
+ # 1.0.1
2
+ ## Fixed
3
+ * dup list result in FakeDriver before iterating
@@ -37,7 +37,7 @@ module Attachie
37
37
  def list(bucket, prefix: nil)
38
38
  return enum_for(:list, bucket, prefix: prefix) unless block_given?
39
39
 
40
- objects(bucket).each do |key, _|
40
+ objects(bucket).dup.each do |key, _|
41
41
  yield key if prefix.nil? || key.start_with?(prefix)
42
42
  end
43
43
  end
@@ -1,3 +1,3 @@
1
1
  module Attachie
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: attachie
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Vetter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-13 00:00:00.000000000 Z
11
+ date: 2019-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-s3
@@ -131,6 +131,7 @@ extra_rdoc_files: []
131
131
  files:
132
132
  - ".gitignore"
133
133
  - ".travis.yml"
134
+ - CHANGELOG.md
134
135
  - Gemfile
135
136
  - LICENSE.txt
136
137
  - README.md