addons-client 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,12 +11,20 @@ module Addons
11
11
  @data
12
12
  end
13
13
 
14
+ def data
15
+ @data
16
+ end
17
+
14
18
  def to_s
15
- @data.to_s
19
+ data.to_s
16
20
  end
17
21
 
18
- def data
19
- @data
22
+ def to_a
23
+ [*data]
24
+ end
25
+
26
+ def each(&blk)
27
+ data.each(&blk)
20
28
  end
21
29
 
22
30
  def method_missing(name, *args, &blk)
@@ -1,5 +1,5 @@
1
1
  module Addons
2
2
  class Client
3
- VERSION = "0.0.8"
3
+ VERSION = "0.0.9"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: addons-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ date: 2012-08-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rest-client
17
- requirement: &70326282116200 !ruby/object:Gem::Requirement
17
+ requirement: &70230676373100 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70326282116200
25
+ version_requirements: *70230676373100
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: configliere
28
- requirement: &70326282114700 !ruby/object:Gem::Requirement
28
+ requirement: &70230676371880 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *70326282114700
36
+ version_requirements: *70230676371880
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: json
39
- requirement: &70326282113360 !ruby/object:Gem::Requirement
39
+ requirement: &70230676370140 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,7 +44,7 @@ dependencies:
44
44
  version: '0'
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *70326282113360
47
+ version_requirements: *70230676370140
48
48
  description: Addons Platform API client
49
49
  email:
50
50
  - csquared@gmail.com
@@ -90,7 +90,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
90
90
  version: '0'
91
91
  segments:
92
92
  - 0
93
- hash: 3196901536929945356
93
+ hash: 1927057174432499846
94
94
  required_rubygems_version: !ruby/object:Gem::Requirement
95
95
  none: false
96
96
  requirements:
@@ -99,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
99
99
  version: '0'
100
100
  segments:
101
101
  - 0
102
- hash: 3196901536929945356
102
+ hash: 1927057174432499846
103
103
  requirements: []
104
104
  rubyforge_project:
105
105
  rubygems_version: 1.8.15