breezy_pdf 0.0.19 → 0.0.20

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b998ad372477279dc26037c8984d0c22c5563a1d
4
- data.tar.gz: ad1a6951717fb895563525d94eaa2d6f0a3f77cc
3
+ metadata.gz: a1f5503ff612f6180a6062a1335ae8f2688bd4d2
4
+ data.tar.gz: 5bd6c965412f913fb4b815b57a810a0a3e3b9b79
5
5
  SHA512:
6
- metadata.gz: 1a97ec3e1b4c80a80bacb1958b28f31aee1b239a05a391a64f129780d1e7b8dc4057d3e17cdbe19f4b3195751753daba8e41f9ee139b0c9b9cdaf96772027fc3
7
- data.tar.gz: 0e5a3a068d941b7a0109f6c21af27d8c143abd51667ae41153649aa02e6869ddf5e2a34627c08623719658e501767794ff6eb52b55814ba61762c96cc3afa00b
6
+ metadata.gz: 5e1b432206986603453e39d6116695725c94483b030d41907ba87565115707eb4fb2224be5e5f5b5a9178ed2c2e89e210e9e29a12054f1ffac0f0ec1ab3ee55a
7
+ data.tar.gz: 32358c3c27beb58186da8b4a709d8f6f97686ba7e451ddb5d5d4c9d339a207902f56e8c6ad339e6a9b3a7ca665631c2954498f70bc5ddd2878692512c4c48b2f
@@ -15,7 +15,6 @@ module BreezyPDF::Uploads
15
15
  @start_time = Process.clock_gettime(Process::CLOCK_MONOTONIC)
16
16
  BreezyPDF.logger.info(%([BreezyPDF] Starting private asset upload for #{@filename}))
17
17
  upload!
18
- complete_upload!
19
18
 
20
19
  @end_time = Process.clock_gettime(Process::CLOCK_MONOTONIC)
21
20
  BreezyPDF.logger.info(
@@ -42,14 +41,6 @@ module BreezyPDF::Uploads
42
41
  @file ||= File.open(@file_path)
43
42
  end
44
43
 
45
- def complete_upload!
46
- BreezyPDF.logger.info(%([BreezyPDF] Initiating completion of private asset upload for #{@filename}))
47
- client.put("/uploads/#{resource.id}", {})
48
- rescue Net::HTTP => error
49
- BreezyPDF.logger.fatal(%([BreezyPDF] Unable to complete private asset upload for #{@filename}))
50
- raise CompletionError, error.message
51
- end
52
-
53
44
  def upload!
54
45
  BreezyPDF.logger.info(%([BreezyPDF] Initiating private asset upload of #{@filename}))
55
46
  upload_response = upload_http.request(upload_request)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BreezyPDF
4
- VERSION = "0.0.19"
4
+ VERSION = "0.0.20"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: breezy_pdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.19
4
+ version: 0.0.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Westendorf
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-04-13 00:00:00.000000000 Z
11
+ date: 2018-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby