merb-admin 0.8.1 → 0.8.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. data/.gitignore +29 -27
  2. data/Gemfile +24 -22
  3. data/Gemfile.lock +86 -0
  4. data/LICENSE +20 -20
  5. data/README.rdoc +54 -58
  6. data/Rakefile +11 -44
  7. data/app/controllers/application.rb +6 -6
  8. data/app/controllers/main.rb +191 -191
  9. data/app/helpers/application_helper.rb +64 -64
  10. data/app/helpers/main_helper.rb +167 -167
  11. data/app/models/.gitkeep +0 -0
  12. data/app/views/layout/_message.html.erb +10 -10
  13. data/app/views/layout/dashboard.html.erb +34 -34
  14. data/app/views/layout/form.html.erb +48 -48
  15. data/app/views/layout/list.html.erb +42 -42
  16. data/app/views/main/_belongs_to.html.erb +29 -29
  17. data/app/views/main/_big_decimal.html.erb +12 -12
  18. data/app/views/main/_boolean.html.erb +7 -7
  19. data/app/views/main/_date.html.erb +12 -12
  20. data/app/views/main/_datetime.html.erb +12 -12
  21. data/app/views/main/_float.html.erb +12 -12
  22. data/app/views/main/_has_many.html.erb +16 -16
  23. data/app/views/main/_has_one.html.erb +30 -30
  24. data/app/views/main/_integer.html.erb +12 -12
  25. data/app/views/main/_properties.html.erb +18 -18
  26. data/app/views/main/_string.html.erb +15 -15
  27. data/app/views/main/_text.html.erb +11 -11
  28. data/app/views/main/_time.html.erb +12 -12
  29. data/app/views/main/_timestamp.html.erb +12 -12
  30. data/app/views/main/delete.html.erb +28 -28
  31. data/app/views/main/edit.html.erb +19 -19
  32. data/app/views/main/index.html.erb +22 -22
  33. data/app/views/main/list.html.erb +93 -93
  34. data/app/views/main/new.html.erb +16 -16
  35. data/config/init.rb +30 -0
  36. data/config/router.rb +4 -0
  37. data/lib/abstract_model.rb +84 -86
  38. data/lib/active_record_support.rb +147 -147
  39. data/lib/datamapper_support.rb +139 -140
  40. data/lib/generic_support.rb +13 -13
  41. data/lib/merb-admin.rb +99 -99
  42. data/lib/merb-admin/merbtasks.rb +103 -103
  43. data/lib/merb-admin/slicetasks.rb +174 -174
  44. data/lib/merb-admin/spectasks.rb +55 -55
  45. data/lib/merb-admin/version.rb +3 -0
  46. data/lib/sequel_support.rb +275 -275
  47. data/merb-admin.gemspec +42 -232
  48. data/public/javascripts/CollapsedFieldsets.js +85 -85
  49. data/public/javascripts/DateTimeShortcuts.js +255 -255
  50. data/public/javascripts/RelatedObjectLookups.js +96 -96
  51. data/public/javascripts/SelectBox.js +111 -111
  52. data/public/javascripts/SelectFilter2.js +113 -113
  53. data/public/javascripts/actions.js +39 -39
  54. data/public/javascripts/calendar.js +143 -143
  55. data/public/javascripts/core.js +176 -176
  56. data/public/javascripts/dateparse.js +233 -233
  57. data/public/javascripts/getElementsBySelector.js +167 -167
  58. data/public/javascripts/i18n.js +33 -33
  59. data/public/javascripts/ordering.js +137 -137
  60. data/public/javascripts/timeparse.js +94 -94
  61. data/public/javascripts/urlify.js +140 -140
  62. data/public/stylesheets/base.css +746 -746
  63. data/public/stylesheets/changelists.css +269 -269
  64. data/public/stylesheets/dashboard.css +24 -24
  65. data/public/stylesheets/forms.css +327 -327
  66. data/public/stylesheets/global.css +142 -142
  67. data/public/stylesheets/ie.css +50 -50
  68. data/public/stylesheets/layout.css +29 -29
  69. data/public/stylesheets/login.css +54 -54
  70. data/public/stylesheets/master.css +1 -1
  71. data/public/stylesheets/patch-iewin.css +7 -7
  72. data/public/stylesheets/rtl.css +206 -206
  73. data/public/stylesheets/widgets.css +506 -506
  74. data/screenshots/create.png +0 -0
  75. data/screenshots/delete.png +0 -0
  76. data/screenshots/edit.png +0 -0
  77. data/screenshots/index.png +0 -0
  78. data/screenshots/list.png +0 -0
  79. data/screenshots/new.png +0 -0
  80. data/spec/controllers/main_spec.rb +25 -25
  81. data/spec/migrations/activerecord/001_create_divisions_migration.rb +13 -13
  82. data/spec/migrations/activerecord/002_create_drafts_migration.rb +19 -19
  83. data/spec/migrations/activerecord/003_create_leagues_migration.rb +12 -12
  84. data/spec/migrations/activerecord/004_create_players_migration.rb +19 -20
  85. data/spec/migrations/activerecord/005_create_teams_migration.rb +22 -22
  86. data/spec/migrations/sequel/001_create_divisions_migration.rb +15 -15
  87. data/spec/migrations/sequel/002_create_drafts_migration.rb +21 -21
  88. data/spec/migrations/sequel/003_create_leagues_migration.rb +14 -14
  89. data/spec/migrations/sequel/004_create_players_migration.rb +21 -22
  90. data/spec/migrations/sequel/005_create_teams_migration.rb +24 -24
  91. data/spec/models/activerecord/division.rb +7 -7
  92. data/spec/models/activerecord/draft.rb +11 -11
  93. data/spec/models/activerecord/league.rb +6 -6
  94. data/spec/models/activerecord/player.rb +8 -8
  95. data/spec/models/activerecord/team.rb +13 -13
  96. data/spec/models/datamapper/division.rb +12 -12
  97. data/spec/models/datamapper/draft.rb +18 -18
  98. data/spec/models/datamapper/league.rb +11 -11
  99. data/spec/models/datamapper/player.rb +20 -21
  100. data/spec/models/datamapper/team.rb +22 -22
  101. data/spec/models/sequel/division.rb +15 -15
  102. data/spec/models/sequel/draft.rb +19 -19
  103. data/spec/models/sequel/league.rb +14 -14
  104. data/spec/models/sequel/player.rb +18 -18
  105. data/spec/models/sequel/team.rb +21 -21
  106. data/spec/requests/main_spec.rb +763 -763
  107. data/spec/spec_helper.rb +113 -112
  108. metadata +247 -41
  109. data/VERSION +0 -1
