gdonald-railsdb 0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE.txt +674 -0
- data/README.txt +40 -0
- data/README_RAILS.txt +204 -0
- data/Rakefile +31 -0
- data/app/controllers/application.rb +24 -0
- data/app/controllers/database_controller.rb +274 -0
- data/app/controllers/home_controller.rb +366 -0
- data/app/helpers/application_helper.rb +43 -0
- data/app/helpers/home_helper.rb +2 -0
- data/app/models/database.rb +113 -0
- data/app/models/driver.rb +8 -0
- data/app/models/field.rb +117 -0
- data/app/models/group.rb +12 -0
- data/app/models/group_permission.rb +6 -0
- data/app/models/permission.rb +9 -0
- data/app/models/row.rb +26 -0
- data/app/models/switch.rb +85 -0
- data/app/models/table.rb +155 -0
- data/app/models/user.rb +98 -0
- data/app/models/user_group.rb +6 -0
- data/app/views/database/_field.html.erb +20 -0
- data/app/views/database/_field_form.html.erb +28 -0
- data/app/views/database/_insert_form.html.erb +37 -0
- data/app/views/database/_new_field.html.erb +43 -0
- data/app/views/database/_new_field_header.html.erb +12 -0
- data/app/views/database/_pagination.html.erb +14 -0
- data/app/views/database/_row.html.erb +16 -0
- data/app/views/database/_table.html.erb +22 -0
- data/app/views/database/_table_form.html.erb +45 -0
- data/app/views/database/add_fields.html.erb +3 -0
- data/app/views/database/add_table.html.erb +3 -0
- data/app/views/database/blank_field.rjs +6 -0
- data/app/views/database/browse.html.erb +30 -0
- data/app/views/database/del_field.html.erb +31 -0
- data/app/views/database/del_table.html.erb +31 -0
- data/app/views/database/edit_field.html.erb +23 -0
- data/app/views/database/edit_row.html.erb +22 -0
- data/app/views/database/index.html.erb +23 -0
- data/app/views/database/insert.html.erb +3 -0
- data/app/views/database/table.html.erb +30 -0
- data/app/views/home/_database.html.erb +8 -0
- data/app/views/home/_database_form.html.erb +68 -0
- data/app/views/home/_driver.html.erb +5 -0
- data/app/views/home/_driver_form.html.erb +25 -0
- data/app/views/home/_group.html.erb +10 -0
- data/app/views/home/_group_form.html.erb +25 -0
- data/app/views/home/_group_permission.html.erb +4 -0
- data/app/views/home/_permission.html.erb +6 -0
- data/app/views/home/_permission_form.html.erb +32 -0
- data/app/views/home/_user.html.erb +10 -0
- data/app/views/home/_user_form.html.erb +64 -0
- data/app/views/home/_user_group.html.erb +4 -0
- data/app/views/home/add_database.html.erb +3 -0
- data/app/views/home/add_driver.html.erb +3 -0
- data/app/views/home/add_group.html.erb +4 -0
- data/app/views/home/add_permission.html.erb +3 -0
- data/app/views/home/add_user.html.erb +62 -0
- data/app/views/home/bottom.html.erb +17 -0
- data/app/views/home/databases.html.erb +22 -0
- data/app/views/home/del_database.html.erb +31 -0
- data/app/views/home/del_driver.html.erb +32 -0
- data/app/views/home/del_group.html.erb +32 -0
- data/app/views/home/del_group_permission.html.erb +32 -0
- data/app/views/home/del_permission.html.erb +32 -0
- data/app/views/home/del_user.html.erb +33 -0
- data/app/views/home/del_user_group.html.erb +32 -0
- data/app/views/home/drivers.html.erb +20 -0
- data/app/views/home/edit_database.html.erb +3 -0
- data/app/views/home/edit_driver.html.erb +3 -0
- data/app/views/home/edit_group.html.erb +4 -0
- data/app/views/home/edit_permission.html.erb +4 -0
- data/app/views/home/edit_user.html.erb +84 -0
- data/app/views/home/group_permissions.html.erb +38 -0
- data/app/views/home/groups.html.erb +20 -0
- data/app/views/home/index.html.erb +21 -0
- data/app/views/home/login.html.erb +42 -0
- data/app/views/home/menu.html.erb +33 -0
- data/app/views/home/permissions.html.erb +21 -0
- data/app/views/home/top.html.erb +22 -0
- data/app/views/home/user_groups.html.erb +44 -0
- data/app/views/home/users.html.erb +27 -0
- data/app/views/layouts/application.html.erb +18 -0
- data/config/boot.rb +109 -0
- data/config/database.yml +14 -0
- data/config/environment.rb +114 -0
- data/config/environments/development.rb +18 -0
- data/config/environments/production.rb +19 -0
- data/config/environments/test.rb +22 -0
- data/config/initializers/inflections.rb +10 -0
- data/config/initializers/mime_types.rb +5 -0
- data/config/routes.rb +135 -0
- data/db/migrate/001_create_sessions.rb +17 -0
- data/db/migrate/002_create_users.rb +26 -0
- data/db/migrate/003_create_groups.rb +17 -0
- data/db/migrate/004_create_permissions.rb +18 -0
- data/db/migrate/005_create_group_permissions.rb +22 -0
- data/db/migrate/006_create_user_groups.rb +19 -0
- data/db/migrate/007_create_drivers.rb +17 -0
- data/db/migrate/008_create_databases.rb +43 -0
- data/db/schema.rb +91 -0
- data/lib/ignore +0 -0
- data/log/ignore +0 -0
- data/public/404.html +30 -0
- data/public/422.html +30 -0
- data/public/500.html +30 -0
- data/public/dispatch.cgi +10 -0
- data/public/dispatch.fcgi +24 -0
- data/public/dispatch.rb +10 -0
- data/public/favicon.ico +0 -0
- data/public/images/rails.png +0 -0
- data/public/images/ss1.png +0 -0
- data/public/images/ss2.png +0 -0
- data/public/images/ss3.png +0 -0
- data/public/images/ss4.png +0 -0
- data/public/images/ss5.png +0 -0
- data/public/images/ss6.png +0 -0
- data/public/javascripts/application.js +25 -0
- data/public/javascripts/controls.js +963 -0
- data/public/javascripts/dragdrop.js +972 -0
- data/public/javascripts/effects.js +1120 -0
- data/public/javascripts/prototype.js +4225 -0
- data/public/robots.txt +4 -0
- data/public/stylesheets/railsdb.css +227 -0
- data/script/about +3 -0
- data/script/console +3 -0
- data/script/destroy +3 -0
- data/script/generate +3 -0
- data/script/performance/benchmarker +3 -0
- data/script/performance/profiler +3 -0
- data/script/performance/request +3 -0
- data/script/plugin +3 -0
- data/script/process/inspector +3 -0
- data/script/process/reaper +3 -0
- data/script/process/spawner +3 -0
- data/script/runner +3 -0
- data/script/server +3 -0
- data/test/fixtures/databases.yml +7 -0
- data/test/fixtures/drivers.yml +7 -0
- data/test/fixtures/group_permissions.yml +7 -0
- data/test/fixtures/groups.yml +7 -0
- data/test/fixtures/permissions.yml +7 -0
- data/test/fixtures/user_groups.yml +7 -0
- data/test/fixtures/users.yml +18 -0
- data/test/functional/home_controller_test.rb +8 -0
- data/test/test_helper.rb +38 -0
- data/test/unit/database_test.rb +8 -0
- data/test/unit/driver_test.rb +8 -0
- data/test/unit/group_permission_test.rb +8 -0
- data/test/unit/group_test.rb +8 -0
- data/test/unit/permission_test.rb +8 -0
- data/test/unit/user_group_test.rb +8 -0
- data/test/unit/user_test.rb +9 -0
- data/tmp/pids/ignore +0 -0
- data/tmp/sessions/ignore +0 -0
- data/tmp/sockets/ignore +0 -0
- metadata +287 -0
data/tmp/pids/ignore
ADDED
File without changes
|
data/tmp/sessions/ignore
ADDED
File without changes
|
data/tmp/sockets/ignore
ADDED
File without changes
|
metadata
ADDED
@@ -0,0 +1,287 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: gdonald-railsdb
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: "0.2"
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Greg Donald
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-01-20 00:00:00 -08:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: rails
|
17
|
+
version_requirement:
|
18
|
+
version_requirements: !ruby/object:Gem::Requirement
|
19
|
+
requirements:
|
20
|
+
- - "="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.0.2
|
23
|
+
version:
|
24
|
+
description: RailsDB is a web application written in Ruby using the Ruby on Rails web framework. RailsDB provides a generic interface to popular open source databases such as MySQL, PostgreSQL, and SQLite.
|
25
|
+
email: gdonald@gmail.com
|
26
|
+
executables: []
|
27
|
+
|
28
|
+
extensions: []
|
29
|
+
|
30
|
+
extra_rdoc_files:
|
31
|
+
- README.txt
|
32
|
+
files:
|
33
|
+
- ./LICENSE.txt
|
34
|
+
- ./README.txt
|
35
|
+
- ./README_RAILS.txt
|
36
|
+
- ./Rakefile
|
37
|
+
- ./app
|
38
|
+
- ./app/controllers
|
39
|
+
- ./app/controllers/application.rb
|
40
|
+
- ./app/controllers/database_controller.rb
|
41
|
+
- ./app/controllers/home_controller.rb
|
42
|
+
- ./app/helpers
|
43
|
+
- ./app/helpers/application_helper.rb
|
44
|
+
- ./app/helpers/home_helper.rb
|
45
|
+
- ./app/models
|
46
|
+
- ./app/models/database.rb
|
47
|
+
- ./app/models/driver.rb
|
48
|
+
- ./app/models/field.rb
|
49
|
+
- ./app/models/group.rb
|
50
|
+
- ./app/models/group_permission.rb
|
51
|
+
- ./app/models/permission.rb
|
52
|
+
- ./app/models/row.rb
|
53
|
+
- ./app/models/switch.rb
|
54
|
+
- ./app/models/table.rb
|
55
|
+
- ./app/models/user.rb
|
56
|
+
- ./app/models/user_group.rb
|
57
|
+
- ./app/views
|
58
|
+
- ./app/views/database
|
59
|
+
- ./app/views/database/_field.html.erb
|
60
|
+
- ./app/views/database/_field_form.html.erb
|
61
|
+
- ./app/views/database/_insert_form.html.erb
|
62
|
+
- ./app/views/database/_new_field.html.erb
|
63
|
+
- ./app/views/database/_new_field_header.html.erb
|
64
|
+
- ./app/views/database/_pagination.html.erb
|
65
|
+
- ./app/views/database/_row.html.erb
|
66
|
+
- ./app/views/database/_table.html.erb
|
67
|
+
- ./app/views/database/_table_form.html.erb
|
68
|
+
- ./app/views/database/add_fields.html.erb
|
69
|
+
- ./app/views/database/add_table.html.erb
|
70
|
+
- ./app/views/database/blank_field.rjs
|
71
|
+
- ./app/views/database/browse.html.erb
|
72
|
+
- ./app/views/database/del_field.html.erb
|
73
|
+
- ./app/views/database/del_table.html.erb
|
74
|
+
- ./app/views/database/edit_field.html.erb
|
75
|
+
- ./app/views/database/edit_row.html.erb
|
76
|
+
- ./app/views/database/index.html.erb
|
77
|
+
- ./app/views/database/insert.html.erb
|
78
|
+
- ./app/views/database/table.html.erb
|
79
|
+
- ./app/views/home
|
80
|
+
- ./app/views/home/_database.html.erb
|
81
|
+
- ./app/views/home/_database_form.html.erb
|
82
|
+
- ./app/views/home/_driver.html.erb
|
83
|
+
- ./app/views/home/_driver_form.html.erb
|
84
|
+
- ./app/views/home/_group.html.erb
|
85
|
+
- ./app/views/home/_group_form.html.erb
|
86
|
+
- ./app/views/home/_group_permission.html.erb
|
87
|
+
- ./app/views/home/_permission.html.erb
|
88
|
+
- ./app/views/home/_permission_form.html.erb
|
89
|
+
- ./app/views/home/_user.html.erb
|
90
|
+
- ./app/views/home/_user_form.html.erb
|
91
|
+
- ./app/views/home/_user_group.html.erb
|
92
|
+
- ./app/views/home/add_database.html.erb
|
93
|
+
- ./app/views/home/add_driver.html.erb
|
94
|
+
- ./app/views/home/add_group.html.erb
|
95
|
+
- ./app/views/home/add_permission.html.erb
|
96
|
+
- ./app/views/home/add_user.html.erb
|
97
|
+
- ./app/views/home/bottom.html.erb
|
98
|
+
- ./app/views/home/databases.html.erb
|
99
|
+
- ./app/views/home/del_database.html.erb
|
100
|
+
- ./app/views/home/del_driver.html.erb
|
101
|
+
- ./app/views/home/del_group.html.erb
|
102
|
+
- ./app/views/home/del_group_permission.html.erb
|
103
|
+
- ./app/views/home/del_permission.html.erb
|
104
|
+
- ./app/views/home/del_user.html.erb
|
105
|
+
- ./app/views/home/del_user_group.html.erb
|
106
|
+
- ./app/views/home/drivers.html.erb
|
107
|
+
- ./app/views/home/edit_database.html.erb
|
108
|
+
- ./app/views/home/edit_driver.html.erb
|
109
|
+
- ./app/views/home/edit_group.html.erb
|
110
|
+
- ./app/views/home/edit_permission.html.erb
|
111
|
+
- ./app/views/home/edit_user.html.erb
|
112
|
+
- ./app/views/home/group_permissions.html.erb
|
113
|
+
- ./app/views/home/groups.html.erb
|
114
|
+
- ./app/views/home/index.html.erb
|
115
|
+
- ./app/views/home/login.html.erb
|
116
|
+
- ./app/views/home/menu.html.erb
|
117
|
+
- ./app/views/home/permissions.html.erb
|
118
|
+
- ./app/views/home/top.html.erb
|
119
|
+
- ./app/views/home/user_groups.html.erb
|
120
|
+
- ./app/views/home/users.html.erb
|
121
|
+
- ./app/views/layouts
|
122
|
+
- ./app/views/layouts/application.html.erb
|
123
|
+
- ./config
|
124
|
+
- ./config/boot.rb
|
125
|
+
- ./config/database.yml
|
126
|
+
- ./config/environment.rb
|
127
|
+
- ./config/environments
|
128
|
+
- ./config/environments/development.rb
|
129
|
+
- ./config/environments/production.rb
|
130
|
+
- ./config/environments/test.rb
|
131
|
+
- ./config/initializers
|
132
|
+
- ./config/initializers/inflections.rb
|
133
|
+
- ./config/initializers/mime_types.rb
|
134
|
+
- ./config/routes.rb
|
135
|
+
- ./db
|
136
|
+
- ./db/migrate
|
137
|
+
- ./db/migrate/001_create_sessions.rb
|
138
|
+
- ./db/migrate/002_create_users.rb
|
139
|
+
- ./db/migrate/003_create_groups.rb
|
140
|
+
- ./db/migrate/004_create_permissions.rb
|
141
|
+
- ./db/migrate/005_create_group_permissions.rb
|
142
|
+
- ./db/migrate/006_create_user_groups.rb
|
143
|
+
- ./db/migrate/007_create_drivers.rb
|
144
|
+
- ./db/migrate/008_create_databases.rb
|
145
|
+
- ./db/schema.rb
|
146
|
+
- ./lib
|
147
|
+
- ./lib/ignore
|
148
|
+
- ./log
|
149
|
+
- ./log/ignore
|
150
|
+
- ./public
|
151
|
+
- ./public/404.html
|
152
|
+
- ./public/422.html
|
153
|
+
- ./public/500.html
|
154
|
+
- ./public/dispatch.cgi
|
155
|
+
- ./public/dispatch.fcgi
|
156
|
+
- ./public/dispatch.rb
|
157
|
+
- ./public/favicon.ico
|
158
|
+
- ./public/images
|
159
|
+
- ./public/images/rails.png
|
160
|
+
- ./public/images/ss1.png
|
161
|
+
- ./public/images/ss2.png
|
162
|
+
- ./public/images/ss3.png
|
163
|
+
- ./public/images/ss4.png
|
164
|
+
- ./public/images/ss5.png
|
165
|
+
- ./public/images/ss6.png
|
166
|
+
- ./public/javascripts
|
167
|
+
- ./public/javascripts/application.js
|
168
|
+
- ./public/javascripts/controls.js
|
169
|
+
- ./public/javascripts/dragdrop.js
|
170
|
+
- ./public/javascripts/effects.js
|
171
|
+
- ./public/javascripts/prototype.js
|
172
|
+
- ./public/robots.txt
|
173
|
+
- ./public/stylesheets
|
174
|
+
- ./public/stylesheets/railsdb.css
|
175
|
+
- ./script
|
176
|
+
- ./script/about
|
177
|
+
- ./script/console
|
178
|
+
- ./script/destroy
|
179
|
+
- ./script/generate
|
180
|
+
- ./script/performance
|
181
|
+
- ./script/performance/benchmarker
|
182
|
+
- ./script/performance/profiler
|
183
|
+
- ./script/performance/request
|
184
|
+
- ./script/plugin
|
185
|
+
- ./script/process
|
186
|
+
- ./script/process/inspector
|
187
|
+
- ./script/process/reaper
|
188
|
+
- ./script/process/spawner
|
189
|
+
- ./script/runner
|
190
|
+
- ./script/server
|
191
|
+
- ./test
|
192
|
+
- ./test/fixtures
|
193
|
+
- ./test/fixtures/databases.yml
|
194
|
+
- ./test/fixtures/drivers.yml
|
195
|
+
- ./test/fixtures/group_permissions.yml
|
196
|
+
- ./test/fixtures/groups.yml
|
197
|
+
- ./test/fixtures/permissions.yml
|
198
|
+
- ./test/fixtures/user_groups.yml
|
199
|
+
- ./test/fixtures/users.yml
|
200
|
+
- ./test/functional
|
201
|
+
- ./test/functional/home_controller_test.rb
|
202
|
+
- ./test/test_helper.rb
|
203
|
+
- ./test/unit
|
204
|
+
- ./test/unit/database_test.rb
|
205
|
+
- ./test/unit/driver_test.rb
|
206
|
+
- ./test/unit/group_permission_test.rb
|
207
|
+
- ./test/unit/group_test.rb
|
208
|
+
- ./test/unit/permission_test.rb
|
209
|
+
- ./test/unit/user_group_test.rb
|
210
|
+
- ./test/unit/user_test.rb
|
211
|
+
- ./tmp
|
212
|
+
- ./tmp/Oshuma
|
213
|
+
- ./tmp/Oshuma/gambler
|
214
|
+
- ./tmp/Oshuma/gambler/History.txt
|
215
|
+
- ./tmp/Oshuma/gambler/Manifest.txt
|
216
|
+
- ./tmp/Oshuma/gambler/README
|
217
|
+
- ./tmp/Oshuma/gambler/README.txt
|
218
|
+
- ./tmp/Oshuma/gambler/Rakefile
|
219
|
+
- ./tmp/Oshuma/gambler/bin
|
220
|
+
- ./tmp/Oshuma/gambler/bin/gambler_client
|
221
|
+
- ./tmp/Oshuma/gambler/bugs
|
222
|
+
- ./tmp/Oshuma/gambler/bugs/issue-2e7bc6c1715294dd52617ce7e914be55315b0038.yaml
|
223
|
+
- ./tmp/Oshuma/gambler/bugs/project.yaml
|
224
|
+
- ./tmp/Oshuma/gambler/lib
|
225
|
+
- ./tmp/Oshuma/gambler/lib/gambler
|
226
|
+
- ./tmp/Oshuma/gambler/lib/gambler.rb
|
227
|
+
- ./tmp/Oshuma/gambler/lib/gambler/card.rb
|
228
|
+
- ./tmp/Oshuma/gambler/lib/gambler/deck.rb
|
229
|
+
- ./tmp/Oshuma/gambler/lib/gambler/exceptions.rb
|
230
|
+
- ./tmp/Oshuma/gambler/lib/gambler/game
|
231
|
+
- ./tmp/Oshuma/gambler/lib/gambler/game.rb
|
232
|
+
- ./tmp/Oshuma/gambler/lib/gambler/game/basic_game.rb
|
233
|
+
- ./tmp/Oshuma/gambler/lib/gambler/game/blackjack.rb
|
234
|
+
- ./tmp/Oshuma/gambler/lib/gambler/player.rb
|
235
|
+
- ./tmp/Oshuma/gambler/tasks
|
236
|
+
- ./tmp/Oshuma/gambler/tasks/ditz.rake
|
237
|
+
- ./tmp/Oshuma/gambler/tasks/git.rake
|
238
|
+
- ./tmp/Oshuma/gambler/tasks/override_rake_task.rb
|
239
|
+
- ./tmp/Oshuma/gambler/tasks/rcov.rake
|
240
|
+
- ./tmp/Oshuma/gambler/tasks/site.rake
|
241
|
+
- ./tmp/Oshuma/gambler/tasks/util.rb
|
242
|
+
- ./tmp/Oshuma/gambler/test
|
243
|
+
- ./tmp/Oshuma/gambler/test/game
|
244
|
+
- ./tmp/Oshuma/gambler/test/game/test_basic_game.rb
|
245
|
+
- ./tmp/Oshuma/gambler/test/game/test_blackjack.rb
|
246
|
+
- ./tmp/Oshuma/gambler/test/helper.rb
|
247
|
+
- ./tmp/Oshuma/gambler/test/suite.rb
|
248
|
+
- ./tmp/Oshuma/gambler/test/test_card.rb
|
249
|
+
- ./tmp/Oshuma/gambler/test/test_deck.rb
|
250
|
+
- ./tmp/Oshuma/gambler/test/test_gambler.rb
|
251
|
+
- ./tmp/Oshuma/gambler/test/test_player.rb
|
252
|
+
- ./tmp/pids
|
253
|
+
- ./tmp/pids/ignore
|
254
|
+
- ./tmp/sessions
|
255
|
+
- ./tmp/sessions/ignore
|
256
|
+
- ./tmp/sockets
|
257
|
+
- ./tmp/sockets/ignore
|
258
|
+
- README.txt
|
259
|
+
has_rdoc: true
|
260
|
+
homepage: http://railsdb.org/
|
261
|
+
post_install_message:
|
262
|
+
rdoc_options:
|
263
|
+
- --main
|
264
|
+
- README.txt
|
265
|
+
require_paths:
|
266
|
+
- lib
|
267
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
268
|
+
requirements:
|
269
|
+
- - ">="
|
270
|
+
- !ruby/object:Gem::Version
|
271
|
+
version: "0"
|
272
|
+
version:
|
273
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
274
|
+
requirements:
|
275
|
+
- - ">="
|
276
|
+
- !ruby/object:Gem::Version
|
277
|
+
version: "0"
|
278
|
+
version:
|
279
|
+
requirements: []
|
280
|
+
|
281
|
+
rubyforge_project: railsdb
|
282
|
+
rubygems_version: 1.0.1
|
283
|
+
signing_key:
|
284
|
+
specification_version: 2
|
285
|
+
summary: RailsDB provides a generic web interface to popular databases.
|
286
|
+
test_files: []
|
287
|
+
|