eve-api 0.0.5 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,8 @@
1
1
  module EveAPI #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
- MINOR = 0
5
- TINY = 5
4
+ MINOR = 1
5
+ TINY = 0
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/website/index.html CHANGED
@@ -5,7 +5,7 @@
5
5
  <link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" />
6
6
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
7
  <title>
8
- eve api
8
+ Eve Online Ruby Support
9
9
  </title>
10
10
  <script src="javascripts/rounded_corners_lite.inc.js" type="text/javascript"></script>
11
11
  <style>
@@ -30,60 +30,65 @@
30
30
  <body>
31
31
  <div id="main">
32
32
 
33
- <h1>eve api</h1>
33
+ <h1>Eve Online Ruby Support</h1>
34
34
  <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/eve-api"; return false'>
35
35
  <p>Get Version</p>
36
- <a href="http://rubyforge.org/projects/eve-api" class="numbers">0.0.5</a>
36
+ <a href="http://rubyforge.org/projects/eve-api" class="numbers">0.1.0</a>
37
37
  </div>
38
- <h1>&#x2192; &#8216;eve-api&#8217;</h1>
38
+ <h2 class="clear_left"><span class="caps">API</span> Client <span class="caps">SDK</span></h2>
39
39
 
40
40
 
41
- <h2>What</h2>
41
+ <h3>Installing</h3>
42
42
 
43
43
 
44
- <h2>Installing</h2>
44
+ <pre syntax="ruby">sudo gem install eve-api</pre>
45
45
 
46
+ <h3>The basics</h3>
46
47
 
47
- <pre syntax="ruby">sudo gem install eve-api</pre>
48
48
 
49
- <h2>The basics</h2>
49
+ <p>The eve-api gem provides you with an object-oriented access to Eve Online&#8217;s <span class="caps">API</span>.</p>
50
50
 
51
51
 
52
- <h2>Demonstration of usage</h2>
52
+ <h3>Demonstration of usage</h3>
53
53
 
54
54
 
55
- <h2>Forum</h2>
55
+ <pre syntax="ruby">
56
+ require 'rubygems'
57
+ require 'eve-api'
56
58
 
59
+ api = EveAPI::API.new(:id =&gt; 'user id', :api_key =&gt; 'my_long_api_key')
60
+ api.users.first.characters do |character|
61
+ puts character.name
62
+ character.accounts.each do |account|
63
+ puts "#{account.key}: #{account.balance}"
64
+ end
65
+ </pre>
57
66
 
58
- <p><a href="http://groups.google.com/group/eve-api">http://groups.google.com/group/eve-api</a></p>
67
+ <h3>Forum</h3>
59
68
 
60
69
 
61
- <p><span class="caps">TODO</span> &#8211; create Google Group &#8211; eve-api</p>
70
+ <p><a href="http://groups.google.com/group/eve-ruby">http://groups.google.com/group/eve-ruby</a></p>
62
71
 
63
72
 
64
- <h2>How to submit patches</h2>
73
+ <h3>How to submit patches</h3>
65
74
 
66
75
 
67
- <p>Read the <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/">8 steps for fixing other people&#8217;s code</a> and for section <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups">8b: Submit patch to Google Groups</a>, use the Google Group above.</p>
76
+ <p>Submit patches to the Google Group mentioned above</p>
68
77
 
69
78
 
70
- <p>The trunk repository is <code>svn://rubyforge.org/var/svn/eve-api/trunk</code> for anonymous access.</p>
79
+ <p>The trunk repository is <code>svn://rubyforge.org/var/svn/eve-api</code> for anonymous access.</p>
71
80
 
72
81
 
73
- <h2>License</h2>
82
+ <h3>License</h3>
74
83
 
75
84
 
76
85
  <p>This code is free to use under the terms of the <span class="caps">MIT</span> license.</p>
77
86
 
78
87
 
79
- <h2>Contact</h2>
88
+ <h3>Contact</h3>
80
89
 
81
90
 
82
- <p>Comments are welcome. Send an email to <a href="mailto:FIXME"><span class="caps">FIXME</span> full name</a> email.</p>
83
- <p class="coda">
84
- <a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, 26th June 2007<br>
85
- Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
86
- </p>
91
+ <p>Comments are welcome. Send an email to <a href="mailto:ddollar@gmail.com">David Dollar</a>.</p>
87
92
  </div>
88
93
 
89
94
  <!-- insert site tracking codes here, like Google Urchin -->
data/website/index.txt CHANGED
@@ -1,38 +1,42 @@
1
- h1. eve api
1
+ h1. Eve Online Ruby Support
2
+ h2(clear_left). API Client SDK
2
3
 
3
- h1. &#x2192; 'eve-api'
4
-
5
-
6
- h2. What
7
-
8
-
9
- h2. Installing
4
+ h3. Installing
10
5
 
11
6
  <pre syntax="ruby">sudo gem install eve-api</pre>
12
7
 
13
- h2. The basics
14
-
8
+ h3. The basics
15
9
 
16
- h2. Demonstration of usage
10
+ The eve-api gem provides you with an object-oriented access to Eve Online's API.
17
11
 
12
+ h3. Demonstration of usage
18
13
 
14
+ <pre syntax="ruby">
15
+ require 'rubygems'
16
+ require 'eve-api'
19
17
 
20
- h2. Forum
18
+ api = EveAPI::API.new(:id => 'user id', :api_key => 'my_long_api_key')
19
+ api.users.first.characters do |character|
20
+ puts character.name
21
+ character.accounts.each do |account|
22
+ puts "#{account.key}: #{account.balance}"
23
+ end
24
+ </pre>
21
25
 