data/spec/spec_helper.rb CHANGED
@@ -1,112 +1,113 @@
1
- require 'rubygems'
2
- require 'merb-core'
3
- require 'merb-slices'
4
- require 'merb-helpers'
5
- require 'merb-assets'
6
- require 'spec'
7
-
8
- # Add merb-admin.rb to the search path
9
- Merb::Plugins.config[:merb_slices][:auto_register] = true
10
- Merb::Plugins.config[:merb_slices][:search_path] = File.join(File.dirname(__FILE__), '..', 'lib', 'merb-admin.rb')
11
-
12
- # Require merb-admin.rb explicitly so any dependencies are loaded
13
- require Merb::Plugins.config[:merb_slices][:search_path]
14
-
15
- # Using Merb.root below makes sure that the correct root is set for
16
- # - testing standalone, without being installed as a gem and no host application
17
- # - testing from within the host application; its root will be used
18
- Merb.start_environment(
19
- :testing => true,
20
- :adapter => 'runner',
21
- :environment => ENV['MERB_ENV'] || 'test',
22
- :merb_root => Merb.root,
23
- :session_store => 'memory'
24
- )
25
-
26
- module Merb
27
- module Test
28
- module SliceHelper
29
-
30
- # The absolute path to the current slice
31
- def current_slice_root
32
- @current_slice_root ||= File.expand_path(File.join(File.dirname(__FILE__), '..'))
33
- end
34
-
35
- # Whether the specs are being run from a host application or standalone
36
- def standalone?
37
- Merb.root == ::MerbAdmin.root
38
- end
39
-
40
- def setup_orm(orm = nil)
41
- orm = set_orm(orm)
42
- orm = orm.to_s.downcase.to_sym
43
- case orm
44
- when :activerecord
45
- require 'active_record'
46
- require_models(orm)
47
- unless ActiveRecord::Base.connected?
48
- ActiveRecord::Base.establish_connection(:adapter => 'sqlite3', :database => ':memory:')
49
- ActiveRecord::Migration.verbose = false
50
- ActiveRecord::Migrator.run(:up, File.join(File.dirname(__FILE__), "migrations", "activerecord"), 1)
51
- ActiveRecord::Migrator.run(:up, File.join(File.dirname(__FILE__), "migrations", "activerecord"), 2)
52
- ActiveRecord::Migrator.run(:up, File.join(File.dirname(__FILE__), "migrations", "activerecord"), 3)
53
- ActiveRecord::Migrator.run(:up, File.join(File.dirname(__FILE__), "migrations", "activerecord"), 4)
54
- ActiveRecord::Migrator.run(:up, File.join(File.dirname(__FILE__), "migrations", "activerecord"), 5)
55
- end
56
- when :datamapper
57
- require 'dm-core'
58
- require 'dm-aggregates'
59
- require 'dm-validations'
60
- require_models(orm)
61
- unless DataMapper::Repository.adapters.key?(:default)
62
- DataMapper.setup(:default, 'sqlite3::memory:')
63
- DataMapper.auto_migrate!
64
- end
65
- when :sequel
66
- require 'sequel'
67
- require 'sequel/extensions/migration'
68
- Sequel::Migrator.apply(Sequel.sqlite, File.join(File.dirname(__FILE__), "migrations", "sequel"))
69
- require_models(orm)
70
- else
71
- raise "MerbAdmin does not support the #{orm} ORM"
72
- end
73
- Merb.orm = orm
74
- end
75
-
76
- private
77
-
78
- def require_models(orm = nil)
79
- orm ||= set_orm
80
- Dir.glob(File.dirname(__FILE__) / "models" / orm.to_s.downcase / Merb.glob_for(:model)).each do |model_filename|
81
- require model_filename
82
- end
83
- end
84
-
85
- def set_orm(orm = nil)
86
- orm || ENV['MERB_ORM'] || (Merb.orm != :none ? Merb.orm : nil) || :activerecord
87
- end
88
-
89
- end
90
- end
91
- end
92
-
93
- Spec::Runner.configure do |config|
94
- config.include(Merb::Test::ViewHelper)
95
- config.include(Merb::Test::RouteHelper)
96
- config.include(Merb::Test::ControllerHelper)
97
- config.include(Merb::Test::SliceHelper)
98
- config.before(:each) do
99
- setup_orm
100
- end
101
- end
102
-
103
- # You can add your own helpers here
104
- #
105
- Merb::Test.add_helpers do
106
- def mount_slice
107
- if standalone?
108
- Merb::Router.reset!
109
- Merb::Router.prepare{add_slice(:merb_admin, :path_prefix => "admin")}
110
- end
111
- end
112
- end
1
+ require 'rubygems'
2
+ require 'merb-core'
3
+ require 'merb-slices'
4
+ require 'merb-helpers'
5
+ require 'merb-assets'
6
+ require 'spec'
7
+
8
+ # Add merb-admin.rb to the search path
9
+ Merb::Plugins.config[:merb_slices][:auto_register] = true
10
+ Merb::Plugins.config[:merb_slices][:search_path] = File.join(File.dirname(__FILE__), '..', 'lib', 'merb-admin.rb')
11
+
12
+ # Require merb-admin.rb explicitly so any dependencies are loaded
13
+ require Merb::Plugins.config[:merb_slices][:search_path]
14
+
15
+ # Using Merb.root below makes sure that the correct root is set for
16
+ # - testing standalone, without being installed as a gem and no host application
17
+ # - testing from within the host application; its root will be used
18
+ Merb.start_environment(
19
+ :testing => true,
20
+ :adapter => 'runner',
21
+ :environment => ENV['MERB_ENV'] || 'test',
22
+ :merb_root => Merb.root,
23
+ :session_store => 'memory'
24
+ )
25
+
26
+ module Merb
27
+ module Test
28
+ module SliceHelper
29
+
30
+ # The absolute path to the current slice
31
+ def current_slice_root
32
+ @current_slice_root ||= File.expand_path(File.join(File.dirname(__FILE__), '..'))
33
+ end
34
+
35
+ # Whether the specs are being run from a host application or standalone
36
+ def standalone?
37
+ Merb.root == ::MerbAdmin.root
38
+ end
39
+
40
+ def setup_orm(orm = nil)
41
+ orm = set_orm(orm)
42
+ orm = orm.to_s.downcase.to_sym
43
+ case orm
44
+ when :activerecord
45
+ require 'active_record'
46
+ require_models(orm)
47
+ unless ActiveRecord::Base.connected?
48
+ ActiveRecord::Base.establish_connection(:adapter => 'sqlite3', :database => ':memory:')
49
+ ActiveRecord::Migration.verbose = false
50
+ ActiveRecord::Migrator.run(:up, File.join(File.dirname(__FILE__), "migrations", "activerecord"), 1)
51
+ ActiveRecord::Migrator.run(:up, File.join(File.dirname(__FILE__), "migrations", "activerecord"), 2)
52
+ ActiveRecord::Migrator.run(:up, File.join(File.dirname(__FILE__), "migrations", "activerecord"), 3)
53
+ ActiveRecord::Migrator.run(:up, File.join(File.dirname(__FILE__), "migrations", "activerecord"), 4)
54
+ ActiveRecord::Migrator.run(:up, File.join(File.dirname(__FILE__), "migrations", "activerecord"), 5)
55
+ end
56
+ when :datamapper
57
+ require 'dm-core'
58
+ require 'dm-aggregates'
59
+ require 'dm-migrations'
60
+ require 'dm-validations'
61
+ require_models(orm)
62
+ unless DataMapper::Repository.adapters.key?(:default)
63
+ DataMapper.setup(:default, 'sqlite3::memory:')
64
+ DataMapper.auto_migrate!
65
+ end
66
+ when :sequel
67
+ require 'sequel'
68
+ require 'sequel/extensions/migration'
69
+ Sequel::Migrator.apply(Sequel.sqlite, File.join(File.dirname(__FILE__), "migrations", "sequel"))
70
+ require_models(orm)
71
+ else
72
+ raise "MerbAdmin does not support the #{orm} ORM"
73
+ end
74
+ Merb.orm = orm
75
+ end
76
+
77
+ private
78
+
79
+ def require_models(orm = nil)
80
+ orm ||= set_orm
81
+ Dir.glob(File.dirname(__FILE__) / "models" / orm.to_s.downcase / Merb.glob_for(:model)).each do |model_filename|
82
+ require model_filename
83
+ end
84
+ end
85
+
86
+ def set_orm(orm = nil)
87
+ orm || ENV['MERB_ORM'] || (Merb.orm != :none ? Merb.orm : nil) || :activerecord
88
+ end
89
+
90
+ end
91
+ end
92
+ end
93
+
94
+ Spec::Runner.configure do |config|
95
+ config.include(Merb::Test::ViewHelper)
96
+ config.include(Merb::Test::RouteHelper)
97
+ config.include(Merb::Test::ControllerHelper)
98
+ config.include(Merb::Test::SliceHelper)
99
+ config.before(:each) do
100
+ setup_orm
101
+ end
102
+ end
103
+
104
+ # You can add your own helpers here
105
+ #
106
+ Merb::Test.add_helpers do
107
+ def mount_slice
108
+ if standalone?
109
+ Merb::Router.reset!
110
+ Merb::Router.prepare{add_slice(:merb_admin, :path_prefix => "admin")}
111
+ end
112
+ end
113
+ end
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: merb-admin
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 57
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 8
8
- - 1
9
- version: 0.8.1
9
+ - 3
10
+ version: 0.8.3
10
11
  platform: ruby
