bfs-scp 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/bfs/bucket/scp.rb +2 -2
  3. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e2d33dfdf2a7f5d80e33d0392f3c52feffe3c5be8b63573ffb7fb2b6fd88bef1
4
- data.tar.gz: e0858d6cd3738f575e61ab3f3cb010ecc7e1683788363c138e7e2c2633602b35
3
+ metadata.gz: d3ac45a899e6b5a91f4eaa84e8adfb1c6d5e6e179872fe76af60f8a5bfb46d20
4
+ data.tar.gz: 077d7b94bc27f0be53cad5219f73541edae90faca2bc1d16cf63f1c0af68483c
5
5
  SHA512:
6
- metadata.gz: 14925bd3e352f5e20c8176c2f0c7cb8826f9cb25f8ac3a1b7fbf05015793319e330bc957da393c3830ca64516c212f015aa6ae2b88e02cc085a85b410df970c1
7
- data.tar.gz: 17611abf696df83bf868761988fa6208e39dd830b735c7e2ec8a54f4db08ce35daad1259f3ed551233159d7ccfc22ea32e8cef71e38c39fbb8e8708720b0aad7
6
+ metadata.gz: 97744f1e6f7762a7c56e9d78049e78d9b14bff967c75a84f066275eeeebc6625b3f5185b06ddba0831bf4759febd1cae299c687f096cfb4f57fc295d99c97b67
7
+ data.tar.gz: d34bf523fb6a8e23b3ce5b9ec81c1c077e8507f46b678ca0b598575ca1c0cb4c7c658752f099c852b4bd7bc84bbca5c63f1b55956f53e138ae5e91ae60316f23
@@ -183,10 +183,10 @@ module BFS
183
183
  end
184
184
  end
185
185
 
186
- BFS.register('scp', 'ssh') do |url, opts|
186
+ BFS.register('scp', 'ssh') do |url, opts, block|
187
187
  opts[:user] ||= CGI.unescape(url.user) if url.user
188
188
  opts[:password] ||= CGI.unescape(url.password) if url.password
189
189
  opts[:port] ||= url.port if url.port
190
190
 
191
- BFS::Bucket::SCP.new(url.host, **opts)
191
+ BFS::Bucket::SCP.open(url.host, **opts, &block)
192
192
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bfs-scp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.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: 2020-05-28 00:00:00.000000000 Z
11
+ date: 2020-07-02 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.7.0
19
+ version: 0.7.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.7.0
26
+ version: 0.7.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: net-scp
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -67,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  requirements: []
70
- rubygems_version: 3.1.2
70
+ rubygems_version: 3.1.4
71
71
  signing_key:
72
72
  specification_version: 4
73
73
  summary: SCP/SSH adapter for bfs