activeadmin 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of activeadmin might be problematic. Click here for more details.
- data/CHANGELOG.rdoc +15 -1
- data/Gemfile +41 -11
- data/LICENSE +5 -0
- data/README.rdoc +202 -87
- data/Rakefile +51 -15
- data/activeadmin.gemspec +310 -131
- data/cucumber.yml +1 -0
- data/features/comments/commenting.feature +81 -0
- data/features/comments/viewing_index.feature +19 -0
- data/features/edit_page.feature +77 -0
- data/features/first_boot.feature +16 -0
- data/features/global_navigation.feature +30 -0
- data/features/index/formats.feature +10 -0
- data/features/index/index_as_block.feature +15 -0
- data/features/index/index_as_blog.feature +50 -0
- data/features/index/index_as_grid.feature +45 -0
- data/features/index/index_as_table.feature +79 -0
- data/features/index/index_scopes.feature +52 -0
- data/features/index/pagination.feature +23 -0
- data/features/new_page.feature +75 -0
- data/features/registering_assets.feature +35 -0
- data/features/registering_resources.feature +33 -0
- data/features/show/default_content.feature +43 -0
- data/features/show/page_title.feature +33 -0
- data/features/sidebar_sections.feature +128 -0
- data/features/specifying_actions.feature +16 -0
- data/features/step_definitions/action_item_steps.rb +7 -0
- data/features/step_definitions/additional_web_steps.rb +67 -0
- data/features/step_definitions/asset_steps.rb +7 -0
- data/features/step_definitions/attribute_steps.rb +15 -0
- data/features/step_definitions/comment_steps.rb +8 -0
- data/features/step_definitions/configuration_steps.rb +31 -0
- data/features/step_definitions/factory_steps.rb +28 -0
- data/features/step_definitions/flash_steps.rb +3 -0
- data/features/step_definitions/format_steps.rb +7 -0
- data/features/step_definitions/index_scope_steps.rb +20 -0
- data/features/step_definitions/pagination_steps.rb +8 -0
- data/features/step_definitions/sidebar_steps.rb +11 -0
- data/features/step_definitions/tab_steps.rb +3 -0
- data/features/step_definitions/user_steps.rb +20 -0
- data/features/step_definitions/web_steps.rb +219 -0
- data/features/support/env.rb +88 -0
- data/features/support/paths.rb +48 -0
- data/features/users/logging_in.feature +34 -0
- data/features/users/logging_out.feature +13 -0
- data/lib/active_admin.rb +155 -79
- data/lib/active_admin/abstract_view_factory.rb +95 -0
- data/lib/active_admin/action_items.rb +4 -15
- data/lib/active_admin/arbre.rb +23 -0
- data/lib/active_admin/arbre/attributes.rb +20 -0
- data/lib/active_admin/arbre/class_list.rb +28 -0
- data/lib/active_admin/arbre/collection.rb +27 -0
- data/lib/active_admin/arbre/context.rb +8 -0
- data/lib/active_admin/arbre/core_extensions.rb +5 -0
- data/lib/active_admin/arbre/document.rb +42 -0
- data/lib/active_admin/arbre/element.rb +151 -0
- data/lib/active_admin/arbre/html.rb +84 -0
- data/lib/active_admin/arbre/html5_elements.rb +47 -0
- data/lib/active_admin/arbre/tag.rb +129 -0
- data/lib/active_admin/arbre/text_node.rb +35 -0
- data/lib/active_admin/callbacks.rb +87 -0
- data/lib/active_admin/comments.rb +73 -0
- data/lib/active_admin/comments/comment.rb +15 -0
- data/lib/active_admin/comments/configuration.rb +16 -0
- data/lib/active_admin/comments/namespace_helper.rb +14 -0
- data/lib/active_admin/comments/resource_helper.rb +17 -0
- data/lib/active_admin/comments/show_page_helper.rb +23 -0
- data/lib/active_admin/comments/views.rb +3 -0
- data/lib/active_admin/comments/views/active_admin_comment.rb +0 -0
- data/lib/active_admin/comments/views/active_admin_comments.rb +82 -0
- data/lib/active_admin/component.rb +22 -0
- data/lib/active_admin/controller_action.rb +12 -0
- data/lib/active_admin/dashboards.rb +0 -2
- data/lib/active_admin/dashboards/dashboard_controller.rb +10 -5
- data/lib/active_admin/dashboards/section.rb +5 -14
- data/lib/active_admin/devise.rb +43 -0
- data/lib/active_admin/dsl.rb +202 -0
- data/lib/active_admin/event.rb +31 -0
- data/lib/active_admin/form_builder.rb +68 -50
- data/lib/active_admin/iconic.rb +51 -0
- data/lib/active_admin/iconic/icons.rb +142 -0
- data/lib/active_admin/namespace.rb +102 -16
- data/lib/active_admin/renderer.rb +18 -3
- data/lib/active_admin/resource.rb +110 -9
- data/lib/active_admin/resource/belongs_to.rb +31 -0
- data/lib/active_admin/resource_controller.rb +45 -260
- data/lib/active_admin/resource_controller/action_builder.rb +21 -0
- data/lib/active_admin/resource_controller/actions.rb +53 -0
- data/lib/active_admin/resource_controller/callbacks.rb +47 -0
- data/lib/active_admin/resource_controller/collection.rb +142 -0
- data/lib/active_admin/resource_controller/filters.rb +58 -0
- data/lib/active_admin/resource_controller/form.rb +42 -0
- data/lib/active_admin/resource_controller/menu.rb +29 -0
- data/lib/active_admin/resource_controller/page_configurations.rb +53 -0
- data/lib/active_admin/resource_controller/scoping.rb +36 -0
- data/lib/active_admin/resource_controller/sidebars.rb +38 -0
- data/lib/active_admin/scope.rb +17 -0
- data/lib/active_admin/sidebar.rb +8 -47
- data/lib/active_admin/stylesheets/active_admin.scss +418 -0
- data/lib/active_admin/stylesheets/active_admin/_comments.scss +40 -0
- data/lib/active_admin/stylesheets/active_admin/_flash_messages.scss +13 -0
- data/lib/active_admin/stylesheets/active_admin/_forms.scss +168 -0
- data/lib/active_admin/stylesheets/active_admin/_header.scss +108 -0
- data/lib/active_admin/stylesheets/active_admin/_typography.scss +100 -0
- data/lib/active_admin/stylesheets/active_admin/mixins/_all.scss +8 -0
- data/lib/active_admin/stylesheets/active_admin/mixins/_buttons.scss +27 -0
- data/lib/active_admin/stylesheets/active_admin/mixins/_gradients.scss +21 -0
- data/lib/active_admin/stylesheets/active_admin/mixins/_icons.scss +20 -0
- data/lib/active_admin/stylesheets/active_admin/mixins/_reset.scss +165 -0
- data/lib/active_admin/stylesheets/active_admin/mixins/_rounded.scss +43 -0
- data/lib/active_admin/stylesheets/active_admin/mixins/_sections.scss +27 -0
- data/lib/active_admin/stylesheets/active_admin/mixins/_shadows.scss +21 -0
- data/lib/active_admin/stylesheets/active_admin/mixins/_variables.scss +12 -0
- data/lib/active_admin/version.rb +1 -1
- data/lib/active_admin/view_factory.rb +21 -0
- data/lib/active_admin/view_helpers.rb +17 -100
- data/lib/active_admin/view_helpers/assigns_with_indifferent_access_helper.rb +7 -0
- data/lib/active_admin/view_helpers/auto_link_helper.rb +41 -0
- data/lib/active_admin/view_helpers/breadcrumb_helper.rb +29 -0
- data/lib/active_admin/view_helpers/display_helper.rb +38 -0
- data/lib/active_admin/view_helpers/filter_form_helper.rb +174 -0
- data/lib/active_admin/view_helpers/form_helper.rb +12 -0
- data/lib/active_admin/view_helpers/icon_helper.rb +12 -0
- data/lib/active_admin/view_helpers/method_or_proc_helper.rb +26 -0
- data/lib/active_admin/view_helpers/renderer_helper.rb +29 -0
- data/lib/active_admin/view_helpers/sidebar_helper.rb +15 -0
- data/lib/active_admin/view_helpers/status_tag_helper.rb +13 -0
- data/lib/active_admin/view_helpers/table_helper.rb +12 -0
- data/lib/active_admin/view_helpers/title_helper.rb +11 -0
- data/lib/active_admin/view_helpers/view_factory_helper.rb +11 -0
- data/lib/active_admin/views.rb +8 -0
- data/lib/active_admin/views/action_items.rb +17 -0
- data/lib/active_admin/views/components/attributes_table.rb +66 -0
- data/lib/active_admin/views/components/columns.rb +49 -0
- data/lib/active_admin/views/components/paginated_collection.rb +74 -0
- data/lib/active_admin/views/components/panel.rb +26 -0
- data/lib/active_admin/views/components/scopes.rb +64 -0
- data/lib/active_admin/views/components/sidebar_section.rb +30 -0
- data/lib/active_admin/views/components/table_for.rb +174 -0
- data/lib/active_admin/views/dashboard_section_renderer.rb +19 -0
- data/lib/active_admin/views/header_renderer.rb +37 -0
- data/lib/active_admin/views/index_as_block.rb +24 -0
- data/lib/active_admin/views/index_as_blog.rb +89 -0
- data/lib/active_admin/views/index_as_grid.rb +49 -0
- data/lib/active_admin/views/index_as_table.rb +73 -0
- data/lib/active_admin/views/pages/base.rb +138 -0
- data/lib/active_admin/views/pages/dashboard.rb +61 -0
- data/lib/active_admin/views/pages/edit.rb +27 -0
- data/lib/active_admin/views/pages/index.rb +64 -0
- data/lib/active_admin/views/pages/new.rb +27 -0
- data/lib/active_admin/views/pages/show.rb +56 -0
- data/lib/active_admin/views/tabs_renderer.rb +52 -0
- data/lib/active_admin/views/templates/active_admin/devise/mailer/reset_password_instructions.html.erb +8 -0
- data/lib/active_admin/views/templates/active_admin/devise/mailer/unlock_instructions.html.erb +7 -0
- data/lib/active_admin/views/templates/active_admin/devise/passwords/edit.html.erb +16 -0
- data/lib/active_admin/views/templates/active_admin/devise/passwords/new.html.erb +14 -0
- data/lib/active_admin/views/templates/active_admin/devise/sessions/new.html.erb +18 -0
- data/lib/active_admin/views/templates/active_admin/devise/shared/_links.erb +20 -0
- data/lib/active_admin/views/templates/active_admin/devise/unlocks/new.html.erb +12 -0
- data/lib/active_admin/views/templates/active_admin_dashboard/index.html.arb +1 -0
- data/lib/active_admin/views/templates/active_admin_default/edit.html.arb +1 -0
- data/lib/active_admin/views/{active_admin_default → templates/active_admin_default}/index.csv.erb +0 -0
- data/lib/active_admin/views/templates/active_admin_default/index.html.arb +1 -0
- data/lib/active_admin/views/templates/active_admin_default/new.html.arb +1 -0
- data/lib/active_admin/views/templates/active_admin_default/show.html.arb +1 -0
- data/lib/active_admin/views/{layouts → templates/layouts}/active_admin.html.erb +3 -4
- data/lib/active_admin/views/templates/layouts/active_admin_logged_out.html.erb +31 -0
- data/lib/generators/active_admin/devise/devise_generator.rb +45 -0
- data/lib/generators/active_admin/install/install_generator.rb +18 -3
- data/lib/generators/active_admin/install/templates/active_admin.js +41 -0
- data/lib/generators/active_admin/install/templates/{active_admin.rb → active_admin.rb.erb} +33 -3
- data/lib/generators/active_admin/install/templates/active_admin_vendor.js +1 -1
- data/lib/generators/active_admin/install/templates/dashboards.rb +3 -4
- data/lib/generators/active_admin/install/templates/images/admin_notes_icon.png +0 -0
- data/lib/generators/active_admin/install/templates/images/loading.gif +0 -0
- data/lib/generators/active_admin/install/templates/images/nested_menu_arrow.gif +0 -0
- data/lib/generators/active_admin/install/templates/images/nested_menu_arrow_dark.gif +0 -0
- data/lib/generators/active_admin/install/templates/images/orderable.png +0 -0
- data/lib/generators/active_admin/install/templates/migrations/1_create_admin_notes.rb +16 -0
- data/lib/generators/active_admin/install/templates/migrations/2_move_admin_notes_to_comments.rb +25 -0
- data/spec/integration/belongs_to_spec.rb +42 -0
- data/spec/integration/index_as_table_spec.rb +0 -119
- data/spec/integration/layout_spec.rb +3 -37
- data/spec/spec_helper.rb +89 -50
- data/spec/support/integration_example_group.rb +37 -0
- data/spec/support/rails_template.rb +21 -9
- data/spec/support/rails_template_with_data.rb +32 -0
- data/spec/support/templates/cucumber.rb +28 -0
- data/spec/unit/abstract_view_factory_spec.rb +79 -0
- data/spec/unit/action_builder_spec.rb +19 -7
- data/spec/unit/action_items_spec.rb +16 -30
- data/spec/unit/active_admin_spec.rb +10 -22
- data/spec/unit/arbre/html/element_finder_methods_spec.rb +54 -0
- data/spec/unit/arbre/html/element_spec.rb +224 -0
- data/spec/unit/arbre/html/tag_attributes_spec.rb +61 -0
- data/spec/unit/arbre/html/tag_spec.rb +63 -0
- data/spec/unit/arbre/html_spec.rb +185 -0
- data/spec/unit/auto_link_spec.rb +38 -0
- data/spec/unit/belongs_to_spec.rb +44 -0
- data/spec/unit/breadcrumbs_spec.rb +110 -0
- data/spec/unit/comments_spec.rb +53 -0
- data/spec/unit/component_spec.rb +18 -0
- data/spec/unit/components/attributes_table_spec.rb +100 -0
- data/spec/unit/components/columns_spec.rb +75 -0
- data/spec/unit/components/panel_spec.rb +31 -0
- data/spec/unit/components/sidebar_section_spec.rb +37 -0
- data/spec/unit/components/table_for_spec.rb +130 -0
- data/spec/unit/dashboard_controller_spec.rb +26 -0
- data/spec/unit/dashboard_section_spec.rb +10 -17
- data/spec/unit/display_name_spec.rb +29 -0
- data/spec/unit/event_spec.rb +41 -0
- data/spec/unit/filter_form_builder_spec.rb +99 -77
- data/spec/unit/form_builder_spec.rb +69 -69
- data/spec/unit/namespace_spec.rb +61 -3
- data/spec/unit/pretty_format_spec.rb +35 -0
- data/spec/unit/registration_spec.rb +40 -1
- data/spec/unit/renderer_spec.rb +8 -0
- data/spec/unit/resource_controller_spec.rb +105 -6
- data/spec/unit/resource_spec.rb +78 -11
- data/spec/unit/routing_spec.rb +82 -6
- data/spec/unit/scope_spec.rb +31 -0
- data/spec/unit/tabs_renderer_spec.rb +24 -2
- data/spec/unit/view_factory_spec.rb +16 -0
- metadata +268 -82
- data/.gitignore +0 -25
- data/active_admin.gemspec +0 -22
- data/lib/active_admin/action_builder.rb +0 -60
- data/lib/active_admin/breadcrumbs.rb +0 -26
- data/lib/active_admin/dashboards/renderer.rb +0 -45
- data/lib/active_admin/dashboards/section_renderer.rb +0 -28
- data/lib/active_admin/filters.rb +0 -189
- data/lib/active_admin/pages.rb +0 -11
- data/lib/active_admin/pages/base.rb +0 -92
- data/lib/active_admin/pages/edit.rb +0 -21
- data/lib/active_admin/pages/index.rb +0 -58
- data/lib/active_admin/pages/index/blog.rb +0 -65
- data/lib/active_admin/pages/index/table.rb +0 -48
- data/lib/active_admin/pages/index/thumbnails.rb +0 -40
- data/lib/active_admin/pages/new.rb +0 -21
- data/lib/active_admin/pages/show.rb +0 -54
- data/lib/active_admin/table_builder.rb +0 -162
- data/lib/active_admin/tabs_renderer.rb +0 -39
- data/lib/active_admin/views/active_admin_dashboard/index.html.erb +0 -1
- data/lib/active_admin/views/active_admin_default/edit.html.erb +0 -1
- data/lib/active_admin/views/active_admin_default/index.html.erb +0 -1
- data/lib/active_admin/views/active_admin_default/new.html.erb +0 -1
- data/lib/active_admin/views/active_admin_default/show.html.erb +0 -1
- data/lib/generators/active_admin/install/templates/active_admin.css +0 -325
- data/lib/generators/active_admin/install/templates/images/orderable.gif +0 -0
- data/spec/integration/index_as_blog_spec.rb +0 -65
- data/spec/integration/index_as_thumbnails_spec.rb +0 -43
- data/spec/integration/new_view_spec.rb +0 -52
- data/spec/integration/show_view_spec.rb +0 -91
- data/spec/unit/sidebar_spec.rb +0 -96
- data/spec/unit/table_builder_spec.rb +0 -162
data/Rakefile
CHANGED
@@ -4,10 +4,44 @@ Bundler.setup
|
|
4
4
|
|
5
5
|
require 'rake'
|
6
6
|
|
7
|
+
def cmd(command)
|
8
|
+
puts command
|
9
|
+
system command
|
10
|
+
end
|
11
|
+
|
12
|
+
desc "Install all supported versions of rails"
|
13
|
+
task :install_all_rails do
|
14
|
+
(0..6).to_a.each do |v|
|
15
|
+
system "rm Gemfile.lock"
|
16
|
+
puts "Installing for RAILS=3.0.#{v}"
|
17
|
+
cmd "RAILS=3.0.#{v} bundle install"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
7
21
|
desc "Creates a test rails app for the specs to run against"
|
8
22
|
task :setup do
|
23
|
+
require 'rails/version'
|
9
24
|
system("mkdir spec/rails") unless File.exists?("spec/rails")
|
10
|
-
system "bundle exec rails new spec/rails/rails
|
25
|
+
system "bundle exec rails new spec/rails/rails-#{Rails::VERSION::STRING} -m spec/support/rails_template.rb"
|
26
|
+
end
|
27
|
+
|
28
|
+
namespace :local do
|
29
|
+
desc "Creates a local rails app to play with in development"
|
30
|
+
task :setup do
|
31
|
+
unless File.exists? "test-rails-app"
|
32
|
+
system "bundle exec rails new test-rails-app -m spec/support/rails_template_with_data.rb"
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
desc "Start a local rails app to play"
|
37
|
+
task :server => :setup do
|
38
|
+
exec "cd test-rails-app && GEMFILE=../Gemfile bundle exec rails s"
|
39
|
+
end
|
40
|
+
|
41
|
+
desc "Load the local rails console"
|
42
|
+
task :console => :setup do
|
43
|
+
exec "cd test-rails-app && GEMFILE=../Gemfile bundle exec rails c"
|
44
|
+
end
|
11
45
|
end
|
12
46
|
|
13
47
|
require "rspec/core/rake_task"
|
@@ -20,19 +54,27 @@ end
|
|
20
54
|
task :default => :spec
|
21
55
|
|
22
56
|
namespace :spec do
|
23
|
-
|
24
57
|
desc "Run specs for all versions of rails"
|
25
58
|
task :all do
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
59
|
+
(0..6).to_a.each do |v|
|
60
|
+
puts "Running for Rails 3.0.#{v}"
|
61
|
+
cmd "rm Gemfile.lock" if File.exists?("Gemfile.lock")
|
62
|
+
cmd "/usr/bin/env RAILS=3.0.#{v} bundle install"
|
63
|
+
cmd "/usr/bin/env RAILS=3.0.#{v} rake spec"
|
64
|
+
end
|
32
65
|
end
|
33
|
-
|
34
66
|
end
|
35
67
|
|
68
|
+
require 'cucumber/rake/task'
|
69
|
+
|
70
|
+
namespace :cucumber do
|
71
|
+
Cucumber::Rake::Task.new(:all) do |t|
|
72
|
+
t.profile = 'default'
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
task :cucumber => "cucumber:all"
|
77
|
+
|
36
78
|
require 'rake/rdoctask'
|
37
79
|
Rake::RDocTask.new do |rdoc|
|
38
80
|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
@@ -58,12 +100,6 @@ begin
|
|
58
100
|
|
59
101
|
require File.join(File.dirname(File.expand_path(__FILE__)), 'lib', 'active_admin', 'version')
|
60
102
|
gem.version = ActiveAdmin::VERSION
|
61
|
-
|
62
|
-
gem.add_dependency 'rails', '>= 3.0.0'
|
63
|
-
gem.add_dependency 'formtastic', '>= 1.1.0.beta'
|
64
|
-
gem.add_dependency 'will_paginate', '>= 3.0.pre2'
|
65
|
-
gem.add_dependency "meta_search", '>= 0.9.2'
|
66
|
-
gem.add_dependency 'inherited_views'
|
67
103
|
end
|
68
104
|
Jeweler::GemcutterTasks.new
|
69
105
|
rescue LoadError
|
data/activeadmin.gemspec
CHANGED
@@ -1,174 +1,353 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{activeadmin}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.2.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Greg Bell"]
|
12
|
-
s.date = %q{
|
12
|
+
s.date = %q{2011-05-12}
|
13
13
|
s.description = %q{The administration framework for Ruby on Rails.}
|
14
14
|
s.email = %q{gregdbell@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE",
|
17
|
-
|
17
|
+
"README.rdoc"
|
18
18
|
]
|
19
19
|
s.files = [
|
20
20
|
".document",
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
21
|
+
"CHANGELOG.rdoc",
|
22
|
+
"Gemfile",
|
23
|
+
"LICENSE",
|
24
|
+
"README.rdoc",
|
25
|
+
"Rakefile",
|
26
|
+
"activeadmin.gemspec",
|
27
|
+
"cucumber.yml",
|
28
|
+
"features/comments/commenting.feature",
|
29
|
+
"features/comments/viewing_index.feature",
|
30
|
+
"features/edit_page.feature",
|
31
|
+
"features/first_boot.feature",
|
32
|
+
"features/global_navigation.feature",
|
33
|
+
"features/index/formats.feature",
|
34
|
+
"features/index/index_as_block.feature",
|
35
|
+
"features/index/index_as_blog.feature",
|
36
|
+
"features/index/index_as_grid.feature",
|
37
|
+
"features/index/index_as_table.feature",
|
38
|
+
"features/index/index_scopes.feature",
|
39
|
+
"features/index/pagination.feature",
|
40
|
+
"features/new_page.feature",
|
41
|
+
"features/registering_assets.feature",
|
42
|
+
"features/registering_resources.feature",
|
43
|
+
"features/show/default_content.feature",
|
44
|
+
"features/show/page_title.feature",
|
45
|
+
"features/sidebar_sections.feature",
|
46
|
+
"features/specifying_actions.feature",
|
47
|
+
"features/step_definitions/action_item_steps.rb",
|
48
|
+
"features/step_definitions/additional_web_steps.rb",
|
49
|
+
"features/step_definitions/asset_steps.rb",
|
50
|
+
"features/step_definitions/attribute_steps.rb",
|
51
|
+
"features/step_definitions/comment_steps.rb",
|
52
|
+
"features/step_definitions/configuration_steps.rb",
|
53
|
+
"features/step_definitions/factory_steps.rb",
|
54
|
+
"features/step_definitions/flash_steps.rb",
|
55
|
+
"features/step_definitions/format_steps.rb",
|
56
|
+
"features/step_definitions/index_scope_steps.rb",
|
57
|
+
"features/step_definitions/pagination_steps.rb",
|
58
|
+
"features/step_definitions/sidebar_steps.rb",
|
59
|
+
"features/step_definitions/tab_steps.rb",
|
60
|
+
"features/step_definitions/user_steps.rb",
|
61
|
+
"features/step_definitions/web_steps.rb",
|
62
|
+
"features/support/env.rb",
|
63
|
+
"features/support/paths.rb",
|
64
|
+
"features/users/logging_in.feature",
|
65
|
+
"features/users/logging_out.feature",
|
66
|
+
"lib/active_admin.rb",
|
67
|
+
"lib/active_admin/abstract_view_factory.rb",
|
68
|
+
"lib/active_admin/action_items.rb",
|
69
|
+
"lib/active_admin/arbre.rb",
|
70
|
+
"lib/active_admin/arbre/attributes.rb",
|
71
|
+
"lib/active_admin/arbre/class_list.rb",
|
72
|
+
"lib/active_admin/arbre/collection.rb",
|
73
|
+
"lib/active_admin/arbre/context.rb",
|
74
|
+
"lib/active_admin/arbre/core_extensions.rb",
|
75
|
+
"lib/active_admin/arbre/document.rb",
|
76
|
+
"lib/active_admin/arbre/element.rb",
|
77
|
+
"lib/active_admin/arbre/html.rb",
|
78
|
+
"lib/active_admin/arbre/html5_elements.rb",
|
79
|
+
"lib/active_admin/arbre/tag.rb",
|
80
|
+
"lib/active_admin/arbre/text_node.rb",
|
81
|
+
"lib/active_admin/asset_registration.rb",
|
82
|
+
"lib/active_admin/callbacks.rb",
|
83
|
+
"lib/active_admin/comments.rb",
|
84
|
+
"lib/active_admin/comments/comment.rb",
|
85
|
+
"lib/active_admin/comments/configuration.rb",
|
86
|
+
"lib/active_admin/comments/namespace_helper.rb",
|
87
|
+
"lib/active_admin/comments/resource_helper.rb",
|
88
|
+
"lib/active_admin/comments/show_page_helper.rb",
|
89
|
+
"lib/active_admin/comments/views.rb",
|
90
|
+
"lib/active_admin/comments/views/active_admin_comment.rb",
|
91
|
+
"lib/active_admin/comments/views/active_admin_comments.rb",
|
92
|
+
"lib/active_admin/component.rb",
|
93
|
+
"lib/active_admin/controller_action.rb",
|
94
|
+
"lib/active_admin/dashboards.rb",
|
95
|
+
"lib/active_admin/dashboards/dashboard_controller.rb",
|
96
|
+
"lib/active_admin/dashboards/section.rb",
|
97
|
+
"lib/active_admin/devise.rb",
|
98
|
+
"lib/active_admin/dsl.rb",
|
99
|
+
"lib/active_admin/event.rb",
|
100
|
+
"lib/active_admin/form_builder.rb",
|
101
|
+
"lib/active_admin/helpers/optional_display.rb",
|
102
|
+
"lib/active_admin/iconic.rb",
|
103
|
+
"lib/active_admin/iconic/icons.rb",
|
104
|
+
"lib/active_admin/menu.rb",
|
105
|
+
"lib/active_admin/menu_item.rb",
|
106
|
+
"lib/active_admin/namespace.rb",
|
107
|
+
"lib/active_admin/page_config.rb",
|
108
|
+
"lib/active_admin/renderer.rb",
|
109
|
+
"lib/active_admin/resource.rb",
|
110
|
+
"lib/active_admin/resource/belongs_to.rb",
|
111
|
+
"lib/active_admin/resource_controller.rb",
|
112
|
+
"lib/active_admin/resource_controller/action_builder.rb",
|
113
|
+
"lib/active_admin/resource_controller/actions.rb",
|
114
|
+
"lib/active_admin/resource_controller/callbacks.rb",
|
115
|
+
"lib/active_admin/resource_controller/collection.rb",
|
116
|
+
"lib/active_admin/resource_controller/filters.rb",
|
117
|
+
"lib/active_admin/resource_controller/form.rb",
|
118
|
+
"lib/active_admin/resource_controller/menu.rb",
|
119
|
+
"lib/active_admin/resource_controller/page_configurations.rb",
|
120
|
+
"lib/active_admin/resource_controller/scoping.rb",
|
121
|
+
"lib/active_admin/resource_controller/sidebars.rb",
|
122
|
+
"lib/active_admin/scope.rb",
|
123
|
+
"lib/active_admin/sidebar.rb",
|
124
|
+
"lib/active_admin/stylesheets/active_admin.scss",
|
125
|
+
"lib/active_admin/stylesheets/active_admin/_comments.scss",
|
126
|
+
"lib/active_admin/stylesheets/active_admin/_flash_messages.scss",
|
127
|
+
"lib/active_admin/stylesheets/active_admin/_forms.scss",
|
128
|
+
"lib/active_admin/stylesheets/active_admin/_header.scss",
|
129
|
+
"lib/active_admin/stylesheets/active_admin/_typography.scss",
|
130
|
+
"lib/active_admin/stylesheets/active_admin/mixins/_all.scss",
|
131
|
+
"lib/active_admin/stylesheets/active_admin/mixins/_buttons.scss",
|
132
|
+
"lib/active_admin/stylesheets/active_admin/mixins/_gradients.scss",
|
133
|
+
"lib/active_admin/stylesheets/active_admin/mixins/_icons.scss",
|
134
|
+
"lib/active_admin/stylesheets/active_admin/mixins/_reset.scss",
|
135
|
+
"lib/active_admin/stylesheets/active_admin/mixins/_rounded.scss",
|
136
|
+
"lib/active_admin/stylesheets/active_admin/mixins/_sections.scss",
|
137
|
+
"lib/active_admin/stylesheets/active_admin/mixins/_shadows.scss",
|
138
|
+
"lib/active_admin/stylesheets/active_admin/mixins/_variables.scss",
|
139
|
+
"lib/active_admin/version.rb",
|
140
|
+
"lib/active_admin/view_factory.rb",
|
141
|
+
"lib/active_admin/view_helpers.rb",
|
142
|
+
"lib/active_admin/view_helpers/assigns_with_indifferent_access_helper.rb",
|
143
|
+
"lib/active_admin/view_helpers/auto_link_helper.rb",
|
144
|
+
"lib/active_admin/view_helpers/breadcrumb_helper.rb",
|
145
|
+
"lib/active_admin/view_helpers/display_helper.rb",
|
146
|
+
"lib/active_admin/view_helpers/filter_form_helper.rb",
|
147
|
+
"lib/active_admin/view_helpers/form_helper.rb",
|
148
|
+
"lib/active_admin/view_helpers/icon_helper.rb",
|
149
|
+
"lib/active_admin/view_helpers/method_or_proc_helper.rb",
|
150
|
+
"lib/active_admin/view_helpers/renderer_helper.rb",
|
151
|
+
"lib/active_admin/view_helpers/sidebar_helper.rb",
|
152
|
+
"lib/active_admin/view_helpers/status_tag_helper.rb",
|
153
|
+
"lib/active_admin/view_helpers/table_helper.rb",
|
154
|
+
"lib/active_admin/view_helpers/title_helper.rb",
|
155
|
+
"lib/active_admin/view_helpers/view_factory_helper.rb",
|
156
|
+
"lib/active_admin/views.rb",
|
157
|
+
"lib/active_admin/views/action_items.rb",
|
158
|
+
"lib/active_admin/views/components/attributes_table.rb",
|
159
|
+
"lib/active_admin/views/components/columns.rb",
|
160
|
+
"lib/active_admin/views/components/paginated_collection.rb",
|
161
|
+
"lib/active_admin/views/components/panel.rb",
|
162
|
+
"lib/active_admin/views/components/scopes.rb",
|
163
|
+
"lib/active_admin/views/components/sidebar_section.rb",
|
164
|
+
"lib/active_admin/views/components/table_for.rb",
|
165
|
+
"lib/active_admin/views/dashboard_section_renderer.rb",
|
166
|
+
"lib/active_admin/views/header_renderer.rb",
|
167
|
+
"lib/active_admin/views/index_as_block.rb",
|
168
|
+
"lib/active_admin/views/index_as_blog.rb",
|
169
|
+
"lib/active_admin/views/index_as_grid.rb",
|
170
|
+
"lib/active_admin/views/index_as_table.rb",
|
171
|
+
"lib/active_admin/views/pages/base.rb",
|
172
|
+
"lib/active_admin/views/pages/dashboard.rb",
|
173
|
+
"lib/active_admin/views/pages/edit.rb",
|
174
|
+
"lib/active_admin/views/pages/index.rb",
|
175
|
+
"lib/active_admin/views/pages/new.rb",
|
176
|
+
"lib/active_admin/views/pages/show.rb",
|
177
|
+
"lib/active_admin/views/tabs_renderer.rb",
|
178
|
+
"lib/active_admin/views/templates/active_admin/devise/mailer/reset_password_instructions.html.erb",
|
179
|
+
"lib/active_admin/views/templates/active_admin/devise/mailer/unlock_instructions.html.erb",
|
180
|
+
"lib/active_admin/views/templates/active_admin/devise/passwords/edit.html.erb",
|
181
|
+
"lib/active_admin/views/templates/active_admin/devise/passwords/new.html.erb",
|
182
|
+
"lib/active_admin/views/templates/active_admin/devise/sessions/new.html.erb",
|
183
|
+
"lib/active_admin/views/templates/active_admin/devise/shared/_links.erb",
|
184
|
+
"lib/active_admin/views/templates/active_admin/devise/unlocks/new.html.erb",
|
185
|
+
"lib/active_admin/views/templates/active_admin_dashboard/index.html.arb",
|
186
|
+
"lib/active_admin/views/templates/active_admin_default/edit.html.arb",
|
187
|
+
"lib/active_admin/views/templates/active_admin_default/index.csv.erb",
|
188
|
+
"lib/active_admin/views/templates/active_admin_default/index.html.arb",
|
189
|
+
"lib/active_admin/views/templates/active_admin_default/new.html.arb",
|
190
|
+
"lib/active_admin/views/templates/active_admin_default/show.html.arb",
|
191
|
+
"lib/active_admin/views/templates/layouts/active_admin.html.erb",
|
192
|
+
"lib/active_admin/views/templates/layouts/active_admin_logged_out.html.erb",
|
193
|
+
"lib/activeadmin.rb",
|
194
|
+
"lib/generators/active_admin/devise/devise_generator.rb",
|
195
|
+
"lib/generators/active_admin/install/install_generator.rb",
|
196
|
+
"lib/generators/active_admin/install/templates/active_admin.js",
|
197
|
+
"lib/generators/active_admin/install/templates/active_admin.rb.erb",
|
198
|
+
"lib/generators/active_admin/install/templates/active_admin_vendor.js",
|
199
|
+
"lib/generators/active_admin/install/templates/dashboards.rb",
|
200
|
+
"lib/generators/active_admin/install/templates/images/admin_notes_icon.png",
|
201
|
+
"lib/generators/active_admin/install/templates/images/loading.gif",
|
202
|
+
"lib/generators/active_admin/install/templates/images/nested_menu_arrow.gif",
|
203
|
+
"lib/generators/active_admin/install/templates/images/nested_menu_arrow_dark.gif",
|
204
|
+
"lib/generators/active_admin/install/templates/images/orderable.png",
|
205
|
+
"lib/generators/active_admin/install/templates/migrations/1_create_admin_notes.rb",
|
206
|
+
"lib/generators/active_admin/install/templates/migrations/2_move_admin_notes_to_comments.rb",
|
207
|
+
"lib/generators/active_admin/resource/resource_generator.rb",
|
208
|
+
"lib/generators/active_admin/resource/templates/admin.rb",
|
209
|
+
"spec/integration/belongs_to_spec.rb",
|
210
|
+
"spec/integration/dashboard_spec.rb",
|
211
|
+
"spec/integration/index_as_csv_spec.rb",
|
212
|
+
"spec/integration/index_as_table_spec.rb",
|
213
|
+
"spec/integration/layout_spec.rb",
|
214
|
+
"spec/spec_helper.rb",
|
215
|
+
"spec/support/integration_example_group.rb",
|
216
|
+
"spec/support/rails_template.rb",
|
217
|
+
"spec/support/rails_template_with_data.rb",
|
218
|
+
"spec/support/templates/cucumber.rb",
|
219
|
+
"spec/unit/abstract_view_factory_spec.rb",
|
220
|
+
"spec/unit/action_builder_spec.rb",
|
221
|
+
"spec/unit/action_items_spec.rb",
|
222
|
+
"spec/unit/active_admin_spec.rb",
|
223
|
+
"spec/unit/arbre/html/element_finder_methods_spec.rb",
|
224
|
+
"spec/unit/arbre/html/element_spec.rb",
|
225
|
+
"spec/unit/arbre/html/tag_attributes_spec.rb",
|
226
|
+
"spec/unit/arbre/html/tag_spec.rb",
|
227
|
+
"spec/unit/arbre/html_spec.rb",
|
228
|
+
"spec/unit/asset_registration_spec.rb",
|
229
|
+
"spec/unit/auto_link_spec.rb",
|
230
|
+
"spec/unit/belongs_to_spec.rb",
|
231
|
+
"spec/unit/breadcrumbs_spec.rb",
|
232
|
+
"spec/unit/comments_spec.rb",
|
233
|
+
"spec/unit/component_spec.rb",
|
234
|
+
"spec/unit/components/attributes_table_spec.rb",
|
235
|
+
"spec/unit/components/columns_spec.rb",
|
236
|
+
"spec/unit/components/panel_spec.rb",
|
237
|
+
"spec/unit/components/sidebar_section_spec.rb",
|
238
|
+
"spec/unit/components/table_for_spec.rb",
|
239
|
+
"spec/unit/controller_filters_spec.rb",
|
240
|
+
"spec/unit/dashboard_controller_spec.rb",
|
241
|
+
"spec/unit/dashboard_section_spec.rb",
|
242
|
+
"spec/unit/dashboards_spec.rb",
|
243
|
+
"spec/unit/display_name_spec.rb",
|
244
|
+
"spec/unit/event_spec.rb",
|
245
|
+
"spec/unit/filter_form_builder_spec.rb",
|
246
|
+
"spec/unit/form_builder_spec.rb",
|
247
|
+
"spec/unit/menu_item_spec.rb",
|
248
|
+
"spec/unit/menu_spec.rb",
|
249
|
+
"spec/unit/namespace_spec.rb",
|
250
|
+
"spec/unit/pretty_format_spec.rb",
|
251
|
+
"spec/unit/registration_spec.rb",
|
252
|
+
"spec/unit/renderer_spec.rb",
|
253
|
+
"spec/unit/resource_controller_spec.rb",
|
254
|
+
"spec/unit/resource_spec.rb",
|
255
|
+
"spec/unit/routing_spec.rb",
|
256
|
+
"spec/unit/scope_spec.rb",
|
257
|
+
"spec/unit/tabs_renderer_spec.rb",
|
258
|
+
"spec/unit/view_factory_spec.rb"
|
110
259
|
]
|
111
260
|
s.homepage = %q{http://github.com/gregbell/active_admin}
|
112
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
113
261
|
s.require_paths = ["lib"]
|
114
|
-
s.rubygems_version = %q{1.
|
262
|
+
s.rubygems_version = %q{1.7.2}
|
115
263
|
s.summary = %q{The administration framework for Ruby on Rails.}
|
116
264
|
s.test_files = [
|
265
|
+
"spec/integration/belongs_to_spec.rb",
|
117
266
|
"spec/integration/dashboard_spec.rb",
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
267
|
+
"spec/integration/index_as_csv_spec.rb",
|
268
|
+
"spec/integration/index_as_table_spec.rb",
|
269
|
+
"spec/integration/layout_spec.rb",
|
270
|
+
"spec/spec_helper.rb",
|
271
|
+
"spec/support/integration_example_group.rb",
|
272
|
+
"spec/support/rails_template.rb",
|
273
|
+
"spec/support/rails_template_with_data.rb",
|
274
|
+
"spec/support/templates/cucumber.rb",
|
275
|
+
"spec/unit/abstract_view_factory_spec.rb",
|
276
|
+
"spec/unit/action_builder_spec.rb",
|
277
|
+
"spec/unit/action_items_spec.rb",
|
278
|
+
"spec/unit/active_admin_spec.rb",
|
279
|
+
"spec/unit/arbre/html/element_finder_methods_spec.rb",
|
280
|
+
"spec/unit/arbre/html/element_spec.rb",
|
281
|
+
"spec/unit/arbre/html/tag_attributes_spec.rb",
|
282
|
+
"spec/unit/arbre/html/tag_spec.rb",
|
283
|
+
"spec/unit/arbre/html_spec.rb",
|
284
|
+
"spec/unit/asset_registration_spec.rb",
|
285
|
+
"spec/unit/auto_link_spec.rb",
|
286
|
+
"spec/unit/belongs_to_spec.rb",
|
287
|
+
"spec/unit/breadcrumbs_spec.rb",
|
288
|
+
"spec/unit/comments_spec.rb",
|
289
|
+
"spec/unit/component_spec.rb",
|
290
|
+
"spec/unit/components/attributes_table_spec.rb",
|
291
|
+
"spec/unit/components/columns_spec.rb",
|
292
|
+
"spec/unit/components/panel_spec.rb",
|
293
|
+
"spec/unit/components/sidebar_section_spec.rb",
|
294
|
+
"spec/unit/components/table_for_spec.rb",
|
295
|
+
"spec/unit/controller_filters_spec.rb",
|
296
|
+
"spec/unit/dashboard_controller_spec.rb",
|
297
|
+
"spec/unit/dashboard_section_spec.rb",
|
298
|
+
"spec/unit/dashboards_spec.rb",
|
299
|
+
"spec/unit/display_name_spec.rb",
|
300
|
+
"spec/unit/event_spec.rb",
|
301
|
+
"spec/unit/filter_form_builder_spec.rb",
|
302
|
+
"spec/unit/form_builder_spec.rb",
|
303
|
+
"spec/unit/menu_item_spec.rb",
|
304
|
+
"spec/unit/menu_spec.rb",
|
305
|
+
"spec/unit/namespace_spec.rb",
|
306
|
+
"spec/unit/pretty_format_spec.rb",
|
307
|
+
"spec/unit/registration_spec.rb",
|
308
|
+
"spec/unit/renderer_spec.rb",
|
309
|
+
"spec/unit/resource_controller_spec.rb",
|
310
|
+
"spec/unit/resource_spec.rb",
|
311
|
+
"spec/unit/routing_spec.rb",
|
312
|
+
"spec/unit/scope_spec.rb",
|
313
|
+
"spec/unit/tabs_renderer_spec.rb",
|
314
|
+
"spec/unit/view_factory_spec.rb"
|
147
315
|
]
|
148
316
|
|
149
317
|
if s.respond_to? :specification_version then
|
150
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
151
318
|
s.specification_version = 3
|
152
319
|
|
153
320
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
154
321
|
s.add_runtime_dependency(%q<rails>, [">= 3.0.0"])
|
155
|
-
s.add_runtime_dependency(%q<formtastic>, [">= 1.1.0.beta"])
|
156
|
-
s.add_runtime_dependency(%q<will_paginate>, [">= 3.0.pre2"])
|
157
322
|
s.add_runtime_dependency(%q<meta_search>, [">= 0.9.2"])
|
323
|
+
s.add_runtime_dependency(%q<devise>, [">= 1.1.2"])
|
324
|
+
s.add_runtime_dependency(%q<formtastic>, [">= 1.1.0"])
|
325
|
+
s.add_runtime_dependency(%q<will_paginate>, [">= 3.0.pre2"])
|
158
326
|
s.add_runtime_dependency(%q<inherited_views>, [">= 0"])
|
327
|
+
s.add_runtime_dependency(%q<haml>, [">= 3.0.18"])
|
328
|
+
s.add_development_dependency(%q<sqlite3-ruby>, [">= 0"])
|
329
|
+
s.add_development_dependency(%q<jeweler>, ["= 1.5.2"])
|
159
330
|
else
|
160
331
|
s.add_dependency(%q<rails>, [">= 3.0.0"])
|
161
|
-
s.add_dependency(%q<formtastic>, [">= 1.1.0.beta"])
|
162
|
-
s.add_dependency(%q<will_paginate>, [">= 3.0.pre2"])
|
163
332
|
s.add_dependency(%q<meta_search>, [">= 0.9.2"])
|
333
|
+
s.add_dependency(%q<devise>, [">= 1.1.2"])
|
334
|
+
s.add_dependency(%q<formtastic>, [">= 1.1.0"])
|
335
|
+
s.add_dependency(%q<will_paginate>, [">= 3.0.pre2"])
|
164
336
|
s.add_dependency(%q<inherited_views>, [">= 0"])
|
337
|
+
s.add_dependency(%q<haml>, [">= 3.0.18"])
|
338
|
+
s.add_dependency(%q<sqlite3-ruby>, [">= 0"])
|
339
|
+
s.add_dependency(%q<jeweler>, ["= 1.5.2"])
|
165
340
|
end
|
166
341
|
else
|
167
342
|
s.add_dependency(%q<rails>, [">= 3.0.0"])
|
168
|
-
s.add_dependency(%q<formtastic>, [">= 1.1.0.beta"])
|
169
|
-
s.add_dependency(%q<will_paginate>, [">= 3.0.pre2"])
|
170
343
|
s.add_dependency(%q<meta_search>, [">= 0.9.2"])
|
344
|
+
s.add_dependency(%q<devise>, [">= 1.1.2"])
|
345
|
+
s.add_dependency(%q<formtastic>, [">= 1.1.0"])
|
346
|
+
s.add_dependency(%q<will_paginate>, [">= 3.0.pre2"])
|
171
347
|
s.add_dependency(%q<inherited_views>, [">= 0"])
|
348
|
+
s.add_dependency(%q<haml>, [">= 3.0.18"])
|
349
|
+
s.add_dependency(%q<sqlite3-ruby>, [">= 0"])
|
350
|
+
s.add_dependency(%q<jeweler>, ["= 1.5.2"])
|
172
351
|
end
|
173
352
|
end
|
174
353
|
|