adminpage_scaffold_generator 0.0.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.
Files changed (76) hide show
  1. data.tar.gz.sig +0 -0
  2. data/History.txt +4 -0
  3. data/License.txt +20 -0
  4. data/Manifest.txt +73 -0
  5. data/PostInstall.txt +8 -0
  6. data/README.txt +48 -0
  7. data/Rakefile +4 -0
  8. data/USAGE +27 -0
  9. data/adminpage_scaffold_generator.rb +87 -0
  10. data/config/hoe.rb +73 -0
  11. data/config/requirements.rb +15 -0
  12. data/lib/adminpage.rb +6 -0
  13. data/lib/adminpage/version.rb +9 -0
  14. data/script/console +10 -0
  15. data/script/destroy +14 -0
  16. data/script/generate +14 -0
  17. data/script/txt2html +82 -0
  18. data/setup.rb +1585 -0
  19. data/spec/adminpage_spec.rb +11 -0
  20. data/spec/spec.opts +1 -0
  21. data/spec/spec_helper.rb +10 -0
  22. data/tasks/deployment.rake +34 -0
  23. data/tasks/environment.rake +7 -0
  24. data/tasks/rspec.rake +21 -0
  25. data/tasks/website.rake +17 -0
  26. data/templates/adminpage.css +344 -0
  27. data/templates/controller.rb +85 -0
  28. data/templates/functional_test.rb +45 -0
  29. data/templates/helper.rb +2 -0
  30. data/templates/images/add-icon.gif +0 -0
  31. data/templates/images/arrow.gif +0 -0
  32. data/templates/images/bg-center-column.jpg +0 -0
  33. data/templates/images/bg-dotted.gif +0 -0
  34. data/templates/images/bg-footer.gif +0 -0
  35. data/templates/images/bg-header.gif +0 -0
  36. data/templates/images/bg-left-header.gif +0 -0
  37. data/templates/images/bg-left-link.gif +0 -0
  38. data/templates/images/bg-middle.gif +0 -0
  39. data/templates/images/bg-orange-button.gif +0 -0
  40. data/templates/images/bg-select.gif +0 -0
  41. data/templates/images/bg-th-left.gif +0 -0
  42. data/templates/images/bg-th-right.gif +0 -0
  43. data/templates/images/delete.png +0 -0
  44. data/templates/images/edit-icon.gif +0 -0
  45. data/templates/images/exclamation.png +0 -0
  46. data/templates/images/hr.gif +0 -0
  47. data/templates/images/info.png +0 -0
  48. data/templates/images/login-icon.gif +0 -0
  49. data/templates/images/logo.gif +0 -0
  50. data/templates/images/logo_1.gif +0 -0
  51. data/templates/images/magnifier.png +0 -0
  52. data/templates/images/msg_Info.png +0 -0
  53. data/templates/images/msg_error.png +0 -0
  54. data/templates/images/msg_success.png +0 -0
  55. data/templates/images/msg_validation.png +0 -0
  56. data/templates/images/msg_warning.png +0 -0
  57. data/templates/images/save-icon.gif +0 -0
  58. data/templates/images/tab-active-left.gif +0 -0
  59. data/templates/images/tab-active-right.gif +0 -0
  60. data/templates/images/tab-active.gif +0 -0
  61. data/templates/images/tab-left.gif +0 -0
  62. data/templates/images/tab-right.gif +0 -0
  63. data/templates/images/tab.gif +0 -0
  64. data/templates/layout.html.erb +56 -0
  65. data/templates/messagebox.css +34 -0
  66. data/templates/view_edit.html.erb +35 -0
  67. data/templates/view_index.html.erb +42 -0
  68. data/templates/view_new.html.erb +35 -0
  69. data/templates/view_show.html.erb +30 -0
  70. data/website/index.html +153 -0
  71. data/website/index.txt +85 -0
  72. data/website/javascripts/rounded_corners_lite.inc.js +285 -0
  73. data/website/stylesheets/screen.css +138 -0
  74. data/website/template.html.erb +48 -0
  75. metadata +170 -0
  76. metadata.gz.sig +0 -0
