lucid_http 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lucid_http/version.rb +1 -1
- data/lib/lucid_http.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3d89cfb05f3e19b063b49656ab41d7b55d3c493
|
4
|
+
data.tar.gz: 4187068a6b4c10d59697dedd2258076c615d58f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9fd3f7f7af0dd63e9c1c82be3867814ff34ce201fe3ae952bf09aada906889817766d81c080fee510d3055bceb0e869ad897a33fd0079cb2f832272f58d962a
|
7
|
+
data.tar.gz: c6750975060769f0704a6b1da6b86d2e22f4bebfa001eaada0b6c1e18e5c4cbce2b134b32a4aa03648cd74adc34100b28fa1e78ba1b76c24547404161e00b688
|
data/lib/lucid_http/version.rb
CHANGED
data/lib/lucid_http.rb
CHANGED
@@ -4,8 +4,8 @@ require "delegate"
|
|
4
4
|
require "json"
|
5
5
|
|
6
6
|
module LucidHttp
|
7
|
-
def self.target_url
|
8
|
-
@target_url ||=
|
7
|
+
def self.target_url
|
8
|
+
@target_url ||= ENV.fetch("TARGET_URL") { "http://localhost:9292" }
|
9
9
|
end
|
10
10
|
|
11
11
|
def self.target_url=(url="http://localhost:9292")
|