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 +4 -4
- data/Readme.md +2 -2
- data/lib/ui_delta/utils.rb +1 -1
- data/lib/ui_delta/version.rb +1 -1
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a31d9373251f619d01a6747f584c55b0cb50a8666010c48ea8cb5de9f9e67bb
|
4
|
+
data.tar.gz: b271118185e98ed564d6279bba5bdc6042e271ff5d6fba523cc46904e25d9810
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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://
|
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 = "
|
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"]
|
data/lib/ui_delta/utils.rb
CHANGED
@@ -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 :
|
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
|
data/lib/ui_delta/version.rb
CHANGED
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.
|
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: '
|
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: '
|
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:
|
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:
|
46
|
+
version: 1.0.4
|
41
47
|
description: Rails integration for ui-delta service
|
42
48
|
email:
|
43
49
|
- yuva@codemancers.com
|