ruanwz-sogoumap2pdf 0.2.1

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.
@@ -0,0 +1,138 @@
1
+ body {
2
+ background-color: #E1D1F1;
3
+ font-family: "Georgia", sans-serif;
4
+ font-size: 16px;
5
+ line-height: 1.6em;
6
+ padding: 1.6em 0 0 0;
7
+ color: #333;
8
+ }
9
+ h1, h2, h3, h4, h5, h6 {
10
+ color: #444;
11
+ }
12
+ h1 {
13
+ font-family: sans-serif;
14
+ font-weight: normal;
15
+ font-size: 4em;
16
+ line-height: 0.8em;
17
+ letter-spacing: -0.1ex;
18
+ margin: 5px;
19
+ }
20
+ li {
21
+ padding: 0;
22
+ margin: 0;
23
+ list-style-type: square;
24
+ }
25
+ a {
26
+ color: #5E5AFF;
27
+ background-color: #DAC;
28
+ font-weight: normal;
29
+ text-decoration: underline;
30
+ }
31
+ blockquote {
32
+ font-size: 90%;
33
+ font-style: italic;
34
+ border-left: 1px solid #111;
35
+ padding-left: 1em;
36
+ }
37
+ .caps {
38
+ font-size: 80%;
39
+ }
40
+
41
+ #main {
42
+ width: 45em;
43
+ padding: 0;
44
+ margin: 0 auto;
45
+ }
46
+ .coda {
47
+ text-align: right;
48
+ color: #77f;
49
+ font-size: smaller;
50
+ }
51
+
52
+ table {
53
+ font-size: 90%;
54
+ line-height: 1.4em;
55
+ color: #ff8;
56
+ background-color: #111;
57
+ padding: 2px 10px 2px 10px;
58
+ border-style: dashed;
59
+ }
60
+
61
+ th {
62
+ color: #fff;
63
+ }
64
+
65
+ td {
66
+ padding: 2px 10px 2px 10px;
67
+ }
68
+
69
+ .success {
70
+ color: #0CC52B;
71
+ }
72
+
73
+ .failed {
74
+ color: #E90A1B;
75
+ }
76
+
77
+ .unknown {
78
+ color: #995000;
79
+ }
80
+ pre, code {
81
+ font-family: monospace;
82
+ font-size: 90%;
83
+ line-height: 1.4em;
84
+ color: #ff8;
85
+ background-color: #111;
86
+ padding: 2px 10px 2px 10px;
87
+ }
88
+ .comment { color: #aaa; font-style: italic; }
89
+ .keyword { color: #eff; font-weight: bold; }
90
+ .punct { color: #eee; font-weight: bold; }
91
+ .symbol { color: #0bb; }
92
+ .string { color: #6b4; }
93
+ .ident { color: #ff8; }
94
+ .constant { color: #66f; }
95
+ .regex { color: #ec6; }
96
+ .number { color: #F99; }
97
+ .expr { color: #227; }
98
+
99
+ #version {
100
+ float: right;
101
+ text-align: right;
102
+ font-family: sans-serif;
103
+ font-weight: normal;
104
+ background-color: #B3ABFF;
105
+ color: #141331;
106
+ padding: 15px 20px 10px 20px;
107
+ margin: 0 auto;
108
+ margin-top: 15px;
109
+ border: 3px solid #141331;
110
+ }
111
+
112
+ #version .numbers {
113
+ display: block;
114
+ font-size: 4em;
115
+ line-height: 0.8em;
116
+ letter-spacing: -0.1ex;
117
+ margin-bottom: 15px;
118
+ }
119
+
120
+ #version p {
121
+ text-decoration: none;
122
+ color: #141331;
123
+ background-color: #B3ABFF;
124
+ margin: 0;
125
+ padding: 0;
126
+ }
127
+
128
+ #version a {
129
+ text-decoration: none;
130
+ color: #141331;
131
+ background-color: #B3ABFF;
132
+ }
133
+
134
+ .clickable {
135
+ cursor: pointer;
136
+ cursor: hand;
137
+ }
138
+
@@ -0,0 +1,52 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" />
6
+
7
+ <meta name="verify-v1" content="Fnrqlzk+VkvNYZdIIdYzmjwNXSv1sjlsXAUIHBF2bT0=" />
8
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
+ <title>
10
+ <%= title %>
11
+ </title>
12
+ <script src="javascripts/rounded_corners_lite.inc.js" type="text/javascript"></script>
13
+ <style>
14
+
15
+ </style>
16
+ <script type="text/javascript">
17
+ window.onload = function() {
18
+ settings = {
19
+ tl: { radius: 10 },
20
+ tr: { radius: 10 },
21
+ bl: { radius: 10 },
22
+ br: { radius: 10 },
23
+ antiAlias: true,
24
+ autoPad: true,
25
+ validTags: ["div"]
26
+ }
27
+ var versionBox = new curvyCorners(settings, document.getElementById("version"));
28
+ versionBox.applyCornersToAll();
29
+ }
30
+ </script>
31
+ </head>
32
+ <body>
33
+ <div id="main">
34
+
35
+ <h1><%= title %></h1>
36
+ <div id="version" class="clickable" onclick='document.location = "<%= download %>"; return false'>
37
+ <p>Get Version</p>
38
+ <a href="<%= download %>" class="numbers"><%= version %></a>
39
+ </div>
40
+ <%= body %>
41
+ <h2>Screencast</h2>
42
+ <object width="425" height="350"> <param name="movie" value="http://www.youtube.com/v/SxEZ1lhUDH4"> </param> <embed src="http://www.youtube.com/v/SxEZ1lhUDH4" type="application/x-shockwave-flash" width="425" height="350"> </embed> </object>
43
+ <p class="coda">
44
+ <a href="mailto:ruanwz@gmail.com">David Ruan</a>, <%= modified.pretty %><br>
45
+ Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
46
+ </p>
47
+ </div>
48
+
49
+ <!-- insert site tracking codes here, like Google Urchin -->
50
+
51
+ </body>
52
+ </html>
metadata ADDED
@@ -0,0 +1,86 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ruanwz-sogoumap2pdf
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.1
5
+ platform: ruby
6
+ authors:
7
+ - David Ruan
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-02-13 00:00:00 -08:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description:
17
+ email: ruanwz@gmail.com
18
+ executables: []
19
+
20
+ extensions: []
21
+
22
+ extra_rdoc_files: []
23
+
24
+ files:
25
+ - History.txt
26
+ - License.txt
27
+ - Manifest.txt
28
+ - PostInstall.txt
29
+ - README.txt
30
+ - Rakefile
31
+ - TODO
32
+ - bin/sogoumap2pdf
33
+ - bin/sogoumap2disk
34
+ - bin/sogoumap2pdf_from_disk
35
+ - bin/sogoumap2pdf_from_disk_front_page
36
+ - config/hoe.rb
37
+ - config/requirements.rb
38
+ - lib/sogoumap2pdf.rb
39
+ - lib/sogoumap2pdf/version.rb
40
+ - lib/sogoumap2pdf/image_to_pdf.rb
41
+ - lib/sogoumap2pdf/sogou_map_image.rb
42
+ - script/console
43
+ - script/destroy
44
+ - script/generate
45
+ - script/txt2html
46
+ - setup.rb
47
+ - spec/sogoumap2pdf_spec.rb
48
+ - spec/spec.opts
49
+ - spec/spec_helper.rb
50
+ - tasks/deployment.rake
51
+ - tasks/environment.rake
52
+ - tasks/rspec.rake
53
+ - tasks/website.rake
54
+ - website/index.html
55
+ - website/index.txt
56
+ - website/javascripts/rounded_corners_lite.inc.js
57
+ - website/stylesheets/screen.css
58
+ - website/template.html.erb
59
+ has_rdoc: false
60
+ homepage: http://sogoumap2pdf.rubyforge.org/
61
+ post_install_message:
62
+ rdoc_options: []
63
+
64
+ require_paths:
65
+ - lib
66
+ required_ruby_version: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: "0"
71
+ version:
72
+ required_rubygems_version: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: "0"
77
+ version:
78
+ requirements: []
79
+
80
+ rubyforge_project:
81
+ rubygems_version: 1.2.0
82
+ signing_key:
83
+ specification_version: 2
84
+ summary: download map from map.sogou.com and turn into pdf
85
+ test_files: []
86
+