tito 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tito/request_proxy.rb +3 -2
- data/lib/tito/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9aacc0e3bbfede95425d63f571de397b4523a099
|
4
|
+
data.tar.gz: 6095ace328a2214db872bfb92ef1872eabf434d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c000ed72f2a2a951784414a4350698f86414ef10d4eef3742f2ce493e4f71d311df23070ece39dbbbd7956385181df1b3f209127e994bb7ddd33e013f5823178
|
7
|
+
data.tar.gz: ab3b33f56df73c87491d51392040da8a33795b97c3e884d03e2e09d481bc39ccc97ed6f8e77e8ccfb4e880816b96783145ac8e5a27ca4bd5d39c6f393c778edb
|
data/lib/tito/request_proxy.rb
CHANGED
@@ -10,8 +10,9 @@ module Tito
|
|
10
10
|
@api_key = api_key
|
11
11
|
end
|
12
12
|
|
13
|
-
def all
|
14
|
-
|
13
|
+
def all(attrs = {})
|
14
|
+
_api_key = attrs.delete(:api_key) || api_key
|
15
|
+
proxy_class.all(path_prefix: proxy_path, api_key: _api_key)
|
15
16
|
end
|
16
17
|
|
17
18
|
def new(attrs = {})
|
data/lib/tito/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tito
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Campbell
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|