ui-delta 0.5.1 → 0.5.3

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
  SHA256:
3
- metadata.gz: 218f563dd0935290718bdb2ab4dab8349035b1408767d89f5d6e4bc0ba98aa13
4
- data.tar.gz: bff6dac900b5c19cecd340fa0b174ad1e7a51256dd057587f8000cd977f5377c
3
+ metadata.gz: 1a31d9373251f619d01a6747f584c55b0cb50a8666010c48ea8cb5de9f9e67bb
4
+ data.tar.gz: b271118185e98ed564d6279bba5bdc6042e271ff5d6fba523cc46904e25d9810
5
5
  SHA512:
6
- metadata.gz: 68bd7c6f85c1a6929d9a346be00a944c7bd3a0dd0de2b95effdef6f00850308ff61b8b5668774291fbeb82fe6dc63b5786ad7ec633d01955dced6d6d450f8ead
7
- data.tar.gz: 877e02cd5c1c758f52f3d2600b7e3e5405dbf47c45d817ff14da51b3edc43e1a4af45ec25ab5a6a13fe3b7c6fc31ae32d36d390a239074d278f6ab5aa3ac3de4
6
+ metadata.gz: abfeb858f640cc46a49727dd09891ccc78d0d26aa8e793cfb78d2fc5a594d18bc1d5cd44e5f4536e43e482509aa00c1f0cdb781a8838d8961e958fc84207c916
7
+ data.tar.gz: ffcba16b7bae43c5806ef43ac9ce42f57fb24dab2dec022b4bb13e45ada08dbd851869e4304cac59d21308fdcccad5f14609cdf415671d608e17906dd6dd1c21
data/Readme.md CHANGED
@@ -21,10 +21,10 @@ api key can be obtained by loggin into service and visiting `/api_key`.
21
21
  ```rb
22
22
  UiDelta.configure do |config|
23
23
  # configure domain to which all images have to be uploaded.
24
- config.base_uri = "http://idf.dev"
24
+ config.base_uri = "http://ui-delta.fly.dev"
25
25
 
26
26
  # configure project name to which images belong to.
27
- config.project_name = "idf"
27
+ config.project_name = "website"
28
28
 
29
29
  # configure api_key required to authorize api access
30
30
  config.api_key = ENV["UI_DELTA_API_KEY"]
@@ -4,7 +4,7 @@ module UiDelta
4
4
  def self.connection
5
5
  base_uri = UiDelta.base_uri
6
6
  Faraday.new(base_uri, request: { timeout: 120, open_timeout: 120 }) do |f|
7
- f.request :basic_auth, UiDelta.api_key, 'X'
7
+ f.request :authorization, :basic, UiDelta.api_key, 'X'
8
8
  f.request :multipart
9
9
  f.request :url_encoded
10
10
  f.adapter :net_http
@@ -1,3 +1,3 @@
1
1
  module UiDelta
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ui-delta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuva
@@ -14,30 +14,36 @@ dependencies:
14
14
  name: faraday
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '2.9'
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'
26
+ version: '2.9'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: faraday-multipart
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.0'
31
34
  - - ">="
32
35
  - !ruby/object:Gem::Version
33
- version: '0'
36
+ version: 1.0.4
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
41
+ - - "~>"
42
+ - !ruby/object:Gem::Version
43
+ version: '1.0'
38
44
  - - ">="
39
45
  - !ruby/object:Gem::Version
40
- version: '0'
46
+ version: 1.0.4
41
47
  description: Rails integration for ui-delta service
42
48
  email:
43
49
  - yuva@codemancers.com