beway 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/README +7 -16
- data/README.rdoc +8 -20
- data/doc/Beway.html +136 -183
- data/doc/Beway/Auction.html +630 -816
- data/doc/Beway/AuctionParseError.html +139 -158
- data/doc/Beway/Bidder.html +384 -529
- data/doc/Beway/BidderError.html +139 -158
- data/doc/Beway/CliRunner.html +742 -818
- data/doc/Beway/EbayData.html +398 -451
- data/doc/Beway/EbayDataParseError.html +139 -158
- data/doc/Beway/InvalidUrlError.html +139 -158
- data/doc/README.html +129 -167
- data/doc/created.rid +6 -6
- data/doc/images/add.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +134 -223
- data/doc/js/darkfish.js +153 -0
- data/doc/js/jquery.js +18 -0
- data/doc/js/navigation.js +142 -0
- data/doc/js/search.js +94 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/searcher.js +228 -0
- data/doc/lib/beway/auction_rb.html +1 -1
- data/doc/lib/beway/bidder_rb.html +1 -1
- data/doc/lib/beway/cli_runner_rb.html +1 -1
- data/doc/lib/beway/ebay_data_rb.html +1 -1
- data/doc/rdoc.css +310 -473
- data/doc/table_of_contents.html +154 -0
- data/lib/beway.rb +4 -0
- data/lib/beway/auction.rb +5 -7
- data/lib/beway/cli_runner.rb +2 -3
- data/lib/beway/ebay_data.rb +1 -1
- data/spec/auction_spec.rb +12 -1
- data/spec/bidder_spec.rb +19 -3
- data/spec/config.rb +2 -2
- data/spec/html/kodak-film-old.html +59 -0
- metadata +82 -97
data/doc/README.html
CHANGED
@@ -1,175 +1,137 @@
|
|
1
|
-
|
2
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
1
|
+
<!DOCTYPE html>
|
4
2
|
|
5
|
-
<html
|
3
|
+
<html>
|
6
4
|
<head>
|
7
|
-
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
8
6
|
|
9
|
-
|
7
|
+
<title>README - RDoc Documentation</title>
|
10
8
|
|
11
|
-
|
9
|
+
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
|
10
|
+
|
11
|
+
<script type="text/javascript">
|
12
|
+
var rdoc_rel_prefix = "./";
|
13
|
+
</script>
|
14
|
+
|
15
|
+
<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
|
16
|
+
<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
|
17
|
+
<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
|
18
|
+
<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
|
19
|
+
<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
|
20
|
+
<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
|
12
21
|
|
13
|
-
<script src="./js/jquery.js" type="text/javascript"
|
14
|
-
charset="utf-8"></script>
|
15
|
-
<script src="./js/thickbox-compressed.js" type="text/javascript"
|
16
|
-
charset="utf-8"></script>
|
17
|
-
<script src="./js/quicksearch.js" type="text/javascript"
|
18
|
-
charset="utf-8"></script>
|
19
|
-
<script src="./js/darkfish.js" type="text/javascript"
|
20
|
-
charset="utf-8"></script>
|
21
|
-
</head>
|
22
22
|
|
23
23
|
<body class="file">
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
<
|
92
|
-
<
|
93
|
-
</
|
94
|
-
<
|
95
|
-
|
96
|
-
Retrieves
|
97
|
-
</
|
98
|
-
</
|
99
|
-
|
100
|
-
|
101
|
-
</
|
102
|
-
|
103
|
-
<
|
104
|
-
|
105
|
-
|
106
|
-
</
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
</
|
111
|
-
|
112
|
-
<
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
<
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
<
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
<
|
127
|
-
|
128
|
-
</
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
</
|
134
|
-
<
|
135
|
-
|
136
|
-
</
|
137
|
-
</li>
|
138
|
-
</ul>
|
139
|
-
<h2>Installation</h2>
|
140
|
-
<p>
|
141
|
-
Install your gems:
|
142
|
-
</p>
|
143
|
-
<pre>
|
144
|
-
gem install mechanize rspec nokogiri
|
145
|
-
</pre>
|
146
|
-
<p>
|
147
|
-
Run the CLI interface
|
148
|
-
</p>
|
149
|
-
<pre>
|
150
|
-
ruby bin/beway
|
151
|
-
</pre>
|
152
|
-
<h2>Tests</h2>
|
153
|
-
<p>
|
154
|
-
Make sure everything works as expected:
|
155
|
-
</p>
|
156
|
-
<pre>
|
157
|
-
rake spec
|
158
|
-
</pre>
|
159
|
-
<h2>Docs</h2>
|
160
|
-
<p>
|
161
|
-
Generate rdoc html:
|
162
|
-
</p>
|
163
|
-
<pre>
|
164
|
-
rake rdoc</pre>
|
165
|
-
|
166
|
-
</div>
|
167
|
-
|
168
|
-
<div id="validator-badges">
|
169
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
170
|
-
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
171
|
-
Rdoc Generator</a> 1.1.6</small>.</p>
|
172
|
-
</div>
|
173
|
-
</body>
|
174
|
-
</html>
|
24
|
+
<nav id="metadata">
|
25
|
+
<nav id="home-section" class="section">
|
26
|
+
<h3 class="section-header">
|
27
|
+
<a href="./index.html">Home</a>
|
28
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
29
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
30
|
+
</h3>
|
31
|
+
</nav>
|
32
|
+
|
33
|
+
|
34
|
+
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
+
<form action="#" method="get" accept-charset="utf-8">
|
36
|
+
<h3 class="section-header">
|
37
|
+
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
+
</h3>
|
40
|
+
</form>
|
41
|
+
|
42
|
+
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
+
</nav>
|
44
|
+
|
45
|
+
|
46
|
+
<div id="project-metadata">
|
47
|
+
<nav id="fileindex-section" class="section project-section">
|
48
|
+
<h3 class="section-header">Pages</h3>
|
49
|
+
|
50
|
+
<ul>
|
51
|
+
|
52
|
+
<li class="file"><a href="./README.html">README</a>
|
53
|
+
|
54
|
+
</ul>
|
55
|
+
</nav>
|
56
|
+
|
57
|
+
<nav id="classindex-section" class="section project-section">
|
58
|
+
<h3 class="section-header">Class and Module Index</h3>
|
59
|
+
|
60
|
+
<ul class="link-list">
|
61
|
+
|
62
|
+
<li><a href="./Beway.html">Beway</a>
|
63
|
+
|
64
|
+
<li><a href="./Beway/Auction.html">Beway::Auction</a>
|
65
|
+
|
66
|
+
<li><a href="./Beway/AuctionParseError.html">Beway::AuctionParseError</a>
|
67
|
+
|
68
|
+
<li><a href="./Beway/Bidder.html">Beway::Bidder</a>
|
69
|
+
|
70
|
+
<li><a href="./Beway/BidderError.html">Beway::BidderError</a>
|
71
|
+
|
72
|
+
<li><a href="./Beway/CliRunner.html">Beway::CliRunner</a>
|
73
|
+
|
74
|
+
<li><a href="./Beway/EbayData.html">Beway::EbayData</a>
|
75
|
+
|
76
|
+
<li><a href="./Beway/EbayDataParseError.html">Beway::EbayDataParseError</a>
|
77
|
+
|
78
|
+
<li><a href="./Beway/InvalidUrlError.html">Beway::InvalidUrlError</a>
|
79
|
+
|
80
|
+
</ul>
|
81
|
+
</nav>
|
82
|
+
|
83
|
+
</div>
|
84
|
+
</nav>
|
85
|
+
|
86
|
+
<div id="documentation" class="description">
|
87
|
+
|
88
|
+
<h2 id="label-BEWAY+-+an+ebay+sniping+tool">BEWAY - an ebay sniping tool</h2>
|
89
|
+
|
90
|
+
<p><a href="Beway.html">Beway</a> is a small Ruby library that:</p>
|
91
|
+
<ul><li>
|
92
|
+
<p>Retrieves information about an ebay auction</p>
|
93
|
+
</li><li>
|
94
|
+
<p>Bids on an ebay auction</p>
|
95
|
+
</li><li>
|
96
|
+
<p>Retrieves official ebay time</p>
|
97
|
+
</li><li>
|
98
|
+
<p>Offers a simple user interface for bidding on an auction</p>
|
99
|
+
</li></ul>
|
100
|
+
|
101
|
+
<h2 id="label-Requirements">Requirements</h2>
|
102
|
+
<ul><li>
|
103
|
+
<p>Ruby 1.9.2</p>
|
104
|
+
</li></ul>
|
105
|
+
|
106
|
+
<h2 id="label-Installation">Installation</h2>
|
107
|
+
|
108
|
+
<pre>gem install beway</pre>
|
109
|
+
|
110
|
+
<h2 id="label-Running+it">Running it</h2>
|
111
|
+
|
112
|
+
<pre>beway</pre>
|
113
|
+
|
114
|
+
<h2 id="label-The+source">The source</h2>
|
115
|
+
|
116
|
+
<p>Install requirements with bundler</p>
|
117
|
+
|
118
|
+
<pre>bundle install</pre>
|
119
|
+
|
120
|
+
<p>Make sure everything works as expected:</p>
|
121
|
+
|
122
|
+
<pre>rake spec</pre>
|
123
|
+
|
124
|
+
<p>Generate rdoc html:</p>
|
125
|
+
|
126
|
+
<pre>rake rdoc</pre>
|
127
|
+
|
128
|
+
</div>
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
<footer id="validator-badges">
|
133
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
134
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
135
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
136
|
+
</footer>
|
175
137
|
|
data/doc/created.rid
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
|
2
|
-
README
|
3
|
-
lib/beway/auction.rb
|
4
|
-
lib/beway/bidder.rb
|
5
|
-
lib/beway/cli_runner.rb
|
6
|
-
lib/beway/ebay_data.rb
|
1
|
+
Mon, 07 May 2012 08:58:57 -0700
|
2
|
+
README Mon, 07 May 2012 08:35:29 -0700
|
3
|
+
lib/beway/auction.rb Mon, 07 May 2012 08:55:50 -0700
|
4
|
+
lib/beway/bidder.rb Mon, 07 May 2012 08:35:29 -0700
|
5
|
+
lib/beway/cli_runner.rb Mon, 07 May 2012 08:58:53 -0700
|
6
|
+
lib/beway/ebay_data.rb Mon, 07 May 2012 08:35:29 -0700
|
data/doc/images/add.png
ADDED
Binary file
|
Binary file
|
Binary file
|
data/doc/images/bug.png
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/doc/images/date.png
ADDED
Binary file
|
Binary file
|
data/doc/images/find.png
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/doc/images/ruby.png
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/doc/images/zoom.png
ADDED
Binary file
|
data/doc/index.html
CHANGED
@@ -1,225 +1,136 @@
|
|
1
|
-
|
2
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
|
3
|
-
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
1
|
+
<!DOCTYPE html>
|
4
2
|
|
5
|
-
<html
|
3
|
+
<html>
|
6
4
|
<head>
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
<
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
<
|
28
|
-
<
|
29
|
-
</
|
30
|
-
<
|
31
|
-
<
|
32
|
-
|
33
|
-
</
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
<
|
40
|
-
|
41
|
-
</
|
42
|
-
</
|
43
|
-
|
44
|
-
|
45
|
-
</
|
46
|
-
|
47
|
-
|
48
|
-
<
|
49
|
-
<
|
50
|
-
|
51
|
-
|
52
|
-
<ul>
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
</
|
57
|
-
</
|
58
|
-
|
59
|
-
|
60
|
-
</
|
61
|
-
|
62
|
-
<
|
63
|
-
|
64
|
-
</
|
65
|
-
|
66
|
-
<li><
|
67
|
-
|
68
|
-
</
|
69
|
-
|
70
|
-
<li><
|
71
|
-
|
72
|
-
</
|
73
|
-
|
74
|
-
</
|
75
|
-
|
76
|
-
<
|
77
|
-
|
78
|
-
</
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
<
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
<
|
93
|
-
|
94
|
-
</
|
95
|
-
|
96
|
-
<p>
|
97
|
-
|
98
|
-
</p>
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
<ul>
|
140
|
-
|
141
|
-
<li><a href="Beway/Auction.html#method-c-new">::new — Beway::Auction</a></li>
|
142
|
-
|
143
|
-
<li><a href="Beway/EbayData.html#method-c-new">::new — Beway::EbayData</a></li>
|
144
|
-
|
145
|
-
<li><a href="Beway/Bidder.html#method-c-new">::new — Beway::Bidder</a></li>
|
146
|
-
|
147
|
-
<li><a href="Beway/CliRunner.html#method-c-new">::new — Beway::CliRunner</a></li>
|
148
|
-
|
149
|
-
<li><a href="Beway/CliRunner.html#method-c-start">::start — Beway::CliRunner</a></li>
|
150
|
-
|
151
|
-
<li><a href="Beway/CliRunner.html#method-i-auction_from_user">#auction_from_user — Beway::CliRunner</a></li>
|
152
|
-
|
153
|
-
<li><a href="Beway/Auction.html#method-i-auction_number">#auction_number — Beway::Auction</a></li>
|
154
|
-
|
155
|
-
<li><a href="Beway/Bidder.html#method-i-bid">#bid — Beway::Bidder</a></li>
|
156
|
-
|
157
|
-
<li><a href="Beway/CliRunner.html#method-i-bid_for_auction_from_user">#bid_for_auction_from_user — Beway::CliRunner</a></li>
|
158
|
-
|
159
|
-
<li><a href="Beway/EbayData.html#method-i-calc_time_offset">#calc_time_offset — Beway::EbayData</a></li>
|
160
|
-
|
161
|
-
<li><a href="Beway/Auction.html#method-i-complete%3F">#complete? — Beway::Auction</a></li>
|
162
|
-
|
163
|
-
<li><a href="Beway/Auction.html#method-i-current_bid">#current_bid — Beway::Auction</a></li>
|
164
|
-
|
165
|
-
<li><a href="Beway/Auction.html#method-i-description">#description — Beway::Auction</a></li>
|
166
|
-
|
167
|
-
<li><a href="Beway/CliRunner.html#method-i-display_auction">#display_auction — Beway::CliRunner</a></li>
|
168
|
-
|
169
|
-
<li><a href="Beway/CliRunner.html#method-i-display_intro">#display_intro — Beway::CliRunner</a></li>
|
170
|
-
|
171
|
-
<li><a href="Beway/Auction.html#method-i-end_time">#end_time — Beway::Auction</a></li>
|
172
|
-
|
173
|
-
<li><a href="Beway/CliRunner.html#method-i-get_user_input">#get_user_input — Beway::CliRunner</a></li>
|
174
|
-
|
175
|
-
<li><a href="Beway/Bidder.html#method-i-handle_login_page">#handle_login_page — Beway::Bidder</a></li>
|
176
|
-
|
177
|
-
<li><a href="Beway/Auction.html#method-i-has_bid_button%3F">#has_bid_button? — Beway::Auction</a></li>
|
178
|
-
|
179
|
-
<li><a href="Beway/Bidder.html#method-i-is_login_page%3F">#is_login_page? — Beway::Bidder</a></li>
|
180
|
-
|
181
|
-
<li><a href="Beway/Bidder.html#method-i-login">#login — Beway::Bidder</a></li>
|
182
|
-
|
183
|
-
<li><a href="Beway/Auction.html#method-i-min_bid">#min_bid — Beway::Auction</a></li>
|
184
|
-
|
185
|
-
<li><a href="Beway/Auction.html#method-i-node_text">#node_text — Beway::Auction</a></li>
|
186
|
-
|
187
|
-
<li><a href="Beway/EbayData.html#method-i-official_time">#official_time — Beway::EbayData</a></li>
|
188
|
-
|
189
|
-
<li><a href="Beway/CliRunner.html#method-i-prompt_bid">#prompt_bid — Beway::CliRunner</a></li>
|
190
|
-
|
191
|
-
<li><a href="Beway/CliRunner.html#method-i-prompt_confirm_auction">#prompt_confirm_auction — Beway::CliRunner</a></li>
|
192
|
-
|
193
|
-
<li><a href="Beway/CliRunner.html#method-i-prompt_confirm_bid">#prompt_confirm_bid — Beway::CliRunner</a></li>
|
194
|
-
|
195
|
-
<li><a href="Beway/CliRunner.html#method-i-prompt_password">#prompt_password — Beway::CliRunner</a></li>
|
196
|
-
|
197
|
-
<li><a href="Beway/CliRunner.html#method-i-prompt_url">#prompt_url — Beway::CliRunner</a></li>
|
198
|
-
|
199
|
-
<li><a href="Beway/CliRunner.html#method-i-prompt_username">#prompt_username — Beway::CliRunner</a></li>
|
200
|
-
|
201
|
-
<li><a href="Beway/Auction.html#method-i-refresh_doc">#refresh_doc — Beway::Auction</a></li>
|
202
|
-
|
203
|
-
<li><a href="Beway/CliRunner.html#method-i-run">#run — Beway::CliRunner</a></li>
|
204
|
-
|
205
|
-
<li><a href="Beway/EbayData.html#method-i-seconds_to">#seconds_to — Beway::EbayData</a></li>
|
206
|
-
|
207
|
-
<li><a href="Beway/EbayData.html#method-i-time">#time — Beway::EbayData</a></li>
|
208
|
-
|
209
|
-
<li><a href="Beway/Auction.html#method-i-time_left">#time_left — Beway::Auction</a></li>
|
210
|
-
|
211
|
-
<li><a href="Beway/Auction.html#method-i-time_node">#time_node — Beway::Auction</a></li>
|
212
|
-
|
213
|
-
<li><a href="Beway/EbayData.html#method-i-time_offset">#time_offset — Beway::EbayData</a></li>
|
214
|
-
|
215
|
-
<li><a href="Beway/Auction.html#method-i-valid_auction%3F">#valid_auction? — Beway::Auction</a></li>
|
216
|
-
|
217
|
-
</ul>
|
218
|
-
|
219
|
-
<div id="validator-badges">
|
220
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
221
|
-
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
222
|
-
Rdoc Generator</a> 1.1.6</small>.</p>
|
223
|
-
</div>
|
224
|
-
</body>
|
225
|
-
</html>
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>RDoc Documentation</title>
|
8
|
+
|
9
|
+
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
|
10
|
+
|
11
|
+
<script type="text/javascript">
|
12
|
+
var rdoc_rel_prefix = "./";
|
13
|
+
</script>
|
14
|
+
|
15
|
+
<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
|
16
|
+
<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
|
17
|
+
<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
|
18
|
+
<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
|
19
|
+
<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
|
20
|
+
<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
|
21
|
+
|
22
|
+
|
23
|
+
<body>
|
24
|
+
<nav id="metadata">
|
25
|
+
<nav id="home-section" class="section">
|
26
|
+
<h3 class="section-header">
|
27
|
+
<a href="./index.html">Home</a>
|
28
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
29
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
30
|
+
</h3>
|
31
|
+
</nav>
|
32
|
+
|
33
|
+
|
34
|
+
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
+
<form action="#" method="get" accept-charset="utf-8">
|
36
|
+
<h3 class="section-header">
|
37
|
+
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
+
</h3>
|
40
|
+
</form>
|
41
|
+
|
42
|
+
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
+
</nav>
|
44
|
+
|
45
|
+
|
46
|
+
<div id="project-metadata">
|
47
|
+
<nav id="fileindex-section" class="section project-section">
|
48
|
+
<h3 class="section-header">Pages</h3>
|
49
|
+
|
50
|
+
<ul>
|
51
|
+
|
52
|
+
<li class="file"><a href="./README.html">README</a>
|
53
|
+
|
54
|
+
</ul>
|
55
|
+
</nav>
|
56
|
+
|
57
|
+
<nav id="classindex-section" class="section project-section">
|
58
|
+
<h3 class="section-header">Class and Module Index</h3>
|
59
|
+
|
60
|
+
<ul class="link-list">
|
61
|
+
|
62
|
+
<li><a href="./Beway.html">Beway</a>
|
63
|
+
|
64
|
+
<li><a href="./Beway/Auction.html">Beway::Auction</a>
|
65
|
+
|
66
|
+
<li><a href="./Beway/AuctionParseError.html">Beway::AuctionParseError</a>
|
67
|
+
|
68
|
+
<li><a href="./Beway/Bidder.html">Beway::Bidder</a>
|
69
|
+
|
70
|
+
<li><a href="./Beway/BidderError.html">Beway::BidderError</a>
|
71
|
+
|
72
|
+
<li><a href="./Beway/CliRunner.html">Beway::CliRunner</a>
|
73
|
+
|
74
|
+
<li><a href="./Beway/EbayData.html">Beway::EbayData</a>
|
75
|
+
|
76
|
+
<li><a href="./Beway/EbayDataParseError.html">Beway::EbayDataParseError</a>
|
77
|
+
|
78
|
+
<li><a href="./Beway/InvalidUrlError.html">Beway::InvalidUrlError</a>
|
79
|
+
|
80
|
+
</ul>
|
81
|
+
</nav>
|
82
|
+
|
83
|
+
</div>
|
84
|
+
</nav>
|
85
|
+
|
86
|
+
<div id="documentation" class="description">
|
87
|
+
|
88
|
+
<h2 id="label-BEWAY+-+an+ebay+sniping+tool">BEWAY - an ebay sniping tool</h2>
|
89
|
+
|
90
|
+
<p><a href="Beway.html">Beway</a> is a small Ruby library that:</p>
|
91
|
+
<ul><li>
|
92
|
+
<p>Retrieves information about an ebay auction</p>
|
93
|
+
</li><li>
|
94
|
+
<p>Bids on an ebay auction</p>
|
95
|
+
</li><li>
|
96
|
+
<p>Retrieves official ebay time</p>
|
97
|
+
</li><li>
|
98
|
+
<p>Offers a simple user interface for bidding on an auction</p>
|
99
|
+
</li></ul>
|
100
|
+
|
101
|
+
<h2 id="label-Requirements">Requirements</h2>
|
102
|
+
<ul><li>
|
103
|
+
<p>Ruby 1.9.2</p>
|
104
|
+
</li></ul>
|
105
|
+
|
106
|
+
<h2 id="label-Installation">Installation</h2>
|
107
|
+
|
108
|
+
<pre>gem install beway</pre>
|
109
|
+
|
110
|
+
<h2 id="label-Running+it">Running it</h2>
|
111
|
+
|
112
|
+
<pre>beway</pre>
|
113
|
+
|
114
|
+
<h2 id="label-The+source">The source</h2>
|
115
|
+
|
116
|
+
<p>Install requirements with bundler</p>
|
117
|
+
|
118
|
+
<pre>bundle install</pre>
|
119
|
+
|
120
|
+
<p>Make sure everything works as expected:</p>
|
121
|
+
|
122
|
+
<pre>rake spec</pre>
|
123
|
+
|
124
|
+
<p>Generate rdoc html:</p>
|
125
|
+
|
126
|
+
<pre>rake rdoc</pre>
|
127
|
+
|
128
|
+
</div>
|
129
|
+
|
130
|
+
|
131
|
+
<footer id="validator-badges">
|
132
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
133
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
134
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
135
|
+
</footer>
|
136
|
+
|