gfdnavi 1.3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog +10949 -0
- data/LICENCE.txt +57 -0
- data/Makefile +18 -0
- data/TODO +132 -0
- data/app/controllers/analysis_controller.rb +700 -0
- data/app/controllers/application.rb +41 -0
- data/app/controllers/draw_method_controller.rb +172 -0
- data/app/controllers/explorer_controller.rb +197 -0
- data/app/controllers/finder_controller.rb +331 -0
- data/app/controllers/function_controller.rb +204 -0
- data/app/controllers/group_controller.rb +115 -0
- data/app/controllers/keyword_attributes_controller.rb +52 -0
- data/app/controllers/knowledge_controller.rb +928 -0
- data/app/controllers/nodes_controller.rb +515 -0
- data/app/controllers/search_controller.rb +341 -0
- data/app/controllers/user_controller.rb +337 -0
- data/app/helpers/analysis_helper.rb +2 -0
- data/app/helpers/application_helper.rb +105 -0
- data/app/helpers/description_helper.rb +2 -0
- data/app/helpers/function_helper.rb +2 -0
- data/app/helpers/group_helper.rb +2 -0
- data/app/helpers/search_helper.rb +3 -0
- data/app/helpers/user_helper.rb +2 -0
- data/app/helpers/work_flow_helper.rb +92 -0
- data/app/models/actual_file.rb +3 -0
- data/app/models/analysis.rb +715 -0
- data/app/models/analysis_history.rb +42 -0
- data/app/models/cross_array.rb +22 -0
- data/app/models/cross_result.rb +254 -0
- data/app/models/derived_spatial_attribute.rb +3 -0
- data/app/models/diagram_cache.rb +16 -0
- data/app/models/diagram_cache_datum.rb +4 -0
- data/app/models/diagram_cache_session.rb +8 -0
- data/app/models/directory.rb +21 -0
- data/app/models/draw_method.rb +48 -0
- data/app/models/draw_method_attribute.rb +8 -0
- data/app/models/draw_parameter.rb +12 -0
- data/app/models/explorer_query.rb +354 -0
- data/app/models/explorer_result.rb +312 -0
- data/app/models/function.rb +75 -0
- data/app/models/function_argument.rb +6 -0
- data/app/models/function_output.rb +4 -0
- data/app/models/group.rb +153 -0
- data/app/models/image.rb +20 -0
- data/app/models/keyword_attribute.rb +179 -0
- data/app/models/knowledge.rb +94 -0
- data/app/models/knowledge_backup.rb +32 -0
- data/app/models/knowledge_figure.rb +16 -0
- data/app/models/knowledge_figure_backup.rb +16 -0
- data/app/models/knowledge_parser.rb +392 -0
- data/app/models/node.rb +605 -0
- data/app/models/node_entity_abstract.rb +112 -0
- data/app/models/node_lineage.rb +6 -0
- data/app/models/node_relation.rb +4 -0
- data/app/models/path_node.rb +60 -0
- data/app/models/query.rb +193 -0
- data/app/models/query_history.rb +12 -0
- data/app/models/results.rb +48 -0
- data/app/models/sign_up_user.rb +25 -0
- data/app/models/spatial_and_time_attribute.rb +11 -0
- data/app/models/user.rb +115 -0
- data/app/models/user_mailer.rb +48 -0
- data/app/models/value_type.rb +3 -0
- data/app/models/variable.rb +70 -0
- data/app/models/virtual_node.rb +457 -0
- data/app/views/analysis/__help_analysis_tab.en.html +57 -0
- data/app/views/analysis/__help_draw_share.en.html +12 -0
- data/app/views/analysis/__help_draw_tab.en.html +6 -0
- data/app/views/analysis/_analysis_function_settings.rhtml +61 -0
- data/app/views/analysis/_analysis_settings.rhtml +28 -0
- data/app/views/analysis/_diagram.rhtml +70 -0
- data/app/views/analysis/_dimension_option.rhtml +59 -0
- data/app/views/analysis/_draw_general_settings.rhtml +217 -0
- data/app/views/analysis/_draw_settings.rhtml +73 -0
- data/app/views/analysis/_history.rhtml +19 -0
- data/app/views/analysis/_popular_diagrams.rhtml +42 -0
- data/app/views/analysis/_save_form.rhtml +44 -0
- data/app/views/analysis/_variables.rhtml +66 -0
- data/app/views/analysis/_variables_order.rhtml +56 -0
- data/app/views/analysis/index.rhtml +195 -0
- data/app/views/analysis/preview.rhtml +3 -0
- data/app/views/analysis/save.rhtml +73 -0
- data/app/views/analysis/show_diagram.rhtml +42 -0
- data/app/views/cross/_display_map.rhtml +201 -0
- data/app/views/cross/_result.rhtml +205 -0
- data/app/views/cross/_show_result_tree.rhtml +40 -0
- data/app/views/cross/_show_results.rhtml +80 -0
- data/app/views/cross/_style.rhtml +21 -0
- data/app/views/cross/index.rhtml +271 -0
- data/app/views/draw_method/_edit_form.rhtml +110 -0
- data/app/views/draw_method/create.rhtml +8 -0
- data/app/views/draw_method/details.rhtml +113 -0
- data/app/views/draw_method/edit.rhtml +8 -0
- data/app/views/draw_method/list.rhtml +80 -0
- data/app/views/explorer/_display_map.rhtml +199 -0
- data/app/views/explorer/_show_result_tree.rhtml +40 -0
- data/app/views/explorer/_show_results.rhtml +101 -0
- data/app/views/explorer/_style.rhtml +21 -0
- data/app/views/explorer/index.rhtml +214 -0
- data/app/views/finder/_children.html.erb +84 -0
- data/app/views/finder/_children_details.html.erb +74 -0
- data/app/views/finder/_children_details_tr.html.erb +196 -0
- data/app/views/finder/create_tree.html.erb +15 -0
- data/app/views/finder/flex.html.erb +52 -0
- data/app/views/finder/index.html.erb +47 -0
- data/app/views/finder/show_details.html.erb +3 -0
- data/app/views/finder/show_images.html.erb +3 -0
- data/app/views/function/_edit_form.rhtml +106 -0
- data/app/views/function/create.rhtml +8 -0
- data/app/views/function/details.rhtml +96 -0
- data/app/views/function/edit.rhtml +8 -0
- data/app/views/function/list.rhtml +80 -0
- data/app/views/group/add_member.rhtml +13 -0
- data/app/views/group/change_owner.rhtml +15 -0
- data/app/views/group/create.rhtml +11 -0
- data/app/views/group/delete_member.rhtml +14 -0
- data/app/views/group/list.rhtml +63 -0
- data/app/views/knowledge/_backup.rhtml +135 -0
- data/app/views/knowledge/_category.rhtml +58 -0
- data/app/views/knowledge/_category_list.rhtml +34 -0
- data/app/views/knowledge/_category_table.rhtml +23 -0
- data/app/views/knowledge/_comment.rhtml +64 -0
- data/app/views/knowledge/_comment_input_form.rhtml +19 -0
- data/app/views/knowledge/_comments.rhtml +84 -0
- data/app/views/knowledge/_form.rhtml +139 -0
- data/app/views/knowledge/_group_figure_form.rhtml +187 -0
- data/app/views/knowledge/_layout_figure.rhtml +61 -0
- data/app/views/knowledge/_layout_figures_in_a_row_above_text.rhtml +42 -0
- data/app/views/knowledge/_layout_figures_under_text.rhtml +45 -0
- data/app/views/knowledge/_layout_one_figure_above_text.rhtml +28 -0
- data/app/views/knowledge/_summary.rhtml +21 -0
- data/app/views/knowledge/edit.rhtml +37 -0
- data/app/views/knowledge/list.rhtml +287 -0
- data/app/views/knowledge/new.rhtml +23 -0
- data/app/views/knowledge/new_from_analysis.rhtml +21 -0
- data/app/views/knowledge/show.rhtml +196 -0
- data/app/views/layouts/gfdnavi.rhtml +105 -0
- data/app/views/nodes/_ancestors.html.erb +89 -0
- data/app/views/nodes/_description_methods_table.html.erb +75 -0
- data/app/views/nodes/_mode.html.erb +16 -0
- data/app/views/nodes/description.html.erb +181 -0
- data/app/views/nodes/description_methods.html.erb +1 -0
- data/app/views/nodes/edit.html.erb +73 -0
- data/app/views/nodes/index.html.erb +25 -0
- data/app/views/nodes/show.html.erb +20 -0
- data/app/views/search/_children_details_mapsearch.rhtml +68 -0
- data/app/views/search/_children_details_tr.rhtml +205 -0
- data/app/views/search/_show_grouplist.rhtml +74 -0
- data/app/views/search/_show_results.rhtml +43 -0
- data/app/views/search/_show_results_global.rhtml +36 -0
- data/app/views/search/_show_results_partial.rhtml +39 -0
- data/app/views/search/_show_results_partial_groupbyfile.rhtml +50 -0
- data/app/views/search/_show_variablelist.rhtml +28 -0
- data/app/views/search/mapsearch.rhtml +176 -0
- data/app/views/search/remapsearch.rjs +18 -0
- data/app/views/search/show_details.rhtml +3 -0
- data/app/views/user/add_user.rhtml +30 -0
- data/app/views/user/change_password.rhtml +25 -0
- data/app/views/user/edit.html.erb +50 -0
- data/app/views/user/index.rhtml +162 -0
- data/app/views/user/login.rhtml +41 -0
- data/app/views/user/logout.rhtml +4 -0
- data/app/views/user/signup.rhtml +36 -0
- data/app/views/user/signup_succeeded.rhtml +36 -0
- data/app/views/user_mailer/authorization_inform.rhtml +15 -0
- data/app/views/user_mailer/signup_accepted.rhtml +12 -0
- data/app/views/user_mailer/signup_confirm.rhtml +14 -0
- data/app/views/user_mailer/signup_inform.rhtml +13 -0
- data/app/views/user_mailer/signup_rejected.rhtml +11 -0
- data/app/views/work_flow/_push_wsdls.rhtml +55 -0
- data/app/views/work_flow/index.rhtml +46 -0
- data/config/database.yml.example +35 -0
- data/config/environment.rb +68 -0
- data/config/gfdnavi.yml.example +95 -0
- data/config/load_config.rb +151 -0
- data/config/routes.rb +35 -0
- data/consistency_checker.rb +129 -0
- data/data/gfdnavi_docs/how_to_draw_multiple_images.knlge +68 -0
- data/data/gfdnavi_docs/how_to_knowledge.knlge +138 -0
- data/data/gfdnavi_docs/how_to_write_document_about_Gfdnavi.knlge +30 -0
- data/data/samples/jmadata.SIGEN +8 -0
- data/data/samples/jmadata.yml +6 -0
- data/data/samples/jmadata/MSM-P/2006.nc.yml +2 -0
- data/data/samples/jmadata/MSM-P/2006.yml +17 -0
- data/data/samples/jmadata/MSM-P/2006/0101.nc +0 -0
- data/data/samples/jmadata/MSM-P/2006/0101.nc.yml +13 -0
- data/data/samples/jmadata/MSM-P/2006/0102.nc +0 -0
- data/data/samples/jmadata/MSM-P/2006/0103.nc +0 -0
- data/data/samples/jmadata/MSM-P/2006/0104.nc +0 -0
- data/data/samples/jmadata/MSM-P/2006/0105.nc +0 -0
- data/data/samples/jmadata/MSM-P/2006/010[1-3].nc.yml +2 -0
- data/data/samples/jmadata/MSM-P/2006/skip_data.rb +96 -0
- data/data/samples/jmadata/MSM-P/2006/skip_data.sh +6 -0
- data/data/samples/reanalysis.SIGEN +8 -0
- data/data/samples/reanalysis/era40.SIGEN +8 -0
- data/data/samples/reanalysis/era40.yml +2 -0
- data/data/samples/reanalysis/era40/t.jan.nc +0 -0
- data/data/samples/reanalysis/era40/t.jan.nc.yml +1 -0
- data/data/samples/reanalysis/ncep.SIGEN +9 -0
- data/data/samples/reanalysis/ncep/T.jan.100hPa.png +0 -0
- data/data/samples/reanalysis/ncep/T.jan.100hPa.png.yml +43 -0
- data/data/samples/reanalysis/ncep/T.jan.nc +0 -0
- data/data/samples/reanalysis/ncep/T.jan.zonal_mean.nc +0 -0
- data/data/samples/reanalysis/ncep/T.jan.zonal_mean.nc.yml +8 -0
- data/data/samples/reanalysis/ncep/T.jan_only_root.nc +0 -0
- data/data/samples/reanalysis/ncep/T.jan_only_root.nc.yml +4 -0
- data/data/samples/reanalysis/ncep/UV.jan.nc +0 -0
- data/data/samples/reanalysis/ncep/UV.jan.nc.yml +10 -0
- data/data/samples/reanalysis/ncep/UV.jan.nc.yml.ja +11 -0
- data/data/samples/sonde_operational.yml +5 -0
- data/data/samples/sonde_operational/std_plev.yml +12 -0
- data/data/samples/sonde_operational/std_plev/41256.spl.nc +0 -0
- data/data/samples/sonde_operational/std_plev/42410.spl.nc +0 -0
- data/data/samples/sonde_operational/std_plev/43333.spl.nc +0 -0
- data/data/samples/sonde_operational/std_plev/43346.spl.nc +0 -0
- data/data/samples/sonde_operational/std_plev/48698.spl.nc +0 -0
- data/data/samples/sonde_operational/std_plev/61641.spl.nc +0 -0
- data/data/samples/sonde_operational/std_plev/63741.spl.nc +0 -0
- data/data/samples/sonde_operational/std_plev/67083.spl.nc +0 -0
- data/data/samples/sonde_operational/std_plev/72261.spl.nc +0 -0
- data/data/samples/sonde_operational/std_plev/76805.spl.nc +0 -0
- data/data/samples/sonde_operational/std_plev/82193.spl.nc +0 -0
- data/data/samples/sonde_operational/std_plev/91165.spl.nc +0 -0
- data/data/samples/sonde_operational/std_plev/91610.spl.nc +0 -0
- data/data/samples/sonde_operational/std_plev/91948.spl.nc +0 -0
- data/data/samples/sonde_operational/std_plev/94294.spl.nc +0 -0
- data/db/NetCDFparser.rb +406 -0
- data/db/create_derived_spatial_attributes.sql +12 -0
- data/db/draw_methods/line.yml +6 -0
- data/db/draw_methods/scatter.yml +38 -0
- data/db/draw_methods/tone.yml +64 -0
- data/db/draw_methods/vector.yml +19 -0
- data/db/dump_db.rb +43 -0
- data/db/functions/additions.yml +10 -0
- data/db/functions/cut.yml +10 -0
- data/db/functions/division.yml +10 -0
- data/db/functions/mean.yml +28 -0
- data/db/functions/multiplication.yml +10 -0
- data/db/functions/stddev.yml +28 -0
- data/db/functions/subtraction.yml +10 -0
- data/db/migrate/001_initial_scheme.rb +289 -0
- data/db/migrate/002_add_open_id_authentication_tables.rb +20 -0
- data/db/register_directory_tree.rb +760 -0
- data/db/restore_db.rb +60 -0
- data/gfdnavi-install +828 -0
- data/install.rb +828 -0
- data/lib/activerecord_gfdnavi.rb +31 -0
- data/lib/basic_authorization.rb +50 -0
- data/lib/create_activeresources.rb +108 -0
- data/lib/execute_analysis.rb +472 -0
- data/lib/file_gfdnavi.rb +38 -0
- data/lib/gphys_gfdnavi.rb +81 -0
- data/lib/localdir.rb +110 -0
- data/lib/login_system.rb +110 -0
- data/lib/multibytes.rb +20 -0
- data/lib/narray_yaml.rb +58 -0
- data/lib/no_rdb_base.rb +40 -0
- data/lib/opendapdir.rb +171 -0
- data/lib/tar.rb +127 -0
- data/lib/tasks/clean.rake +65 -0
- data/lib/tasks/setup.rake +316 -0
- data/lib/tasks/update.rake +62 -0
- data/lib/vizshot_gfdnavi.rb +224 -0
- data/public/crossdomain.xml +4 -0
- data/public/flex/NodeTreeDescriptor.as +55 -0
- data/public/flex/TreeNode.as +253 -0
- data/public/flex/finder.mxml +304 -0
- data/public/flex/finder.swf +0 -0
- data/public/flex/gfdnavi.mxml +52 -0
- data/public/flex/gfdnavi.swf +0 -0
- data/public/images/Help_S-shots/dir_tree_with_add.jpg +0 -0
- data/public/images/analyze.gif +0 -0
- data/public/images/circle.gif +0 -0
- data/public/images/create_from_analysis_button.png +0 -0
- data/public/images/delete.png +0 -0
- data/public/images/down.png +0 -0
- data/public/images/drawbutton.gif +0 -0
- data/public/images/gfdnavi_home_logo.png +0 -0
- data/public/images/gfdnavi_logo_big.png +0 -0
- data/public/images/gfdnavi_logo_med.png +0 -0
- data/public/images/gfdnavi_logo_mini.png +0 -0
- data/public/images/gfdnavi_logo_nobg_big.png +0 -0
- data/public/images/gfdnavi_logo_nobg_med.png +0 -0
- data/public/images/gfdnavi_logo_nobg_small.png +0 -0
- data/public/images/gfdnavi_logo_small.png +0 -0
- data/public/images/gfdnavi_logo_xsmall.png +0 -0
- data/public/images/hbar.png +0 -0
- data/public/images/helpmark16.png +0 -0
- data/public/images/helpmark18.png +0 -0
- data/public/images/kikyu_g.gif +0 -0
- data/public/images/kikyu_r.gif +0 -0
- data/public/images/map_icon_g.gif +0 -0
- data/public/images/map_icon_r.gif +0 -0
- data/public/images/new_knowledge.png +0 -0
- data/public/images/openid.png +0 -0
- data/public/images/read_in_the_form.png +0 -0
- data/public/images/slider_f.gif +0 -0
- data/public/images/slider_f_red.gif +0 -0
- data/public/images/star1.gif +0 -0
- data/public/images/star2.gif +0 -0
- data/public/images/startanim.gif +0 -0
- data/public/images/stopanim.gif +0 -0
- data/public/images/tree/DL.png +0 -0
- data/public/images/tree/anal_viz.png +0 -0
- data/public/images/tree/analyze_visualize_checked_items.png +0 -0
- data/public/images/tree/binary.png +0 -0
- data/public/images/tree/details.png +0 -0
- data/public/images/tree/download_checked_items.png +0 -0
- data/public/images/tree/folder.png +0 -0
- data/public/images/tree/folder_close.gif +0 -0
- data/public/images/tree/image2.png +0 -0
- data/public/images/tree/knowledge.png +0 -0
- data/public/images/tree/knowledges.png +0 -0
- data/public/images/tree/last.gif +0 -0
- data/public/images/tree/last.png +0 -0
- data/public/images/tree/minus.gif +0 -0
- data/public/images/tree/minus_simple.gif +0 -0
- data/public/images/tree/none.gif +0 -0
- data/public/images/tree/none.png +0 -0
- data/public/images/tree/plus.gif +0 -0
- data/public/images/tree/plus_simple.gif +0 -0
- data/public/images/tree/show.png +0 -0
- data/public/images/tree/show_checked_items.png +0 -0
- data/public/images/tree/t.gif +0 -0
- data/public/images/tree/t.png +0 -0
- data/public/images/tree/tate.gif +0 -0
- data/public/images/tree/tate.png +0 -0
- data/public/images/up.png +0 -0
- data/public/images/vbar.png +0 -0
- data/public/images/white.bmp +0 -0
- data/public/images/x.gif +0 -0
- data/public/index.html +100 -0
- data/public/javascripts/AC_OETags.js +269 -0
- data/public/javascripts/analysis.js +751 -0
- data/public/javascripts/application.js +29 -0
- data/public/javascripts/directory_tree.js +102 -0
- data/public/javascripts/draw_method.js +83 -0
- data/public/javascripts/excanvas.js +704 -0
- data/public/javascripts/function.js +107 -0
- data/public/javascripts/gfdnavi.js +175 -0
- data/public/javascripts/knowledge.js +384 -0
- data/public/javascripts/mapsearch.js +313 -0
- data/public/javascripts/progress.js +42 -0
- data/public/javascripts/resizable_box.js +164 -0
- data/public/javascripts/slider.js +260 -0
- data/public/javascripts/tab.js +17 -0
- data/public/javascripts/work_flow.js +452 -0
- data/public/stylesheets/analysis.css +111 -0
- data/public/stylesheets/description.css +71 -0
- data/public/stylesheets/gfdnavi.css +141 -0
- data/public/stylesheets/knowledge.css +218 -0
- data/public/stylesheets/search.css +184 -0
- data/public/stylesheets/tree.css +45 -0
- data/public/stylesheets/tree_for_ie.css +3 -0
- data/public/stylesheets/work_flow.css +78 -0
- data/script/cleaner +11 -0
- data/script/server_ssl +131 -0
- data/test/fixtures/diagram_cache_data.yml +5 -0
- data/test/fixtures/diagram_cache_sessions.yml +6 -0
- data/test/fixtures/diagram_caches.yml +6 -0
- data/test/fixtures/directories.yml +57 -0
- data/test/fixtures/draw_parameters.yml +6 -0
- data/test/fixtures/function_arguments.yml +15 -0
- data/test/fixtures/function_outputs.yml +15 -0
- data/test/fixtures/functions.yml +29 -0
- data/test/fixtures/group_members.yml +33 -0
- data/test/fixtures/groups.yml +25 -0
- data/test/fixtures/images.yml +12 -0
- data/test/fixtures/keyword_attributes.yml +73 -0
- data/test/fixtures/knowledges.yml +10 -0
- data/test/fixtures/node_relations.yml +11 -0
- data/test/fixtures/nodes.yml +298 -0
- data/test/fixtures/sign_up_users.yml +8 -0
- data/test/fixtures/spatial_and_time_attributes.yml +29 -0
- data/test/fixtures/user_mailer/authorization_inform +11 -0
- data/test/fixtures/user_mailer/signup_accepted +10 -0
- data/test/fixtures/user_mailer/signup_confirm +17 -0
- data/test/fixtures/user_mailer/signup_inform +10 -0
- data/test/fixtures/user_mailer/signup_rejected +9 -0
- data/test/fixtures/users.yml +31 -0
- data/test/fixtures/value_types.yml +10 -0
- data/test/fixtures/variables.yml +17 -0
- data/test/functional/analysis_controller_test.rb +169 -0
- data/test/functional/description_controller_test.rb +18 -0
- data/test/functional/function_controller_test.rb +18 -0
- data/test/functional/group_controller_test.rb +18 -0
- data/test/functional/search_controller_test.rb +83 -0
- data/test/functional/user_controller_test.rb +77 -0
- data/test/functional/webservice_analysis_api_test.rb +12 -0
- data/test/functional/work_flow_controller_test.rb +18 -0
- data/test/test_helper.rb +28 -0
- data/test/unit/diagram_cache_datum_test.rb +10 -0
- data/test/unit/diagram_cache_session_test.rb +10 -0
- data/test/unit/diagram_cache_test.rb +10 -0
- data/test/unit/directory_test.rb +49 -0
- data/test/unit/draw_parameter_test.rb +10 -0
- data/test/unit/function_argument_test.rb +10 -0
- data/test/unit/function_output_test.rb +10 -0
- data/test/unit/function_test.rb +10 -0
- data/test/unit/group_test.rb +48 -0
- data/test/unit/image_test.rb +13 -0
- data/test/unit/keyword_attribute_test.rb +33 -0
- data/test/unit/knowledge_test.rb +13 -0
- data/test/unit/node_relation_test.rb +20 -0
- data/test/unit/node_test.rb +85 -0
- data/test/unit/sign_up_user_test.rb +20 -0
- data/test/unit/spatial_and_time_attribute_test.rb +29 -0
- data/test/unit/user_mailer_test.rb +101 -0
- data/test/unit/user_test.rb +134 -0
- data/test/unit/value_type_test.rb +10 -0
- data/test/unit/variable_test.rb +35 -0
- data/vendor/plugins/acts_as_list/README +23 -0
- data/vendor/plugins/acts_as_list/init.rb +3 -0
- data/vendor/plugins/acts_as_list/lib/active_record/acts/list.rb +256 -0
- data/vendor/plugins/acts_as_list/test/list_test.rb +332 -0
- data/vendor/plugins/acts_as_tree/README +26 -0
- data/vendor/plugins/acts_as_tree/Rakefile +22 -0
- data/vendor/plugins/acts_as_tree/init.rb +1 -0
- data/vendor/plugins/acts_as_tree/lib/active_record/acts/tree.rb +96 -0
- data/vendor/plugins/acts_as_tree/test/abstract_unit.rb +0 -0
- data/vendor/plugins/acts_as_tree/test/acts_as_tree_test.rb +219 -0
- data/vendor/plugins/acts_as_tree/test/database.yml +0 -0
- data/vendor/plugins/acts_as_tree/test/fixtures/mixin.rb +0 -0
- data/vendor/plugins/acts_as_tree/test/fixtures/mixins.yml +0 -0
- data/vendor/plugins/acts_as_tree/test/schema.rb +0 -0
- data/vendor/plugins/will_paginate/CHANGELOG +92 -0
- data/vendor/plugins/will_paginate/LICENSE +18 -0
- data/vendor/plugins/will_paginate/README.rdoc +131 -0
- data/vendor/plugins/will_paginate/Rakefile +62 -0
- data/vendor/plugins/will_paginate/examples/apple-circle.gif +0 -0
- data/vendor/plugins/will_paginate/examples/index.haml +69 -0
- data/vendor/plugins/will_paginate/examples/index.html +92 -0
- data/vendor/plugins/will_paginate/examples/pagination.css +90 -0
- data/vendor/plugins/will_paginate/examples/pagination.sass +91 -0
- data/vendor/plugins/will_paginate/init.rb +1 -0
- data/vendor/plugins/will_paginate/lib/will_paginate.rb +86 -0
- data/vendor/plugins/will_paginate/lib/will_paginate/array.rb +16 -0
- data/vendor/plugins/will_paginate/lib/will_paginate/collection.rb +145 -0
- data/vendor/plugins/will_paginate/lib/will_paginate/core_ext.rb +32 -0
- data/vendor/plugins/will_paginate/lib/will_paginate/finder.rb +247 -0
- data/vendor/plugins/will_paginate/lib/will_paginate/named_scope.rb +132 -0
- data/vendor/plugins/will_paginate/lib/will_paginate/named_scope_patch.rb +39 -0
- data/vendor/plugins/will_paginate/lib/will_paginate/version.rb +9 -0
- data/vendor/plugins/will_paginate/lib/will_paginate/view_helpers.rb +373 -0
- data/vendor/plugins/will_paginate/will_paginate.gemspec +21 -0
- metadata +586 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
## based on http://dev.rubyonrails.org/changeset/9084
|
|
2
|
+
|
|
3
|
+
ActiveRecord::Associations::AssociationProxy.class_eval do
|
|
4
|
+
protected
|
|
5
|
+
def with_scope(*args, &block)
|
|
6
|
+
@reflection.klass.send :with_scope, *args, &block
|
|
7
|
+
end
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
[ ActiveRecord::Associations::AssociationCollection,
|
|
11
|
+
ActiveRecord::Associations::HasManyThroughAssociation ].each do |klass|
|
|
12
|
+
klass.class_eval do
|
|
13
|
+
protected
|
|
14
|
+
alias :method_missing_without_scopes :method_missing_without_paginate
|
|
15
|
+
def method_missing_without_paginate(method, *args, &block)
|
|
16
|
+
if @reflection.klass.scopes.include?(method)
|
|
17
|
+
@reflection.klass.scopes[method].call(self, *args, &block)
|
|
18
|
+
else
|
|
19
|
+
method_missing_without_scopes(method, *args, &block)
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
# Rails 1.2.6
|
|
26
|
+
ActiveRecord::Associations::HasAndBelongsToManyAssociation.class_eval do
|
|
27
|
+
protected
|
|
28
|
+
def method_missing(method, *args, &block)
|
|
29
|
+
if @target.respond_to?(method) || (!@reflection.klass.respond_to?(method) && Class.respond_to?(method))
|
|
30
|
+
super
|
|
31
|
+
elsif @reflection.klass.scopes.include?(method)
|
|
32
|
+
@reflection.klass.scopes[method].call(self, *args)
|
|
33
|
+
else
|
|
34
|
+
@reflection.klass.with_scope(:find => { :conditions => @finder_sql, :joins => @join_sql, :readonly => false }) do
|
|
35
|
+
@reflection.klass.send(method, *args, &block)
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end if ActiveRecord::Base.respond_to? :find_first
|
|
@@ -0,0 +1,373 @@
|
|
|
1
|
+
require 'will_paginate/core_ext'
|
|
2
|
+
|
|
3
|
+
module WillPaginate
|
|
4
|
+
# = Will Paginate view helpers
|
|
5
|
+
#
|
|
6
|
+
# Currently there is only one view helper: +will_paginate+. It renders the
|
|
7
|
+
# pagination links for the given collection. The helper itself is lightweight
|
|
8
|
+
# and serves only as a wrapper around link renderer instantiation; the
|
|
9
|
+
# renderer then does all the hard work of generating the HTML.
|
|
10
|
+
#
|
|
11
|
+
# == Global options for helpers
|
|
12
|
+
#
|
|
13
|
+
# Options for pagination helpers are optional and get their default values from the
|
|
14
|
+
# WillPaginate::ViewHelpers.pagination_options hash. You can write to this hash to
|
|
15
|
+
# override default options on the global level:
|
|
16
|
+
#
|
|
17
|
+
# WillPaginate::ViewHelpers.pagination_options[:prev_label] = 'Previous page'
|
|
18
|
+
#
|
|
19
|
+
# By putting this into your environment.rb you can easily translate link texts to previous
|
|
20
|
+
# and next pages, as well as override some other defaults to your liking.
|
|
21
|
+
module ViewHelpers
|
|
22
|
+
# default options that can be overridden on the global level
|
|
23
|
+
@@pagination_options = {
|
|
24
|
+
:class => 'pagination',
|
|
25
|
+
:prev_label => '« Previous',
|
|
26
|
+
:next_label => 'Next »',
|
|
27
|
+
:inner_window => 4, # links around the current page
|
|
28
|
+
:outer_window => 1, # links around beginning and end
|
|
29
|
+
:separator => ' ', # single space is friendly to spiders and non-graphic browsers
|
|
30
|
+
:param_name => :page,
|
|
31
|
+
:params => nil,
|
|
32
|
+
:renderer => 'WillPaginate::LinkRenderer',
|
|
33
|
+
:page_links => true,
|
|
34
|
+
:container => true
|
|
35
|
+
}
|
|
36
|
+
mattr_reader :pagination_options
|
|
37
|
+
|
|
38
|
+
# Renders Digg/Flickr-style pagination for a WillPaginate::Collection
|
|
39
|
+
# object. Nil is returned if there is only one page in total; no point in
|
|
40
|
+
# rendering the pagination in that case...
|
|
41
|
+
#
|
|
42
|
+
# ==== Options
|
|
43
|
+
# * <tt>:class</tt> -- CSS class name for the generated DIV (default: "pagination")
|
|
44
|
+
# * <tt>:prev_label</tt> -- default: "« Previous"
|
|
45
|
+
# * <tt>:next_label</tt> -- default: "Next »"
|
|
46
|
+
# * <tt>:inner_window</tt> -- how many links are shown around the current page (default: 4)
|
|
47
|
+
# * <tt>:outer_window</tt> -- how many links are around the first and the last page (default: 1)
|
|
48
|
+
# * <tt>:separator</tt> -- string separator for page HTML elements (default: single space)
|
|
49
|
+
# * <tt>:param_name</tt> -- parameter name for page number in URLs (default: <tt>:page</tt>)
|
|
50
|
+
# * <tt>:params</tt> -- additional parameters when generating pagination links
|
|
51
|
+
# (eg. <tt>:controller => "foo", :action => nil</tt>)
|
|
52
|
+
# * <tt>:renderer</tt> -- class name, class or instance of a link renderer (default:
|
|
53
|
+
# <tt>WillPaginate::LinkRenderer</tt>)
|
|
54
|
+
# * <tt>:page_links</tt> -- when false, only previous/next links are rendered (default: true)
|
|
55
|
+
# * <tt>:container</tt> -- toggles rendering of the DIV container for pagination links, set to
|
|
56
|
+
# false only when you are rendering your own pagination markup (default: true)
|
|
57
|
+
# * <tt>:id</tt> -- HTML ID for the container (default: nil). Pass +true+ to have the ID
|
|
58
|
+
# automatically generated from the class name of objects in collection: for example, paginating
|
|
59
|
+
# ArticleComment models would yield an ID of "article_comments_pagination".
|
|
60
|
+
#
|
|
61
|
+
# All options beside listed ones are passed as HTML attributes to the container
|
|
62
|
+
# element for pagination links (the DIV). For example:
|
|
63
|
+
#
|
|
64
|
+
# <%= will_paginate @posts, :id => 'wp_posts' %>
|
|
65
|
+
#
|
|
66
|
+
# ... will result in:
|
|
67
|
+
#
|
|
68
|
+
# <div class="pagination" id="wp_posts"> ... </div>
|
|
69
|
+
#
|
|
70
|
+
# ==== Using the helper without arguments
|
|
71
|
+
# If the helper is called without passing in the collection object, it will
|
|
72
|
+
# try to read from the instance variable inferred by the controller name.
|
|
73
|
+
# For example, calling +will_paginate+ while the current controller is
|
|
74
|
+
# PostsController will result in trying to read from the <tt>@posts</tt>
|
|
75
|
+
# variable. Example:
|
|
76
|
+
#
|
|
77
|
+
# <%= will_paginate :id => true %>
|
|
78
|
+
#
|
|
79
|
+
# ... will result in <tt>@post</tt> collection getting paginated:
|
|
80
|
+
#
|
|
81
|
+
# <div class="pagination" id="posts_pagination"> ... </div>
|
|
82
|
+
#
|
|
83
|
+
def will_paginate(collection = nil, options = {})
|
|
84
|
+
options, collection = collection, nil if collection.is_a? Hash
|
|
85
|
+
unless collection or !controller
|
|
86
|
+
collection_name = "@#{controller.controller_name}"
|
|
87
|
+
collection = instance_variable_get(collection_name)
|
|
88
|
+
raise ArgumentError, "The #{collection_name} variable appears to be empty. Did you " +
|
|
89
|
+
"forget to pass the collection object for will_paginate?" unless collection
|
|
90
|
+
end
|
|
91
|
+
# early exit if there is nothing to render
|
|
92
|
+
return nil unless WillPaginate::ViewHelpers.total_pages_for_collection(collection) > 1
|
|
93
|
+
|
|
94
|
+
options = options.symbolize_keys.reverse_merge WillPaginate::ViewHelpers.pagination_options
|
|
95
|
+
|
|
96
|
+
# get the renderer instance
|
|
97
|
+
renderer = case options[:renderer]
|
|
98
|
+
when String
|
|
99
|
+
options[:renderer].to_s.constantize.new
|
|
100
|
+
when Class
|
|
101
|
+
options[:renderer].new
|
|
102
|
+
else
|
|
103
|
+
options[:renderer]
|
|
104
|
+
end
|
|
105
|
+
# render HTML for pagination
|
|
106
|
+
renderer.prepare collection, options, self
|
|
107
|
+
renderer.to_html
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
# Wrapper for rendering pagination links at both top and bottom of a block
|
|
111
|
+
# of content.
|
|
112
|
+
#
|
|
113
|
+
# <% paginated_section @posts do %>
|
|
114
|
+
# <ol id="posts">
|
|
115
|
+
# <% for post in @posts %>
|
|
116
|
+
# <li> ... </li>
|
|
117
|
+
# <% end %>
|
|
118
|
+
# </ol>
|
|
119
|
+
# <% end %>
|
|
120
|
+
#
|
|
121
|
+
# will result in:
|
|
122
|
+
#
|
|
123
|
+
# <div class="pagination"> ... </div>
|
|
124
|
+
# <ol id="posts">
|
|
125
|
+
# ...
|
|
126
|
+
# </ol>
|
|
127
|
+
# <div class="pagination"> ... </div>
|
|
128
|
+
#
|
|
129
|
+
# Arguments are passed to a <tt>will_paginate</tt> call, so the same options
|
|
130
|
+
# apply. Don't use the <tt>:id</tt> option; otherwise you'll finish with two
|
|
131
|
+
# blocks of pagination links sharing the same ID (which is invalid HTML).
|
|
132
|
+
def paginated_section(*args, &block)
|
|
133
|
+
pagination = will_paginate(*args).to_s
|
|
134
|
+
content = pagination + capture(&block) + pagination
|
|
135
|
+
concat content, block.binding
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
# Renders a helpful message with numbers of displayed vs. total entries.
|
|
139
|
+
# You can use this as a blueprint for your own, similar helpers.
|
|
140
|
+
#
|
|
141
|
+
# <%= page_entries_info @posts %>
|
|
142
|
+
# #-> Displaying posts 6 - 10 of 26 in total
|
|
143
|
+
#
|
|
144
|
+
# By default, the message will use the humanized class name of objects
|
|
145
|
+
# in collection: for instance, "project types" for ProjectType models.
|
|
146
|
+
# Override this to your liking with the <tt>:entry_name</tt> parameter:
|
|
147
|
+
#
|
|
148
|
+
# <%= page_entries_info @posts, :entry_name => 'item' %>
|
|
149
|
+
# #-> Displaying items 6 - 10 of 26 in total
|
|
150
|
+
def page_entries_info(collection, options = {})
|
|
151
|
+
entry_name = options[:entry_name] ||
|
|
152
|
+
(collection.empty?? 'entry' : collection.first.class.name.underscore.sub('_', ' '))
|
|
153
|
+
|
|
154
|
+
if collection.total_pages < 2
|
|
155
|
+
case collection.size
|
|
156
|
+
when 0; "No #{entry_name.pluralize} found"
|
|
157
|
+
when 1; "Displaying <b>1</b> #{entry_name}"
|
|
158
|
+
else; "Displaying <b>all #{collection.size}</b> #{entry_name.pluralize}"
|
|
159
|
+
end
|
|
160
|
+
else
|
|
161
|
+
%{Displaying #{entry_name.pluralize} <b>%d - %d</b> of <b>%d</b> in total} % [
|
|
162
|
+
collection.offset + 1,
|
|
163
|
+
collection.offset + collection.length,
|
|
164
|
+
collection.total_entries
|
|
165
|
+
]
|
|
166
|
+
end
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
def self.total_pages_for_collection(collection) #:nodoc:
|
|
170
|
+
if collection.respond_to?('page_count') and !collection.respond_to?('total_pages')
|
|
171
|
+
WillPaginate::Deprecation.warn <<-MSG
|
|
172
|
+
You are using a paginated collection of class #{collection.class.name}
|
|
173
|
+
which conforms to the old API of WillPaginate::Collection by using
|
|
174
|
+
`page_count`, while the current method name is `total_pages`. Please
|
|
175
|
+
upgrade yours or 3rd-party code that provides the paginated collection.
|
|
176
|
+
MSG
|
|
177
|
+
class << collection
|
|
178
|
+
def total_pages; page_count; end
|
|
179
|
+
end
|
|
180
|
+
end
|
|
181
|
+
collection.total_pages
|
|
182
|
+
end
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
# This class does the heavy lifting of actually building the pagination
|
|
186
|
+
# links. It is used by +will_paginate+ helper internally.
|
|
187
|
+
class LinkRenderer
|
|
188
|
+
|
|
189
|
+
# The gap in page links is represented by:
|
|
190
|
+
#
|
|
191
|
+
# <span class="gap">…</span>
|
|
192
|
+
attr_accessor :gap_marker
|
|
193
|
+
|
|
194
|
+
def initialize
|
|
195
|
+
@gap_marker = '<span class="gap">…</span>'
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
# * +collection+ is a WillPaginate::Collection instance or any other object
|
|
199
|
+
# that conforms to that API
|
|
200
|
+
# * +options+ are forwarded from +will_paginate+ view helper
|
|
201
|
+
# * +template+ is the reference to the template being rendered
|
|
202
|
+
def prepare(collection, options, template)
|
|
203
|
+
@collection = collection
|
|
204
|
+
@options = options
|
|
205
|
+
@template = template
|
|
206
|
+
|
|
207
|
+
# reset values in case we're re-using this instance
|
|
208
|
+
@total_pages = @param_name = @url_string = nil
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
# Process it! This method returns the complete HTML string which contains
|
|
212
|
+
# pagination links. Feel free to subclass LinkRenderer and change this
|
|
213
|
+
# method as you see fit.
|
|
214
|
+
def to_html
|
|
215
|
+
links = @options[:page_links] ? windowed_links : []
|
|
216
|
+
# previous/next buttons
|
|
217
|
+
links.unshift page_link_or_span(@collection.previous_page, 'disabled prev_page', @options[:prev_label])
|
|
218
|
+
links.push page_link_or_span(@collection.next_page, 'disabled next_page', @options[:next_label])
|
|
219
|
+
|
|
220
|
+
html = links.join(@options[:separator])
|
|
221
|
+
@options[:container] ? @template.content_tag(:div, html, html_attributes) : html
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
# Returns the subset of +options+ this instance was initialized with that
|
|
225
|
+
# represent HTML attributes for the container element of pagination links.
|
|
226
|
+
def html_attributes
|
|
227
|
+
return @html_attributes if @html_attributes
|
|
228
|
+
@html_attributes = @options.except *(WillPaginate::ViewHelpers.pagination_options.keys - [:class])
|
|
229
|
+
# pagination of Post models will have the ID of "posts_pagination"
|
|
230
|
+
if @options[:container] and @options[:id] === true
|
|
231
|
+
@html_attributes[:id] = @collection.first.class.name.underscore.pluralize + '_pagination'
|
|
232
|
+
end
|
|
233
|
+
@html_attributes
|
|
234
|
+
end
|
|
235
|
+
|
|
236
|
+
protected
|
|
237
|
+
|
|
238
|
+
# Collects link items for visible page numbers.
|
|
239
|
+
def windowed_links
|
|
240
|
+
prev = nil
|
|
241
|
+
|
|
242
|
+
visible_page_numbers.inject [] do |links, n|
|
|
243
|
+
# detect gaps:
|
|
244
|
+
links << gap_marker if prev and n > prev + 1
|
|
245
|
+
links << page_link_or_span(n, 'current')
|
|
246
|
+
prev = n
|
|
247
|
+
links
|
|
248
|
+
end
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
# Calculates visible page numbers using the <tt>:inner_window</tt> and
|
|
252
|
+
# <tt>:outer_window</tt> options.
|
|
253
|
+
def visible_page_numbers
|
|
254
|
+
inner_window, outer_window = @options[:inner_window].to_i, @options[:outer_window].to_i
|
|
255
|
+
window_from = current_page - inner_window
|
|
256
|
+
window_to = current_page + inner_window
|
|
257
|
+
|
|
258
|
+
# adjust lower or upper limit if other is out of bounds
|
|
259
|
+
if window_to > total_pages
|
|
260
|
+
window_from -= window_to - total_pages
|
|
261
|
+
window_to = total_pages
|
|
262
|
+
end
|
|
263
|
+
if window_from < 1
|
|
264
|
+
window_to += 1 - window_from
|
|
265
|
+
window_from = 1
|
|
266
|
+
window_to = total_pages if window_to > total_pages
|
|
267
|
+
end
|
|
268
|
+
|
|
269
|
+
visible = (1..total_pages).to_a
|
|
270
|
+
left_gap = (2 + outer_window)...window_from
|
|
271
|
+
right_gap = (window_to + 1)...(total_pages - outer_window)
|
|
272
|
+
visible -= left_gap.to_a if left_gap.last - left_gap.first > 1
|
|
273
|
+
visible -= right_gap.to_a if right_gap.last - right_gap.first > 1
|
|
274
|
+
|
|
275
|
+
visible
|
|
276
|
+
end
|
|
277
|
+
|
|
278
|
+
def page_link_or_span(page, span_class, text = nil)
|
|
279
|
+
text ||= page.to_s
|
|
280
|
+
|
|
281
|
+
if page and page != current_page
|
|
282
|
+
classnames = span_class && span_class.index(' ') && span_class.split(' ', 2).last
|
|
283
|
+
page_link page, text, :rel => rel_value(page), :class => classnames
|
|
284
|
+
else
|
|
285
|
+
page_span page, text, :class => span_class
|
|
286
|
+
end
|
|
287
|
+
end
|
|
288
|
+
|
|
289
|
+
def page_link(page, text, attributes = {})
|
|
290
|
+
@template.link_to text, url_for(page), attributes
|
|
291
|
+
end
|
|
292
|
+
|
|
293
|
+
def page_span(page, text, attributes = {})
|
|
294
|
+
@template.content_tag :span, text, attributes
|
|
295
|
+
end
|
|
296
|
+
|
|
297
|
+
# Returns URL params for +page_link_or_span+, taking the current GET params
|
|
298
|
+
# and <tt>:params</tt> option into account.
|
|
299
|
+
def url_for(page)
|
|
300
|
+
page_one = page == 1
|
|
301
|
+
unless @url_string and !page_one
|
|
302
|
+
@url_params = {}
|
|
303
|
+
# page links should preserve GET parameters
|
|
304
|
+
stringified_merge @url_params, @template.params if @template.request.get?
|
|
305
|
+
stringified_merge @url_params, @options[:params] if @options[:params]
|
|
306
|
+
|
|
307
|
+
if complex = param_name.index(/[^\w-]/)
|
|
308
|
+
page_param = (defined?(CGIMethods) ? CGIMethods : ActionController::AbstractRequest).
|
|
309
|
+
parse_query_parameters("#{param_name}=#{page}")
|
|
310
|
+
|
|
311
|
+
stringified_merge @url_params, page_param
|
|
312
|
+
else
|
|
313
|
+
@url_params[param_name] = page_one ? 1 : 2
|
|
314
|
+
end
|
|
315
|
+
|
|
316
|
+
url = @template.url_for(@url_params)
|
|
317
|
+
return url if page_one
|
|
318
|
+
|
|
319
|
+
if complex
|
|
320
|
+
@url_string = url.sub(%r!((?:\?|&)#{CGI.escape param_name}=)#{page}!, '\1@')
|
|
321
|
+
return url
|
|
322
|
+
else
|
|
323
|
+
@url_string = url
|
|
324
|
+
@url_params[param_name] = 3
|
|
325
|
+
@template.url_for(@url_params).split(//).each_with_index do |char, i|
|
|
326
|
+
if char == '3' and url[i, 1] == '2'
|
|
327
|
+
@url_string[i] = '@'
|
|
328
|
+
break
|
|
329
|
+
end
|
|
330
|
+
end
|
|
331
|
+
end
|
|
332
|
+
end
|
|
333
|
+
# finally!
|
|
334
|
+
@url_string.sub '@', page.to_s
|
|
335
|
+
end
|
|
336
|
+
|
|
337
|
+
private
|
|
338
|
+
|
|
339
|
+
def rel_value(page)
|
|
340
|
+
case page
|
|
341
|
+
when @collection.previous_page; 'prev' + (page == 1 ? ' start' : '')
|
|
342
|
+
when @collection.next_page; 'next'
|
|
343
|
+
when 1; 'start'
|
|
344
|
+
end
|
|
345
|
+
end
|
|
346
|
+
|
|
347
|
+
def current_page
|
|
348
|
+
@collection.current_page
|
|
349
|
+
end
|
|
350
|
+
|
|
351
|
+
def total_pages
|
|
352
|
+
@total_pages ||= WillPaginate::ViewHelpers.total_pages_for_collection(@collection)
|
|
353
|
+
end
|
|
354
|
+
|
|
355
|
+
def param_name
|
|
356
|
+
@param_name ||= @options[:param_name].to_s
|
|
357
|
+
end
|
|
358
|
+
|
|
359
|
+
# Recursively merge into target hash by using stringified keys from the other one
|
|
360
|
+
def stringified_merge(target, other)
|
|
361
|
+
other.each do |key, value|
|
|
362
|
+
key = key.to_s # this line is what it's all about!
|
|
363
|
+
existing = target[key]
|
|
364
|
+
|
|
365
|
+
if value.is_a?(Hash) and (existing.is_a?(Hash) or existing.nil?)
|
|
366
|
+
stringified_merge(existing || (target[key] = {}), value)
|
|
367
|
+
else
|
|
368
|
+
target[key] = value
|
|
369
|
+
end
|
|
370
|
+
end
|
|
371
|
+
end
|
|
372
|
+
end
|
|
373
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Gem::Specification.new do |s|
|
|
2
|
+
s.name = 'will_paginate'
|
|
3
|
+
s.version = '2.3.2'
|
|
4
|
+
s.date = '2008-05-16'
|
|
5
|
+
|
|
6
|
+
s.summary = "Most awesome pagination solution for Rails"
|
|
7
|
+
s.description = "The will_paginate library provides a simple, yet powerful and extensible API for ActiveRecord pagination and rendering of pagination links in ActionView templates."
|
|
8
|
+
|
|
9
|
+
s.authors = ['Mislav Marohnić', 'PJ Hyett']
|
|
10
|
+
s.email = 'mislav.marohnic@gmail.com'
|
|
11
|
+
s.homepage = 'http://github.com/mislav/will_paginate/wikis'
|
|
12
|
+
|
|
13
|
+
s.has_rdoc = true
|
|
14
|
+
s.rdoc_options = ['--main', 'README.rdoc']
|
|
15
|
+
s.rdoc_options << '--inline-source' << '--charset=UTF-8'
|
|
16
|
+
s.extra_rdoc_files = ['README.rdoc', 'LICENSE', 'CHANGELOG']
|
|
17
|
+
s.add_dependency 'activesupport', ['>= 1.4.4']
|
|
18
|
+
|
|
19
|
+
s.files = %w(CHANGELOG LICENSE README.rdoc Rakefile examples examples/apple-circle.gif examples/index.haml examples/index.html examples/pagination.css examples/pagination.sass init.rb lib lib/will_paginate lib/will_paginate.rb lib/will_paginate/array.rb lib/will_paginate/collection.rb lib/will_paginate/core_ext.rb lib/will_paginate/finder.rb lib/will_paginate/named_scope.rb lib/will_paginate/named_scope_patch.rb lib/will_paginate/version.rb lib/will_paginate/view_helpers.rb test test/boot.rb test/collection_test.rb test/console test/database.yml test/finder_test.rb test/fixtures test/fixtures/admin.rb test/fixtures/developer.rb test/fixtures/developers_projects.yml test/fixtures/project.rb test/fixtures/projects.yml test/fixtures/replies.yml test/fixtures/reply.rb test/fixtures/schema.rb test/fixtures/topic.rb test/fixtures/topics.yml test/fixtures/user.rb test/fixtures/users.yml test/helper.rb test/lib test/lib/activerecord_test_case.rb test/lib/activerecord_test_connector.rb test/lib/load_fixtures.rb test/lib/view_test_process.rb test/tasks.rake test/view_test.rb)
|
|
20
|
+
s.test_files = %w(test/boot.rb test/collection_test.rb test/console test/database.yml test/finder_test.rb test/fixtures test/fixtures/admin.rb test/fixtures/developer.rb test/fixtures/developers_projects.yml test/fixtures/project.rb test/fixtures/projects.yml test/fixtures/replies.yml test/fixtures/reply.rb test/fixtures/schema.rb test/fixtures/topic.rb test/fixtures/topics.yml test/fixtures/user.rb test/fixtures/users.yml test/helper.rb test/lib test/lib/activerecord_test_case.rb test/lib/activerecord_test_connector.rb test/lib/load_fixtures.rb test/lib/view_test_process.rb test/tasks.rake test/view_test.rb)
|
|
21
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,586 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: gfdnavi
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.3.0.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Seiya Nishizawa
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: .
|
|
10
|
+
cert_chain: []
|
|
11
|
+
|
|
12
|
+
date: 2009-03-11 00:00:00 +09:00
|
|
13
|
+
default_executable:
|
|
14
|
+
dependencies:
|
|
15
|
+
- !ruby/object:Gem::Dependency
|
|
16
|
+
name: rails
|
|
17
|
+
type: :runtime
|
|
18
|
+
version_requirement:
|
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
20
|
+
requirements:
|
|
21
|
+
- - "="
|
|
22
|
+
- !ruby/object:Gem::Version
|
|
23
|
+
version: 2.2.2
|
|
24
|
+
version:
|
|
25
|
+
- !ruby/object:Gem::Dependency
|
|
26
|
+
name: rake
|
|
27
|
+
type: :runtime
|
|
28
|
+
version_requirement:
|
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - ">="
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: 0.8.3
|
|
34
|
+
version:
|
|
35
|
+
- !ruby/object:Gem::Dependency
|
|
36
|
+
name: sqlite3-ruby
|
|
37
|
+
type: :runtime
|
|
38
|
+
version_requirement:
|
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
40
|
+
requirements:
|
|
41
|
+
- - "="
|
|
42
|
+
- !ruby/object:Gem::Version
|
|
43
|
+
version: 1.2.2
|
|
44
|
+
version:
|
|
45
|
+
description:
|
|
46
|
+
email: seiya@gfd-dennou.org
|
|
47
|
+
executables:
|
|
48
|
+
- gfdnavi-install
|
|
49
|
+
extensions: []
|
|
50
|
+
|
|
51
|
+
extra_rdoc_files: []
|
|
52
|
+
|
|
53
|
+
files:
|
|
54
|
+
- ChangeLog
|
|
55
|
+
- consistency_checker.rb
|
|
56
|
+
- install.rb
|
|
57
|
+
- gfdnavi-install
|
|
58
|
+
- LICENCE.txt
|
|
59
|
+
- Makefile
|
|
60
|
+
- TODO
|
|
61
|
+
- app/controllers
|
|
62
|
+
- app/controllers/analysis_controller.rb
|
|
63
|
+
- app/controllers/application.rb
|
|
64
|
+
- app/controllers/draw_method_controller.rb
|
|
65
|
+
- app/controllers/explorer_controller.rb
|
|
66
|
+
- app/controllers/finder_controller.rb
|
|
67
|
+
- app/controllers/function_controller.rb
|
|
68
|
+
- app/controllers/group_controller.rb
|
|
69
|
+
- app/controllers/keyword_attributes_controller.rb
|
|
70
|
+
- app/controllers/knowledge_controller.rb
|
|
71
|
+
- app/controllers/nodes_controller.rb
|
|
72
|
+
- app/controllers/search_controller.rb
|
|
73
|
+
- app/controllers/user_controller.rb
|
|
74
|
+
- app/helpers
|
|
75
|
+
- app/helpers/analysis_helper.rb
|
|
76
|
+
- app/helpers/application_helper.rb
|
|
77
|
+
- app/helpers/description_helper.rb
|
|
78
|
+
- app/helpers/function_helper.rb
|
|
79
|
+
- app/helpers/group_helper.rb
|
|
80
|
+
- app/helpers/search_helper.rb
|
|
81
|
+
- app/helpers/user_helper.rb
|
|
82
|
+
- app/helpers/work_flow_helper.rb
|
|
83
|
+
- app/models
|
|
84
|
+
- app/models/actual_file.rb
|
|
85
|
+
- app/models/analysis.rb
|
|
86
|
+
- app/models/analysis_history.rb
|
|
87
|
+
- app/models/cross_array.rb
|
|
88
|
+
- app/models/cross_result.rb
|
|
89
|
+
- app/models/derived_spatial_attribute.rb
|
|
90
|
+
- app/models/diagram_cache.rb
|
|
91
|
+
- app/models/diagram_cache_datum.rb
|
|
92
|
+
- app/models/diagram_cache_session.rb
|
|
93
|
+
- app/models/directory.rb
|
|
94
|
+
- app/models/draw_method.rb
|
|
95
|
+
- app/models/draw_method_attribute.rb
|
|
96
|
+
- app/models/draw_parameter.rb
|
|
97
|
+
- app/models/explorer_query.rb
|
|
98
|
+
- app/models/explorer_result.rb
|
|
99
|
+
- app/models/function.rb
|
|
100
|
+
- app/models/function_argument.rb
|
|
101
|
+
- app/models/function_output.rb
|
|
102
|
+
- app/models/group.rb
|
|
103
|
+
- app/models/image.rb
|
|
104
|
+
- app/models/keyword_attribute.rb
|
|
105
|
+
- app/models/knowledge.rb
|
|
106
|
+
- app/models/knowledge_backup.rb
|
|
107
|
+
- app/models/knowledge_figure.rb
|
|
108
|
+
- app/models/knowledge_figure_backup.rb
|
|
109
|
+
- app/models/knowledge_parser.rb
|
|
110
|
+
- app/models/node.rb
|
|
111
|
+
- app/models/node_entity_abstract.rb
|
|
112
|
+
- app/models/node_lineage.rb
|
|
113
|
+
- app/models/node_relation.rb
|
|
114
|
+
- app/models/path_node.rb
|
|
115
|
+
- app/models/query.rb
|
|
116
|
+
- app/models/query_history.rb
|
|
117
|
+
- app/models/results.rb
|
|
118
|
+
- app/models/sign_up_user.rb
|
|
119
|
+
- app/models/spatial_and_time_attribute.rb
|
|
120
|
+
- app/models/user.rb
|
|
121
|
+
- app/models/user_mailer.rb
|
|
122
|
+
- app/models/value_type.rb
|
|
123
|
+
- app/models/variable.rb
|
|
124
|
+
- app/models/virtual_node.rb
|
|
125
|
+
- app/views
|
|
126
|
+
- app/views/analysis
|
|
127
|
+
- app/views/analysis/index.rhtml
|
|
128
|
+
- app/views/analysis/preview.rhtml
|
|
129
|
+
- app/views/analysis/save.rhtml
|
|
130
|
+
- app/views/analysis/show_diagram.rhtml
|
|
131
|
+
- app/views/analysis/_analysis_function_settings.rhtml
|
|
132
|
+
- app/views/analysis/_analysis_settings.rhtml
|
|
133
|
+
- app/views/analysis/_diagram.rhtml
|
|
134
|
+
- app/views/analysis/_dimension_option.rhtml
|
|
135
|
+
- app/views/analysis/_draw_general_settings.rhtml
|
|
136
|
+
- app/views/analysis/_draw_settings.rhtml
|
|
137
|
+
- app/views/analysis/_history.rhtml
|
|
138
|
+
- app/views/analysis/_popular_diagrams.rhtml
|
|
139
|
+
- app/views/analysis/_save_form.rhtml
|
|
140
|
+
- app/views/analysis/_variables.rhtml
|
|
141
|
+
- app/views/analysis/_variables_order.rhtml
|
|
142
|
+
- app/views/analysis/__help_analysis_tab.en.html
|
|
143
|
+
- app/views/analysis/__help_draw_share.en.html
|
|
144
|
+
- app/views/analysis/__help_draw_tab.en.html
|
|
145
|
+
- app/views/cross
|
|
146
|
+
- app/views/cross/index.rhtml
|
|
147
|
+
- app/views/cross/_display_map.rhtml
|
|
148
|
+
- app/views/cross/_result.rhtml
|
|
149
|
+
- app/views/cross/_show_results.rhtml
|
|
150
|
+
- app/views/cross/_show_result_tree.rhtml
|
|
151
|
+
- app/views/cross/_style.rhtml
|
|
152
|
+
- app/views/draw_method
|
|
153
|
+
- app/views/draw_method/create.rhtml
|
|
154
|
+
- app/views/draw_method/details.rhtml
|
|
155
|
+
- app/views/draw_method/edit.rhtml
|
|
156
|
+
- app/views/draw_method/list.rhtml
|
|
157
|
+
- app/views/draw_method/_edit_form.rhtml
|
|
158
|
+
- app/views/explorer
|
|
159
|
+
- app/views/explorer/index.rhtml
|
|
160
|
+
- app/views/explorer/_display_map.rhtml
|
|
161
|
+
- app/views/explorer/_show_results.rhtml
|
|
162
|
+
- app/views/explorer/_show_result_tree.rhtml
|
|
163
|
+
- app/views/explorer/_style.rhtml
|
|
164
|
+
- app/views/finder
|
|
165
|
+
- app/views/finder/create_tree.html.erb
|
|
166
|
+
- app/views/finder/flex.html.erb
|
|
167
|
+
- app/views/finder/index.html.erb
|
|
168
|
+
- app/views/finder/show_details.html.erb
|
|
169
|
+
- app/views/finder/show_images.html.erb
|
|
170
|
+
- app/views/finder/_children.html.erb
|
|
171
|
+
- app/views/finder/_children_details.html.erb
|
|
172
|
+
- app/views/finder/_children_details_tr.html.erb
|
|
173
|
+
- app/views/function
|
|
174
|
+
- app/views/function/create.rhtml
|
|
175
|
+
- app/views/function/details.rhtml
|
|
176
|
+
- app/views/function/edit.rhtml
|
|
177
|
+
- app/views/function/list.rhtml
|
|
178
|
+
- app/views/function/_edit_form.rhtml
|
|
179
|
+
- app/views/group
|
|
180
|
+
- app/views/group/add_member.rhtml
|
|
181
|
+
- app/views/group/change_owner.rhtml
|
|
182
|
+
- app/views/group/create.rhtml
|
|
183
|
+
- app/views/group/delete_member.rhtml
|
|
184
|
+
- app/views/group/list.rhtml
|
|
185
|
+
- app/views/knowledge
|
|
186
|
+
- app/views/knowledge/edit.rhtml
|
|
187
|
+
- app/views/knowledge/list.rhtml
|
|
188
|
+
- app/views/knowledge/new.rhtml
|
|
189
|
+
- app/views/knowledge/new_from_analysis.rhtml
|
|
190
|
+
- app/views/knowledge/show.rhtml
|
|
191
|
+
- app/views/knowledge/_backup.rhtml
|
|
192
|
+
- app/views/knowledge/_category.rhtml
|
|
193
|
+
- app/views/knowledge/_category_list.rhtml
|
|
194
|
+
- app/views/knowledge/_category_table.rhtml
|
|
195
|
+
- app/views/knowledge/_comment.rhtml
|
|
196
|
+
- app/views/knowledge/_comments.rhtml
|
|
197
|
+
- app/views/knowledge/_comment_input_form.rhtml
|
|
198
|
+
- app/views/knowledge/_form.rhtml
|
|
199
|
+
- app/views/knowledge/_group_figure_form.rhtml
|
|
200
|
+
- app/views/knowledge/_layout_figure.rhtml
|
|
201
|
+
- app/views/knowledge/_layout_figures_in_a_row_above_text.rhtml
|
|
202
|
+
- app/views/knowledge/_layout_figures_under_text.rhtml
|
|
203
|
+
- app/views/knowledge/_layout_one_figure_above_text.rhtml
|
|
204
|
+
- app/views/knowledge/_summary.rhtml
|
|
205
|
+
- app/views/layouts
|
|
206
|
+
- app/views/layouts/gfdnavi.rhtml
|
|
207
|
+
- app/views/nodes
|
|
208
|
+
- app/views/nodes/description.html.erb
|
|
209
|
+
- app/views/nodes/description_methods.html.erb
|
|
210
|
+
- app/views/nodes/edit.html.erb
|
|
211
|
+
- app/views/nodes/index.html.erb
|
|
212
|
+
- app/views/nodes/show.html.erb
|
|
213
|
+
- app/views/nodes/_ancestors.html.erb
|
|
214
|
+
- app/views/nodes/_description_methods_table.html.erb
|
|
215
|
+
- app/views/nodes/_mode.html.erb
|
|
216
|
+
- app/views/search
|
|
217
|
+
- app/views/search/mapsearch.rhtml
|
|
218
|
+
- app/views/search/remapsearch.rjs
|
|
219
|
+
- app/views/search/show_details.rhtml
|
|
220
|
+
- app/views/search/_children_details_mapsearch.rhtml
|
|
221
|
+
- app/views/search/_children_details_tr.rhtml
|
|
222
|
+
- app/views/search/_show_grouplist.rhtml
|
|
223
|
+
- app/views/search/_show_results.rhtml
|
|
224
|
+
- app/views/search/_show_results_global.rhtml
|
|
225
|
+
- app/views/search/_show_results_partial.rhtml
|
|
226
|
+
- app/views/search/_show_results_partial_groupbyfile.rhtml
|
|
227
|
+
- app/views/search/_show_variablelist.rhtml
|
|
228
|
+
- app/views/user
|
|
229
|
+
- app/views/user/add_user.rhtml
|
|
230
|
+
- app/views/user/change_password.rhtml
|
|
231
|
+
- app/views/user/edit.html.erb
|
|
232
|
+
- app/views/user/index.rhtml
|
|
233
|
+
- app/views/user/login.rhtml
|
|
234
|
+
- app/views/user/logout.rhtml
|
|
235
|
+
- app/views/user/signup.rhtml
|
|
236
|
+
- app/views/user/signup_succeeded.rhtml
|
|
237
|
+
- app/views/user_mailer
|
|
238
|
+
- app/views/user_mailer/authorization_inform.rhtml
|
|
239
|
+
- app/views/user_mailer/signup_accepted.rhtml
|
|
240
|
+
- app/views/user_mailer/signup_confirm.rhtml
|
|
241
|
+
- app/views/user_mailer/signup_inform.rhtml
|
|
242
|
+
- app/views/user_mailer/signup_rejected.rhtml
|
|
243
|
+
- app/views/work_flow
|
|
244
|
+
- app/views/work_flow/index.rhtml
|
|
245
|
+
- app/views/work_flow/_push_wsdls.rhtml
|
|
246
|
+
- config/database.yml.example
|
|
247
|
+
- config/environment.rb
|
|
248
|
+
- config/gfdnavi.yml.example
|
|
249
|
+
- config/load_config.rb
|
|
250
|
+
- config/routes.rb
|
|
251
|
+
- data/gfdnavi_docs
|
|
252
|
+
- data/gfdnavi_docs/how_to_draw_multiple_images.knlge
|
|
253
|
+
- data/gfdnavi_docs/how_to_knowledge.knlge
|
|
254
|
+
- data/gfdnavi_docs/how_to_write_document_about_Gfdnavi.knlge
|
|
255
|
+
- data/samples
|
|
256
|
+
- data/samples/jmadata
|
|
257
|
+
- data/samples/jmadata/MSM-P
|
|
258
|
+
- data/samples/jmadata/MSM-P/2006
|
|
259
|
+
- data/samples/jmadata/MSM-P/2006/0101.nc
|
|
260
|
+
- data/samples/jmadata/MSM-P/2006/0101.nc.yml
|
|
261
|
+
- data/samples/jmadata/MSM-P/2006/0102.nc
|
|
262
|
+
- data/samples/jmadata/MSM-P/2006/0103.nc
|
|
263
|
+
- data/samples/jmadata/MSM-P/2006/0104.nc
|
|
264
|
+
- data/samples/jmadata/MSM-P/2006/0105.nc
|
|
265
|
+
- data/samples/jmadata/MSM-P/2006/010[1-3].nc.yml
|
|
266
|
+
- data/samples/jmadata/MSM-P/2006/skip_data.rb
|
|
267
|
+
- data/samples/jmadata/MSM-P/2006/skip_data.sh
|
|
268
|
+
- data/samples/jmadata/MSM-P/2006.nc.yml
|
|
269
|
+
- data/samples/jmadata/MSM-P/2006.yml
|
|
270
|
+
- data/samples/jmadata.SIGEN
|
|
271
|
+
- data/samples/jmadata.yml
|
|
272
|
+
- data/samples/reanalysis
|
|
273
|
+
- data/samples/reanalysis/era40
|
|
274
|
+
- data/samples/reanalysis/era40/t.jan.nc
|
|
275
|
+
- data/samples/reanalysis/era40/t.jan.nc.yml
|
|
276
|
+
- data/samples/reanalysis/era40.SIGEN
|
|
277
|
+
- data/samples/reanalysis/era40.yml
|
|
278
|
+
- data/samples/reanalysis/ncep
|
|
279
|
+
- data/samples/reanalysis/ncep/T.jan.100hPa.png
|
|
280
|
+
- data/samples/reanalysis/ncep/T.jan.100hPa.png.yml
|
|
281
|
+
- data/samples/reanalysis/ncep/T.jan.nc
|
|
282
|
+
- data/samples/reanalysis/ncep/T.jan.zonal_mean.nc
|
|
283
|
+
- data/samples/reanalysis/ncep/T.jan.zonal_mean.nc.yml
|
|
284
|
+
- data/samples/reanalysis/ncep/T.jan_only_root.nc
|
|
285
|
+
- data/samples/reanalysis/ncep/T.jan_only_root.nc.yml
|
|
286
|
+
- data/samples/reanalysis/ncep/UV.jan.nc
|
|
287
|
+
- data/samples/reanalysis/ncep/UV.jan.nc.yml
|
|
288
|
+
- data/samples/reanalysis/ncep/UV.jan.nc.yml.ja
|
|
289
|
+
- data/samples/reanalysis/ncep.SIGEN
|
|
290
|
+
- data/samples/reanalysis.SIGEN
|
|
291
|
+
- data/samples/sonde_operational
|
|
292
|
+
- data/samples/sonde_operational/std_plev
|
|
293
|
+
- data/samples/sonde_operational/std_plev/41256.spl.nc
|
|
294
|
+
- data/samples/sonde_operational/std_plev/42410.spl.nc
|
|
295
|
+
- data/samples/sonde_operational/std_plev/43333.spl.nc
|
|
296
|
+
- data/samples/sonde_operational/std_plev/43346.spl.nc
|
|
297
|
+
- data/samples/sonde_operational/std_plev/48698.spl.nc
|
|
298
|
+
- data/samples/sonde_operational/std_plev/61641.spl.nc
|
|
299
|
+
- data/samples/sonde_operational/std_plev/63741.spl.nc
|
|
300
|
+
- data/samples/sonde_operational/std_plev/67083.spl.nc
|
|
301
|
+
- data/samples/sonde_operational/std_plev/72261.spl.nc
|
|
302
|
+
- data/samples/sonde_operational/std_plev/76805.spl.nc
|
|
303
|
+
- data/samples/sonde_operational/std_plev/82193.spl.nc
|
|
304
|
+
- data/samples/sonde_operational/std_plev/91165.spl.nc
|
|
305
|
+
- data/samples/sonde_operational/std_plev/91610.spl.nc
|
|
306
|
+
- data/samples/sonde_operational/std_plev/91948.spl.nc
|
|
307
|
+
- data/samples/sonde_operational/std_plev/94294.spl.nc
|
|
308
|
+
- data/samples/sonde_operational/std_plev.yml
|
|
309
|
+
- data/samples/sonde_operational.yml
|
|
310
|
+
- db/create_derived_spatial_attributes.sql
|
|
311
|
+
- db/draw_methods
|
|
312
|
+
- db/draw_methods/line.yml
|
|
313
|
+
- db/draw_methods/scatter.yml
|
|
314
|
+
- db/draw_methods/tone.yml
|
|
315
|
+
- db/draw_methods/vector.yml
|
|
316
|
+
- db/dump_db.rb
|
|
317
|
+
- db/functions
|
|
318
|
+
- db/functions/additions.yml
|
|
319
|
+
- db/functions/cut.yml
|
|
320
|
+
- db/functions/division.yml
|
|
321
|
+
- db/functions/mean.yml
|
|
322
|
+
- db/functions/multiplication.yml
|
|
323
|
+
- db/functions/stddev.yml
|
|
324
|
+
- db/functions/subtraction.yml
|
|
325
|
+
- db/migrate
|
|
326
|
+
- db/migrate/001_initial_scheme.rb
|
|
327
|
+
- db/migrate/002_add_open_id_authentication_tables.rb
|
|
328
|
+
- db/NetCDFparser.rb
|
|
329
|
+
- db/register_directory_tree.rb
|
|
330
|
+
- db/restore_db.rb
|
|
331
|
+
- lib/activerecord_gfdnavi.rb
|
|
332
|
+
- lib/basic_authorization.rb
|
|
333
|
+
- lib/create_activeresources.rb
|
|
334
|
+
- lib/execute_analysis.rb
|
|
335
|
+
- lib/file_gfdnavi.rb
|
|
336
|
+
- lib/gphys_gfdnavi.rb
|
|
337
|
+
- lib/localdir.rb
|
|
338
|
+
- lib/login_system.rb
|
|
339
|
+
- lib/multibytes.rb
|
|
340
|
+
- lib/narray_yaml.rb
|
|
341
|
+
- lib/no_rdb_base.rb
|
|
342
|
+
- lib/opendapdir.rb
|
|
343
|
+
- lib/tar.rb
|
|
344
|
+
- lib/tasks
|
|
345
|
+
- lib/tasks/clean.rake
|
|
346
|
+
- lib/tasks/setup.rake
|
|
347
|
+
- lib/tasks/update.rake
|
|
348
|
+
- lib/vizshot_gfdnavi.rb
|
|
349
|
+
- public/crossdomain.xml
|
|
350
|
+
- public/flex
|
|
351
|
+
- public/flex/finder.mxml
|
|
352
|
+
- public/flex/finder.swf
|
|
353
|
+
- public/flex/gfdnavi.mxml
|
|
354
|
+
- public/flex/gfdnavi.swf
|
|
355
|
+
- public/flex/NodeTreeDescriptor.as
|
|
356
|
+
- public/flex/TreeNode.as
|
|
357
|
+
- public/images
|
|
358
|
+
- public/images/analyze.gif
|
|
359
|
+
- public/images/circle.gif
|
|
360
|
+
- public/images/create_from_analysis_button.png
|
|
361
|
+
- public/images/delete.png
|
|
362
|
+
- public/images/down.png
|
|
363
|
+
- public/images/drawbutton.gif
|
|
364
|
+
- public/images/gfdnavi_home_logo.png
|
|
365
|
+
- public/images/gfdnavi_logo_big.png
|
|
366
|
+
- public/images/gfdnavi_logo_med.png
|
|
367
|
+
- public/images/gfdnavi_logo_mini.png
|
|
368
|
+
- public/images/gfdnavi_logo_nobg_big.png
|
|
369
|
+
- public/images/gfdnavi_logo_nobg_med.png
|
|
370
|
+
- public/images/gfdnavi_logo_nobg_small.png
|
|
371
|
+
- public/images/gfdnavi_logo_small.png
|
|
372
|
+
- public/images/gfdnavi_logo_xsmall.png
|
|
373
|
+
- public/images/hbar.png
|
|
374
|
+
- public/images/helpmark16.png
|
|
375
|
+
- public/images/helpmark18.png
|
|
376
|
+
- public/images/Help_S-shots
|
|
377
|
+
- public/images/Help_S-shots/dir_tree_with_add.jpg
|
|
378
|
+
- public/images/kikyu_g.gif
|
|
379
|
+
- public/images/kikyu_r.gif
|
|
380
|
+
- public/images/map_icon_g.gif
|
|
381
|
+
- public/images/map_icon_r.gif
|
|
382
|
+
- public/images/new_knowledge.png
|
|
383
|
+
- public/images/openid.png
|
|
384
|
+
- public/images/read_in_the_form.png
|
|
385
|
+
- public/images/slider_f.gif
|
|
386
|
+
- public/images/slider_f_red.gif
|
|
387
|
+
- public/images/star1.gif
|
|
388
|
+
- public/images/star2.gif
|
|
389
|
+
- public/images/startanim.gif
|
|
390
|
+
- public/images/stopanim.gif
|
|
391
|
+
- public/images/tree
|
|
392
|
+
- public/images/tree/analyze_visualize_checked_items.png
|
|
393
|
+
- public/images/tree/anal_viz.png
|
|
394
|
+
- public/images/tree/binary.png
|
|
395
|
+
- public/images/tree/details.png
|
|
396
|
+
- public/images/tree/DL.png
|
|
397
|
+
- public/images/tree/download_checked_items.png
|
|
398
|
+
- public/images/tree/folder.png
|
|
399
|
+
- public/images/tree/folder_close.gif
|
|
400
|
+
- public/images/tree/image2.png
|
|
401
|
+
- public/images/tree/knowledge.png
|
|
402
|
+
- public/images/tree/knowledges.png
|
|
403
|
+
- public/images/tree/last.gif
|
|
404
|
+
- public/images/tree/last.png
|
|
405
|
+
- public/images/tree/minus.gif
|
|
406
|
+
- public/images/tree/minus_simple.gif
|
|
407
|
+
- public/images/tree/none.gif
|
|
408
|
+
- public/images/tree/none.png
|
|
409
|
+
- public/images/tree/plus.gif
|
|
410
|
+
- public/images/tree/plus_simple.gif
|
|
411
|
+
- public/images/tree/show.png
|
|
412
|
+
- public/images/tree/show_checked_items.png
|
|
413
|
+
- public/images/tree/t.gif
|
|
414
|
+
- public/images/tree/t.png
|
|
415
|
+
- public/images/tree/tate.gif
|
|
416
|
+
- public/images/tree/tate.png
|
|
417
|
+
- public/images/up.png
|
|
418
|
+
- public/images/vbar.png
|
|
419
|
+
- public/images/white.bmp
|
|
420
|
+
- public/images/x.gif
|
|
421
|
+
- public/index.html
|
|
422
|
+
- public/javascripts
|
|
423
|
+
- public/javascripts/AC_OETags.js
|
|
424
|
+
- public/javascripts/analysis.js
|
|
425
|
+
- public/javascripts/application.js
|
|
426
|
+
- public/javascripts/directory_tree.js
|
|
427
|
+
- public/javascripts/draw_method.js
|
|
428
|
+
- public/javascripts/excanvas.js
|
|
429
|
+
- public/javascripts/function.js
|
|
430
|
+
- public/javascripts/gfdnavi.js
|
|
431
|
+
- public/javascripts/knowledge.js
|
|
432
|
+
- public/javascripts/mapsearch.js
|
|
433
|
+
- public/javascripts/progress.js
|
|
434
|
+
- public/javascripts/resizable_box.js
|
|
435
|
+
- public/javascripts/slider.js
|
|
436
|
+
- public/javascripts/tab.js
|
|
437
|
+
- public/javascripts/work_flow.js
|
|
438
|
+
- public/stylesheets
|
|
439
|
+
- public/stylesheets/analysis.css
|
|
440
|
+
- public/stylesheets/description.css
|
|
441
|
+
- public/stylesheets/gfdnavi.css
|
|
442
|
+
- public/stylesheets/knowledge.css
|
|
443
|
+
- public/stylesheets/search.css
|
|
444
|
+
- public/stylesheets/tree.css
|
|
445
|
+
- public/stylesheets/tree_for_ie.css
|
|
446
|
+
- public/stylesheets/work_flow.css
|
|
447
|
+
- script/cleaner
|
|
448
|
+
- script/server_ssl
|
|
449
|
+
- test/fixtures
|
|
450
|
+
- test/fixtures/diagram_caches.yml
|
|
451
|
+
- test/fixtures/diagram_cache_data.yml
|
|
452
|
+
- test/fixtures/diagram_cache_sessions.yml
|
|
453
|
+
- test/fixtures/directories.yml
|
|
454
|
+
- test/fixtures/draw_parameters.yml
|
|
455
|
+
- test/fixtures/functions.yml
|
|
456
|
+
- test/fixtures/function_arguments.yml
|
|
457
|
+
- test/fixtures/function_outputs.yml
|
|
458
|
+
- test/fixtures/groups.yml
|
|
459
|
+
- test/fixtures/group_members.yml
|
|
460
|
+
- test/fixtures/images.yml
|
|
461
|
+
- test/fixtures/keyword_attributes.yml
|
|
462
|
+
- test/fixtures/knowledges.yml
|
|
463
|
+
- test/fixtures/nodes.yml
|
|
464
|
+
- test/fixtures/node_relations.yml
|
|
465
|
+
- test/fixtures/sign_up_users.yml
|
|
466
|
+
- test/fixtures/spatial_and_time_attributes.yml
|
|
467
|
+
- test/fixtures/users.yml
|
|
468
|
+
- test/fixtures/user_mailer
|
|
469
|
+
- test/fixtures/user_mailer/authorization_inform
|
|
470
|
+
- test/fixtures/user_mailer/signup_accepted
|
|
471
|
+
- test/fixtures/user_mailer/signup_confirm
|
|
472
|
+
- test/fixtures/user_mailer/signup_inform
|
|
473
|
+
- test/fixtures/user_mailer/signup_rejected
|
|
474
|
+
- test/fixtures/value_types.yml
|
|
475
|
+
- test/fixtures/variables.yml
|
|
476
|
+
- test/functional
|
|
477
|
+
- test/functional/analysis_controller_test.rb
|
|
478
|
+
- test/functional/description_controller_test.rb
|
|
479
|
+
- test/functional/function_controller_test.rb
|
|
480
|
+
- test/functional/group_controller_test.rb
|
|
481
|
+
- test/functional/search_controller_test.rb
|
|
482
|
+
- test/functional/user_controller_test.rb
|
|
483
|
+
- test/functional/webservice_analysis_api_test.rb
|
|
484
|
+
- test/functional/work_flow_controller_test.rb
|
|
485
|
+
- test/test_helper.rb
|
|
486
|
+
- test/unit
|
|
487
|
+
- test/unit/diagram_cache_datum_test.rb
|
|
488
|
+
- test/unit/diagram_cache_session_test.rb
|
|
489
|
+
- test/unit/diagram_cache_test.rb
|
|
490
|
+
- test/unit/directory_test.rb
|
|
491
|
+
- test/unit/draw_parameter_test.rb
|
|
492
|
+
- test/unit/function_argument_test.rb
|
|
493
|
+
- test/unit/function_output_test.rb
|
|
494
|
+
- test/unit/function_test.rb
|
|
495
|
+
- test/unit/group_test.rb
|
|
496
|
+
- test/unit/image_test.rb
|
|
497
|
+
- test/unit/keyword_attribute_test.rb
|
|
498
|
+
- test/unit/knowledge_test.rb
|
|
499
|
+
- test/unit/node_relation_test.rb
|
|
500
|
+
- test/unit/node_test.rb
|
|
501
|
+
- test/unit/sign_up_user_test.rb
|
|
502
|
+
- test/unit/spatial_and_time_attribute_test.rb
|
|
503
|
+
- test/unit/user_mailer_test.rb
|
|
504
|
+
- test/unit/user_test.rb
|
|
505
|
+
- test/unit/value_type_test.rb
|
|
506
|
+
- test/unit/variable_test.rb
|
|
507
|
+
- vendor/plugins
|
|
508
|
+
- vendor/plugins/acts_as_list
|
|
509
|
+
- vendor/plugins/acts_as_list/init.rb
|
|
510
|
+
- vendor/plugins/acts_as_list/lib
|
|
511
|
+
- vendor/plugins/acts_as_list/lib/active_record
|
|
512
|
+
- vendor/plugins/acts_as_list/lib/active_record/acts
|
|
513
|
+
- vendor/plugins/acts_as_list/lib/active_record/acts/list.rb
|
|
514
|
+
- vendor/plugins/acts_as_list/README
|
|
515
|
+
- vendor/plugins/acts_as_list/test
|
|
516
|
+
- vendor/plugins/acts_as_list/test/list_test.rb
|
|
517
|
+
- vendor/plugins/acts_as_tree
|
|
518
|
+
- vendor/plugins/acts_as_tree/init.rb
|
|
519
|
+
- vendor/plugins/acts_as_tree/lib
|
|
520
|
+
- vendor/plugins/acts_as_tree/lib/active_record
|
|
521
|
+
- vendor/plugins/acts_as_tree/lib/active_record/acts
|
|
522
|
+
- vendor/plugins/acts_as_tree/lib/active_record/acts/tree.rb
|
|
523
|
+
- vendor/plugins/acts_as_tree/Rakefile
|
|
524
|
+
- vendor/plugins/acts_as_tree/README
|
|
525
|
+
- vendor/plugins/acts_as_tree/test
|
|
526
|
+
- vendor/plugins/acts_as_tree/test/abstract_unit.rb
|
|
527
|
+
- vendor/plugins/acts_as_tree/test/acts_as_tree_test.rb
|
|
528
|
+
- vendor/plugins/acts_as_tree/test/database.yml
|
|
529
|
+
- vendor/plugins/acts_as_tree/test/fixtures
|
|
530
|
+
- vendor/plugins/acts_as_tree/test/fixtures/mixin.rb
|
|
531
|
+
- vendor/plugins/acts_as_tree/test/fixtures/mixins.yml
|
|
532
|
+
- vendor/plugins/acts_as_tree/test/schema.rb
|
|
533
|
+
- vendor/plugins/will_paginate
|
|
534
|
+
- vendor/plugins/will_paginate/CHANGELOG
|
|
535
|
+
- vendor/plugins/will_paginate/examples
|
|
536
|
+
- vendor/plugins/will_paginate/examples/apple-circle.gif
|
|
537
|
+
- vendor/plugins/will_paginate/examples/index.haml
|
|
538
|
+
- vendor/plugins/will_paginate/examples/index.html
|
|
539
|
+
- vendor/plugins/will_paginate/examples/pagination.css
|
|
540
|
+
- vendor/plugins/will_paginate/examples/pagination.sass
|
|
541
|
+
- vendor/plugins/will_paginate/init.rb
|
|
542
|
+
- vendor/plugins/will_paginate/lib
|
|
543
|
+
- vendor/plugins/will_paginate/lib/will_paginate
|
|
544
|
+
- vendor/plugins/will_paginate/lib/will_paginate/array.rb
|
|
545
|
+
- vendor/plugins/will_paginate/lib/will_paginate/collection.rb
|
|
546
|
+
- vendor/plugins/will_paginate/lib/will_paginate/core_ext.rb
|
|
547
|
+
- vendor/plugins/will_paginate/lib/will_paginate/finder.rb
|
|
548
|
+
- vendor/plugins/will_paginate/lib/will_paginate/named_scope.rb
|
|
549
|
+
- vendor/plugins/will_paginate/lib/will_paginate/named_scope_patch.rb
|
|
550
|
+
- vendor/plugins/will_paginate/lib/will_paginate/version.rb
|
|
551
|
+
- vendor/plugins/will_paginate/lib/will_paginate/view_helpers.rb
|
|
552
|
+
- vendor/plugins/will_paginate/lib/will_paginate.rb
|
|
553
|
+
- vendor/plugins/will_paginate/LICENSE
|
|
554
|
+
- vendor/plugins/will_paginate/Rakefile
|
|
555
|
+
- vendor/plugins/will_paginate/README.rdoc
|
|
556
|
+
- vendor/plugins/will_paginate/will_paginate.gemspec
|
|
557
|
+
has_rdoc: false
|
|
558
|
+
homepage: http://ruby.gfd-dennou.org/products/gfdnavi/index-j.html
|
|
559
|
+
post_install_message:
|
|
560
|
+
rdoc_options: []
|
|
561
|
+
|
|
562
|
+
require_paths:
|
|
563
|
+
- lib
|
|
564
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
565
|
+
requirements:
|
|
566
|
+
- - ">="
|
|
567
|
+
- !ruby/object:Gem::Version
|
|
568
|
+
version: "0"
|
|
569
|
+
version:
|
|
570
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
571
|
+
requirements:
|
|
572
|
+
- - ">="
|
|
573
|
+
- !ruby/object:Gem::Version
|
|
574
|
+
version: "0"
|
|
575
|
+
version:
|
|
576
|
+
requirements:
|
|
577
|
+
- rails == v2.2.2
|
|
578
|
+
- rake >= v0.8.3
|
|
579
|
+
- sqlite3-ruby == v1.2.2
|
|
580
|
+
rubyforge_project:
|
|
581
|
+
rubygems_version: 1.3.1
|
|
582
|
+
signing_key:
|
|
583
|
+
specification_version: 2
|
|
584
|
+
summary: a gtk+ based grid data analyser and viewer writen on Ruby
|
|
585
|
+
test_files: []
|
|
586
|
+
|