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.
- data/lib/eve-api/version.rb +2 -2
- data/website/index.html +27 -22
- data/website/index.txt +24 -20
- data/website/stylesheets/screen.css +27 -19
- data/website/template.rhtml +0 -4
- metadata +1 -1
data/lib/eve-api/version.rb
CHANGED
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
|
-
|
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>
|
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
|
36
|
+
<a href="http://rubyforge.org/projects/eve-api" class="numbers">0.1.0</a>
|
37
37
|
</div>
|
38
|
-
<
|
38
|
+
<h2 class="clear_left"><span class="caps">API</span> Client <span class="caps">SDK</span></h2>
|
39
39
|
|
40
40
|
|
41
|
-
<
|
41
|
+
<h3>Installing</h3>
|
42
42
|
|
43
43
|
|
44
|
-
|
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
|
-
<
|
49
|
+
<p>The eve-api gem provides you with an object-oriented access to Eve Online’s <span class="caps">API</span>.</p>
|
50
50
|
|
51
51
|
|
52
|
-
<
|
52
|
+
<h3>Demonstration of usage</h3>
|
53
53
|
|
54
54
|
|
55
|
-
|
55
|
+
<pre syntax="ruby">
|
56
|
+
require 'rubygems'
|
57
|
+
require 'eve-api'
|
56
58
|
|
59
|
+
api = EveAPI::API.new(:id => 'user id', :api_key => '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
|
-
<
|
67
|
+
<h3>Forum</h3>
|
59
68
|
|
60
69
|
|
61
|
-
<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
|
-
<
|
73
|
+
<h3>How to submit patches</h3>
|
65
74
|
|
66
75
|
|
67
|
-
<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
|
79
|
+
<p>The trunk repository is <code>svn://rubyforge.org/var/svn/eve-api</code> for anonymous access.</p>
|
71
80
|
|
72
81
|
|
73
|
-
<
|
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
|
-
<
|
88
|
+
<h3>Contact</h3>
|
80
89
|
|
81
90
|
|
82
|
-
<p>Comments are welcome. Send an email to <a href="mailto:
|
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.
|
1
|
+
h1. Eve Online Ruby Support
|
2
|
+
h2(clear_left). API Client SDK
|
2
3
|
|
3
|
-
|
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
|
-
|
14
|
-
|
8
|
+
h3. The basics
|
15
9
|
|
16
|
-
|
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
|
-
|
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
|
-
|
26
|
+
h3. Forum
|
23
27
|
|
24
|
-
|
28
|
+
"http://groups.google.com/group/eve-ruby":http://groups.google.com/group/eve-ruby
|
25
29
|
|
26
|
-
|
30
|
+
h3. How to submit patches
|
27
31
|
|
28
|
-
|
32
|
+
Submit patches to the Google Group mentioned above
|
29
33
|
|
30
|
-
The trunk repository is <code>svn://rubyforge.org/var/svn/eve-api
|
34
|
+
The trunk repository is <code>svn://rubyforge.org/var/svn/eve-api</code> for anonymous access.
|
31
35
|
|
32
|
-
|
36
|
+
h3. License
|
33
37
|
|
34
38
|
This code is free to use under the terms of the MIT license.
|
35
39
|
|
36
|
-
|
40
|
+
h3. Contact
|
37
41
|
|
38
|
-
Comments are welcome. Send an email to "
|
42
|
+
Comments are welcome. Send an email to "David Dollar":mailto:ddollar@gmail.com.
|
@@ -1,21 +1,35 @@
|
|
1
1
|
body {
|
2
|
-
background-color: #
|
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:
|
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
|
-
|
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: #
|
105
|
-
color: #
|
117
|
+
background-color: #03a;
|
118
|
+
color: #fff;
|
106
119
|
padding: 15px 20px 10px 20px;
|
107
|
-
|
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
|
-
|
131
|
-
background-color: #B3ABFF;
|
139
|
+
color: #fff;
|
132
140
|
}
|
133
141
|
|
134
142
|
.clickable {
|
data/website/template.rhtml
CHANGED
@@ -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 -->
|