11
12
  authors:
12
13
  - Erik Michaels-Ober
@@ -14,75 +15,266 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-04-20 00:00:00 -07:00
18
+ date: 2010-09-11 00:00:00 -07:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
- version_requirements: &id001 !ruby/object:Gem::Requirement
22
+ name: activerecord
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
22
26
  requirements:
23
27
  - - ~>
24
28
  - !ruby/object:Gem::Version
29
+ hash: 5
30
+ segments:
31
+ - 2
32
+ - 3
33
+ version: "2.3"
34
+ type: :development
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
37
+ name: dm-core
38
+ prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ~>
43
+ - !ruby/object:Gem::Version
44
+ hash: 31
45
+ segments:
46
+ - 0
47
+ - 10
48
+ version: "0.10"
49
+ type: :development
50
+ version_requirements: *id002
51
+ - !ruby/object:Gem::Dependency
52
+ name: dm-aggregates
53
+ prerelease: false
54
+ requirement: &id003 !ruby/object:Gem::Requirement
55
+ none: false
56
+ requirements:
57
+ - - ~>
58
+ - !ruby/object:Gem::Version
59
+ hash: 31
60
+ segments:
61
+ - 0
62
+ - 10
63
+ version: "0.10"
64
+ type: :development
65
+ version_requirements: *id003
66
+ - !ruby/object:Gem::Dependency
67
+ name: dm-types
68
+ prerelease: false
69
+ requirement: &id004 !ruby/object:Gem::Requirement
70
+ none: false
71
+ requirements:
72
+ - - ~>
73
+ - !ruby/object:Gem::Version
74
+ hash: 31
75
+ segments:
76
+ - 0
77
+ - 10
78
+ version: "0.10"
79
+ type: :development
80
+ version_requirements: *id004
81
+ - !ruby/object:Gem::Dependency
82
+ name: dm-migrations
83
+ prerelease: false
84
+ requirement: &id005 !ruby/object:Gem::Requirement
85
+ none: false
86
+ requirements:
87
+ - - ~>
88
+ - !ruby/object:Gem::Version
89
+ hash: 31
90
+ segments:
91
+ - 0
92
+ - 10
93
+ version: "0.10"
94
+ type: :development
95
+ version_requirements: *id005
96
+ - !ruby/object:Gem::Dependency
97
+ name: dm-validations
98
+ prerelease: false
99
+ requirement: &id006 !ruby/object:Gem::Requirement
100
+ none: false
101
+ requirements:
102
+ - - ~>
103
+ - !ruby/object:Gem::Version
104
+ hash: 31
105
+ segments:
106
+ - 0
107
+ - 10
108
+ version: "0.10"
109
+ type: :development
110
+ version_requirements: *id006
111
+ - !ruby/object:Gem::Dependency
112
+ name: data_objects
113
+ prerelease: false
114
+ requirement: &id007 !ruby/object:Gem::Requirement
115
+ none: false
116
+ requirements:
117
+ - - ~>
118
+ - !ruby/object:Gem::Version
119
+ hash: 31
120
+ segments:
121
+ - 0
122
+ - 10
123
+ version: "0.10"
124
+ type: :development
125
+ version_requirements: *id007
126
+ - !ruby/object:Gem::Dependency
127
+ name: do_sqlite3
128
+ prerelease: false
129
+ requirement: &id008 !ruby/object:Gem::Requirement
130
+ none: false
131
+ requirements:
132
+ - - ~>
133
+ - !ruby/object:Gem::Version
134
+ hash: 31
135
+ segments:
136
+ - 0
137
+ - 10
138
+ version: "0.10"
139
+ type: :development
140
+ version_requirements: *id008
141
+ - !ruby/object:Gem::Dependency
142
+ name: rspec
143
+ prerelease: false
144
+ requirement: &id009 !ruby/object:Gem::Requirement
145
+ none: false
146
+ requirements:
147
+ - - ~>
148
+ - !ruby/object:Gem::Version
149
+ hash: 9
25
150
  segments:
