admin_data 1.0.22 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +23 -16
- data/README.md +1 -1
- data/Rakefile +2 -2
- data/app/controllers/admin_data/application_controller.rb +111 -0
- data/app/controllers/admin_data/crud_controller.rb +100 -0
- data/app/controllers/admin_data/feed_controller.rb +38 -16
- data/app/controllers/admin_data/home_controller.rb +11 -0
- data/app/controllers/admin_data/migration_controller.rb +12 -12
- data/app/controllers/admin_data/public_controller.rb +29 -19
- data/app/controllers/admin_data/search_controller.rb +99 -103
- data/app/controllers/admin_data/table_structure_controller.rb +25 -0
- data/app/helpers/admin_data/application_helper.rb +287 -0
- data/app/views/admin_data/crud/association/_association_info.html.erb +11 -0
- data/app/views/admin_data/crud/association/_belongs_to_info.html.erb +7 -0
- data/app/views/admin_data/{main → crud}/association/_habtm_info.html.erb +3 -3
- data/app/views/admin_data/{main → crud}/association/_has_many_info.html.erb +3 -3
- data/app/views/admin_data/crud/association/_has_one_info.html.erb +6 -0
- data/app/views/admin_data/{main → crud}/edit.html.erb +9 -9
- data/app/views/admin_data/{main → crud}/misc/_form.html.erb +6 -6
- data/app/views/admin_data/{main → crud}/misc/_modify_record.html.erb +4 -4
- data/app/views/admin_data/{main → crud}/new.html.erb +7 -7
- data/app/views/admin_data/{main → crud}/show.html.erb +10 -10
- data/app/views/admin_data/{main → home}/index.html.erb +2 -2
- data/app/views/admin_data/migration/index.html.erb +3 -3
- data/app/views/admin_data/search/_search_base.html.erb +5 -5
- data/app/views/admin_data/search/quick_search.html.erb +4 -4
- data/app/views/admin_data/search/search/_listing.html.erb +11 -9
- data/app/views/admin_data/search/search/_sortby.html.erb +4 -3
- data/app/views/admin_data/search/search/_title.html.erb +7 -7
- data/app/views/admin_data/shared/_breadcrum.html.erb +11 -5
- data/app/views/admin_data/shared/_header.html.erb +6 -6
- data/app/views/admin_data/shared/_secondary_navigation.html.erb +13 -14
- data/app/views/admin_data/{main/table_structure.html.erb → table_structure/index.html.erb} +11 -11
- data/app/views/layouts/admin_data.html.erb +15 -15
- data/config/routes.rb +3 -3
- data/lib/admin_data.rb +29 -6
- data/lib/admin_data/active_record_util.rb +38 -6
- data/lib/admin_data/configuration.rb +113 -0
- data/lib/admin_data/deprecation.rb +31 -0
- data/lib/admin_data/railtie.rb +2 -7
- data/lib/admin_data/search.rb +1 -1
- data/lib/admin_data/util.rb +74 -161
- data/lib/admin_data/version.rb +1 -1
- data/test/rails_root/app/controllers/application_controller.rb +3 -0
- data/test/rails_root/app/helpers/application_helper.rb +5 -0
- data/test/rails_root/app/models/city.rb +22 -0
- data/test/rails_root/app/models/club.rb +3 -0
- data/test/rails_root/app/models/newspaper.rb +4 -0
- data/test/rails_root/app/models/phone_number.rb +3 -0
- data/test/rails_root/app/models/user.rb +17 -0
- data/test/rails_root/app/models/website.rb +3 -0
- data/test/rails_root/config/application.rb +42 -0
- data/test/rails_root/config/boot.rb +13 -0
- data/test/rails_root/config/environment.rb +5 -0
- data/test/rails_root/config/environments/development.rb +22 -0
- data/test/rails_root/config/environments/production.rb +49 -0
- data/test/rails_root/config/environments/test.rb +35 -0
- data/test/rails_root/config/initializers/admin_data.rb +22 -0
- data/test/rails_root/config/initializers/backtrace_silencers.rb +7 -0
- data/test/rails_root/config/initializers/empty_spaces_to_nil.rb +10 -0
- data/test/rails_root/config/initializers/inflections.rb +10 -0
- data/test/rails_root/config/initializers/mime_types.rb +5 -0
- data/test/rails_root/config/initializers/secret_token.rb +7 -0
- data/test/rails_root/config/initializers/session_store.rb +8 -0
- data/test/rails_root/config/routes.rb +9 -0
- data/test/rails_root/db/migrate/20091030202259_create_users.rb +55 -0
- data/test/rails_root/db/schema.rb +63 -0
- data/test/rails_root/db/seeds.rb +40 -0
- data/test/rails_root/features/step_definitions/advance_search_steps.rb +13 -0
- data/test/rails_root/features/step_definitions/app_steps.rb +40 -0
- data/test/rails_root/features/step_definitions/async.rb +18 -0
- data/test/rails_root/features/step_definitions/crud_show_steps.rb +37 -0
- data/test/rails_root/features/step_definitions/feed_steps.rb +3 -0
- data/test/rails_root/features/step_definitions/quick_search_steps.rb +65 -0
- data/test/rails_root/features/step_definitions/util.rb +86 -0
- data/test/rails_root/features/step_definitions/web_steps.rb +219 -0
- data/test/rails_root/features/support/env.rb +68 -0
- data/test/rails_root/features/support/paths.rb +33 -0
- data/test/rails_root/test/factories.rb +30 -0
- data/test/rails_root/test/performance/browsing_test.rb +9 -0
- data/test/rails_root/test/test_helper.rb +13 -0
- metadata +100 -49
- data/app/controllers/admin_data/base_controller.rb +0 -112
- data/app/controllers/admin_data/main_controller.rb +0 -141
- data/app/views/admin_data/main/association/_association_info.html.erb +0 -11
- data/app/views/admin_data/main/association/_belongs_to_info.html.erb +0 -7
- data/app/views/admin_data/main/association/_has_one_info.html.erb +0 -6
- data/lib/admin_data/chelper.rb +0 -37
- data/lib/admin_data/helpers.rb +0 -271
- data/lib/admin_data/settings.rb +0 -67
- data/lib/css/base.css +0 -1108
- data/lib/css/vendor/jquery-ui-1.7.2.custom.css +0 -406
- data/lib/js/advance_search/act_on_result.js +0 -45
- data/lib/js/advance_search/advance_search.js +0 -83
- data/lib/js/advance_search/advance_search_structure.js +0 -79
- data/lib/js/advance_search/ajaxify_advance_search.js +0 -28
- data/lib/js/advance_search/build_first_row.js +0 -8
- data/lib/js/advance_search/event_bindings.js +0 -76
- data/lib/js/advance_search/global_ajax_setting.js +0 -10
- data/lib/js/advance_search/trigger_submit_on_domready.js +0 -6
- data/lib/js/misc/drop_down_change.js +0 -8
- data/lib/js/misc/js_util.js +0 -58
- data/lib/js/misc/quick_search_input_focus.js +0 -6
- data/lib/js/test/act_on_result.js +0 -120
- data/lib/js/test/advance_search.js +0 -80
- data/lib/js/test/ajaxify_advance_search.js +0 -29
- data/lib/js/test/build_first_row.js +0 -10
- data/lib/js/test/event_bindings.js +0 -100
- data/lib/js/vendor/jack.js +0 -903
- data/lib/js/vendor/jquery-1.4.2.js +0 -6240
- data/lib/js/vendor/jquery-ui-1.7.2.custom.min.js +0 -298
- data/lib/js/vendor/jquery.ba-isjquery.js +0 -21
- data/lib/js/vendor/jquery.form.js +0 -814
- data/lib/js/vendor/log.js +0 -9
- data/lib/js/vendor/qunit.js +0 -1043
- data/lib/js/vendor/rails.js +0 -132
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the gem file manually.