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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 74f836fcd8a183eec3da71acd42f6a4abfc0235d
4
- data.tar.gz: 64192d3095ac550f30b1701b67dee609d58e753a
3
+ metadata.gz: c3d89cfb05f3e19b063b49656ab41d7b55d3c493
4
+ data.tar.gz: 4187068a6b4c10d59697dedd2258076c615d58f1
5
5
  SHA512:
6
- metadata.gz: d6faba6a3e9411da23428f03567bfd6cff7f39f69a12450f23d483ce2ea18a5923a8b92fb6a8cbf4b5df2bda7e6165ef7d50e35e5de079620808eba83191c822
7
- data.tar.gz: 3b6c9f20ccc0295671697fa1b94ee418468b480b51e12286cedd85ecb587b9d79c54122fc5e65881ae7f0c41ed7c84b8671ae4f77fa0350089a870c663a83735
6
+ metadata.gz: d9fd3f7f7af0dd63e9c1c82be3867814ff34ce201fe3ae952bf09aada906889817766d81c080fee510d3055bceb0e869ad897a33fd0079cb2f832272f58d962a
7
+ data.tar.gz: c6750975060769f0704a6b1da6b86d2e22f4bebfa001eaada0b6c1e18e5c4cbce2b134b32a4aa03648cd74adc34100b28fa1e78ba1b76c24547404161e00b688
@@ -1,3 +1,3 @@
1
1
  module LucidHttp
2
- VERSION = "0.10.0"
2
+ VERSION = "0.11.0"
3
3
  end
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(url="http://localhost:9292")
8
- @target_url ||= 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")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lucid_http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Federico Iachetti