26
151
  - 1
27
- - 1
28
- version: "1.1"
29
- name: merb-slices
30
- requirement: *id001
152
+ - 3
153
+ version: "1.3"
154
+ type: :development
155
+ version_requirements: *id009
156
+ - !ruby/object:Gem::Dependency
157
+ name: sequel
31
158
  prerelease: false
32
- type: :runtime
159
+ requirement: &id010 !ruby/object:Gem::Requirement
160
+ none: false
161
+ requirements:
162
+ - - ~>
163
+ - !ruby/object:Gem::Version
164
+ hash: 31
165
+ segments:
166
+ - 3
167
+ - 6
168
+ - 0
169
+ version: 3.6.0
170
+ type: :development
171
+ version_requirements: *id010
33
172
  - !ruby/object:Gem::Dependency
34
- version_requirements: &id002 !ruby/object:Gem::Requirement
173
+ name: sqlite3-ruby
174
+ prerelease: false
175
+ requirement: &id011 !ruby/object:Gem::Requirement
176
+ none: false
35
177
  requirements:
36
178
  - - ~>
37
179
  - !ruby/object:Gem::Version
180
+ hash: 9
38
181
  segments:
39
182
  - 1
183
+ - 3
184
+ version: "1.3"
185
+ type: :development
186
+ version_requirements: *id011
187
+ - !ruby/object:Gem::Dependency
188
+ name: webrat
189
+ prerelease: false
190
+ requirement: &id012 !ruby/object:Gem::Requirement
191
+ none: false
192
+ requirements:
193
+ - - ~>
194
+ - !ruby/object:Gem::Version
195
+ hash: 5
196
+ segments:
197
+ - 0
198
+ - 7
199
+ version: "0.7"
200
+ type: :development
201
+ version_requirements: *id012
202
+ - !ruby/object:Gem::Dependency
203
+ name: builder
204
+ prerelease: false
205
+ requirement: &id013 !ruby/object:Gem::Requirement
206
+ none: false
207
+ requirements:
208
+ - - ~>
209
+ - !ruby/object:Gem::Version
210
+ hash: 1
211
+ segments:
212
+ - 2
40
213
  - 1
