merb-pagination 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -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,46 @@
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
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
+ <title>
8
+ <%= title %>
9
+ </title>
10
+ <script src="javascripts/rounded_corners_lite.inc.js" type="text/javascript"></script>
11
+ <style>
12
+
13
+ </style>
14
+ <script type="text/javascript">
15
+ window.onload = function() {
16
+ settings = {
17
+ tl: { radius: 10 },
18
+ tr: { radius: 10 },
19
+ bl: { radius: 10 },
20
+ br: { radius: 10 },
21
+ antiAlias: true,
22
+ autoPad: true,
23
+ validTags: ["div"]
24
+ }
25
+ var versionBox = new curvyCorners(settings, document.getElementById("version"));
26
+ versionBox.applyCornersToAll();
27
+ }
28
+ </script>
29
+ </head>
30
+ <body>
31
+ <div id="main">
32
+
33
+ <h1><%= title %></h1>
34
+ <div id="version" class="clickable" onclick='document.location = "<%= download %>"; return false'>
35
+ <p>Get Version</p>
36
+ <a href="<%= download %>" class="numbers"><%= version %></a>
37
+ </div>
38
+ <%= body %>
39
+ <p class="coda">
40
+ <a href="http://loriholden.com">Lori Holden</a>, <%= modified.pretty %><br>
41
+ Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
42
+ </p>
43
+ </div>
44
+
45
+ </body>
46
+ </html>
metadata ADDED
@@ -0,0 +1,139 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: merb-pagination
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Lori Holden
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIDPjCCAiagAwIBAgIBADANBgkqhkiG9w0BAQUFADBFMRIwEAYDVQQDDAllbWFp
14
+ bF9nZW0xGjAYBgoJkiaJk/IsZAEZFgpsb3JpaG9sZGVuMRMwEQYKCZImiZPyLGQB
15
+ GRYDY29tMB4XDTA4MDgxNzE5NDYxNloXDTA5MDgxNzE5NDYxNlowRTESMBAGA1UE
16
+ AwwJZW1haWxfZ2VtMRowGAYKCZImiZPyLGQBGRYKbG9yaWhvbGRlbjETMBEGCgmS
17
+ JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALQM
18
+ 9M25zHpF8F4h2/u3lTGdmvJpmoTNmWZn4yoebqoRjwXYC2i5RxIqHAQi0LuI7ZPA
19
+ f7vyH49p3Ozc/xPiDVXtwduTHtAYHEqTk4WeFUZnMk8sgRFz2EXNtoMLBmMp5XAo
20
+ qu0f+vH3mTxas1WR8v1iZIkcyQo6o110peBMS+fOXOFHOjbcbT3ExMDGUM8229Y4
21
+ qa+1ddMXdm35KK9lcZFdtAwecxTaf4ZLUS+83FmL0YNCSIjXUX4Oi1fWGIT9dr/o
22
+ AYRTLYM5gj5W0NKmr1M6wshJIuh0Owg3UczID7Ogfg5kHHaUxaS9a/NXS3Cw91lY
23
+ A54wYDc/GBtLDtb5aqcCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
24
+ HQYDVR0OBBYEFLvrumPKVz6D0iqqxQULDeJGp6w9MA0GCSqGSIb3DQEBBQUAA4IB
25
+ AQCigiinxPWn1dOiP4XLwvixFcx/rK0ltpDZ0ja9RXmntUvExqnsX3mCX+W74GMz
26
+ MrZKb/S5AAS5n2EoYuvDEwxn34ddkqXiXravRLzd8Jw1/kWE9wdTsF+KB/SngBb/
27
+ 0mWxe6XHD6DQ+6DNhyY+uZOsFiAXxh+Hu0MZTb9xFB/jXIy9B6+rdjwMlxwIfaQn
28
+ D5rkGZJKg3MlIKhDnmTEfU5JmwgAH1+v1gbUbUnOrTGMe8JkEd0h4q9Bl46ydIIH
29
+ WcfEbGXaBPnC8f8KOa6s8BMIrqW0z8SvlsNIvHZSvRbWf3Sjey10MSFuTYJX2D1/
30
+ UXRgWS//g7odGv0eT+GJBEUt
31
+ -----END CERTIFICATE-----
32
+
33
+ date: 2008-08-19 00:00:00 -07:00
34
+ default_executable:
35
+ dependencies:
36
+ - !ruby/object:Gem::Dependency
37
+ name: merb-core
38
+ type: :runtime
39
+ version_requirement:
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ version: 0.9.4
45
+ version:
46
+ - !ruby/object:Gem::Dependency
47
+ name: builder
48
+ type: :runtime
49
+ version_requirement:
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: 2.0.0
55
+ version:
56
+ - !ruby/object:Gem::Dependency
57
+ name: hoe
58
+ type: :development
59
+ version_requirement:
60
+ version_requirements: !ruby/object:Gem::Requirement
61
+ requirements:
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ version: 1.7.0
65
+ version:
66
+ description: A pagination helper for merb
67
+ email:
68
+ - email+gem@loriholden.com
69
+ executables: []
70
+
71
+ extensions: []
72
+
73
+ extra_rdoc_files:
74
+ - History.txt
75
+ - License.txt
76
+ - Manifest.txt
77
+ - README.txt
78
+ - website/index.txt
79
+ files:
80
+ - History.txt
81
+ - License.txt
82
+ - Manifest.txt
83
+ - README.txt
84
+ - Rakefile
85
+ - config/hoe.rb
86
+ - config/requirements.rb
87
+ - lib/merb-pagination.rb
88
+ - lib/merb-pagination/hash.rb
89
+ - lib/merb-pagination/pagination_helper.rb
90
+ - lib/merb-pagination/version.rb
91
+ - script/console
92
+ - script/destroy
93
+ - script/generate
94
+ - script/txt2html
95
+ - setup.rb
96
+ - tasks/deployment.rake
97
+ - tasks/environment.rake
98
+ - tasks/website.rake
99
+ - test/test_helper.rb
100
+ - test/test_merb-pagination.rb
101
+ - website/index.txt
102
+ - website/javascripts/rounded_corners_lite.inc.js
103
+ - website/stylesheets/screen.css
104
+ - website/template.html.erb
105
+ has_rdoc: true
106
+ homepage: http://merb-pagination.rubyforge.org/
107
+ post_install_message: |+
108
+
109
+ For more information on merb_pagination, see:
110
+ http://projects.loriholden.com/wiki/merb_pagination
111
+
112
+
113
+ rdoc_options:
114
+ - --main
115
+ - README.txt
116
+ require_paths:
117
+ - lib
118
+ required_ruby_version: !ruby/object:Gem::Requirement
119
+ requirements:
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
122
+ version: "0"
123
+ version:
124
+ required_rubygems_version: !ruby/object:Gem::Requirement
125
+ requirements:
126
+ - - ">="
127
+ - !ruby/object:Gem::Version
128
+ version: "0"
129
+ version:
130
+ requirements: []
131
+
132
+ rubyforge_project: merb-pagination
133
+ rubygems_version: 1.2.0
134
+ signing_key:
135
+ specification_version: 2
136
+ summary: A pagination helper for merb
137
+ test_files:
138
+ - test/test_helper.rb
139
+ - test/test_merb-pagination.rb
Binary file