fluxx 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 +4 -4
- data/.rubocop.yml +3 -0
- data/Gemfile.lock +9 -4
- data/lib/fluxx/resource.rb +2 -2
- data/lib/fluxx/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 420e7f82e4699290d64192fc0fb4cecaecbd23800d08daf2bd5c9341dc56c818
|
4
|
+
data.tar.gz: 71b9cf950c0cd566b0a5afc1efa42aac4a43ce4416c17254d8579f168b38773c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f48ba1fe98079918612287a1ce513965e992a73b350dc2e6d7160f7c3aef06859f9e3f1ce6992ded39e4044bd7bd6bd05602b2a3f04c89407f334bf3707e3c3f
|
7
|
+
data.tar.gz: 37aff928557fabd47c684edca1d0f5bca337e98a7c1cc649666cd881d95772488876b3944268ca766651a5f020ac385b778614155b87e39e39d3e320a7ff7309
|
data/.rubocop.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
fluxx (0.1.
|
4
|
+
fluxx (0.1.5)
|
5
5
|
http-rest_client
|
6
6
|
|
7
7
|
GEM
|
@@ -17,18 +17,23 @@ GEM
|
|
17
17
|
domain_name (0.5.20190701)
|
18
18
|
unf (>= 0.0.5, < 1.0.0)
|
19
19
|
ffaker (2.13.0)
|
20
|
+
ffi (1.11.2)
|
21
|
+
ffi-compiler (1.0.1)
|
22
|
+
ffi (>= 1.0.0)
|
23
|
+
rake
|
20
24
|
hashdiff (1.0.0)
|
21
|
-
http (4.
|
25
|
+
http (4.2.0)
|
22
26
|
addressable (~> 2.3)
|
23
27
|
http-cookie (~> 1.0)
|
24
28
|
http-form_data (~> 2.0)
|
25
|
-
|
29
|
+
http-parser (~> 1.2.0)
|
26
30
|
http-cookie (1.0.3)
|
27
31
|
domain_name (~> 0.5)
|
28
32
|
http-form_data (2.1.1)
|
33
|
+
http-parser (1.2.1)
|
34
|
+
ffi-compiler (>= 1.0, < 2.0)
|
29
35
|
http-rest_client (0.1.1)
|
30
36
|
http
|
31
|
-
http_parser.rb (0.6.0)
|
32
37
|
jaro_winkler (1.5.3)
|
33
38
|
json (2.2.0)
|
34
39
|
parallel (1.18.0)
|
data/lib/fluxx/resource.rb
CHANGED
@@ -17,11 +17,11 @@ module Fluxx
|
|
17
17
|
endpoint ENV['FLUXX_INSTANCE_URL']
|
18
18
|
content_type 'application/json'
|
19
19
|
|
20
|
-
# Defines the client endpoint
|
20
|
+
# Defines the client endpoint, thread-safe
|
21
21
|
#
|
22
22
|
# @param value [String] the endpoint URI.
|
23
23
|
# @return [String]
|
24
|
-
def endpoint(value = nil)
|
24
|
+
def self.endpoint(value = nil)
|
25
25
|
return super(value) unless value.nil?
|
26
26
|
|
27
27
|
Thread.current.thread_variable_get(:FLUXX_INSTANCE_URL) || super
|
data/lib/fluxx/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluxx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stas SUȘCOV
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-11-
|
12
|
+
date: 2019-11-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: http-rest_client
|