fyt 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 23d6aa7db12e95652482fca1f545d25fce4799164a925d8d055ac2f3c04a97e8
4
- data.tar.gz: e182bf7ea0d731e41358baa17c7bccffeb010f4eb07d3d577a9b18228649e67a
3
+ metadata.gz: b052dff8b95188645750772459853eefe449a53e557b842266377e7cb70431a5
4
+ data.tar.gz: 88fe4a28a29a4e81f11d691321948e202bed68a84750207aec857e229a732c3c
5
5
  SHA512:
6
- metadata.gz: e2c574968273f262d2c0740280c562fd3839059a2a3637c98d01a353bc203f4d89b05a8209b1ce3fd4260fa75e74eb85e549db086d3698ad1871290f3bccfd8c
7
- data.tar.gz: 376e230431209e927815c66180c9d68a61ef5eaba5aa7be2b9ddb34cf42037813143cf7f58ba544c31e061d618c929bfe389a6dac7475c180fd29db8696ac8d4
6
+ metadata.gz: 2f6d16eabdf124a32c82ba245c73073d75222cb9b6781faf0e8bf905e851e43620d24a2cdd494ae882c402c048f31e69e9ecbc92dddae1ce9765a0d2f3e956a8
7
+ data.tar.gz: 56c53938f2dcc79f8953282f713e95c0d4d729408831d40e9a16a3f097df8952b29c33d3075eb1533911933650c329f3d51491fcf397d112dc93fb441380d957
@@ -97,9 +97,9 @@ module FYT
97
97
  end
98
98
 
99
99
  def upload_to_s3(filename)
100
- bucket.object(filename).upload_file(
101
- tmp_path_for(filename), acl: 'public-read'
102
- )
100
+ File.open(tmp_path_for(filename), 'rb') do |file|
101
+ bucket.object(filename).put(body: file, acl: 'public-read')
102
+ end
103
103
  end
104
104
 
105
105
  def delete_from_s3(name)
@@ -30,7 +30,6 @@ module FYT
30
30
  "-f '#{@format_options}'",
31
31
  "--merge-output-format '#{@output_format}'",
32
32
  "-o '#{tmp_path_for(filename)}'",
33
- "--proxy 'http:#{proxy.url}'",
34
33
  "'#{url}'"
35
34
  ].join(' ')
36
35
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fyt
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steffen Schröder
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-03 00:00:00.000000000 Z
11
+ date: 2019-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-s3