nanowrimo 0.7.8 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +8 -0
- data/README.txt +8 -6
- data/Rakefile +1 -1
- data/lib/nanowrimo.rb +1 -1
- data/lib/nanowrimo/genre.rb +1 -1
- data/lib/nanowrimo/user.rb +9 -7
- data/test/fixtures/user_page.htm +102 -142
- data/test/test_user.rb +4 -7
- metadata +61 -21
data/History.txt
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
=== 0.8.0 / 2010-10-08
|
2
|
+
|
3
|
+
* 3 minor enhancements
|
4
|
+
|
5
|
+
* Tested against latest patch levels for 1.8.7 and 1.9.2
|
6
|
+
* Removed Mechanize dependency and converted to just use Nokogiri - Mechanize was total overkill for what I was using this for
|
7
|
+
* Tested against the updated http://www.nanowrimo.org site.
|
8
|
+
|
1
9
|
=== 0.7.8 / 2009-11-12
|
2
10
|
|
3
11
|
* 1 minor enhancement
|
data/README.txt
CHANGED
@@ -1,7 +1,9 @@
|
|
1
1
|
= nanowrimo
|
2
2
|
|
3
|
-
* http://nanowrimo.rubyforge.org
|
3
|
+
* http://nanowrimo.rubyforge.org/
|
4
|
+
* http://rubygems.org/gems/nanowrimo
|
4
5
|
* http://github.com/illuminerdi/nanowrimo
|
6
|
+
* http://rubydoc.info/gems/nanowrimo/0.8.0/frames
|
5
7
|
|
6
8
|
With special thanks to the folks at:
|
7
9
|
|
@@ -44,7 +46,7 @@ Problems:
|
|
44
46
|
# Want to get a list of your writing buddies?
|
45
47
|
>> me.parse_profile
|
46
48
|
>> me.buddies
|
47
|
-
=> ["94450", "208549", "236224", "244939",
|
49
|
+
=> ["94450", "208549", "236224", "244939", ...
|
48
50
|
|
49
51
|
# Want an array of day-by-day progress for yourself?
|
50
52
|
>> me.load_history
|
@@ -55,18 +57,18 @@ Problems:
|
|
55
57
|
|
56
58
|
== REQUIREMENTS:
|
57
59
|
|
58
|
-
* ruby 1.8.
|
59
|
-
*
|
60
|
+
* ruby 1.8.7 or 1.9.2 (tested in both)
|
61
|
+
* nokogiri 1.4.3.1
|
60
62
|
|
61
63
|
== INSTALL:
|
62
64
|
|
63
|
-
*
|
65
|
+
* gem install nanowrimo
|
64
66
|
|
65
67
|
== LICENSE:
|
66
68
|
|
67
69
|
(The MIT License)
|
68
70
|
|
69
|
-
Copyright (c)
|
71
|
+
Copyright (c) 2010 Joshua Clingenpeel
|
70
72
|
|
71
73
|
Permission is hereby granted, free of charge, to any person obtaining
|
72
74
|
a copy of this software and associated documentation files (the
|
data/Rakefile
CHANGED
data/lib/nanowrimo.rb
CHANGED
data/lib/nanowrimo/genre.rb
CHANGED
data/lib/nanowrimo/user.rb
CHANGED
@@ -45,11 +45,7 @@ module Nanowrimo
|
|
45
45
|
|
46
46
|
# Method to pull down a WWW::Mechanize::Page instance of the User's profile page
|
47
47
|
def load_profile_data
|
48
|
-
|
49
|
-
# I'll have to dig deeper behind the site's authentication layer in order to pull out
|
50
|
-
# some needed data.
|
51
|
-
agent = WWW::Mechanize.new
|
52
|
-
@profile_data = agent.get("#{PROFILE_URI}/#{@uid}")
|
48
|
+
@profile_data = Nokogiri::HTML(open("#{PROFILE_URI}/#{@uid}"))
|
53
49
|
end
|
54
50
|
|
55
51
|
# Parses the profile page data pulling out extra information for the User.
|
@@ -60,10 +56,16 @@ module Nanowrimo
|
|
60
56
|
@buddies.reject!{|b| b.to_i == 0}
|
61
57
|
# title and genre are in the same element
|
62
58
|
titlegenre = @profile_data.search("div[@class='titlegenre']").text.split("Genre:")
|
63
|
-
|
64
|
-
|
59
|
+
unless titlegenre.empty?
|
60
|
+
@genre[:name] = titlegenre.last.strip
|
61
|
+
@novel[:title] = titlegenre.first.gsub('Novel:','').strip
|
62
|
+
else
|
63
|
+
@genre[:name] = ""
|
64
|
+
@novel[:title] = ""
|
65
|
+
end
|
65
66
|
# finally, the region is annoying to grab
|
66
67
|
@rid = @profile_data.search("div[@class='infoleft']//a").first['href'].split('/').last
|
68
|
+
nil
|
67
69
|
end
|
68
70
|
end
|
69
71
|
end
|
data/test/fixtures/user_page.htm
CHANGED
@@ -1,28 +1,13 @@
|
|
1
|
-
HTTP/1.0 200 OK
|
2
|
-
Date: Wed, 11 Nov 2009 23:02:22 GMT
|
3
|
-
Server: Apache/2.2.9 (Debian) mod_jk/1.2.26 PHP/5.2.11
|
4
|
-
X-Powered-By: PHP/5.2.11
|
5
|
-
Set-Cookie: SESS168a4567cf5c8b98cb0798ff78a4ae15=33c93b4e3318f1a5f9070a8fa586a7a7; path=/; domain=.nanowrimo.org
|
6
|
-
Expires: Sun, 19 Nov 1978 05:00:00 GMT
|
7
|
-
Last-Modified: Wed, 11 Nov 2009 23:02:22 GMT
|
8
|
-
Cache-Control: no-store, no-cache, must-revalidate
|
9
|
-
Cache-Control: post-check=0, pre-check=0
|
10
|
-
Vary: Accept-Encoding
|
11
|
-
Content-Type: text/html; charset=utf-8
|
12
|
-
X-Cache: MISS from ec2-174-129-4-71.compute-1.amazonaws.com
|
13
|
-
X-Cache-Lookup: MISS from ec2-174-129-4-71.compute-1.amazonaws.com:80
|
14
|
-
Via: 1.1 ec2-174-129-4-71.compute-1.amazonaws.com:80 (squid/2.7.STABLE3)
|
15
|
-
Connection: close
|
16
|
-
|
17
1
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
18
2
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="eng" xml:lang="eng">
|
19
3
|
|
20
4
|
<head>
|
21
5
|
<title>hollowedout | National Novel Writing Month</title>
|
6
|
+
<meta name='description' content='Thirty days and nights of literary abandon' />
|
22
7
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
23
8
|
<link rel="shortcut icon" href="/sites/all/themes/nanowrimo/favicon.ico" type="image/x-icon" />
|
24
9
|
<style type="text/css" media="all">@import "/sites/all/themes/default/style.css";</style>
|
25
|
-
<style type="text/css" media="all">@import "/
|
10
|
+
<style type="text/css" media="all">@import "/modules/aggregator/aggregator.css";</style>
|
26
11
|
<style type="text/css" media="all">@import "/modules/book/book.css";</style>
|
27
12
|
<style type="text/css" media="all">@import "/modules/node/node.css";</style>
|
28
13
|
<style type="text/css" media="all">@import "/modules/system/defaults.css";</style>
|
@@ -39,10 +24,10 @@ Connection: close
|
|
39
24
|
<script type="text/javascript" src="/misc/drupal.js"></script>
|
40
25
|
<script type="text/javascript" src="/sites/all/themes/default/default.js"></script>
|
41
26
|
<script type="text/javascript" src="/sites/all/modules/oll_author_search/oll_author_search.js"></script>
|
42
|
-
<script type="text/javascript" src="/sites/all/modules/nanowrimo_subscriptions/nanowrimo_subscriptions.js"></script>
|
43
27
|
<script type="text/javascript" src="/sites/all/themes/nanowrimo/nanowrimo.js"></script>
|
44
28
|
<script type="text/javascript" src="/sites/all/modules/img_assist/img_assist.js"></script>
|
45
|
-
<script type="text/javascript"
|
29
|
+
<script type="text/javascript" src="/sites/all/modules/jquery_update/compat.js"></script>
|
30
|
+
<script type="text/javascript">Drupal.extend({ settings: { "googleanalytics": { "trackOutgoing": 1, "trackMailto": 1, "trackDownload": 1, "trackDownloadExtensions": "7z|aac|avi|csv|doc|exe|flv|gif|gz|jpe?g|js|mp(3|4|e?g)|mov|pdf|phps|png|ppt|rar|sit|tar|torrent|txt|wma|wmv|xls|xml|zip", "LegacyVersion": 0 } } });</script>
|
46
31
|
<script type="text/javascript">var BASE_URL = "/";</script>
|
47
32
|
<!--
|
48
33
|
/***********************************************
|
@@ -52,6 +37,10 @@ Connection: close
|
|
52
37
|
***********************************************/
|
53
38
|
-->
|
54
39
|
<script type="text/javascript"> </script>
|
40
|
+
<!-- validate with google webmaster tools -->
|
41
|
+
<meta name="google-site-verification" content="3wYnFm4pEPDHpGcGeYbq8BFtb2t91DIUEZBwOyUYlnc" />
|
42
|
+
<!-- include a meta for facebook sharing -->
|
43
|
+
<link rel="image_src" href="/sites/all/themes/nanowrimo/images/share_logo.png" />
|
55
44
|
</head>
|
56
45
|
|
57
46
|
<body>
|
@@ -86,75 +75,83 @@ Connection: close
|
|
86
75
|
|
87
76
|
<!-- *** Primary Navigation *** -->
|
88
77
|
<div id="nav">
|
89
|
-
<li class="expanded"><a href="/">
|
90
|
-
<ul class="menu">
|
91
|
-
<li class="leaf"><a href="/eng/breakingnews" title="Breaking News">Breaking News</a></li>
|
92
|
-
<li class="leaf"><a href="/eng/dailynanoqa">Daily NaNo Q&A</a></li>
|
93
|
-
<li class="leaf"><a href="/eng/1000words">Procrastination Station</a></li>
|
94
|
-
|
95
|
-
</ul>
|
96
|
-
</li>
|
97
|
-
<li class="expanded"><a href="/eng/whatisnano">About</a>
|
78
|
+
<li class="expanded"><a href="/eng/whatisnano">About</a>
|
98
79
|
<ul class="menu">
|
99
80
|
<li class="leaf"><a href="/eng/whatisnano" title="What is NaNoWriMo?">What is NaNoWriMo?</a></li>
|
100
81
|
<li class="leaf"><a href="/eng/hownanoworks" title="How NaNoWriMo Works">How NaNoWriMo Works</a></li>
|
101
|
-
<li class="leaf"><a href="/eng/halos">NaNoWriMo Is Brought To You By...</a></li>
|
102
|
-
<li class="leaf"><a href="/eng/mediakit">Media Kit + Press Clips</a></li>
|
103
|
-
<li class="leaf"><a href="/eng/wheredonationsgo" title="Where Your Donations Go">Where Your Donations Go</a></li>
|
104
|
-
<li class="leaf"><a href="/eng/node/1003232">Becoming a Municipal Liaison</a></li>
|
105
|
-
<li class="leaf"><a href="/eng/donatingwhenbroke">Donating When Broke</a></li>
|
106
|
-
<li class="leaf"><a href="/eng/sponsorship">Get Sponsored!</a></li>
|
107
82
|
<li class="leaf"><a href="/eng/history" title="History">History</a></li>
|
83
|
+
<li class="leaf"><a href="/eng/mediakit">Media Kit + Press Clips</a></li>
|
84
|
+
<li class="leaf"><a href="/eng/halos">NaNoWriMo Is Brought To You By...</a></li>
|
108
85
|
<li class="leaf"><a href="/eng/helpwanted">Help Wanted</a></li>
|
109
86
|
<li class="leaf"><a href="/eng/staff">Staff</a></li>
|
110
87
|
<li class="leaf"><a href="/eng/contact">Contact</a></li>
|
111
88
|
|
112
89
|
</ul>
|
113
90
|
</li>
|
114
|
-
<li class="
|
115
|
-
<
|
116
|
-
<li class="
|
91
|
+
<li class="expanded"><a href="/eng/faq">FAQ</a>
|
92
|
+
<ul class="menu">
|
93
|
+
<li class="leaf"><a href="/eng/node/3699214">NaNo in a Nutshell</a></li>
|
94
|
+
<li class="leaf"><a href="/eng/faq/2535">NaNo Basics</a></li>
|
95
|
+
<li class="leaf"><a href="/eng/faq/2536">Novel-Writing Guidelines</a></li>
|
96
|
+
<li class="leaf"><a href="/eng/faq/2537">Profiles, User Accounts, and Passwords</a></li>
|
97
|
+
<li class="leaf"><a href="/eng/faq/2538">Forums and NaNoMail</a></li>
|
98
|
+
<li class="leaf"><a href="/eng/faq/2539">Donations</a></li>
|
99
|
+
<li class="leaf"><a href="/eng/faq/2540">Miscellaneous</a></li>
|
100
|
+
|
101
|
+
</ul>
|
102
|
+
</li>
|
103
|
+
<li class="leaf"><a href="/eng/oll/my_site" title="My NaNoWriMo">My NaNoWriMo</a></li>
|
104
|
+
<li class="expanded"><a href="/eng/forum">Forums</a>
|
117
105
|
<ul class="menu">
|
118
|
-
<li class="leaf"><a href="/eng/faq">FAQ</a></li>
|
119
106
|
<li class="leaf"><a href="/eng/forumguide">Cybele's Guide to the Forums</a></li>
|
120
107
|
|
121
108
|
</ul>
|
122
109
|
</li>
|
123
|
-
<li class="expanded"><a href="/eng/
|
110
|
+
<li class="expanded"><a href="/eng/peptalks2010">Fun Stuff</a>
|
124
111
|
<ul class="menu">
|
125
|
-
<li class="leaf"><a href="
|
112
|
+
<li class="leaf"><a href="/eng/peptalks2010">Pep Talks</a></li>
|
126
113
|
<li class="leaf"><a href="/eng/webbadges">Web Badges</a></li>
|
127
|
-
<li class="leaf"><a href="/eng/peptalks2009">Pep Talks</a></li>
|
128
114
|
<li class="leaf"><a href="/eng/wordcount_stats">Word Count Scoreboard</a></li>
|
129
|
-
<li class="leaf"><a href="/eng/
|
130
|
-
<li class="leaf"><a href="/eng/contest/donation_derby">Donation Derby</a></li>
|
131
|
-
<li class="leaf"><a href="/eng/node/1005807">Flyers for Downloading</a></li>
|
115
|
+
<li class="leaf"><a href="/eng/node/402996">Special Offers</a></li>
|
132
116
|
<li class="leaf"><a href="/eng/wordcount_api">Word Count API</a></li>
|
133
117
|
<li class="leaf"><a href="/eng/widgets">Word Count Widgets</a></li>
|
134
|
-
<li class="leaf"><a href="http://www.flickr.com/groups/nanowrimo">Flickr</a></li>
|
135
118
|
<li class="leaf"><a href="/eng/pep">Pep Talk Archive</a></li>
|
136
119
|
<li class="leaf"><a href="/eng/archives">Site Archive</a></li>
|
137
120
|
|
138
121
|
</ul>
|
139
122
|
</li>
|
140
|
-
<li class="expanded"><a href="http://store.lettersandlight.org">
|
123
|
+
<li class="expanded"><a href="http://store.lettersandlight.org">Donations/Store</a>
|
141
124
|
<ul class="menu">
|
142
125
|
<li class="leaf"><a href="http://store.lettersandlight.org/">Donations</a></li>
|
143
126
|
<li class="leaf"><a href="http://store.lettersandlight.org/merchandise">Store</a></li>
|
127
|
+
<li class="leaf"><a href="/eng/donatingwhenbroke">Donating When Broke</a></li>
|
128
|
+
<li class="leaf"><a href="/eng/sponsorship">Get Sponsored!</a></li>
|
129
|
+
<li class="leaf"><a href="/eng/contest/donation_derby">Donation Derby</a></li>
|
130
|
+
<li class="leaf"><a href="/eng/wheredonationsgo" title="Where Your Donations Go">Where Your Donations Go</a></li>
|
144
131
|
|
145
132
|
</ul>
|
146
133
|
</li>
|
147
|
-
<li class="
|
148
|
-
<li class="expanded"><a href="/eng/ywp" title="More from OLL">More from OLL</a>
|
134
|
+
<li class="expanded"><a href="/eng/%252Flibrary">NaNo Near You</a>
|
149
135
|
<ul class="menu">
|
136
|
+
<li class="leaf"><a href="/eng/%252Fog">Find Your Region</a></li>
|
137
|
+
<li class="leaf"><a href="/eng/mls">Becoming a Municipal Liaison</a></li>
|
150
138
|
<li class="leaf"><a href="/eng/library">Come Write In: Libraries</a></li>
|
151
139
|
<li class="leaf"><a href="/eng/bookstores">Come Write In: Independent Bookstores</a></li>
|
140
|
+
<li class="leaf"><a href="/eng/nanouniversity">NaNo University</a></li>
|
141
|
+
<li class="leaf"><a href="/eng/node/1005807">Flyers</a></li>
|
142
|
+
|
143
|
+
</ul>
|
144
|
+
</li>
|
145
|
+
<li class="expanded"><a href="/eng/ywp" title="More from OLL">More from OLL</a>
|
146
|
+
<ul class="menu">
|
152
147
|
<li class="leaf"><a href="/eng/ywp">Young Writers Program</a></li>
|
153
|
-
<li class="leaf"><a href="/eng/
|
148
|
+
<li class="leaf"><a href="/eng/bookdrive">The Great NaNoWriMo Book Drive</a></li>
|
149
|
+
<li class="leaf"><a href="/eng/writeathon">November 21 Write-a-thon</a></li>
|
154
150
|
<li class="leaf"><a href="/eng/scriptfrenzy">April's Script Frenzy</a></li>
|
155
151
|
|
156
152
|
</ul>
|
157
153
|
</li>
|
154
|
+
<li class="leaf"><a href="/eng/search/google">Search</a></li>
|
158
155
|
</div>
|
159
156
|
<!-- END Primary Navigation -->
|
160
157
|
|
@@ -170,7 +167,7 @@ Connection: close
|
|
170
167
|
<div id='SidebarNav' class='NaNoBox'>
|
171
168
|
<div class="NaNoBoxTop"><div></div></div>
|
172
169
|
|
173
|
-
|
170
|
+
|
174
171
|
<div class="authorphoto">
|
175
172
|
<div class="picture"><a href="/eng/user/240659" title="View user profile." class="active"><img src="/files/main/pictures/picture-240659.jpg" alt="hollowedout's picture" title="hollowedout's picture" /></a></div></div>
|
176
173
|
|
@@ -208,7 +205,7 @@ Connection: close
|
|
208
205
|
<span class="label">Genre: </span> Mainstream Fiction
|
209
206
|
</div>
|
210
207
|
<div class="wordsofar">
|
211
|
-
<span class="wordssofarNum">
|
208
|
+
<span class="wordssofarNum">0</span> words so far <img src="/sites/all/themes/nanowrimo/wordcount/progress_end_l.gif" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_completed.gif" title="0 Written" width="0" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_remaining.gif" title="50000 Remaining" width="100" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_r.gif" height="14" /> </div>
|
212
209
|
</div>
|
213
210
|
<p></p>
|
214
211
|
|
@@ -240,7 +237,8 @@ Connection: close
|
|
240
237
|
<p><span class="label">NaNoWriMo History:</span><br class="years" />
|
241
238
|
<img src="/sites/all/themes/nanowrimo/images/yearwon_07.gif" border="0" alt="'07" title="Won in '07">
|
242
239
|
<img src="/sites/all/themes/nanowrimo/images/yearwon_08.gif" border="0" alt="'08" title="Won in '08">
|
243
|
-
<
|
240
|
+
<img src="/sites/all/themes/nanowrimo/images/yearwon_09.gif" border="0" alt="'09" title="Won in '09">
|
241
|
+
<p><span class="label">NaNoWriMo posts:</span> 0 </p>
|
244
242
|
<p><span class="label">NaNoWriMo buddies:</span> 12</p>
|
245
243
|
<p> </p>
|
246
244
|
</div></td>
|
@@ -262,10 +260,7 @@ Connection: close
|
|
262
260
|
<div id="tcontent2" class="tabcontent">
|
263
261
|
<div class="excerpt">
|
264
262
|
<div class="coffee">
|
265
|
-
<
|
266
|
-
<h6 class="novel">Synopsis: Come to Call</h6>
|
267
|
-
<p>Go read Dumas' Count of Monte Cristo. Then listen to Nine Inch Nails' The Becoming about 1,000 times. Then think about how much of our national debt is owned by China. Then punch yourself in the junk. A lot. With brass knuckles. And ... THERE! That's about it. Can't wait to read it, right?</p>
|
268
|
-
</div>
|
263
|
+
<h5>Novel Info is not available for this Author.</h5>
|
269
264
|
</div>
|
270
265
|
</div>
|
271
266
|
</div>
|
@@ -275,110 +270,64 @@ Connection: close
|
|
275
270
|
<div class="buddies">
|
276
271
|
<h3>hollowedout's Writing Buddies</h3>
|
277
272
|
<table border="0" width="500px" cellspacing="0" cellpadding="0" >
|
278
|
-
|
279
|
-
|
280
|
-
|
273
|
+
<tr valign="top">
|
274
|
+
<td width="250px">
|
275
|
+
<table width="250px" class="buddyside">
|
281
276
|
<tr valign="bottom"><td align="right" valign="middle" class="buddy"><a href="http://store.lettersandlight.org/" class="halo"><img src="/sites/all/themes/nanowrimo/profile/haloIcon-buddy.gif" align="middle" border="0" alt="Glowing Halo" title="NaNoWriMo Donor" /></a><br />
|
282
|
-
<a href="/eng/user/94450">lheannon</a></td>
|
283
|
-
<td align="left" class="wordcount"><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_l.gif" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_completed.gif" title="
|
277
|
+
<a href="/eng/user/94450" title="View user profile.">lheannon</a></td>
|
278
|
+
<td align="left" class="wordcount"><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_l.gif" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_completed.gif" title="0 Written" width="0" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_remaining.gif" title="50000 Remaining" width="100" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_r.gif" height="14" /><br />0 / 50,000</td>
|
284
279
|
</tr>
|
285
|
-
<tr valign="bottom"><td align="right" valign="middle" class="buddy"><a href="
|
286
|
-
<
|
287
|
-
<td align="left" class="wordcount"><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_l.gif" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_completed.gif" title="8123 Written" width="16" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_remaining.gif" title="41877 Remaining" width="84" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_r.gif" height="14" /><br />8,123 / 50,000</td>
|
280
|
+
<tr valign="bottom"><td align="right" valign="middle" class="buddy"><a href="/eng/user/139709" title="View user profile.">nightblade</a></td>
|
281
|
+
<td align="left" class="wordcount"><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_l.gif" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_completed.gif" title="0 Written" width="0" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_remaining.gif" title="50000 Remaining" width="100" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_r.gif" height="14" /><br />0 / 50,000</td>
|
288
282
|
</tr>
|
289
|
-
<tr valign="bottom"><td align="right" valign="middle" class="buddy"><a href="/eng/user/229531">Pennstance</a></td>
|
290
|
-
<td align="left" class="wordcount"><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_l.gif" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_completed.gif" title="
|
283
|
+
<tr valign="bottom"><td align="right" valign="middle" class="buddy"><a href="/eng/user/229531" title="View user profile.">Pennstance</a></td>
|
284
|
+
<td align="left" class="wordcount"><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_l.gif" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_completed.gif" title="0 Written" width="0" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_remaining.gif" title="50000 Remaining" width="100" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_r.gif" height="14" /><br />0 / 50,000</td>
|
291
285
|
</tr>
|
292
|
-
<tr valign="bottom"><td align="right" valign="middle" class="buddy"><a href="/eng/user/240149">jkeene</a></td>
|
293
|
-
<td align="left" class="wordcount"><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_l.gif" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_completed.gif" title=" Written" width="0" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_remaining.gif" title="50000 Remaining" width="100" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_r.gif" height="14" /><br />0 / 50,000</td>
|
286
|
+
<tr valign="bottom"><td align="right" valign="middle" class="buddy"><a href="/eng/user/240149" title="View user profile.">jkeene</a></td>
|
287
|
+
<td align="left" class="wordcount"><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_l.gif" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_completed.gif" title="0 Written" width="0" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_remaining.gif" title="50000 Remaining" width="100" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_r.gif" height="14" /><br />0 / 50,000</td>
|
294
288
|
</tr>
|
295
|
-
<tr valign="bottom"><td align="right" valign="middle" class="buddy"><a href="
|
296
|
-
<
|
297
|
-
<td align="left" class="wordcount"><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_l.gif" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_completed.gif" title="17170 Written" width="34" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_remaining.gif" title="32830 Remaining" width="66" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_r.gif" height="14" /><br />17,170 / 50,000</td>
|
289
|
+
<tr valign="bottom"><td align="right" valign="middle" class="buddy"><a href="/eng/user/245095" title="View user profile.">hinge1492</a></td>
|
290
|
+
<td align="left" class="wordcount"><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_l.gif" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_completed.gif" title="0 Written" width="0" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_remaining.gif" title="50000 Remaining" width="100" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_r.gif" height="14" /><br />0 / 50,000</td>
|
298
291
|
</tr>
|
299
|
-
<tr valign="bottom"><td align="right" valign="middle" class="buddy"><a href="/eng/user/309620">LegendWrite</a></td>
|
300
|
-
<td align="left" class="wordcount"><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_l.gif" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_completed.gif" title="
|
292
|
+
<tr valign="bottom"><td align="right" valign="middle" class="buddy"><a href="/eng/user/309620" title="View user profile.">LegendWrite</a></td>
|
293
|
+
<td align="left" class="wordcount"><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_l.gif" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_completed.gif" title="0 Written" width="0" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_remaining.gif" title="50000 Remaining" width="100" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_r.gif" height="14" /><br />0 / 50,000</td>
|
301
294
|
</tr>
|
302
|
-
|
303
|
-
|
295
|
+
</table>
|
296
|
+
</td>
|
304
297
|
<td width="3px" class="divide"></td>
|
305
|
-
|
306
|
-
|
307
|
-
<tr valign="bottom"><td align="right" valign="middle" class="buddy"><a href="
|
308
|
-
<
|
309
|
-
<td align="left" class="wordcount"><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_l.gif" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_completed.gif" title="17635 Written" width="35" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_remaining.gif" title="32365 Remaining" width="65" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_r.gif" height="14" /><br />17,635 / 50,000</td>
|
298
|
+
<td width="250px">
|
299
|
+
<table width="250px" class="buddyside">
|
300
|
+
<tr valign="bottom"><td align="right" valign="middle" class="buddy"><a href="/eng/user/126776" title="View user profile.">seattlekos</a></td>
|
301
|
+
<td align="left" class="wordcount"><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_l.gif" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_completed.gif" title="0 Written" width="0" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_remaining.gif" title="50000 Remaining" width="100" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_r.gif" height="14" /><br />0 / 50,000</td>
|
310
302
|
</tr>
|
311
|
-
<tr valign="bottom"><td align="right" valign="middle" class="buddy"><a href="/eng/user/208549">knoppy44</a></td>
|
312
|
-
<td align="left" class="wordcount"><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_l.gif" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_completed.gif" title="
|
303
|
+
<tr valign="bottom"><td align="right" valign="middle" class="buddy"><a href="/eng/user/208549" title="View user profile.">knoppy44</a></td>
|
304
|
+
<td align="left" class="wordcount"><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_l.gif" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_completed.gif" title="0 Written" width="0" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_remaining.gif" title="50000 Remaining" width="100" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_r.gif" height="14" /><br />0 / 50,000</td>
|
313
305
|
</tr>
|
314
|
-
<tr valign="bottom"><td align="right" valign="middle" class="buddy"><a href="/eng/user/236224">gnomishninja</a></td>
|
315
|
-
<td align="left" class="wordcount"><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_l.gif" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_completed.gif" title="
|
306
|
+
<tr valign="bottom"><td align="right" valign="middle" class="buddy"><a href="/eng/user/236224" title="View user profile.">gnomishninja</a></td>
|
307
|
+
<td align="left" class="wordcount"><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_l.gif" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_completed.gif" title="0 Written" width="0" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_remaining.gif" title="50000 Remaining" width="100" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_r.gif" height="14" /><br />0 / 50,000</td>
|
316
308
|
</tr>
|
317
|
-
<tr valign="bottom"><td align="right" valign="middle" class="buddy"><a href="/eng/user/244939">LesaDragon</a></td>
|
318
|
-
<td align="left" class="wordcount"><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_l.gif" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_completed.gif" title=" Written" width="0" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_remaining.gif" title="50000 Remaining" width="100" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_r.gif" height="14" /><br />0 / 50,000</td>
|
309
|
+
<tr valign="bottom"><td align="right" valign="middle" class="buddy"><a href="/eng/user/244939" title="View user profile.">LesaDragon</a></td>
|
310
|
+
<td align="left" class="wordcount"><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_l.gif" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_completed.gif" title="0 Written" width="0" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_remaining.gif" title="50000 Remaining" width="100" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_r.gif" height="14" /><br />0 / 50,000</td>
|
319
311
|
</tr>
|
320
|
-
<tr valign="bottom"><td align="right" valign="middle" class="buddy"><a href="/eng/user/301080">InfiniteLoop</a></td>
|
321
|
-
<td align="left" class="wordcount"><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_l.gif" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_completed.gif" title="
|
312
|
+
<tr valign="bottom"><td align="right" valign="middle" class="buddy"><a href="/eng/user/301080" title="View user profile.">InfiniteLoop</a></td>
|
313
|
+
<td align="left" class="wordcount"><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_l.gif" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_completed.gif" title="0 Written" width="0" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_remaining.gif" title="50000 Remaining" width="100" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_r.gif" height="14" /><br />0 / 50,000</td>
|
322
314
|
</tr>
|
323
|
-
|
324
|
-
|
315
|
+
<tr valign="bottom"><td align="right" valign="middle" class="buddy"><a href="http://store.lettersandlight.org/" class="halo"><img src="/sites/all/themes/nanowrimo/profile/haloIcon-buddy.gif" align="middle" border="0" alt="Glowing Halo" title="NaNoWriMo Donor" /></a><br />
|
316
|
+
<a href="/eng/user/405136" title="View user profile.">Gemini4t</a></td>
|
317
|
+
<td align="left" class="wordcount"><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_l.gif" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_completed.gif" title="0 Written" width="0" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_remaining.gif" title="50000 Remaining" width="100" height="14" /><img src="/sites/all/themes/nanowrimo/wordcount/progress_end_r.gif" height="14" /><br />0 / 50,000</td>
|
318
|
+
</tr>
|
319
|
+
</table>
|
320
|
+
</td>
|
325
321
|
</tr>
|
326
|
-
|
322
|
+
</table>
|
327
323
|
</div>
|
328
324
|
</div>
|
329
325
|
<!--END TAB 3 -->
|
330
326
|
<!--START TAB 4 -->
|
331
327
|
<div id="tcontent4" class="tabcontent">
|
332
328
|
<div class="stats">
|
333
|
-
<
|
334
|
-
<div class="swf_chart">
|
335
|
-
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
|
336
|
-
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
|
337
|
-
width="400"
|
338
|
-
height="300"
|
339
|
-
id="charts"
|
340
|
-
>
|
341
|
-
<param name=movie value="http://www.nanowrimo.org/sites/all/modules/swfcharts/charts/charts.swf?library_path=http://www.nanowrimo.org/sites/all/modules/swfcharts/charts/charts_library&xml_source=http://www.nanowrimo.org/files/main/swfcharts/e6be2fcf705f7632bff7877baf6d8cdd.xml&license=G1XZ773RX9-L6-O5T4Q79KLYCK07EK">
|
342
|
-
<param name=quality value=400>
|
343
|
-
<param name=bgcolor value=#FFFFFF>
|
344
|
-
<embed src="http://www.nanowrimo.org/sites/all/modules/swfcharts/charts/charts.swf?library_path=http://www.nanowrimo.org/sites/all/modules/swfcharts/charts/charts_library&xml_source=http://www.nanowrimo.org/files/main/swfcharts/e6be2fcf705f7632bff7877baf6d8cdd.xml&license=G1XZ773RX9-L6-O5T4Q79KLYCK07EK"
|
345
|
-
quality=high
|
346
|
-
bgcolor=#FFFFFF
|
347
|
-
width="400"
|
348
|
-
height="300"
|
349
|
-
name="charts"
|
350
|
-
align=""
|
351
|
-
swliveconnect="false"
|
352
|
-
type="application/x-shockwave-flash"
|
353
|
-
pluginspage="http://www.macromedia.com/go/getflashplayer">
|
354
|
-
</embed>
|
355
|
-
</object>
|
356
|
-
</div><!-- end swf_chart--></center>
|
329
|
+
<h3>No wordcount stats yet for this Author</h3>
|
357
330
|
<br />
|
358
|
-
<center>
|
359
|
-
<div class="swf_chart">
|
360
|
-
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
|
361
|
-
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
|
362
|
-
width="400"
|
363
|
-
height="300"
|
364
|
-
id="charts"
|
365
|
-
>
|
366
|
-
<param name=movie value="http://www.nanowrimo.org//sites/all/modules/swfcharts/charts/charts.swf?library_path=http://www.nanowrimo.org//sites/all/modules/swfcharts/charts/charts_library&xml_source=http://www.nanowrimo.org//files/main/swfcharts/22ae59157102fea48e79ebd4b35ebe51.xml&license=G1XZ773RX9-L6-O5T4Q79KLYCK07EK">
|
367
|
-
<param name=quality value=400>
|
368
|
-
<param name=bgcolor value=#FFFFFF>
|
369
|
-
<embed src="http://www.nanowrimo.org//sites/all/modules/swfcharts/charts/charts.swf?library_path=http://www.nanowrimo.org//sites/all/modules/swfcharts/charts/charts_library&xml_source=http://www.nanowrimo.org//files/main/swfcharts/22ae59157102fea48e79ebd4b35ebe51.xml&license=G1XZ773RX9-L6-O5T4Q79KLYCK07EK"
|
370
|
-
quality=high
|
371
|
-
bgcolor=#FFFFFF
|
372
|
-
width="400"
|
373
|
-
height="300"
|
374
|
-
name="charts"
|
375
|
-
align=""
|
376
|
-
swliveconnect="false"
|
377
|
-
type="application/x-shockwave-flash"
|
378
|
-
pluginspage="http://www.macromedia.com/go/getflashplayer">
|
379
|
-
</embed>
|
380
|
-
</object>
|
381
|
-
</div><!-- end swf_chart--></center>
|
382
331
|
<br />
|
383
332
|
</div>
|
384
333
|
</div>
|
@@ -398,7 +347,7 @@ Connection: close
|
|
398
347
|
<!-- *** Footer *** -->
|
399
348
|
<div id="footerContainer">
|
400
349
|
<p class="detailText">
|
401
|
-
<a href="/
|
350
|
+
<a href="/eng/whatisnano">About</a> :: <a href="/eng/faq">FAQ</a> :: <a href="/eng/oll/my_site">My NaNoWriMo</a> :: <a href="/eng/forum">Forums</a> :: <a href="/eng/peptalks2010">Fun Stuff</a> :: <a href="http://store.lettersandlight.org">Donations/Store</a> :: <a href="/eng/%252Flibrary">NaNo Near You</a> :: <a href="/eng/ywp">More from OLL</a> :: <a href="/eng/search/google">Search</a><br /><a href="/eng/privacypolicy">Privacy Policy</a> :: <a href="/eng/termsandconditions">Terms and Conditions</a> :: <a href="/eng/codesofconduct">Codes of Conduct</a> :: <a href="/eng/returnspolicy">Returns Policy</a><br /><br />Copyright © 2010 The Office of Letters and Light :: All posted novel excerpts remain copyright their authors.<br />
|
402
351
|
Powered by <a href="http://www.drupal.org">Drupal</a><br /><br />
|
403
352
|
<a href="http://aws.amazon.com/ec2" target="_blank"><img src="/files/main/images/PBAWS_LOGO_127px.JPG" alt="" title="" class="image image-_original" width="127" height="52" /></a>
|
404
353
|
</p>
|
@@ -406,10 +355,21 @@ Powered by <a href="http://www.drupal.org">Drupal</a><br /><br />
|
|
406
355
|
<!-- END Footer -->
|
407
356
|
<script type="text/javascript" src="/sites/all/modules/google_analytics/googleanalytics.js"></script>
|
408
357
|
<script type="text/javascript">var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script>
|
409
|
-
<script type="text/javascript">var pageTracker = _gat._getTracker("UA-635901-1");pageTracker._trackPageview()
|
358
|
+
<script type="text/javascript">try{var pageTracker = _gat._getTracker("UA-635901-1");pageTracker._trackPageview();} catch(err) {}</script>
|
410
359
|
|
411
360
|
</div>
|
412
361
|
<!-- Close Auto Container -->
|
362
|
+
<!-- Start Quantcast tag -->
|
363
|
+
<script type="text/javascript">
|
364
|
+
_qoptions={
|
365
|
+
qacct:"p-6fXNnILeFXibI"
|
366
|
+
};
|
367
|
+
</script>
|
368
|
+
<script type="text/javascript" src="http://edge.quantserve.com/quant.js"></script>
|
369
|
+
<noscript>
|
370
|
+
<img src="http://pixel.quantserve.com/pixel/p-6fXNnILeFXibI.gif" style="display: none;" border="0" height="1" width="1" alt="Quantcast"/>
|
371
|
+
</noscript>
|
372
|
+
<!-- End Quantcast tag -->
|
413
373
|
</body>
|
414
374
|
</html>
|
415
|
-
</div>
|
375
|
+
</div>
|
data/test/test_user.rb
CHANGED
@@ -61,8 +61,8 @@ class TestUser < Test::Unit::TestCase
|
|
61
61
|
def test_user_load_profile_data
|
62
62
|
profile_uri_setup
|
63
63
|
@user.load_profile_data
|
64
|
-
assert @user.profile_data.instance_of?(
|
65
|
-
|
64
|
+
assert @user.profile_data.instance_of?(Nokogiri::HTML::Document)
|
65
|
+
assert @user.profile_data.search('#tcontent3')
|
66
66
|
end
|
67
67
|
|
68
68
|
def test_find_users_region
|
@@ -87,7 +87,7 @@ class TestUser < Test::Unit::TestCase
|
|
87
87
|
profile_uri_setup
|
88
88
|
@user.parse_profile
|
89
89
|
assert @user.buddies.instance_of?(Array)
|
90
|
-
assert_equal
|
90
|
+
assert_equal 12, @user.buddies.size
|
91
91
|
assert @user.buddies.include?("245095")
|
92
92
|
end
|
93
93
|
|
@@ -110,10 +110,7 @@ class TestUser < Test::Unit::TestCase
|
|
110
110
|
end
|
111
111
|
|
112
112
|
def profile_uri_setup
|
113
|
-
# this was a bit of weirdness - I had to curl -is the url in order to grab the headers, and
|
114
|
-
# even then it would register the file from FakeWeb as WWW::Mechanize::File, not WWW::Mechanize::Page
|
115
|
-
# discussion started at http://groups.google.com/group/fakeweb-users/browse_thread/thread/e01b6280e720ae6f
|
116
113
|
file = File.read("test/fixtures/user_page.htm")
|
117
|
-
FakeWeb.register_uri(:any, "http://www.nanowrimo.org/eng/user/240659", :
|
114
|
+
FakeWeb.register_uri(:any, "http://www.nanowrimo.org/eng/user/240659", :body => file)
|
118
115
|
end
|
119
116
|
end
|
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nanowrimo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 8
|
8
|
+
- 0
|
9
|
+
version: 0.8.0
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Joshua Clingenpeel
|
@@ -9,39 +14,70 @@ autorequire:
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date:
|
17
|
+
date: 2010-10-08 00:00:00 -07:00
|
13
18
|
default_executable:
|
14
19
|
dependencies:
|
15
20
|
- !ruby/object:Gem::Dependency
|
16
|
-
name:
|
17
|
-
|
18
|
-
|
19
|
-
|
21
|
+
name: nokogiri
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
20
25
|
requirements:
|
21
26
|
- - "="
|
22
27
|
- !ruby/object:Gem::Version
|
23
|
-
|
24
|
-
|
28
|
+
segments:
|
29
|
+
- 1
|
30
|
+
- 4
|
31
|
+
- 3
|
32
|
+
- 1
|
33
|
+
version: 1.4.3.1
|
34
|
+
type: :runtime
|
35
|
+
version_requirements: *id001
|
25
36
|
- !ruby/object:Gem::Dependency
|
26
|
-
name:
|
37
|
+
name: rubyforge
|
38
|
+
prerelease: false
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
segments:
|
45
|
+
- 2
|
46
|
+
- 0
|
47
|
+
- 4
|
48
|
+
version: 2.0.4
|
27
49
|
type: :development
|
28
|
-
|
29
|
-
|
50
|
+
version_requirements: *id002
|
51
|
+
- !ruby/object:Gem::Dependency
|
52
|
+
name: fakeweb
|
53
|
+
prerelease: false
|
54
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
30
56
|
requirements:
|
31
57
|
- - "="
|
32
58
|
- !ruby/object:Gem::Version
|
59
|
+
segments:
|
60
|
+
- 1
|
61
|
+
- 2
|
62
|
+
- 7
|
33
63
|
version: 1.2.7
|
34
|
-
|
64
|
+
type: :development
|
65
|
+
version_requirements: *id003
|
35
66
|
- !ruby/object:Gem::Dependency
|
36
67
|
name: hoe
|
37
|
-
|
38
|
-
|
39
|
-
|
68
|
+
prerelease: false
|
69
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
70
|
+
none: false
|
40
71
|
requirements:
|
41
72
|
- - ">="
|
42
73
|
- !ruby/object:Gem::Version
|
43
|
-
|
44
|
-
|
74
|
+
segments:
|
75
|
+
- 2
|
76
|
+
- 6
|
77
|
+
- 2
|
78
|
+
version: 2.6.2
|
79
|
+
type: :development
|
80
|
+
version_requirements: *id004
|
45
81
|
description: |-
|
46
82
|
A simple API wrapper for Nanowrimo.org. Nanowrimo Word Count API documentation here:
|
47
83
|
http://www.nanowrimo.org/eng/wordcount_api
|
@@ -90,7 +126,7 @@ files:
|
|
90
126
|
- test/fixtures/user_wc_history.xml
|
91
127
|
- test/fixtures/user_wc_history_error.xml
|
92
128
|
has_rdoc: true
|
93
|
-
homepage: http://nanowrimo.rubyforge.org
|
129
|
+
homepage: http://nanowrimo.rubyforge.org/
|
94
130
|
licenses: []
|
95
131
|
|
96
132
|
post_install_message:
|
@@ -100,21 +136,25 @@ rdoc_options:
|
|
100
136
|
require_paths:
|
101
137
|
- lib
|
102
138
|
required_ruby_version: !ruby/object:Gem::Requirement
|
139
|
+
none: false
|
103
140
|
requirements:
|
104
141
|
- - ">="
|
105
142
|
- !ruby/object:Gem::Version
|
143
|
+
segments:
|
144
|
+
- 0
|
106
145
|
version: "0"
|
107
|
-
version:
|
108
146
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
147
|
+
none: false
|
109
148
|
requirements:
|
110
149
|
- - ">="
|
111
150
|
- !ruby/object:Gem::Version
|
151
|
+
segments:
|
152
|
+
- 0
|
112
153
|
version: "0"
|
113
|
-
version:
|
114
154
|
requirements: []
|
115
155
|
|
116
156
|
rubyforge_project: nanowrimo
|
117
|
-
rubygems_version: 1.3.
|
157
|
+
rubygems_version: 1.3.7
|
118
158
|
signing_key:
|
119
159
|
specification_version: 3
|
120
160
|
summary: A simple API wrapper for Nanowrimo.org
|