bfs-ftp 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/ftp_spec.rb +4 -3
- 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: 6f743896fc3db215bd1d8219ac90456e26495f6329629801a9b0fa55552bcab0
|
4
|
+
data.tar.gz: d1103b798c992e32966b7f4bcf083ca3c41b7a125faa9a10ec6aea7cf9681d22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92f53a5a7c038278dc3f0ed6c6a2dfb1544945ac1caa0929e165859c1e6f3f8bbba454bf6d91180e02099a24d189a8923709e38ea0bf6579073e2671df999fff
|
7
|
+
data.tar.gz: cd75cb8f1db2c67c668bdb68116d69d664a4aa83c6d9e083cdef0ba3d094b280bc04ddfd8513a88cfa72ea90098253f1a43ab445c63a716540dc91c098f1275a
|
data/spec/bfs/bucket/ftp_spec.rb
CHANGED
@@ -1,17 +1,18 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
RSpec.describe BFS::Bucket::FTP, ftp: true do
|
4
|
+
subject { described_class.new hostname, **conn_opts }
|
5
|
+
|
4
6
|
let(:hostname) { '127.0.0.1' }
|
5
7
|
let(:conn_opts) { { port: 7021, username: 'ftpuser', password: 'ftppass', prefix: SecureRandom.uuid } }
|
6
8
|
|
7
|
-
|
8
|
-
after { subject.close }
|
9
|
+
after { subject.close }
|
9
10
|
|
10
11
|
it_behaves_like 'a bucket',
|
11
12
|
content_type: false,
|
12
13
|
metadata: false
|
13
14
|
|
14
|
-
it '
|
15
|
+
it 'resolves from URL' do
|
15
16
|
bucket = BFS.resolve('ftp://ftpuser:ftppass@127.0.0.1:7021')
|
16
17
|
expect(bucket).to be_instance_of(described_class)
|
17
18
|
expect(bucket.instance_variable_get(:@client).pwd).to eq('/ftp/ftpuser')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bfs-ftp
|
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: net-ftp-list
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|