ad_leads 0.1.4 → 0.1.5

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: 87d05bf86a2ffdac68cb7772d7c541704fb8359f
4
- data.tar.gz: 1e2e5b77a87dd5c52a6cfd0b725d73d8e6b30711
3
+ metadata.gz: b4264d8910ed535e642bb79e3a04281bd1a7f999
4
+ data.tar.gz: 37c27b15afe0b73473a0abe80e4f54627fbadd00
5
5
  SHA512:
6
- metadata.gz: eb094e8218218bc4c6d33617ff65a7df9cafc71a6cb700d7dd4ac91dbf9af5bc4bc17cc6675f8a7dd53a0e266923e762d638ac28a015164e779703243c61619a
7
- data.tar.gz: e336407a36ba39e01dbd5cb76ada5fd347bf3087f2bdb78f55a91dd66a857ecf0a347efee539efd19e01b9b462e18d1700a87f93f6c2533add43d784c3760813
6
+ metadata.gz: c4e9ce8253ead574d16fa355086a62b87aa2607538718feb99401ac09bb57872b3d6aa0908aed620ec5b8f5b105595c89f0699e9cca9db0ebcd2eb0469b55e07
7
+ data.tar.gz: 2607fdd4eac9e8e053a4f03ea15315433bec596003dc3f9df458815873f1cfaf57a92b47816ef31470f59565d055b6062531ef61de379f051b52df8fa44eead5
@@ -19,7 +19,7 @@ class AdLeads::Image < AdLeads::Base
19
19
 
20
20
  def image_upload_params(file)
21
21
  {
22
- file: Faraday::UploadIO.new(file, 'image/jpeg'),
22
+ file: Faraday::UploadIO.new(open(file), 'image/jpeg'),
23
23
  etag: etag
24
24
  }
25
25
  end
@@ -1,3 +1,3 @@
1
1
  module AdLeads
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ad_leads
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dinshaw