vertebrae 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vertebrae/connection.rb +2 -1
- data/lib/vertebrae/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6553709d307b6343edc5ba9f95d9746bc7011d2b766cfa71f004ac058aa31df3
|
4
|
+
data.tar.gz: c3e633375938b93ebe9ea4fd5471f132cefe424ddf8f414bf56b21d6be05d040
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 875b777a7944ac034d03d1222d1adc32c611eff136772a6f22a1d4d60824ced6d57b93e7ab1dd2411cdf231bf1fcebbe2569aae8ea808f49c093c4058f0e0438
|
7
|
+
data.tar.gz: 98a03fd19a9a5407c40185c3216bda550d2fd118e67bbb9ee7f16c37080337db3d42a7b494ef18ef15ea1088ced62f01ad8f5c8998c0221318a146cf0d5a87e1
|
data/lib/vertebrae/connection.rb
CHANGED
@@ -13,6 +13,7 @@ module Vertebrae
|
|
13
13
|
|
14
14
|
attr_reader :options
|
15
15
|
attr_accessor :configuration
|
16
|
+
attr_accessor :faraday_connection
|
16
17
|
|
17
18
|
ALLOWED_OPTIONS = [
|
18
19
|
:headers,
|
@@ -71,7 +72,7 @@ module Vertebrae
|
|
71
72
|
# Returns a Faraday::Connection object
|
72
73
|
#
|
73
74
|
def connection
|
74
|
-
Faraday.new(configuration.faraday_options.merge(:builder => stack))
|
75
|
+
self.faraday_connection ||= Faraday.new(configuration.faraday_options.merge(:builder => stack))
|
75
76
|
end
|
76
77
|
end
|
77
78
|
end
|
data/lib/vertebrae/version.rb
CHANGED