casein 3.1.0
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/Gemfile +1 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +215 -0
- data/Rakefile +40 -0
- data/app/controllers/casein/casein_controller.rb +72 -0
- data/app/controllers/casein/password_resets_controller.rb +66 -0
- data/app/controllers/casein/user_sessions_controller.rb +40 -0
- data/app/controllers/casein/users_controller.rb +102 -0
- data/app/helpers/casein/casein_helper.rb +170 -0
- data/app/mailers/casein/casein_notification.rb +44 -0
- data/app/models/casein/user.rb +55 -0
- data/app/models/casein/user_session.rb +8 -0
- data/app/views/casein/casein/blank.html.erb +1 -0
- data/app/views/casein/casein_notification/generate_new_password.erb +12 -0
- data/app/views/casein/casein_notification/new_user_information.erb +12 -0
- data/app/views/casein/casein_notification/password_reset_instructions.erb +11 -0
- data/app/views/casein/password_resets/edit.html.erb +48 -0
- data/app/views/casein/user_sessions/new.html.erb +66 -0
- data/app/views/casein/users/index.html.erb +35 -0
- data/app/views/casein/users/new.html.erb +46 -0
- data/app/views/casein/users/show.html.erb +94 -0
- data/app/views/layouts/casein_auth.html.erb +24 -0
- data/app/views/layouts/casein_main.html.erb +61 -0
- data/config/routes.rb +19 -0
- data/lib/casein.rb +3 -0
- data/lib/casein/engine.rb +12 -0
- data/lib/generators/casein/install/USAGE +1 -0
- data/lib/generators/casein/install/install_generator.rb +37 -0
- data/lib/generators/casein/install/templates/app/helpers/casein/config_helper.rb +46 -0
- data/lib/generators/casein/install/templates/app/views/casein/layouts/_left_navigation.html.erb +2 -0
- data/lib/generators/casein/install/templates/app/views/casein/layouts/_right_navigation.html.erb +1 -0
- data/lib/generators/casein/install/templates/db/migrate/casein_create_users.rb +30 -0
- data/lib/generators/casein/install/templates/public/casein/javascripts/custom.js +3 -0
- data/lib/generators/casein/install/templates/public/casein/stylesheets/custom.css +3 -0
- data/lib/generators/casein/install/templates/public/robots.txt +5 -0
- data/lib/generators/casein/scaffold/USAGE +1 -0
- data/lib/generators/casein/scaffold/scaffold_generator.rb +97 -0
- data/lib/generators/casein/scaffold/templates/controller.rb +60 -0
- data/lib/generators/casein/scaffold/templates/migration.rb +13 -0
- data/lib/generators/casein/scaffold/templates/model.rb +3 -0
- data/lib/generators/casein/scaffold/templates/views/_form.html.erb +9 -0
- data/lib/generators/casein/scaffold/templates/views/_table.html.erb +17 -0
- data/lib/generators/casein/scaffold/templates/views/index.html.erb +11 -0
- data/lib/generators/casein/scaffold/templates/views/new.html.erb +18 -0
- data/lib/generators/casein/scaffold/templates/views/show.html.erb +18 -0
- data/lib/generators/casein/update/USAGE +1 -0
- data/lib/generators/casein/update/templates/public/casein/images/casein.png +0 -0
- data/lib/generators/casein/update/templates/public/casein/images/header.png +0 -0
- data/lib/generators/casein/update/templates/public/casein/images/icons/add.png +0 -0
- data/lib/generators/casein/update/templates/public/casein/images/icons/delete.png +0 -0
- data/lib/generators/casein/update/templates/public/casein/images/icons/table.png +0 -0
- data/lib/generators/casein/update/templates/public/casein/images/login/alertBg.png +0 -0
- data/lib/generators/casein/update/templates/public/casein/images/login/background.png +0 -0
- data/lib/generators/casein/update/templates/public/casein/images/login/bottom.png +0 -0
- data/lib/generators/casein/update/templates/public/casein/images/login/loginBoxBg.png +0 -0
- data/lib/generators/casein/update/templates/public/casein/images/login/loginBoxBottom.png +0 -0
- data/lib/generators/casein/update/templates/public/casein/images/login/loginBoxTop.png +0 -0
- data/lib/generators/casein/update/templates/public/casein/images/login/loginSubmit.png +0 -0
- data/lib/generators/casein/update/templates/public/casein/images/login/recoverSubmit.png +0 -0
- data/lib/generators/casein/update/templates/public/casein/images/login/top.png +0 -0
- data/lib/generators/casein/update/templates/public/casein/images/nav.png +0 -0
- data/lib/generators/casein/update/templates/public/casein/images/rightNav.png +0 -0
- data/lib/generators/casein/update/templates/public/casein/images/rightNavButton.png +0 -0
- data/lib/generators/casein/update/templates/public/casein/images/visitSiteNav.png +0 -0
- data/lib/generators/casein/update/templates/public/casein/javascripts/casein.js +25 -0
- data/lib/generators/casein/update/templates/public/casein/javascripts/jquery.js +154 -0
- data/lib/generators/casein/update/templates/public/casein/javascripts/login.js +24 -0
- data/lib/generators/casein/update/templates/public/casein/javascripts/rails.js +132 -0
- data/lib/generators/casein/update/templates/public/casein/stylesheets/elements.css +307 -0
- data/lib/generators/casein/update/templates/public/casein/stylesheets/login.css +133 -0
- data/lib/generators/casein/update/templates/public/casein/stylesheets/screen.css +206 -0
- data/lib/generators/casein/update/update_generator.rb +40 -0
- data/lib/railties/tasks.rake +31 -0
- data/test/casein3_test.rb +8 -0
- data/test/test_helper.rb +3 -0
- metadata +174 -0
@@ -0,0 +1,133 @@
|
|
1
|
+
/* CASEIN LOGIN */
|
2
|
+
|
3
|
+
* {
|
4
|
+
margin: 0;
|
5
|
+
padding: 0;
|
6
|
+
}
|
7
|
+
|
8
|
+
body {
|
9
|
+
background: #efefef;
|
10
|
+
text-align: center;
|
11
|
+
font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
|
12
|
+
}
|
13
|
+
|
14
|
+
#header {
|
15
|
+
background: #efefef url(/casein/images/login/top.png) repeat-x bottom left;
|
16
|
+
padding: 80px 0 40px 0;
|
17
|
+
}
|
18
|
+
|
19
|
+
#header h1 a img {
|
20
|
+
border: 0;
|
21
|
+
}
|
22
|
+
|
23
|
+
#header h1 a {
|
24
|
+
display: block;
|
25
|
+
width: 230px;
|
26
|
+
height: 33px;
|
27
|
+
margin: 0 auto;
|
28
|
+
}
|
29
|
+
|
30
|
+
#content {
|
31
|
+
background: #fff url(/casein/images/login/bottom.png) repeat-x bottom left;
|
32
|
+
padding: 70px 0;
|
33
|
+
}
|
34
|
+
|
35
|
+
#content label {
|
36
|
+
display: block;
|
37
|
+
font-size: 12px;
|
38
|
+
padding: 0 0 5px 0;
|
39
|
+
color: #444;
|
40
|
+
}
|
41
|
+
|
42
|
+
#content .text {
|
43
|
+
width: 318px;
|
44
|
+
margin: 0 auto;
|
45
|
+
text-align: left;
|
46
|
+
}
|
47
|
+
|
48
|
+
#content .text h3 {
|
49
|
+
color: #444;
|
50
|
+
font-size: 12px;
|
51
|
+
margin: 0 0 5px 0;
|
52
|
+
text-align: left;
|
53
|
+
}
|
54
|
+
|
55
|
+
#content .caseinTextField {
|
56
|
+
width: 292px;
|
57
|
+
padding: 8px 12px 7px 12px;
|
58
|
+
background: #efefef;
|
59
|
+
margin: 0 0 5px 0;
|
60
|
+
}
|
61
|
+
|
62
|
+
#content .submit_remember {
|
63
|
+
width: 318px;
|
64
|
+
text-align: left;
|
65
|
+
margin: 10px auto 0 auto;
|
66
|
+
font-size: 11px;
|
67
|
+
color: #444;
|
68
|
+
}
|
69
|
+
|
70
|
+
#content .caseinSubmit {
|
71
|
+
background: #338018;
|
72
|
+
border: medium none;
|
73
|
+
color: #fff;
|
74
|
+
font-size: 10px;
|
75
|
+
padding: 4px 5px 5px 5px;
|
76
|
+
cursor: pointer;
|
77
|
+
}
|
78
|
+
|
79
|
+
#content .caseinSubmit:hover {
|
80
|
+
background: #4ebf26;
|
81
|
+
}
|
82
|
+
|
83
|
+
#content .caseinSubmitBlue {
|
84
|
+
background: #5990CE;
|
85
|
+
border: medium none;
|
86
|
+
color: #fff;
|
87
|
+
font-size: 10px;
|
88
|
+
padding: 4px 5px 5px 5px;
|
89
|
+
cursor: pointer;
|
90
|
+
}
|
91
|
+
|
92
|
+
#content .caseinSubmitBlue:hover {
|
93
|
+
background: #71b4ff;
|
94
|
+
}
|
95
|
+
|
96
|
+
#content .error {
|
97
|
+
height: auto;
|
98
|
+
font-size: 11px;
|
99
|
+
color: #c30;
|
100
|
+
width: 318px;
|
101
|
+
text-align: center;
|
102
|
+
margin: 0 auto 10px auto;
|
103
|
+
}
|
104
|
+
|
105
|
+
#content .notice {
|
106
|
+
height: auto;
|
107
|
+
font-size: 11px;
|
108
|
+
color: green;
|
109
|
+
width: 318px;
|
110
|
+
text-align: center;
|
111
|
+
margin: 0 auto 10px auto;
|
112
|
+
}
|
113
|
+
|
114
|
+
#recover {
|
115
|
+
padding: 30px 0 0 0;
|
116
|
+
display: none;
|
117
|
+
}
|
118
|
+
|
119
|
+
#footer {
|
120
|
+
padding: 25px;
|
121
|
+
font-size: 11px;
|
122
|
+
color: #555;
|
123
|
+
}
|
124
|
+
|
125
|
+
#footer a {
|
126
|
+
font-size: 11px;
|
127
|
+
color: #4d8bb3;
|
128
|
+
text-decoration: none;
|
129
|
+
}
|
130
|
+
|
131
|
+
#footer a:hover {
|
132
|
+
color: #222;
|
133
|
+
}
|
@@ -0,0 +1,206 @@
|
|
1
|
+
/* CASEIN */
|
2
|
+
|
3
|
+
/* GENERAL */
|
4
|
+
|
5
|
+
* {
|
6
|
+
margin: 0;
|
7
|
+
padding: 0;
|
8
|
+
}
|
9
|
+
|
10
|
+
body {
|
11
|
+
height: 100%;
|
12
|
+
max-height: 100%;
|
13
|
+
overflow: hidden;
|
14
|
+
background: white;
|
15
|
+
color: black;
|
16
|
+
font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
|
17
|
+
margin: 0;
|
18
|
+
padding: 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
img {
|
22
|
+
border: none;
|
23
|
+
}
|
24
|
+
|
25
|
+
.spacer {
|
26
|
+
width: 100%;
|
27
|
+
height: 150px;
|
28
|
+
}
|
29
|
+
|
30
|
+
.clearer {
|
31
|
+
font-size: 1px;
|
32
|
+
clear: both;
|
33
|
+
}
|
34
|
+
|
35
|
+
/* END OF GENERAL */
|
36
|
+
|
37
|
+
/* LOGIN */
|
38
|
+
|
39
|
+
div.loginBox {
|
40
|
+
width: 300px;
|
41
|
+
height: auto;
|
42
|
+
text-align: center;
|
43
|
+
}
|
44
|
+
|
45
|
+
/* END OF LOGIN */
|
46
|
+
|
47
|
+
/* HEADER */
|
48
|
+
|
49
|
+
#header {
|
50
|
+
background: #EFEFEF;
|
51
|
+
height: 96px;
|
52
|
+
padding: 25px;
|
53
|
+
position: relative;
|
54
|
+
background: url(/casein/images/header.png) repeat-x top left;
|
55
|
+
z-index: 900;
|
56
|
+
}
|
57
|
+
|
58
|
+
#header h1 a img {
|
59
|
+
border: 0;
|
60
|
+
}
|
61
|
+
|
62
|
+
#header h1 a {
|
63
|
+
display: block;
|
64
|
+
width: 230px;
|
65
|
+
height: 33px;
|
66
|
+
text-decoration: none;
|
67
|
+
}
|
68
|
+
|
69
|
+
#dashboard {
|
70
|
+
position: absolute;
|
71
|
+
top: 15px;
|
72
|
+
right: 25px;
|
73
|
+
font-size: 11px;
|
74
|
+
}
|
75
|
+
|
76
|
+
#dashboard ul {
|
77
|
+
list-style: none;
|
78
|
+
}
|
79
|
+
|
80
|
+
#dashboard li {
|
81
|
+
float: left;
|
82
|
+
border-right: 1px solid #ccc;
|
83
|
+
padding: 0 10px 0 0;
|
84
|
+
margin: 0 0 0 10px;
|
85
|
+
color: #777;
|
86
|
+
}
|
87
|
+
|
88
|
+
#dashboard li a {
|
89
|
+
color: #555;
|
90
|
+
font-weight: bold;
|
91
|
+
text-decoration: none;
|
92
|
+
}
|
93
|
+
|
94
|
+
#dashboard li a:hover {
|
95
|
+
color: #000;
|
96
|
+
}
|
97
|
+
|
98
|
+
#navigation {
|
99
|
+
position: absolute;
|
100
|
+
bottom: 28px;
|
101
|
+
left: 25px;
|
102
|
+
font-size: 13px;
|
103
|
+
font-weight: bold;
|
104
|
+
}
|
105
|
+
|
106
|
+
#navigation ul {
|
107
|
+
list-style: none;
|
108
|
+
}
|
109
|
+
|
110
|
+
#navigation li {
|
111
|
+
float: left;
|
112
|
+
margin: 0 2px 0 0;
|
113
|
+
}
|
114
|
+
|
115
|
+
#navigation li a {
|
116
|
+
color: #fff;
|
117
|
+
padding: 11px 12px 9px 12px;
|
118
|
+
background: url(/casein/images/nav.png) repeat-x bottom left;
|
119
|
+
text-decoration: none;
|
120
|
+
}
|
121
|
+
|
122
|
+
#navigation li a:hover {
|
123
|
+
padding: 11px 12px 9px 12px;
|
124
|
+
background: url(/casein/images/nav.png) repeat-x top left;
|
125
|
+
color: #000;
|
126
|
+
}
|
127
|
+
|
128
|
+
#navigation .active a {
|
129
|
+
background: url(/casein/images/nav.png) repeat-x top left;
|
130
|
+
color: #000;
|
131
|
+
}
|
132
|
+
|
133
|
+
#altNavigation {
|
134
|
+
position: absolute;
|
135
|
+
bottom: 19px;
|
136
|
+
right: 25px;
|
137
|
+
font-size: 13px;
|
138
|
+
font-weight: bold;
|
139
|
+
}
|
140
|
+
|
141
|
+
#altNavigation ul {
|
142
|
+
list-style: none;
|
143
|
+
}
|
144
|
+
|
145
|
+
#altNavigation li {
|
146
|
+
float: left;
|
147
|
+
margin: 0 2px 0 0;
|
148
|
+
}
|
149
|
+
|
150
|
+
#altNavigation li a {
|
151
|
+
color: #fff;
|
152
|
+
display: block;
|
153
|
+
padding: 12px 12px 10px 12px;
|
154
|
+
background: url(/casein/images/visitSiteNav.png) repeat-x top left;
|
155
|
+
text-decoration: none;
|
156
|
+
}
|
157
|
+
|
158
|
+
#altNavigation li a:hover {
|
159
|
+
background: url(/casein/images/visitSiteNav.png) repeat-x bottom left;
|
160
|
+
color: #000;
|
161
|
+
}
|
162
|
+
|
163
|
+
/* END OF HEADER */
|
164
|
+
|
165
|
+
/* RIGHT BAR */
|
166
|
+
|
167
|
+
#rightBar {
|
168
|
+
position: absolute;
|
169
|
+
right: 0;
|
170
|
+
top: 0;
|
171
|
+
width: 312px;
|
172
|
+
padding: 0 0 0 6px;
|
173
|
+
height: 100%;
|
174
|
+
background: url(/casein/images/rightNav.png) repeat-y top left;
|
175
|
+
z-index: 10;
|
176
|
+
}
|
177
|
+
|
178
|
+
#rightBar ul {
|
179
|
+
list-style: none;
|
180
|
+
}
|
181
|
+
|
182
|
+
#rightBar li {
|
183
|
+
font-size: 12px;
|
184
|
+
margin: 0 0 12px 0;
|
185
|
+
}
|
186
|
+
|
187
|
+
#rightBar li a {
|
188
|
+
display: block;
|
189
|
+
width: 288px;
|
190
|
+
background: url(/casein/images/rightNavButton.png) no-repeat top left;
|
191
|
+
padding: 11px 0 11px 0;
|
192
|
+
color: #555;
|
193
|
+
text-decoration: none;
|
194
|
+
}
|
195
|
+
|
196
|
+
#rightBar li a:hover {
|
197
|
+
background: url(/casein/images/rightNavButton.png) no-repeat bottom left;
|
198
|
+
color: #000;
|
199
|
+
}
|
200
|
+
|
201
|
+
#rightBar .active a {
|
202
|
+
background: url(/casein/images/rightNavButton.png) no-repeat bottom left;
|
203
|
+
color: #000;
|
204
|
+
}
|
205
|
+
|
206
|
+
/* END OF RIGHT BAR */
|
@@ -0,0 +1,40 @@
|
|
1
|
+
module Casein
|
2
|
+
class UpdateGenerator < Rails::Generators::Base
|
3
|
+
|
4
|
+
source_root File.expand_path('../templates', __FILE__)
|
5
|
+
|
6
|
+
def generate_files
|
7
|
+
puts "*** Updating Casein public assets. These should not be modified as they may be overwritten in future updates. ***"
|
8
|
+
|
9
|
+
#stylesheets
|
10
|
+
copy_file "public/casein/stylesheets/screen.css", "public/casein/stylesheets/screen.css"
|
11
|
+
copy_file "public/casein/stylesheets/elements.css", "public/casein/stylesheets/elements.css"
|
12
|
+
copy_file "public/casein/stylesheets/login.css", "public/casein/stylesheets/login.css"
|
13
|
+
|
14
|
+
#javascripts
|
15
|
+
copy_file "public/casein/javascripts/casein.js", "public/casein/javascripts/casein.js"
|
16
|
+
copy_file "public/casein/javascripts/login.js", "public/casein/javascripts/login.js"
|
17
|
+
copy_file "public/casein/javascripts/jquery.js", "public/casein/javascripts/jquery.js"
|
18
|
+
copy_file "public/casein/javascripts/rails.js", "public/casein/javascripts/rails.js"
|
19
|
+
|
20
|
+
#images
|
21
|
+
copy_file "public/casein/images/header.png", "public/casein/images/header.png"
|
22
|
+
copy_file "public/casein/images/nav.png", "public/casein/images/nav.png"
|
23
|
+
copy_file "public/casein/images/rightNav.png", "public/casein/images/rightNav.png"
|
24
|
+
copy_file "public/casein/images/rightNavButton.png", "public/casein/images/rightNavButton.png"
|
25
|
+
copy_file "public/casein/images/casein.png", "public/casein/images/casein.png"
|
26
|
+
copy_file "public/casein/images/visitSiteNav.png", "public/casein/images/visitSiteNav.png"
|
27
|
+
copy_file "public/casein/images/login/top.png", "public/casein/images/login/top.png"
|
28
|
+
copy_file "public/casein/images/login/bottom.png", "public/casein/images/login/bottom.png"
|
29
|
+
|
30
|
+
#icons
|
31
|
+
all_icons = Dir.new(File.expand_path('../templates/public/casein/images/icons/', __FILE__)).entries
|
32
|
+
|
33
|
+
for icon in all_icons
|
34
|
+
if File.extname(icon) == ".png"
|
35
|
+
copy_file "public/casein/images/icons/#{icon}", "public/casein/images/icons/#{icon}"
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
require 'authlogic'
|
2
|
+
|
3
|
+
namespace :casein do
|
4
|
+
|
5
|
+
namespace :users do
|
6
|
+
|
7
|
+
desc "Create default admin user"
|
8
|
+
task :create_admin => :environment do
|
9
|
+
|
10
|
+
raise "Usage: specify email address, e.g. rake [task] email=mail@caseincms.com" unless ENV.include?("email")
|
11
|
+
|
12
|
+
admin = Casein::User.new( {:login => 'admin', :name => 'Admin', :email => ENV['email'], :access_level => $CASEIN_USER_ACCESS_LEVEL_ADMIN, :password => 'password', :password_confirmation => 'password'} )
|
13
|
+
|
14
|
+
unless admin.save
|
15
|
+
puts "[Casein] Failed: check that the 'admin' account doesn't already exist."
|
16
|
+
else
|
17
|
+
puts "[Casein] Created new admin user with login 'admin' and password 'password'"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
desc "Remove all users"
|
22
|
+
task :remove_all => :environment do
|
23
|
+
users = Casein::User.find(:all)
|
24
|
+
num_users = users.size
|
25
|
+
users.each { |user| user.destroy }
|
26
|
+
puts "[Casein] Removed #{num_users} user(s)"
|
27
|
+
end
|
28
|
+
|
29
|
+
end
|
30
|
+
|
31
|
+
end
|
data/test/test_helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,174 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: casein
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 3
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 3
|
8
|
+
- 1
|
9
|
+
- 0
|
10
|
+
version: 3.1.0
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Russell Quinn
|
14
|
+
- Spoiled Milk
|
15
|
+
autorequire:
|
16
|
+
bindir: bin
|
17
|
+
cert_chain: []
|
18
|
+
|
19
|
+
date: 2010-08-25 00:00:00 +02:00
|
20
|
+
default_executable:
|
21
|
+
dependencies:
|
22
|
+
- !ruby/object:Gem::Dependency
|
23
|
+
name: will_paginate
|
24
|
+
prerelease: false
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ~>
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
hash: -1876988247
|
31
|
+
segments:
|
32
|
+
- 3
|
33
|
+
- 0
|
34
|
+
- pre2
|
35
|
+
version: 3.0.pre2
|
36
|
+
type: :runtime
|
37
|
+
version_requirements: *id001
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
name: authlogic
|
40
|
+
prerelease: false
|
41
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - "="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
hash: 7
|
47
|
+
segments:
|
48
|
+
- 2
|
49
|
+
- 1
|
50
|
+
- 6
|
51
|
+
version: 2.1.6
|
52
|
+
type: :runtime
|
53
|
+
version_requirements: *id002
|
54
|
+
description: Casein is an open source CMS for Ruby on Rails, originally developed by Spoiled Milk.
|
55
|
+
email: mail@russellquinn.com
|
56
|
+
executables: []
|
57
|
+
|
58
|
+
extensions: []
|
59
|
+
|
60
|
+
extra_rdoc_files:
|
61
|
+
- README.rdoc
|
62
|
+
files:
|
63
|
+
- Gemfile
|
64
|
+
- MIT-LICENSE
|
65
|
+
- README.rdoc
|
66
|
+
- Rakefile
|
67
|
+
- app/controllers/casein/casein_controller.rb
|
68
|
+
- app/controllers/casein/password_resets_controller.rb
|
69
|
+
- app/controllers/casein/user_sessions_controller.rb
|
70
|
+
- app/controllers/casein/users_controller.rb
|
71
|
+
- app/helpers/casein/casein_helper.rb
|
72
|
+
- app/mailers/casein/casein_notification.rb
|
73
|
+
- app/models/casein/user.rb
|
74
|
+
- app/models/casein/user_session.rb
|
75
|
+
- app/views/casein/casein/blank.html.erb
|
76
|
+
- app/views/casein/casein_notification/generate_new_password.erb
|
77
|
+
- app/views/casein/casein_notification/new_user_information.erb
|
78
|
+
- app/views/casein/casein_notification/password_reset_instructions.erb
|
79
|
+
- app/views/casein/password_resets/edit.html.erb
|
80
|
+
- app/views/casein/user_sessions/new.html.erb
|
81
|
+
- app/views/casein/users/index.html.erb
|
82
|
+
- app/views/casein/users/new.html.erb
|
83
|
+
- app/views/casein/users/show.html.erb
|
84
|
+
- app/views/layouts/casein_auth.html.erb
|
85
|
+
- app/views/layouts/casein_main.html.erb
|
86
|
+
- config/routes.rb
|
87
|
+
- lib/casein.rb
|
88
|
+
- lib/casein/engine.rb
|
89
|
+
- lib/generators/casein/install/USAGE
|
90
|
+
- lib/generators/casein/install/install_generator.rb
|
91
|
+
- lib/generators/casein/install/templates/app/helpers/casein/config_helper.rb
|
92
|
+
- lib/generators/casein/install/templates/app/views/casein/layouts/_left_navigation.html.erb
|
93
|
+
- lib/generators/casein/install/templates/app/views/casein/layouts/_right_navigation.html.erb
|
94
|
+
- lib/generators/casein/install/templates/db/migrate/casein_create_users.rb
|
95
|
+
- lib/generators/casein/install/templates/public/casein/javascripts/custom.js
|
96
|
+
- lib/generators/casein/install/templates/public/casein/stylesheets/custom.css
|
97
|
+
- lib/generators/casein/install/templates/public/robots.txt
|
98
|
+
- lib/generators/casein/scaffold/USAGE
|
99
|
+
- lib/generators/casein/scaffold/scaffold_generator.rb
|
100
|
+
- lib/generators/casein/scaffold/templates/controller.rb
|
101
|
+
- lib/generators/casein/scaffold/templates/migration.rb
|
102
|
+
- lib/generators/casein/scaffold/templates/model.rb
|
103
|
+
- lib/generators/casein/scaffold/templates/views/_form.html.erb
|
104
|
+
- lib/generators/casein/scaffold/templates/views/_table.html.erb
|
105
|
+
- lib/generators/casein/scaffold/templates/views/index.html.erb
|
106
|
+
- lib/generators/casein/scaffold/templates/views/new.html.erb
|
107
|
+
- lib/generators/casein/scaffold/templates/views/show.html.erb
|
108
|
+
- lib/generators/casein/update/USAGE
|
109
|
+
- lib/generators/casein/update/templates/public/casein/images/casein.png
|
110
|
+
- lib/generators/casein/update/templates/public/casein/images/header.png
|
111
|
+
- lib/generators/casein/update/templates/public/casein/images/icons/add.png
|
112
|
+
- lib/generators/casein/update/templates/public/casein/images/icons/delete.png
|
113
|
+
- lib/generators/casein/update/templates/public/casein/images/icons/table.png
|
114
|
+
- lib/generators/casein/update/templates/public/casein/images/login/alertBg.png
|
115
|
+
- lib/generators/casein/update/templates/public/casein/images/login/background.png
|
116
|
+
- lib/generators/casein/update/templates/public/casein/images/login/bottom.png
|
117
|
+
- lib/generators/casein/update/templates/public/casein/images/login/loginBoxBg.png
|
118
|
+
- lib/generators/casein/update/templates/public/casein/images/login/loginBoxBottom.png
|
119
|
+
- lib/generators/casein/update/templates/public/casein/images/login/loginBoxTop.png
|
120
|
+
- lib/generators/casein/update/templates/public/casein/images/login/loginSubmit.png
|
121
|
+
- lib/generators/casein/update/templates/public/casein/images/login/recoverSubmit.png
|
122
|
+
- lib/generators/casein/update/templates/public/casein/images/login/top.png
|
123
|
+
- lib/generators/casein/update/templates/public/casein/images/nav.png
|
124
|
+
- lib/generators/casein/update/templates/public/casein/images/rightNav.png
|
125
|
+
- lib/generators/casein/update/templates/public/casein/images/rightNavButton.png
|
126
|
+
- lib/generators/casein/update/templates/public/casein/images/visitSiteNav.png
|
127
|
+
- lib/generators/casein/update/templates/public/casein/javascripts/casein.js
|
128
|
+
- lib/generators/casein/update/templates/public/casein/javascripts/jquery.js
|
129
|
+
- lib/generators/casein/update/templates/public/casein/javascripts/login.js
|
130
|
+
- lib/generators/casein/update/templates/public/casein/javascripts/rails.js
|
131
|
+
- lib/generators/casein/update/templates/public/casein/stylesheets/elements.css
|
132
|
+
- lib/generators/casein/update/templates/public/casein/stylesheets/login.css
|
133
|
+
- lib/generators/casein/update/templates/public/casein/stylesheets/screen.css
|
134
|
+
- lib/generators/casein/update/update_generator.rb
|
135
|
+
- lib/railties/tasks.rake
|
136
|
+
- test/casein3_test.rb
|
137
|
+
- test/test_helper.rb
|
138
|
+
has_rdoc: true
|
139
|
+
homepage: http://github.com/spoiledmilk/casein3
|
140
|
+
licenses: []
|
141
|
+
|
142
|
+
post_install_message:
|
143
|
+
rdoc_options:
|
144
|
+
- --charset=UTF-8
|
145
|
+
require_paths:
|
146
|
+
- lib
|
147
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
148
|
+
none: false
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
hash: 3
|
153
|
+
segments:
|
154
|
+
- 0
|
155
|
+
version: "0"
|
156
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
157
|
+
none: false
|
158
|
+
requirements:
|
159
|
+
- - ">="
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
hash: 3
|
162
|
+
segments:
|
163
|
+
- 0
|
164
|
+
version: "0"
|
165
|
+
requirements: []
|
166
|
+
|
167
|
+
rubyforge_project:
|
168
|
+
rubygems_version: 1.3.7
|
169
|
+
signing_key:
|
170
|
+
specification_version: 3
|
171
|
+
summary: A lightweight Ruby on Rails CMS.
|
172
|
+
test_files:
|
173
|
+
- test/casein3_test.rb
|
174
|
+
- test/test_helper.rb
|