bfs-ftp 0.7.6 → 0.8.0

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/ftp.rb +1 -1
  3. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d38185964804e9e5a66c247e02217133fc179dd56572ce1f31796e327be2b80
4
- data.tar.gz: 2880cb28f4a001c41bc374ed41bc74fd84923bec89aa70adfc3d2fe4256928fe
3
+ metadata.gz: 3fc095ce10f0585ef7c4ece472b54d4b6543017f47b0b49f267b0bdd199aa493
4
+ data.tar.gz: e366f5a503feb6bf5843f8459823052ca939952aa3bd94288813a1ac58835bee
5
5
  SHA512:
6
- metadata.gz: b50533901599636d409e2f188e7ad79815488db581df8b9e8f89c9fd32e2ca0347216f75c8230f17370e9179ab2ffd99810f27dfb8ba19fa832a497538ffb635
7
- data.tar.gz: 19f7c1630ea6e047d63de8c87d2c07f6fe795f0b23be627454d3414845380d4d0fdf0e044c8b505e21d9ebd8afebb219025c3a3ace6b5e377f0c904b309ae9bf
6
+ metadata.gz: 60d25fde695df0aa25eb4f3ced184a87692211b64982d33c1a9ec1bc8ca42f6eeb89a0ce343c9230a385e2ed622033982e0ce4e5ad89a1648cf6a9be2b24ab82
7
+ data.tar.gz: 2539e624485bf2ddf7b171dbc981a51a5f5e4c60e378e78b5caa5c8286f1a11ae0ffb6c24246ac3b8737b6ab89a408fe81a1994cb63e20a8c4c1e5b280cccb55
@@ -52,7 +52,7 @@ module BFS
52
52
  # Creates a new file and opens it for writing
53
53
  def create(path, encoding: self.encoding, perm: self.perm, **_opts, &block)
54
54
  path = norm_path(path)
55
- BFS::TempWriter.new(path, encoding: encoding, perm: perm) do |t|
55
+ BFS::Writer.new(path, encoding: encoding, perm: perm) do |t|
56
56
  mkdir_p File.dirname(path)
57
57
  @client.put(t, path)
58
58
  end.perform(&block)
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.7.6
4
+ version: 0.8.0
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-11-10 00:00:00.000000000 Z
11
+ date: 2020-12-01 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.6
19
+ version: 0.8.0
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.6
26
+ version: 0.8.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: net-ftp-list
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: FTP adapter for bfs