41
- version: "1.1"
42
- name: merb-assets
43
- requirement: *id002
214
+ version: "2.1"
215
+ type: :runtime
216
+ version_requirements: *id013
217
+ - !ruby/object:Gem::Dependency
218
+ name: json
44
219
  prerelease: false
220
+ requirement: &id014 !ruby/object:Gem::Requirement
221
+ none: false
222
+ requirements:
223
+ - - ~>
224
+ - !ruby/object:Gem::Version
225
+ hash: 7
226
+ segments:
227
+ - 1
228
+ - 4
229
+ version: "1.4"
45
230
  type: :runtime
231
+ version_requirements: *id014
46
232
  - !ruby/object:Gem::Dependency
47
- version_requirements: &id003 !ruby/object:Gem::Requirement
233
+ name: merb-assets
234
+ prerelease: false
235
+ requirement: &id015 !ruby/object:Gem::Requirement
236
+ none: false
48
237
  requirements:
49
238
  - - ~>
50
239
  - !ruby/object:Gem::Version
240
+ hash: 13
51
241
  segments:
52
242
  - 1
53
243
  - 1
54
244
  version: "1.1"
55
- name: merb-helpers
56
- requirement: *id003
57
- prerelease: false
58
245
  type: :runtime
246
+ version_requirements: *id015
59
247
  - !ruby/object:Gem::Dependency
