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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9de5568949fb5d26465e2eee09d1d3cd97bb7fea
4
- data.tar.gz: 5bd9c944468cb8d59c92657c2150c520571234d2
3
+ metadata.gz: 9aacc0e3bbfede95425d63f571de397b4523a099
4
+ data.tar.gz: 6095ace328a2214db872bfb92ef1872eabf434d7
5
5
  SHA512:
6
- metadata.gz: 19e2e93e3ed7238d288c7a84800d2091d3134022177bb80418ce3d233f99482feaf761d493d97ebd994e34c8ffcf8e46f15016fc4b74bb6fbcdb028fc3d177e7
7
- data.tar.gz: 1ad72e81a785d828c67594e1be8abd493c96412376e12e25d7a0dd121ac0bb343f51a2b17416343021143a3543d779297ec6e5365a63952eee51a7e827e250ab
6
+ metadata.gz: c000ed72f2a2a951784414a4350698f86414ef10d4eef3742f2ce493e4f71d311df23070ece39dbbbd7956385181df1b3f209127e994bb7ddd33e013f5823178
7
+ data.tar.gz: ab3b33f56df73c87491d51392040da8a33795b97c3e884d03e2e09d481bc39ccc97ed6f8e77e8ccfb4e880816b96783145ac8e5a27ca4bd5d39c6f393c778edb
@@ -10,8 +10,9 @@ module Tito
10
10
  @api_key = api_key
11
11
  end
12
12
 
13
- def all
14
- proxy_class.all(path_prefix: proxy_path, api_key: api_key)
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
@@ -1,3 +1,3 @@
1
1
  module Tito
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
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.0
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-20 00:00:00.000000000 Z
11
+ date: 2017-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http