eve_api 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 95daf8a03a495f751f104ef772fb6987e7927be1
4
+ data.tar.gz: 80ea6c473276238a445b913b7967514f2eb32c44
5
+ SHA512:
6
+ metadata.gz: 9d051191993244cac24ab8e9f33e849cd35b0cc26774c7bdac43962a995b6dcdf01ef9504d9d2399923158524c595df1ce3a0d4512c48a4f938159c43eefe4ba
7
+ data.tar.gz: d3c33741fae6aade10a1b4a849eac0e15633dc19f6cba4ab177f97ec6801151a9deda37e06e43514366b4c1ff363a2af846183e8abb519b94ac9c1ba221ef3b1
data/lib/eve_api/data.rb CHANGED
@@ -20,6 +20,10 @@ module EveApi
20
20
  def inspect
21
21
  "<# EveApi::Data::Generic keys: #{keys} >"
22
22
  end
23
+
24
+ def to_hash
25
+ @data.dup
26
+ end
23
27
  end
24
28
 
25
29
  class Result < Generic
@@ -42,6 +46,10 @@ module EveApi
42
46
  def initialize(rows)
43
47
  @rows = rows
44
48
  end
49
+
50
+ def to_a
51
+ @rows.dup
52
+ end
45
53
  end
46
54
 
47
55
  class Row < Generic
@@ -1,3 +1,3 @@
1
1
  module EveApi
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eve_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
5
- prerelease:
4
+ version: 0.0.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Femaref
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-08-11 00:00:00.000000000 Z
11
+ date: 2013-08-31 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: addressable
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: nokogiri
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
@@ -46,7 +41,6 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: faraday
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ~>
52
46
  - !ruby/object:Gem::Version
@@ -54,12 +48,11 @@ dependencies:
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - ~>
60
53
  - !ruby/object:Gem::Version
61
54
  version: 0.8.8
62
- description: ! 'Generic way to query the eve online api '
55
+ description: 'Generic way to query the eve online api '
63
56
  email:
64
57
  - femaref@googlemail.com
65
58
  executables: []
@@ -83,26 +76,25 @@ files:
83
76
  - lib/eve_api/version.rb
84
77
  homepage: ''
85
78
  licenses: []
79
+ metadata: {}
86
80
  post_install_message:
87
81
  rdoc_options: []
88
82
  require_paths:
89
83
  - lib
90
84
  required_ruby_version: !ruby/object:Gem::Requirement
91
- none: false
92
85
  requirements:
93
- - - ! '>='
86
+ - - '>='
94
87
  - !ruby/object:Gem::Version
95
88
  version: '0'
96
89
  required_rubygems_version: !ruby/object:Gem::Requirement
97
- none: false
98
90
  requirements:
99
- - - ! '>='
91
+ - - '>='
100
92
  - !ruby/object:Gem::Version
101
93
  version: '0'
102
94
  requirements: []
103
95
  rubyforge_project:
104
- rubygems_version: 1.8.24
96
+ rubygems_version: 2.0.3
105
97
  signing_key:
106
- specification_version: 3
98
+ specification_version: 4
107
99
  summary: Generic way to query the eve online api
108
100
  test_files: []