60
- version_requirements: &id004 !ruby/object:Gem::Requirement
248
+ name: merb-helpers
249
+ prerelease: false
250
+ requirement: &id016 !ruby/object:Gem::Requirement
251
+ none: false
61
252
  requirements:
62
253
  - - ~>
63
254
  - !ruby/object:Gem::Version
255
+ hash: 13
64
256
  segments:
65
- - 2
66
257
  - 1
67
- version: "2.1"
68
- name: builder
69
- requirement: *id004
70
- prerelease: false
258
+ - 1
259
+ version: "1.1"
71
260
  type: :runtime
261
+ version_requirements: *id016
72
262
  - !ruby/object:Gem::Dependency
73
- version_requirements: &id005 !ruby/object:Gem::Requirement
263
+ name: merb-slices
264
+ prerelease: false
265
+ requirement: &id017 !ruby/object:Gem::Requirement
266
+ none: false
74
267
  requirements:
75
268
  - - ~>
76
269
  - !ruby/object:Gem::Version
270
+ hash: 13
77
271
  segments:
78
272
  - 1
79
- - 3
80
- version: "1.3"
81
- name: rspec
82
- requirement: *id005
83
- prerelease: false
84
- type: :development
85
- description: MerbAdmin is a Merb plugin that provides an easy-to-use interface for managing your data.
273
+ - 1
274
+ version: "1.1"
275
+ type: :runtime
276
+ version_requirements: *id017
277
+ description: MerbAdmin is a Merb plugin that provides an easy-to-use interface for managing your data
86
278
  email: sferik@gmail.com
87
279
  executables: []