22
- "http://groups.google.com/group/eve-api":http://groups.google.com/group/eve-api
26
+ h3. Forum
23
27
 
24
- TODO - create Google Group - eve-api
28
+ "http://groups.google.com/group/eve-ruby":http://groups.google.com/group/eve-ruby
25
29
 
26
- h2. How to submit patches
30
+ h3. How to submit patches
27
31
 
28
- Read the "8 steps for fixing other people's code":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/ and for section "8b: Submit patch to Google Groups":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups, use the Google Group above.
32
+ Submit patches to the Google Group mentioned above
29
33
 
30
- The trunk repository is <code>svn://rubyforge.org/var/svn/eve-api/trunk</code> for anonymous access.
34
+ The trunk repository is <code>svn://rubyforge.org/var/svn/eve-api</code> for anonymous access.
31
35
 
32
- h2. License
36
+ h3. License
33
37
 
34
38
  This code is free to use under the terms of the MIT license.
35
39
 
36
- h2. Contact
40
+ h3. Contact
37
41
 
38
- Comments are welcome. Send an email to "FIXME full name":mailto:FIXME email.
42
+ Comments are welcome. Send an email to "David Dollar":mailto:ddollar@gmail.com.
@@ -1,21 +1,35 @@
1
1
  body {
2
- background-color: #E1D1F1;
2
+ background-color: #ddd;
3
3
  font-family: "Georgia", sans-serif;
4
4
  font-size: 16px;
5
5
  line-height: 1.6em;
6
6
  padding: 1.6em 0 0 0;
7
7
  color: #333;
8
+ margin: 0px;
8
9
  }
9
10
  h1, h2, h3, h4, h5, h6 {
10
11
  color: #444;
12
+ padding: 0px;
13
+ margin: 0px;
14
+ }
15
+ h3, h4, h5, h6 {
16
+ clear: both
11
17
  }
12
18
  h1 {
13
19
  font-family: sans-serif;
14
20
  font-weight: normal;
15
- font-size: 4em;
21
+ font-size: 3em;
22
+ line-height: 0.8em;
23
+ letter-spacing: -0.1ex;
24
+ float: left;
25
+ }
26
+ h2 {
27
+ font-family: sans-serif;
28
+ font-weight: normal;
29
+ font-size: 2em;
16
30
  line-height: 0.8em;
17
31
  letter-spacing: -0.1ex;
18
- margin: 5px;
32
+ padding-top: 4px;
19
33
  }
20
34
  li {
21
35
  padding: 0;
@@ -24,7 +38,6 @@ li {
24
38
  }
25
39
  a {
26
40
  color: #5E5AFF;
27
- background-color: #DAC;
28
41
  font-weight: normal;
29
42
  text-decoration: underline;
30
43
  }
@@ -34,10 +47,6 @@ blockquote {
34
47
  border-left: 1px solid #111;
35
48
  padding-left: 1em;
36
49
  }
37
- .caps {
38
- font-size: 80%;
39
- }
40
-
41
50
  #main {
42
51
  width: 45em;
43
52
  padding: 0;
@@ -48,12 +57,16 @@ blockquote {
48
57
  color: #77f;
49
58
  font-size: smaller;
50
59
  }
51
-
60
+ .clear {
61
+ clear: both;
62
+ }
63
+ .clear_left {
64
+ clear: left;
65
+ }
52
66
  table {
53
67
  font-size: 90%;
54
68
  line-height: 1.4em;
55
69
  color: #ff8;
56
- background-color: #111;
57
70
  padding: 2px 10px 2px 10px;
58
71
  border-style: dashed;
59
72
  }
@@ -101,11 +114,10 @@ pre, code {
101
114
  text-align: right;
102
115
  font-family: sans-serif;
103
116
  font-weight: normal;
104
- background-color: #B3ABFF;
105
- color: #141331;
117
+ background-color: #03a;
118
+ color: #fff;
106
119
  padding: 15px 20px 10px 20px;
107
- margin: 0 auto;
108
- margin-top: 15px;
120
+ margin-top: 0px;
109
121
  border: 3px solid #141331;
110
122
  }
111
123
 
@@ -114,21 +126,17 @@ pre, code {
114
126
  font-size: 4em;
115
127
  line-height: 0.8em;
116
128
  letter-spacing: -0.1ex;
117
- margin-bottom: 15px;
118
129
  }
119
130
 
120
131
  #version p {
121
132
  text-decoration: none;
122
- color: #141331;
123
- background-color: #B3ABFF;
124
133
  margin: 0;
125
134
  padding: 0;
126
135
  }
127
136
 
128
137
  #version a {
129
138
  text-decoration: none;
130
- color: #141331;
131
- background-color: #B3ABFF;
139
+ color: #fff;
132
140
  }
133
141
 
134
142
  .clickable {
@@ -36,10 +36,6 @@
36
36
  <a href="<%= download %>" class="numbers"><%= version %></a>
37
37
  </div>
38
38
  <%= body %>
39
- <p class="coda">
40
- <a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, <%= modified.pretty %><br>
41
- Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
42
- </p>
43
39
  </div>
44
40
 
45
41
  <!-- insert site tracking codes here, like Google Urchin -->
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: eve-api
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.0.5
6
+ version: 0.1.0
7
7
  date: 2007-06-26 00:00:00 -04:00
8
8
  summary: EVE API Support
9
9
  require_paths: