bfs-gs 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/spec/bfs/bucket/gs_spec.rb +5 -5
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08fac95d84875eeb3873d5aa39d8ab7ec900bb4225580c9dbe4da12702401cdc'
|
4
|
+
data.tar.gz: 043fad275f4abc414612801862411daeb3a33dd3e391d87a868ec701d5f9dbed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34b884c86445d6df45e098ceac85218efa76adea349e3d39f86a99eb7f92401be939b60fab6bdcc83e95dcaaf44a3da48e08c555fadda819806200d9f9dbdffa
|
7
|
+
data.tar.gz: 6fbdecadf4bb512bdf2bf6bbf224eea34646c7f915c50a8fc7f4ba9e2308c5401a4b8ed2811e7d7690502a5b4e8ac628b0e611d02f8558fdf953cbfb11107bc4
|
data/spec/bfs/bucket/gs_spec.rb
CHANGED
@@ -9,20 +9,20 @@ end
|
|
9
9
|
bucket_name = 'bsm-bfs-unittest'
|
10
10
|
|
11
11
|
RSpec.describe BFS::Bucket::GS, gs: true do
|
12
|
-
let(:prefix) { "x/#{SecureRandom.uuid}/" }
|
13
|
-
|
14
12
|
subject do
|
15
13
|
described_class.new bucket_name, prefix: prefix
|
16
14
|
end
|
17
15
|
|
18
|
-
|
16
|
+
let(:prefix) { "x/#{SecureRandom.uuid}/" }
|
17
|
+
|
18
|
+
after :all do # rubocop:disable RSpec/BeforeAfterAll
|
19
19
|
bucket = described_class.new bucket_name, prefix: 'x/'
|
20
20
|
bucket.ls.each {|name| bucket.rm(name) }
|
21
21
|
end
|
22
22
|
|
23
23
|
it_behaves_like 'a bucket'
|
24
24
|
|
25
|
-
it '
|
25
|
+
it 'resolves from URL' do
|
26
26
|
bucket = BFS.resolve("gs://#{bucket_name}")
|
27
27
|
expect(bucket).to be_instance_of(described_class)
|
28
28
|
expect(bucket.name).to eq(bucket_name)
|
@@ -36,7 +36,7 @@ RSpec.describe BFS::Bucket::GS, gs: true do
|
|
36
36
|
bucket.close
|
37
37
|
end
|
38
38
|
|
39
|
-
it '
|
39
|
+
it 'enumerates over a large number of files' do
|
40
40
|
bucket = described_class.new bucket_name, prefix: 'm/'
|
41
41
|
expect(bucket.ls('**/*').count).to eq(2121)
|
42
42
|
bucket.close
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bfs-gs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dimitrij Denissenko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bfs
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.8.
|
19
|
+
version: 0.8.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.8.
|
26
|
+
version: 0.8.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: google-cloud-storage
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|