merb-admin 0.6.7 → 0.6.8
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +27 -0
- data/README.rdoc +1 -1
- data/Rakefile +2 -5
- data/VERSION +1 -0
- data/lib/merb-admin.rb +1 -1
- data/merb-admin.gemspec +231 -0
- metadata +15 -2
data/.gitignore
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
*.db
|
2
|
+
*.sqlite
|
3
|
+
*.sqlite3
|
4
|
+
*~
|
5
|
+
.#*
|
6
|
+
.DS_Store
|
7
|
+
.hg/*
|
8
|
+
.hgignore
|
9
|
+
.svn/*
|
10
|
+
TAGS
|
11
|
+
TODO
|
12
|
+
bin/*
|
13
|
+
coverage/*
|
14
|
+
doc/*
|
15
|
+
gems/
|
16
|
+
!gems/cache/
|
17
|
+
log/*
|
18
|
+
merb_profile_results
|
19
|
+
pkg/*
|
20
|
+
schema/*.db
|
21
|
+
schema/*.sqlite
|
22
|
+
schema/*.sqlite3
|
23
|
+
schema/*_structure.sql
|
24
|
+
schema/schema.rb
|
25
|
+
src/*
|
26
|
+
tmp/*
|
27
|
+
*.sw[p|o]
|
data/README.rdoc
CHANGED
@@ -11,7 +11,7 @@ http://github.com/sferik/merb-admin/raw/master/screenshots/edit.png
|
|
11
11
|
== Installation
|
12
12
|
$ gem install merb-admin -s http://gemcutter.org
|
13
13
|
In your app, add the following dependency to <tt>config/dependencies.rb</tt>:
|
14
|
-
dependency "merb-admin", "0.6.
|
14
|
+
dependency "merb-admin", "0.6.8"
|
15
15
|
Add the following route to <tt>config/router.rb</tt>:
|
16
16
|
add_slice(:merb_admin, :path_prefix => "admin")
|
17
17
|
Then, run the following rake task:
|
data/Rakefile
CHANGED
@@ -13,20 +13,17 @@ begin
|
|
13
13
|
require 'jeweler'
|
14
14
|
Jeweler::Tasks.new do |gemspec|
|
15
15
|
gemspec.name = GEM_NAME
|
16
|
-
gemspec.platform = Gem::Platform::RUBY
|
17
|
-
gemspec.has_rdoc = true
|
18
|
-
gemspec.extra_rdoc_files = ["README.rdoc", "LICENSE"]
|
19
16
|
gemspec.summary = SUMMARY
|
20
17
|
gemspec.description = gemspec.summary
|
21
18
|
gemspec.author = AUTHOR
|
22
19
|
gemspec.email = EMAIL
|
23
20
|
gemspec.homepage = HOMEPAGE
|
21
|
+
gemspec.files.exclude("config/*", "screenshots/*")
|
24
22
|
gemspec.add_dependency("merb-slices", ">= #{MERB_GEM_VERSION}")
|
25
23
|
gemspec.add_dependency("merb-assets", ">= #{MERB_GEM_VERSION}")
|
26
24
|
gemspec.add_dependency("merb-helpers", ">= #{MERB_GEM_VERSION}")
|
27
25
|
gemspec.add_dependency("builder", ">= 2.1.2")
|
28
|
-
gemspec.
|
29
|
-
gemspec.files = %w(Gemfile LICENSE README.rdoc Rakefile) + Dir.glob("{app,lib,public,schema,spec,stubs}/**/*")
|
26
|
+
gemspec.add_development_dependency("rspec", ">= 1.2.9")
|
30
27
|
gemspec.post_install_message = <<-POST_INSTALL_MESSAGE
|
31
28
|
#{"*" * 80}
|
32
29
|
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.6.8
|
data/lib/merb-admin.rb
CHANGED
@@ -24,7 +24,7 @@ if defined?(Merb::Plugins)
|
|
24
24
|
|
25
25
|
# Slice metadata
|
26
26
|
self.description = "MerbAdmin is a Merb plugin that provides an easy-to-use interface for managing your data."
|
27
|
-
self.version = "0.6.
|
27
|
+
self.version = "0.6.8"
|
28
28
|
self.author = "Erik Michaels-Ober"
|
29
29
|
|
30
30
|
# Stub classes loaded hook - runs before LoadClasses BootLoader
|
data/merb-admin.gemspec
ADDED
@@ -0,0 +1,231 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{merb-admin}
|
8
|
+
s.version = "0.6.8"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Erik Michaels-Ober"]
|
12
|
+
s.date = %q{2009-11-20}
|
13
|
+
s.description = %q{MerbAdmin is a Merb plugin that provides an easy-to-use interface for managing your data.}
|
14
|
+
s.email = %q{sferik@gmail.com}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE",
|
17
|
+
"README.rdoc"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".gitignore",
|
21
|
+
"LICENSE",
|
22
|
+
"README.rdoc",
|
23
|
+
"Rakefile",
|
24
|
+
"VERSION",
|
25
|
+
"app/controllers/application.rb",
|
26
|
+
"app/controllers/main.rb",
|
27
|
+
"app/helpers/application_helper.rb",
|
28
|
+
"app/helpers/main_helper.rb",
|
29
|
+
"app/views/layout/_message.html.erb",
|
30
|
+
"app/views/layout/dashboard.html.erb",
|
31
|
+
"app/views/layout/form.html.erb",
|
32
|
+
"app/views/layout/list.html.erb",
|
33
|
+
"app/views/main/_belongs_to.html.erb",
|
34
|
+
"app/views/main/_big_decimal.html.erb",
|
35
|
+
"app/views/main/_boolean.html.erb",
|
36
|
+
"app/views/main/_date.html.erb",
|
37
|
+
"app/views/main/_datetime.html.erb",
|
38
|
+
"app/views/main/_float.html.erb",
|
39
|
+
"app/views/main/_has_many.html.erb",
|
40
|
+
"app/views/main/_has_one.html.erb",
|
41
|
+
"app/views/main/_integer.html.erb",
|
42
|
+
"app/views/main/_properties.html.erb",
|
43
|
+
"app/views/main/_string.html.erb",
|
44
|
+
"app/views/main/_text.html.erb",
|
45
|
+
"app/views/main/_time.html.erb",
|
46
|
+
"app/views/main/_timestamp.html.erb",
|
47
|
+
"app/views/main/delete.html.erb",
|
48
|
+
"app/views/main/edit.html.erb",
|
49
|
+
"app/views/main/index.html.erb",
|
50
|
+
"app/views/main/list.html.erb",
|
51
|
+
"app/views/main/new.html.erb",
|
52
|
+
"lib/abstract_model.rb",
|
53
|
+
"lib/activerecord_support.rb",
|
54
|
+
"lib/datamapper_support.rb",
|
55
|
+
"lib/generic_support.rb",
|
56
|
+
"lib/merb-admin.rb",
|
57
|
+
"lib/merb-admin/merbtasks.rb",
|
58
|
+
"lib/merb-admin/slicetasks.rb",
|
59
|
+
"lib/merb-admin/spectasks.rb",
|
60
|
+
"lib/sequel_support.rb",
|
61
|
+
"merb-admin.gemspec",
|
62
|
+
"public/images/arrow-down.gif",
|
63
|
+
"public/images/arrow-up.gif",
|
64
|
+
"public/images/changelist-bg.gif",
|
65
|
+
"public/images/changelist-bg_rtl.gif",
|
66
|
+
"public/images/chooser-bg.gif",
|
67
|
+
"public/images/chooser_stacked-bg.gif",
|
68
|
+
"public/images/default-bg-reverse.gif",
|
69
|
+
"public/images/default-bg.gif",
|
70
|
+
"public/images/deleted-overlay.gif",
|
71
|
+
"public/images/icon-no.gif",
|
72
|
+
"public/images/icon-unknown.gif",
|
73
|
+
"public/images/icon-yes.gif",
|
74
|
+
"public/images/icon_addlink.gif",
|
75
|
+
"public/images/icon_alert.gif",
|
76
|
+
"public/images/icon_calendar.gif",
|
77
|
+
"public/images/icon_changelink.gif",
|
78
|
+
"public/images/icon_clock.gif",
|
79
|
+
"public/images/icon_deletelink.gif",
|
80
|
+
"public/images/icon_error.gif",
|
81
|
+
"public/images/icon_searchbox.png",
|
82
|
+
"public/images/icon_success.gif",
|
83
|
+
"public/images/inline-delete-8bit.png",
|
84
|
+
"public/images/inline-delete.png",
|
85
|
+
"public/images/inline-restore-8bit.png",
|
86
|
+
"public/images/inline-restore.png",
|
87
|
+
"public/images/inline-splitter-bg.gif",
|
88
|
+
"public/images/nav-bg-grabber.gif",
|
89
|
+
"public/images/nav-bg-reverse.gif",
|
90
|
+
"public/images/nav-bg.gif",
|
91
|
+
"public/images/selector-add.gif",
|
92
|
+
"public/images/selector-addall.gif",
|
93
|
+
"public/images/selector-remove.gif",
|
94
|
+
"public/images/selector-removeall.gif",
|
95
|
+
"public/images/selector-search.gif",
|
96
|
+
"public/images/selector_stacked-add.gif",
|
97
|
+
"public/images/selector_stacked-remove.gif",
|
98
|
+
"public/images/tool-left.gif",
|
99
|
+
"public/images/tool-left_over.gif",
|
100
|
+
"public/images/tool-right.gif",
|
101
|
+
"public/images/tool-right_over.gif",
|
102
|
+
"public/images/tooltag-add.gif",
|
103
|
+
"public/images/tooltag-add_over.gif",
|
104
|
+
"public/images/tooltag-arrowright.gif",
|
105
|
+
"public/images/tooltag-arrowright_over.gif",
|
106
|
+
"public/javascripts/CollapsedFieldsets.js",
|
107
|
+
"public/javascripts/DateTimeShortcuts.js",
|
108
|
+
"public/javascripts/RelatedObjectLookups.js",
|
109
|
+
"public/javascripts/SelectBox.js",
|
110
|
+
"public/javascripts/SelectFilter2.js",
|
111
|
+
"public/javascripts/actions.js",
|
112
|
+
"public/javascripts/calendar.js",
|
113
|
+
"public/javascripts/core.js",
|
114
|
+
"public/javascripts/dateparse.js",
|
115
|
+
"public/javascripts/getElementsBySelector.js",
|
116
|
+
"public/javascripts/i18n.js",
|
117
|
+
"public/javascripts/master.js",
|
118
|
+
"public/javascripts/ordering.js",
|
119
|
+
"public/javascripts/timeparse.js",
|
120
|
+
"public/javascripts/urlify.js",
|
121
|
+
"public/stylesheets/base.css",
|
122
|
+
"public/stylesheets/changelists.css",
|
123
|
+
"public/stylesheets/dashboard.css",
|
124
|
+
"public/stylesheets/forms.css",
|
125
|
+
"public/stylesheets/global.css",
|
126
|
+
"public/stylesheets/ie.css",
|
127
|
+
"public/stylesheets/layout.css",
|
128
|
+
"public/stylesheets/login.css",
|
129
|
+
"public/stylesheets/master.css",
|
130
|
+
"public/stylesheets/null.css",
|
131
|
+
"public/stylesheets/patch-iewin.css",
|
132
|
+
"public/stylesheets/rtl.css",
|
133
|
+
"public/stylesheets/widgets.css",
|
134
|
+
"spec/controllers/main_spec.rb",
|
135
|
+
"spec/migrations/activerecord/001_create_divisions_migration.rb",
|
136
|
+
"spec/migrations/activerecord/002_create_drafts_migration.rb",
|
137
|
+
"spec/migrations/activerecord/003_create_leagues_migration.rb",
|
138
|
+
"spec/migrations/activerecord/004_create_players_migration.rb",
|
139
|
+
"spec/migrations/activerecord/005_create_teams_migration.rb",
|
140
|
+
"spec/migrations/sequel/001_create_divisions_migration.rb",
|
141
|
+
"spec/migrations/sequel/002_create_drafts_migration.rb",
|
142
|
+
"spec/migrations/sequel/003_create_leagues_migration.rb",
|
143
|
+
"spec/migrations/sequel/004_create_players_migration.rb",
|
144
|
+
"spec/migrations/sequel/005_create_teams_migration.rb",
|
145
|
+
"spec/models/activerecord/division.rb",
|
146
|
+
"spec/models/activerecord/draft.rb",
|
147
|
+
"spec/models/activerecord/league.rb",
|
148
|
+
"spec/models/activerecord/player.rb",
|
149
|
+
"spec/models/activerecord/team.rb",
|
150
|
+
"spec/models/datamapper/division.rb",
|
151
|
+
"spec/models/datamapper/draft.rb",
|
152
|
+
"spec/models/datamapper/league.rb",
|
153
|
+
"spec/models/datamapper/player.rb",
|
154
|
+
"spec/models/datamapper/team.rb",
|
155
|
+
"spec/models/sequel/division.rb",
|
156
|
+
"spec/models/sequel/draft.rb",
|
157
|
+
"spec/models/sequel/league.rb",
|
158
|
+
"spec/models/sequel/player.rb",
|
159
|
+
"spec/models/sequel/team.rb",
|
160
|
+
"spec/requests/main_spec.rb",
|
161
|
+
"spec/spec_helper.rb"
|
162
|
+
]
|
163
|
+
s.homepage = %q{http://github.com/sferik/merb-admin}
|
164
|
+
s.post_install_message = %q{********************************************************************************
|
165
|
+
|
166
|
+
WARNING: MerbAdmin does not implement any authorization scheme.
|
167
|
+
Make sure to apply authorization logic before deploying to production!
|
168
|
+
|
169
|
+
********************************************************************************
|
170
|
+
}
|
171
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
172
|
+
s.require_paths = ["lib"]
|
173
|
+
s.rubygems_version = %q{1.3.5}
|
174
|
+
s.summary = %q{MerbAdmin is a Merb plugin that provides an easy-to-use interface for managing your data.}
|
175
|
+
s.test_files = [
|
176
|
+
"spec/controllers/main_spec.rb",
|
177
|
+
"spec/migrations/activerecord/001_create_divisions_migration.rb",
|
178
|
+
"spec/migrations/activerecord/002_create_drafts_migration.rb",
|
179
|
+
"spec/migrations/activerecord/003_create_leagues_migration.rb",
|
180
|
+
"spec/migrations/activerecord/004_create_players_migration.rb",
|
181
|
+
"spec/migrations/activerecord/005_create_teams_migration.rb",
|
182
|
+
"spec/migrations/sequel/001_create_divisions_migration.rb",
|
183
|
+
"spec/migrations/sequel/002_create_drafts_migration.rb",
|
184
|
+
"spec/migrations/sequel/003_create_leagues_migration.rb",
|
185
|
+
"spec/migrations/sequel/004_create_players_migration.rb",
|
186
|
+
"spec/migrations/sequel/005_create_teams_migration.rb",
|
187
|
+
"spec/models/activerecord/division.rb",
|
188
|
+
"spec/models/activerecord/draft.rb",
|
189
|
+
"spec/models/activerecord/league.rb",
|
190
|
+
"spec/models/activerecord/player.rb",
|
191
|
+
"spec/models/activerecord/team.rb",
|
192
|
+
"spec/models/datamapper/division.rb",
|
193
|
+
"spec/models/datamapper/draft.rb",
|
194
|
+
"spec/models/datamapper/league.rb",
|
195
|
+
"spec/models/datamapper/player.rb",
|
196
|
+
"spec/models/datamapper/team.rb",
|
197
|
+
"spec/models/sequel/division.rb",
|
198
|
+
"spec/models/sequel/draft.rb",
|
199
|
+
"spec/models/sequel/league.rb",
|
200
|
+
"spec/models/sequel/player.rb",
|
201
|
+
"spec/models/sequel/team.rb",
|
202
|
+
"spec/requests/main_spec.rb",
|
203
|
+
"spec/spec_helper.rb"
|
204
|
+
]
|
205
|
+
|
206
|
+
if s.respond_to? :specification_version then
|
207
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
208
|
+
s.specification_version = 3
|
209
|
+
|
210
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
211
|
+
s.add_runtime_dependency(%q<merb-slices>, [">= 1.0.15"])
|
212
|
+
s.add_runtime_dependency(%q<merb-assets>, [">= 1.0.15"])
|
213
|
+
s.add_runtime_dependency(%q<merb-helpers>, [">= 1.0.15"])
|
214
|
+
s.add_runtime_dependency(%q<builder>, [">= 2.1.2"])
|
215
|
+
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
|
216
|
+
else
|
217
|
+
s.add_dependency(%q<merb-slices>, [">= 1.0.15"])
|
218
|
+
s.add_dependency(%q<merb-assets>, [">= 1.0.15"])
|
219
|
+
s.add_dependency(%q<merb-helpers>, [">= 1.0.15"])
|
220
|
+
s.add_dependency(%q<builder>, [">= 2.1.2"])
|
221
|
+
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
222
|
+
end
|
223
|
+
else
|
224
|
+
s.add_dependency(%q<merb-slices>, [">= 1.0.15"])
|
225
|
+
s.add_dependency(%q<merb-assets>, [">= 1.0.15"])
|
226
|
+
s.add_dependency(%q<merb-helpers>, [">= 1.0.15"])
|
227
|
+
s.add_dependency(%q<builder>, [">= 2.1.2"])
|
228
|
+
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
229
|
+
end
|
230
|
+
end
|
231
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: merb-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Erik Michaels-Ober
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-11-
|
12
|
+
date: 2009-11-20 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -52,6 +52,16 @@ dependencies:
|
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: 2.1.2
|
54
54
|
version:
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
type: :development
|
58
|
+
version_requirement:
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 1.2.9
|
64
|
+
version:
|
55
65
|
description: MerbAdmin is a Merb plugin that provides an easy-to-use interface for managing your data.
|
56
66
|
email: sferik@gmail.com
|
57
67
|
executables: []
|
@@ -62,9 +72,11 @@ extra_rdoc_files:
|
|
62
72
|
- LICENSE
|
63
73
|
- README.rdoc
|
64
74
|
files:
|
75
|
+
- .gitignore
|
65
76
|
- LICENSE
|
66
77
|
- README.rdoc
|
67
78
|
- Rakefile
|
79
|
+
- VERSION
|
68
80
|
- app/controllers/application.rb
|
69
81
|
- app/controllers/main.rb
|
70
82
|
- app/helpers/application_helper.rb
|
@@ -101,6 +113,7 @@ files:
|
|
101
113
|
- lib/merb-admin/slicetasks.rb
|
102
114
|
- lib/merb-admin/spectasks.rb
|
103
115
|
- lib/sequel_support.rb
|
116
|
+
- merb-admin.gemspec
|
104
117
|
- public/images/arrow-down.gif
|
105
118
|
- public/images/arrow-up.gif
|
106
119
|
- public/images/changelist-bg.gif
|