@@ -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,48 @@
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="maimuzo@gmail.com">Yusuke Ohmichi(Maimuzo)</a>, <%= modified.pretty %><br>
41
+ Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
42
+ </p>
43
+ </div>
44
+
45
+ <!-- insert site tracking codes here, like Google Urchin -->
46
+
47
+ </body>
48
+ </html>
metadata ADDED
@@ -0,0 +1,170 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: adminpage_scaffold_generator
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Yusuke Ohmichi(Maimuzo)
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIDMDCCAhigAwIBAgIBADANBgkqhkiG9w0BAQUFADA+MRAwDgYDVQQDDAdtYWlt
14
+ dXpvMRUwEwYKCZImiZPyLGQBGRYFZ21haWwxEzARBgoJkiaJk/IsZAEZFgNjb20w
15
+ HhcNMDgwNjE5MDg0NzMyWhcNMDkwNjE5MDg0NzMyWjA+MRAwDgYDVQQDDAdtYWlt
16
+ dXpvMRUwEwYKCZImiZPyLGQBGRYFZ21haWwxEzARBgoJkiaJk/IsZAEZFgNjb20w
17
+ ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJl4gDdktUKX2puTNO11XM
18
+ 0YH+y4TGZDcXGDDcyAxeRaYYOpCkEGesE6+Rcvt+vRNYMd7T6sDwfiNgBSsCkB/1
19
+ MUJVxAJu6zV9bztd8ZQ93sF1ZATn4r3hlGlkH0UU9NRflZLcenbyGNhRuDINlnAn
20
+ 8W68fparGVWKs+kMHdQShTu3sZNONOa4Xv2NFW/uqM7RThjvtSrz03AoNzaTm+f5
21
+ mBQR7GsXzSTZTIKB/j+knC7kn9x6OzCGlW7pJmWBT03BUrN3Y+9IitgML9P/LAhD
22
+ nVVHwwuxJRlUazhAPJkwp7fFrSMHMkRAem1X9C+8K4II+3ta9pcK6eTHBcsRhoz5
23
+ AgMBAAGjOTA3MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBRantBs
24
+ lWlXJHkbgPC7Q4C1cpH1yjANBgkqhkiG9w0BAQUFAAOCAQEAw44FXcLIHHmaHom5
25
+ DkBnM6QAR3MzNlNnbf50NohNnuhytO3ItquK2LxJ4+6qvaNtx5Ekpn6hnkXmmeYQ
26
+ UNuFF32LoP4yseIFDVQgraf4KtswETCvoN6aow97/MJi8y9FwLfWTpUrnBii00yc
27
+ T7sSLOyf+/+psUBv7Df4hQS3cQNyZBIrrmwOpwDzSapmHZK3ieHPVDo3Hfy6e2uU
28
+ hCGYhckGWcVXStQ9zbV+NAaN2/TCsXOhI6tigH7FGnqGUu2nnGkhrjG9oucnD5vI
29
+ flNUDalZY8cjn6X4BNBdanjAKMf4+lvTwapt9ZeE2nKeE4rrMBJASTuPsLYO2qBQ
30
+ KWTqcg==
31
+ -----END CERTIFICATE-----
32
+
33
+ date: 2008-07-15 00:00:00 +09:00
34
+ default_executable:
35
+ dependencies:
36
+ - !ruby/object:Gem::Dependency
37
+ name: hoe
38
+ type: :development
39
+ version_requirement:
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ version: 1.7.0
45
+ version:
46
+ description: You can generate template files easy and beautiful by this scaffold generator for Ruby on Rails. These templates are based on http://www.webresourcesdepot.com/free-admin-template-for-web-applications/
47
+ email:
48
+ - maimuzo@gmail.com
49
+ executables: []
50
+
51
+ extensions: []
52
+
53
+ extra_rdoc_files:
54
+ - History.txt
55
+ - License.txt
56
+ - Manifest.txt
57
+ - PostInstall.txt
58
+ - README.txt
59
+ - website/index.txt
60
+ files:
61
+ - History.txt
62
+ - License.txt
63
+ - Manifest.txt
64
+ - PostInstall.txt
65
+ - README.txt
66
+ - Rakefile
67
+ - USAGE
68
+ - adminpage_scaffold_generator.rb
69
+ - config/hoe.rb
70
+ - config/requirements.rb
71
+ - lib/adminpage.rb
72
+ - lib/adminpage/version.rb
73
+ - script/console
74
+ - script/destroy
75
+ - script/generate
76
+ - script/txt2html
77
+ - setup.rb
78
+ - spec/adminpage_spec.rb
79
+ - spec/spec.opts
80
+ - spec/spec_helper.rb
81
+ - tasks/deployment.rake
82
+ - tasks/environment.rake
83
+ - tasks/rspec.rake
84
+ - tasks/website.rake
85
+ - templates/adminpage.css
86
+ - templates/controller.rb
87
+ - templates/functional_test.rb
88
+ - templates/helper.rb
89
+ - templates/images/add-icon.gif
90
+ - templates/images/arrow.gif
91
+ - templates/images/bg-center-column.jpg
92
+ - templates/images/bg-dotted.gif
93
+ - templates/images/bg-footer.gif
94
+ - templates/images/bg-header.gif
95
+ - templates/images/bg-left-header.gif
96
+ - templates/images/bg-left-link.gif
97
+ - templates/images/bg-middle.gif
98
+ - templates/images/bg-orange-button.gif
99
+ - templates/images/bg-select.gif
100
+ - templates/images/bg-th-left.gif
101
+ - templates/images/bg-th-right.gif
102
+ - templates/images/delete.png
103
+ - templates/images/edit-icon.gif
104
+ - templates/images/exclamation.png
105
+ - templates/images/hr.gif
106
+ - templates/images/info.png
107
+ - templates/images/login-icon.gif
108
+ - templates/images/logo.gif
109
+ - templates/images/logo_1.gif
110
+ - templates/images/magnifier.png
111
+ - templates/images/msg_Info.png
112
+ - templates/images/msg_error.png
113
+ - templates/images/msg_success.png
114
+ - templates/images/msg_validation.png
115
+ - templates/images/msg_warning.png
116
+ - templates/images/save-icon.gif
117
+ - templates/images/tab-active-left.gif
118
+ - templates/images/tab-active-right.gif
119
+ - templates/images/tab-active.gif
120
+ - templates/images/tab-left.gif
121
+ - templates/images/tab-right.gif
122
+ - templates/images/tab.gif
123
+ - templates/layout.html.erb
124
+ - templates/messagebox.css
125
+ - templates/view_edit.html.erb
126
+ - templates/view_index.html.erb
127
+ - templates/view_new.html.erb
128
+ - templates/view_show.html.erb
129
+ - website/index.html
130
+ - website/index.txt
131
+ - website/javascripts/rounded_corners_lite.inc.js
132
+ - website/stylesheets/screen.css
133
+ - website/template.html.erb
134
+ has_rdoc: true
135
+ homepage: http://adminpage.rubyforge.org
136
+ post_install_message: |+
137
+
138
+ (YOUR_RAILS_ROOT)$ script/generate adminpage_scaffold model [column:type [column:type]]
139
+
140
+ See more options:
141
+ (YOUR_RAILS_ROOT)$ script/generate adminpage_scaffold --help
142
+
143
+ For more information on adminpage_scaffold_generator, see http://adminpage.rubyforge.org
144
+
145
+ rdoc_options:
146
+ - --main
147
+ - README.txt
148
+ require_paths:
149
+ - lib
150
+ required_ruby_version: !ruby/object:Gem::Requirement
151
+ requirements:
152
+ - - ">="
153
+ - !ruby/object:Gem::Version
154
+ version: "0"
155
+ version:
156
+ required_rubygems_version: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - ">="
159
+ - !ruby/object:Gem::Version
160
+ version: "0"
161
+ version:
162
+ requirements: []
163
+
164
+ rubyforge_project: adminpage
165
+ rubygems_version: 1.2.0
166
+ signing_key:
167
+ specification_version: 2
168
+ summary: You can generate template files easy and beautiful by this scaffold generator for Ruby on Rails. These templates are based on http://www.webresourcesdepot.com/free-admin-template-for-web-applications/
169
+ test_files: []
170
+
metadata.gz.sig ADDED
Binary file