swdyh-avaticon 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +1 -1
- data/lib/avaticon.rb +3 -1
- data/lib/siteinfo.json +8 -0
- data/test/html/turnyournameintoaface_ucnv +32 -0
- metadata +3 -2
data/Rakefile
CHANGED
@@ -17,7 +17,7 @@ DESCRIPTION = "A library for getting web service user icon."
|
|
17
17
|
RUBYFORGE_PROJECT = "avaticon"
|
18
18
|
HOMEPATH = "http://#{RUBYFORGE_PROJECT}.rubyforge.org"
|
19
19
|
BIN_FILES = %w( )
|
20
|
-
VERS = "0.0.
|
20
|
+
VERS = "0.0.3"
|
21
21
|
|
22
22
|
REV = File.read(".svn/entries")[/committed-rev="(d+)"/, 1] rescue nil
|
23
23
|
CLEAN.include ['**/.*.sw?', '*.gem', '.config']
|
data/lib/avaticon.rb
CHANGED
data/lib/siteinfo.json
CHANGED
@@ -54,5 +54,13 @@
|
|
54
54
|
"iconImageElement": "\/\/div[@class=\"identity\"]\/img",
|
55
55
|
"exampleUrl": "http:\/\/github.com\/kzys",
|
56
56
|
"exampleImageUrl": "http:\/\/www.gravatar.com\/avatar\/7828b45f8396aa361d85cead01fd99ca?s=50&d=http%3A%2F%2Fgithub.com%2Fimages%2Fgravatars%2Fgravatar-50.png"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"service_name": "turnyournameintoaface",
|
60
|
+
"url": "^http://turnyournameintoaface.com/\\\?name=([^.\/]+)",
|
61
|
+
"iconPageUrl": "http://turnyournameintoaface.com/?name={user_id}",
|
62
|
+
"iconImageElement": "\/\/p[@class=\"image\"]\/img",
|
63
|
+
"exampleUrl": "http://turnyournameintoaface.com/?name=ucnv",
|
64
|
+
"exampleImageUrl": "http://turnyournameintoaface.com/face/10100311.png"
|
57
65
|
}
|
58
66
|
]
|
@@ -0,0 +1,32 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
3
|
+
<head>
|
4
|
+
<title>Turn Your Name Into a Face - ucnv</title>
|
5
|
+
<link rel="stylesheet" href="default2.css" type="text/css" media="screen,projection,print" />
|
6
|
+
<script type="text/javascript" src="default.js"></script>
|
7
|
+
<meta name="robots" content="noindex,noarchive,nofollow" />
|
8
|
+
</head>
|
9
|
+
<body>
|
10
|
+
|
11
|
+
<form id="mainForm" name="mainForm" method="get" action="./">
|
12
|
+
<p>
|
13
|
+
Turn
|
14
|
+
<input type="text" name="name" id="name" maxlength="100"
|
15
|
+
value="ucnv"
|
16
|
+
onclick="clickedName()" />
|
17
|
+
<input type="submit" value="Into a Face" class="submitButton" />
|
18
|
+
</p>
|
19
|
+
</form>
|
20
|
+
<p class="image"><img src="face/10100311.png" alt="" /></p> <div id="also"><a href="http://bomomo.com">elsewhere</a></div>
|
21
|
+
|
22
|
+
<script type="text/javascript">
|
23
|
+
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
|
24
|
+
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
|
25
|
+
</script>
|
26
|
+
<script type="text/javascript">
|
27
|
+
var pageTracker = _gat._getTracker("UA-60595-36");
|
28
|
+
pageTracker._trackPageview();
|
29
|
+
</script>
|
30
|
+
|
31
|
+
</body>
|
32
|
+
</html>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: swdyh-avaticon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- swdyh
|
@@ -9,7 +9,7 @@ autorequire: ""
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-10-
|
12
|
+
date: 2008-10-27 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -41,6 +41,7 @@ files:
|
|
41
41
|
- test/html/hatena_swdyh
|
42
42
|
- test/html/lastfm_youpy
|
43
43
|
- test/html/nowa_yuiseki
|
44
|
+
- test/html/turnyournameintoaface_ucnv
|
44
45
|
- test/html/twitter_swdyh
|
45
46
|
- test/html/wassr_kotoriko
|
46
47
|
- test/test_helper.rb
|