88
280
 
@@ -94,14 +286,15 @@ extra_rdoc_files:
94
286
  files:
95
287
  - .gitignore
96
288
  - Gemfile
289
+ - Gemfile.lock
97
290
  - LICENSE
98
291
  - README.rdoc
99
292
  - Rakefile
100
- - VERSION
101
293
  - app/controllers/application.rb
102
294
  - app/controllers/main.rb
103
295
  - app/helpers/application_helper.rb
104
296
  - app/helpers/main_helper.rb
297
+ - app/models/.gitkeep
105
298
  - app/views/layout/_message.html.erb
106
299
  - app/views/layout/dashboard.html.erb
107
300
  - app/views/layout/form.html.erb
@@ -125,6 +318,8 @@ files:
125
318
  - app/views/main/index.html.erb
126
319
  - app/views/main/list.html.erb
127
320
  - app/views/main/new.html.erb
321
+ - config/init.rb
322
+ - config/router.rb
128
323
  - lib/abstract_model.rb
129
324
  - lib/active_record_support.rb
130
325
  - lib/datamapper_support.rb
@@ -133,6 +328,7 @@ files:
133
328
  - lib/merb-admin/merbtasks.rb
134
329
  - lib/merb-admin/slicetasks.rb
135
330
  - lib/merb-admin/spectasks.rb
331
+ - lib/merb-admin/version.rb
136
332
  - lib/sequel_support.rb
137
333
  - merb-admin.gemspec
138
334
  - public/images/arrow-down.gif
@@ -207,6 +403,12 @@ files:
207
403
  - public/stylesheets/patch-iewin.css
208
404
  - public/stylesheets/rtl.css
209
405
  - public/stylesheets/widgets.css
406
+ - screenshots/create.png
407
+ - screenshots/delete.png
408
+ - screenshots/edit.png
409
+ - screenshots/index.png
410
+ - screenshots/list.png
411
+ - screenshots/new.png
210
412
  - spec/controllers/main_spec.rb
211
413
  - spec/migrations/activerecord/001_create_divisions_migration.rb
212
414
  - spec/migrations/activerecord/002_create_drafts_migration.rb
@@ -236,15 +438,13 @@ files:
236
438
  - spec/requests/main_spec.rb
237
439
  - spec/spec_helper.rb
238
440
  has_rdoc: true
239
- homepage: http://github.com/sferik/merb-admin
441
+ homepage: http://rubygems.org/gems/merb-admin
240
442
  licenses: []
241
443
 
242
444
  post_install_message: |
243
445
  ********************************************************************************
244
-
446
+ Make sure to add authorization logic before deploying to production!
245
447
  WARNING: MerbAdmin does not implement any authorization scheme.
246
- Make sure to apply authorization logic before deploying to production!
247
-
248
448
  ********************************************************************************
249
449
 
250
450
  rdoc_options:
@@ -252,26 +452,32 @@ rdoc_options:
252
452
  require_paths:
253
453
  - lib
254
454
  required_ruby_version: !ruby/object:Gem::Requirement
455
+ none: false
255
456
  requirements:
256
457
  - - ">="
257
458
  - !ruby/object:Gem::Version
459
+ hash: 3
258
460
  segments:
259
461
  - 0
260
462
  version: "0"
261
463
  required_rubygems_version: !ruby/object:Gem::Requirement
464
+ none: false
262
465
  requirements:
263
466
  - - ">="
264
467
  - !ruby/object:Gem::Version
468
+ hash: 23
265
469
  segments:
266
- - 0
267
- version: "0"
470
+ - 1
471
+ - 3
472
+ - 6
473
+ version: 1.3.6
268
474
  requirements: []
269
475
 
270
- rubyforge_project:
271
- rubygems_version: 1.3.6
476
+ rubyforge_project: merb-admin
477
+ rubygems_version: 1.3.7
272
478
  signing_key:
273
479
  specification_version: 3
274
- summary: MerbAdmin is a Merb plugin that provides an easy-to-use interface for managing your data.
480
+ summary: MerbAdmin is a Merb plugin that provides an easy-to-use interface for managing your data
275
481
  test_files:
276
482
  - spec/controllers/main_spec.rb
277
483
  - spec/migrations/activerecord/001_create_divisions_migration.rb