viki 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/viki/client.rb +3 -1
  2. data/lib/viki/version.rb +1 -1
  3. metadata +13 -13
data/lib/viki/client.rb CHANGED
@@ -20,7 +20,9 @@ module Viki
20
20
  include Viki::Request
21
21
 
22
22
  def get
23
- request(@call_chain)
23
+ result = request(@call_chain)
24
+ @call_chain = []
25
+ result
24
26
  end
25
27
 
26
28
  def reset_access_token
data/lib/viki/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Viki
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: viki
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -15,7 +15,7 @@ date: 2012-06-26 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rspec
18
- requirement: &70128599563080 !ruby/object:Gem::Requirement
18
+ requirement: &70355687456520 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ~>
@@ -23,10 +23,10 @@ dependencies:
23
23
  version: 2.10.0
24
24
  type: :development
25
25
  prerelease: false
26
- version_requirements: *70128599563080
26
+ version_requirements: *70355687456520
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: vcr
29
- requirement: &70128599562600 !ruby/object:Gem::Requirement
29
+ requirement: &70355687454860 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ~>
@@ -34,10 +34,10 @@ dependencies:
34
34
  version: 2.2.2
35
35
  type: :development
36
36
  prerelease: false
37
- version_requirements: *70128599562600
37
+ version_requirements: *70355687454860
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: webmock
40
- requirement: &70128599562100 !ruby/object:Gem::Requirement
40
+ requirement: &70355687453880 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
43
  - - ~>
@@ -45,10 +45,10 @@ dependencies:
45
45
  version: 1.8.7
46
46
  type: :development
47
47
  prerelease: false
48
- version_requirements: *70128599562100
48
+ version_requirements: *70355687453880
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: excon
51
- requirement: &70128599561540 !ruby/object:Gem::Requirement
51
+ requirement: &70355687452500 !ruby/object:Gem::Requirement
52
52
  none: false
53
53
  requirements:
54
54
  - - ~>
@@ -56,10 +56,10 @@ dependencies:
56
56
  version: 0.9.6
57
57
  type: :development
58
58
  prerelease: false
59
- version_requirements: *70128599561540
59
+ version_requirements: *70355687452500
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: httparty
62
- requirement: &70128599560720 !ruby/object:Gem::Requirement
62
+ requirement: &70355687450760 !ruby/object:Gem::Requirement
63
63
  none: false
64
64
  requirements:
65
65
  - - ~>
@@ -67,10 +67,10 @@ dependencies:
67
67
  version: 0.8.3
68
68
  type: :runtime
69
69
  prerelease: false
70
- version_requirements: *70128599560720
70
+ version_requirements: *70355687450760
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: multi_json
73
- requirement: &70128599560160 !ruby/object:Gem::Requirement
73
+ requirement: &70355687465960 !ruby/object:Gem::Requirement
74
74
  none: false
75
75
  requirements:
76
76
  - - ~>
@@ -78,7 +78,7 @@ dependencies:
78
78
  version: 1.3.6
79
79
  type: :runtime
80
80
  prerelease: false
81
- version_requirements: *70128599560160
81
+ version_requirements: *70355687465960
82
82
  description: Viki-gem is an official wrapper gem for the Viki V3 API.
83
83
  email:
84
84
  - engineering@viki.com