drupid 1.1.0 → 1.1.2
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.
- checksums.yaml +4 -4
- data/.bundle/config +3 -0
- data/.gitignore +10 -0
- data/.rbenv-version +1 -0
- data/Gemfile +3 -0
- data/README.md +56 -0
- data/Rakefile +26 -0
- data/bin/drupid +1 -3
- data/drupid.gemspec +31 -0
- data/lib/drupid/project_version.rb +276 -0
- data/lib/drupid/utils.rb +1 -1
- data/lib/drupid/version.rb +3 -275
- data/lib/drupid.rb +2 -7
- data/test/fixtures/drupal-example.make +89 -0
- data/test/fixtures/drupal-fake-site/modules/aggregator/aggregator.info +14 -0
- data/test/fixtures/drupal-fake-site/modules/aggregator/aggregator.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/aggregator/tests/aggregator_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/aggregator/tests/aggregator_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/block/block.info +13 -0
- data/test/fixtures/drupal-fake-site/modules/block/block.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/block/tests/block_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/block/tests/block_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/blog/blog.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/blog/blog.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/book/book.info +14 -0
- data/test/fixtures/drupal-fake-site/modules/book/book.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/color/color.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/color/color.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/comment/comment.info +16 -0
- data/test/fixtures/drupal-fake-site/modules/comment/comment.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/contact/contact.info +13 -0
- data/test/fixtures/drupal-fake-site/modules/contact/contact.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/contextual/contextual.info +11 -0
- data/test/fixtures/drupal-fake-site/modules/contextual/contextual.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/dashboard/dashboard.info +14 -0
- data/test/fixtures/drupal-fake-site/modules/dashboard/dashboard.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/dblog/dblog.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/dblog/dblog.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/field/field.info +17 -0
- data/test/fixtures/drupal-fake-site/modules/field/field.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/field/modules/field_sql_storage/field_sql_storage.info +14 -0
- data/test/fixtures/drupal-fake-site/modules/field/modules/field_sql_storage/field_sql_storage.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/field/modules/list/list.info +14 -0
- data/test/fixtures/drupal-fake-site/modules/field/modules/list/list.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/field/modules/list/tests/list_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/field/modules/list/tests/list_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/field/modules/number/number.info +13 -0
- data/test/fixtures/drupal-fake-site/modules/field/modules/number/number.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/field/modules/options/options.info +13 -0
- data/test/fixtures/drupal-fake-site/modules/field/modules/options/options.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/field/modules/text/text.info +14 -0
- data/test/fixtures/drupal-fake-site/modules/field/modules/text/text.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/field/tests/field_test.info +13 -0
- data/test/fixtures/drupal-fake-site/modules/field/tests/field_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/field_ui/field_ui.info +13 -0
- data/test/fixtures/drupal-fake-site/modules/field_ui/field_ui.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/file/file.info +13 -0
- data/test/fixtures/drupal-fake-site/modules/file/file.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/file/tests/file_module_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/file/tests/file_module_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/filter/filter.info +14 -0
- data/test/fixtures/drupal-fake-site/modules/filter/filter.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/forum/forum.info +16 -0
- data/test/fixtures/drupal-fake-site/modules/forum/forum.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/help/help.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/help/help.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/image/image.info +14 -0
- data/test/fixtures/drupal-fake-site/modules/image/image.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/image/tests/image_module_test.info +13 -0
- data/test/fixtures/drupal-fake-site/modules/image/tests/image_module_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/locale/locale.info +13 -0
- data/test/fixtures/drupal-fake-site/modules/locale/locale.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/locale/tests/locale_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/locale/tests/locale_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/menu/menu.info +13 -0
- data/test/fixtures/drupal-fake-site/modules/menu/menu.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/node/node.info +16 -0
- data/test/fixtures/drupal-fake-site/modules/node/node.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/node/tests/node_access_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/node/tests/node_access_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/node/tests/node_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/node/tests/node_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/node/tests/node_test_exception.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/node/tests/node_test_exception.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/openid/openid.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/openid/openid.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/openid/tests/openid_test.info +13 -0
- data/test/fixtures/drupal-fake-site/modules/openid/tests/openid_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/overlay/overlay.info +11 -0
- data/test/fixtures/drupal-fake-site/modules/overlay/overlay.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/path/path.info +13 -0
- data/test/fixtures/drupal-fake-site/modules/path/path.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/php/php.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/php/php.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/poll/poll.info +13 -0
- data/test/fixtures/drupal-fake-site/modules/poll/poll.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/profile/profile.info +18 -0
- data/test/fixtures/drupal-fake-site/modules/profile/profile.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/rdf/rdf.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/rdf/rdf.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/rdf/tests/rdf_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/rdf/tests/rdf_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/search/search.info +15 -0
- data/test/fixtures/drupal-fake-site/modules/search/search.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/search/tests/search_embedded_form.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/search/tests/search_embedded_form.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/search/tests/search_extra_type.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/search/tests/search_extra_type.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/shortcut/shortcut.info +13 -0
- data/test/fixtures/drupal-fake-site/modules/shortcut/shortcut.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/simpletest.info +56 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/simpletest.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/actions_loop_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/actions_loop_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/ajax_forms_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/ajax_forms_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/ajax_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/ajax_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/batch_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/batch_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/common_test.info +14 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/common_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/common_test_cron_helper.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/common_test_cron_helper.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/database_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/database_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/drupal_system_listing_incompatible_test/drupal_system_listing_incompatible_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/drupal_system_listing_incompatible_test/drupal_system_listing_incompatible_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/entity_cache_test.info +13 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/entity_cache_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/entity_cache_test_dependency.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/entity_cache_test_dependency.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/entity_crud_hook_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/entity_crud_hook_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/error_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/error_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/file_test.info +13 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/file_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/filter_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/filter_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/form_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/form_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/image_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/image_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/menu_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/menu_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/module_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/module_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/requirements1_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/requirements1_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/requirements2_test.info +14 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/requirements2_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/session_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/session_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/system_dependencies_test.info +13 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/system_dependencies_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/system_incompatible_core_version_dependencies_test.info +13 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/system_incompatible_core_version_dependencies_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/system_incompatible_core_version_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/system_incompatible_core_version_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/system_incompatible_module_version_dependencies_test.info +14 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/system_incompatible_module_version_dependencies_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/system_incompatible_module_version_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/system_incompatible_module_version_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/system_test.info +13 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/system_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/taxonomy_test.info +13 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/taxonomy_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/theme_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/theme_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/update_script_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/update_script_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/update_test_1.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/update_test_1.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/update_test_2.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/update_test_2.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/update_test_3.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/update_test_3.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/url_alter_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/url_alter_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/xmlrpc_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/simpletest/tests/xmlrpc_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/statistics/statistics.info +13 -0
- data/test/fixtures/drupal-fake-site/modules/statistics/statistics.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/syslog/syslog.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/syslog/syslog.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/system/system.info +19 -0
- data/test/fixtures/drupal-fake-site/modules/system/system.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/taxonomy/taxonomy.info +15 -0
- data/test/fixtures/drupal-fake-site/modules/taxonomy/taxonomy.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/toolbar/toolbar.info +11 -0
- data/test/fixtures/drupal-fake-site/modules/toolbar/toolbar.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/tracker/tracker.info +13 -0
- data/test/fixtures/drupal-fake-site/modules/tracker/tracker.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/translation/tests/translation_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/translation/tests/translation_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/translation/translation.info +13 -0
- data/test/fixtures/drupal-fake-site/modules/translation/translation.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/trigger/tests/trigger_test.info +11 -0
- data/test/fixtures/drupal-fake-site/modules/trigger/tests/trigger_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/trigger/trigger.info +13 -0
- data/test/fixtures/drupal-fake-site/modules/trigger/trigger.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/update/tests/aaa_update_test.info +11 -0
- data/test/fixtures/drupal-fake-site/modules/update/tests/aaa_update_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/update/tests/bbb_update_test.info +11 -0
- data/test/fixtures/drupal-fake-site/modules/update/tests/bbb_update_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/update/tests/ccc_update_test.info +11 -0
- data/test/fixtures/drupal-fake-site/modules/update/tests/ccc_update_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/update/tests/update_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/update/tests/update_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/update/update.info +13 -0
- data/test/fixtures/drupal-fake-site/modules/update/update.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/user/tests/user_form_test.info +12 -0
- data/test/fixtures/drupal-fake-site/modules/user/tests/user_form_test.module +0 -0
- data/test/fixtures/drupal-fake-site/modules/user/user.info +16 -0
- data/test/fixtures/drupal-fake-site/modules/user/user.module +0 -0
- data/test/fixtures/drupal-fake-site/profiles/minimal/minimal.info +13 -0
- data/test/fixtures/drupal-fake-site/profiles/minimal/minimal.profile +0 -0
- data/test/fixtures/drupal-fake-site/profiles/openpublic/modules/custom/combineblocks/combineblocks.info +11 -0
- data/test/fixtures/drupal-fake-site/profiles/openpublic/modules/custom/openpublic_api/openpublic_api.info +12 -0
- data/test/fixtures/drupal-fake-site/profiles/openpublic/modules/custom/openpublic_splash/openpublic_splash.info +16 -0
- data/test/fixtures/drupal-fake-site/profiles/openpublic/modules/custom/phase2_blog/phase2_blog.info +32 -0
- data/test/fixtures/drupal-fake-site/profiles/openpublic/modules/custom/phase2_document/phase2_document.info +38 -0
- data/test/fixtures/drupal-fake-site/profiles/openpublic/modules/custom/phase2_profile/phase2_profile.info +45 -0
- data/test/fixtures/drupal-fake-site/profiles/openpublic/openpublic.info +137 -0
- data/test/fixtures/drupal-fake-site/profiles/openpublic/openpublic.make +149 -0
- data/test/fixtures/drupal-fake-site/profiles/openpublic/openpublic.profile +0 -0
- data/test/fixtures/drupal-fake-site/profiles/openpublic/themes/openomega/openomega.info +434 -0
- data/test/fixtures/drupal-fake-site/profiles/openpublic/themes/openpublic_theme/.project +11 -0
- data/test/fixtures/drupal-fake-site/profiles/openpublic/themes/openpublic_theme/openpublic_theme.info +51 -0
- data/test/fixtures/drupal-fake-site/profiles/openpublic/themes/spartan/spartan.info +434 -0
- data/test/fixtures/drupal-fake-site/profiles/standard/standard.info +32 -0
- data/test/fixtures/drupal-fake-site/profiles/standard/standard.profile +0 -0
- data/test/fixtures/drupal-fake-site/profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.info +12 -0
- data/test/fixtures/drupal-fake-site/profiles/testing/modules/drupal_system_listing_incompatible_test/drupal_system_listing_incompatible_test.info +15 -0
- data/test/fixtures/drupal-fake-site/profiles/testing/testing.info +11 -0
- data/test/fixtures/drupal-fake-site/profiles/testing/testing.profile +0 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/entity/entity.info +31 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/entity/entity.module +0 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/entity/entity_token.info +13 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/entity/entity_token.module +0 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/entity/tests/entity_feature.info +14 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/entity/tests/entity_feature.module +0 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/entity/tests/entity_test.info +15 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/entity/tests/entity_test.module +0 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/featured_news_feature/featured_news.info +23 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/featured_news_feature/featured_news.module +0 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/google_analytics/googleanalytics.info +13 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/google_analytics/googleanalytics.module +0 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/media/media.info +26 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/media/media.module +0 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/migrate/migrate.info +47 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/migrate/migrate.module +0 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/migrate/migrate_example/migrate_example.info +27 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/migrate/migrate_example/migrate_example.module +0 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/migrate/migrate_example_baseball/migrate_example_baseball.info +32 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/migrate/migrate_example_baseball/migrate_example_baseball.module +0 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/migrate/migrate_ui/migrate_ui.info +15 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/migrate/migrate_ui/migrate_ui.module +0 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/subdir/ctools/bulk_export/bulk_export.info +12 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/subdir/ctools/bulk_export/bulk_export.module +0 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/subdir/ctools/ctools.info +14 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/subdir/ctools/ctools.module +0 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/subdir/ctools/ctools_access_ruleset/ctools_access_ruleset.info +12 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/subdir/ctools/ctools_access_ruleset/ctools_access_ruleset.module +0 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/subdir/ctools/ctools_ajax_sample/ctools_ajax_sample.info +12 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/subdir/ctools/ctools_ajax_sample/ctools_ajax_sample.module +0 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/subdir/ctools/ctools_custom_content/ctools_custom_content.info +12 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/subdir/ctools/ctools_custom_content/ctools_custom_content.module +0 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/subdir/ctools/ctools_plugin_example/ctools_plugin_example.info +15 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/subdir/ctools/ctools_plugin_example/ctools_plugin_example.module +0 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/subdir/ctools/page_manager/page_manager.info +12 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/subdir/ctools/page_manager/page_manager.module +0 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/subdir/ctools/stylizer/stylizer.info +13 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/subdir/ctools/stylizer/stylizer.module +0 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/subdir/ctools/tests/ctools_plugin_test.info +15 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/subdir/ctools/tests/ctools_plugin_test.module +0 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/subdir/ctools/views_content/views_content.info +17 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/subdir/ctools/views_content/views_content.module +0 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/views/tests/views_test.info +13 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/views/tests/views_test.module +0 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/views/views.info +297 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/views/views.module +0 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/views/views_ui.info +15 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/views/views_ui.module +0 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/wysiwyg/tests/wysiwyg_test.info +14 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/wysiwyg/tests/wysiwyg_test.module +0 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/wysiwyg/wysiwyg.info +17 -0
- data/test/fixtures/drupal-fake-site/sites/all/modules/wysiwyg/wysiwyg.module +0 -0
- data/test/fixtures/drupal-fake-site/sites/all/themes/fusion/fusion_core/fusion_core.info +102 -0
- data/test/fixtures/drupal-fake-site/sites/all/themes/fusion/fusion_starter/fusion_starter.info +190 -0
- data/test/fixtures/drupal-fake-site/sites/all/themes/fusion/fusion_starter_lite/fusion_starter_lite.info +170 -0
- data/test/fixtures/drupal-fake-site/sites/all/themes/subdir/mothership/.gitignore +3 -0
- data/test/fixtures/drupal-fake-site/sites/all/themes/subdir/mothership/NEWTHEME/NEWTHEME.info +124 -0
- data/test/fixtures/drupal-fake-site/sites/all/themes/subdir/mothership/mothership/mothership.info +126 -0
- data/test/fixtures/drupal-fake-site/sites/all/themes/subdir/mothership/mothershipstark/mothershipstark.info +15 -0
- data/test/fixtures/drupal-fake-site/sites/all/themes/subdir/mothership/tema/tema.info +58 -0
- data/test/fixtures/drupal-fake-site/sites/all/themes/tao/tao.info +49 -0
- data/test/fixtures/drupal-fake-site/sites/default/settings.php +0 -0
- data/test/fixtures/drupal-fake-site/sites/www.bar.org/settings.php +0 -0
- data/test/fixtures/drupal-fake-site/sites/www.foo.org/settings.php +0 -0
- data/test/fixtures/drupal-fake-site/themes/bartik/bartik.info +41 -0
- data/test/fixtures/drupal-fake-site/themes/garland/garland.info +14 -0
- data/test/fixtures/drupal-fake-site/themes/seven/seven.info +20 -0
- data/test/fixtures/drupal-fake-site/themes/stark/stark.info +12 -0
- data/test/fixtures/drupal-fake-site/themes/tests/block_test_theme/block_test_theme.info +20 -0
- data/test/fixtures/drupal-fake-site/themes/tests/test_theme/test_theme.info +22 -0
- data/test/fixtures/drupal-fake-site/themes/tests/update_test_basetheme/update_test_basetheme.info +10 -0
- data/test/fixtures/drupal-fake-site/themes/tests/update_test_subtheme/update_test_subtheme.info +11 -0
- data/test/fixtures/fake_library.tar.gz +0 -0
- data/test/fixtures/rootcandy/rootcandy.info +52 -0
- data/test/fixtures/views-info.diff +11 -0
- data/test/fixtures/views.tar.gz +0 -0
- data/test/helper.rb +7 -0
- data/test/makefiles/test1.make +20 -0
- data/test/makefiles/test2.make +14 -0
- data/test/makefiles/test3.make +8 -0
- data/test/test_drupid_component.rb +120 -0
- data/test/test_drupid_download_strategy.rb +112 -0
- data/test/test_drupid_drush.rb +32 -0
- data/test/test_drupid_extend_pathname.rb +33 -0
- data/test/test_drupid_library.rb +62 -0
- data/test/test_drupid_makefile.rb +181 -0
- data/test/test_drupid_patch.rb +53 -0
- data/test/test_drupid_platform.rb +207 -0
- data/test/test_drupid_platform_project.rb +206 -0
- data/test/test_drupid_project.rb +650 -0
- data/test/test_drupid_updater.rb +76 -0
- data/test/test_drupid_version.rb +295 -0
- data/test/test_pathname.rb +67 -0
- metadata +696 -5
data/test/fixtures/drupal-fake-site/sites/all/themes/subdir/mothership/mothership/mothership.info
ADDED
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
name = Mothership
|
|
2
|
+
description = The Motheship is a basetheme for cleaning up crufty markup
|
|
3
|
+
screenshot = screenshot.png
|
|
4
|
+
engine = phptemplate
|
|
5
|
+
core = 7.x
|
|
6
|
+
php = 5.2
|
|
7
|
+
|
|
8
|
+
;-------------- F E A T U R E S -------------
|
|
9
|
+
features[] = logo
|
|
10
|
+
features[] = favicon
|
|
11
|
+
features[] = name
|
|
12
|
+
features[] = slogan
|
|
13
|
+
features[] = node_user_picture
|
|
14
|
+
features[] = comment_user_picture
|
|
15
|
+
features[] = comment_user_verification
|
|
16
|
+
;features[] = main_menu
|
|
17
|
+
;features[] = secondary_menu
|
|
18
|
+
|
|
19
|
+
;-------------- R E G I O N S -------------
|
|
20
|
+
;regions_hidden[] = im_a_hidden_but_visibel_for_a_module
|
|
21
|
+
|
|
22
|
+
regions[page_top] = Page Top
|
|
23
|
+
regions[page_bottom] = Page Bottom
|
|
24
|
+
|
|
25
|
+
regions[header] = Header First
|
|
26
|
+
regions[header_menu] = Header Menu
|
|
27
|
+
|
|
28
|
+
regions[sidebar_first] = Sidebar First
|
|
29
|
+
regions[sidebar_second] = Sidebar Second
|
|
30
|
+
|
|
31
|
+
regions[content_pre] = Content pre
|
|
32
|
+
regions[content] = Content
|
|
33
|
+
regions[content_post] = Content Post
|
|
34
|
+
|
|
35
|
+
regions[footer] = Footer
|
|
36
|
+
|
|
37
|
+
regions[highlighted] = Highlighted
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
;-------------- C S S -------------
|
|
41
|
+
;stylesheets[all][] = css/design.css
|
|
42
|
+
|
|
43
|
+
;-------------- JS -------------
|
|
44
|
+
|
|
45
|
+
;-------------- Default Settings for theme-settings.php -------------
|
|
46
|
+
settings[mothership_rebuild_registry] = 0
|
|
47
|
+
settings[mothership_poorthemers_helper] = 0
|
|
48
|
+
settings[mothership_test] = 0
|
|
49
|
+
|
|
50
|
+
settings[mothership_nuke_css]= mothership_css_nuke_theme
|
|
51
|
+
settings[mothership_html5] = 1
|
|
52
|
+
settings[mothership_viewport] = 1
|
|
53
|
+
settings[mothership_css_reset] = 1
|
|
54
|
+
settings[mothership_css_reset_html5] = 1
|
|
55
|
+
settings[mothership_css_default] = 1
|
|
56
|
+
settings[mothership_css_mothershipstyles] = 1
|
|
57
|
+
|
|
58
|
+
settings[mothership_classes_body_html] = 1
|
|
59
|
+
settings[mothership_classes_body_front] = 0
|
|
60
|
+
settings[mothership_classes_body_loggedin] = 1
|
|
61
|
+
settings[mothership_classes_body_layout] = 0
|
|
62
|
+
settings[mothership_classes_body_toolbar] = 0
|
|
63
|
+
settings[mothership_classes_body_pagenode] = 1
|
|
64
|
+
settings[mothership_classes_body_path] = 0
|
|
65
|
+
settings[mothership_classes_body_path_first] = 0
|
|
66
|
+
|
|
67
|
+
settings[mothership_classes_region] = 1
|
|
68
|
+
settings[mothership_region_wrapper] = 1
|
|
69
|
+
|
|
70
|
+
settings[mothership_classes_block] = 1
|
|
71
|
+
settings[mothership_classes_block_id] = 1
|
|
72
|
+
settings[mothership_classes_block_id_as_class] = 0
|
|
73
|
+
settings[mothership_classes_block_contentdiv] = 1
|
|
74
|
+
|
|
75
|
+
settings[mothership_classes_node] = 0
|
|
76
|
+
settings[mothership_classes_node_state] = 0
|
|
77
|
+
settings[mothership_classes_node_id] = 0
|
|
78
|
+
settings[mothership_classes_node_links_inline] = 1
|
|
79
|
+
|
|
80
|
+
settings[mothership_classes_view] = 1
|
|
81
|
+
settings[mothership_classes_view_name] = 1
|
|
82
|
+
settings[mothership_classes_view_view_id] = 0
|
|
83
|
+
|
|
84
|
+
settings[mothership_classes_view_row] = 1
|
|
85
|
+
settings[mothership_classes_view_row_count] = 1
|
|
86
|
+
settings[mothership_classes_view_row_first_last] = 1
|
|
87
|
+
settings[mothership_classes_view_row_rename] = 0
|
|
88
|
+
|
|
89
|
+
settings[mothership_classes_field_field] = 0
|
|
90
|
+
settings[mothership_classes_field_type] = 0
|
|
91
|
+
settings[mothership_classes_field_label] = 1
|
|
92
|
+
|
|
93
|
+
settings[mothership_classes_form_wrapper_formitem] = 1
|
|
94
|
+
settings[mothership_classes_form_wrapper_formtype] = 1
|
|
95
|
+
settings[mothership_classes_form_wrapper_formname] = 1
|
|
96
|
+
settings[mothership_classes_form_label] = 1
|
|
97
|
+
settings[mothership_classes_form_input] = 1
|
|
98
|
+
settings[mothership_classes_form_description] = 1
|
|
99
|
+
settings[mothership_form_required] = 1
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
settings[mothership_classes_menu_wrapper] = 1
|
|
103
|
+
settings[mothership_classes_menu_items] = 0
|
|
104
|
+
settings[mothership_classes_menu_items_firstlast] = 1
|
|
105
|
+
settings[mothership_classes_menu_collapsed] = 0
|
|
106
|
+
settings[mothership_classes_menu_items_active] = 0
|
|
107
|
+
settings[mothership_classes_menu_leaf] = 1
|
|
108
|
+
|
|
109
|
+
settings[mothership_modernizr] = 0
|
|
110
|
+
settings[mothership_selectivizr] = 0
|
|
111
|
+
settings[mothership_selectivizr_cdn] = 0
|
|
112
|
+
|
|
113
|
+
settings[mothership_frontpage_default_message] = 1
|
|
114
|
+
settings[mothership_content_block_wrapper] = 1
|
|
115
|
+
settings[mothership_frontpage_regions] = 1
|
|
116
|
+
|
|
117
|
+
settings[mothership_classes_body_freeform] = ''
|
|
118
|
+
settings[mothership_classes_block_freeform] = ''
|
|
119
|
+
settings[mothership_classes_node_freeform] = ''
|
|
120
|
+
settings[mothership_classes_region_freeform] = ''
|
|
121
|
+
; Information added by drupal.org packaging script on 2011-12-26
|
|
122
|
+
version = "7.x-2.2"
|
|
123
|
+
core = "7.x"
|
|
124
|
+
project = "mothership"
|
|
125
|
+
datestamp = "1324859678"
|
|
126
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
name = mothershipstark
|
|
2
|
+
description = mothership test on the stark theme
|
|
3
|
+
engine = phptemplate
|
|
4
|
+
core = 7.x
|
|
5
|
+
php = 5.2
|
|
6
|
+
|
|
7
|
+
stylesheets[all][] = layout.css
|
|
8
|
+
|
|
9
|
+
base theme = mothership
|
|
10
|
+
; Information added by drupal.org packaging script on 2011-12-26
|
|
11
|
+
version = "7.x-2.2"
|
|
12
|
+
core = "7.x"
|
|
13
|
+
project = "mothership"
|
|
14
|
+
datestamp = "1324859678"
|
|
15
|
+
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
name = tema
|
|
2
|
+
description = this is the TEMA theme
|
|
3
|
+
screenshot = screenshot.png
|
|
4
|
+
engine = phptemplate
|
|
5
|
+
core = 7.x
|
|
6
|
+
php = 4.2
|
|
7
|
+
base theme = mothership
|
|
8
|
+
|
|
9
|
+
;-------------- F E A T U R E S -------------
|
|
10
|
+
features[] = logo
|
|
11
|
+
features[] = favicon
|
|
12
|
+
features[] = name
|
|
13
|
+
;features[] = slogan
|
|
14
|
+
features[] = node_user_picture
|
|
15
|
+
features[] = comment_user_picture
|
|
16
|
+
features[] = comment_user_verification
|
|
17
|
+
;features[] = main_menu
|
|
18
|
+
;features[] = secondary_menu
|
|
19
|
+
|
|
20
|
+
;-------------- R E G I O N S -------------
|
|
21
|
+
regions[header] = Header
|
|
22
|
+
regions[header_second] = Header Second
|
|
23
|
+
regions[sidebar_first] = Sidebar First
|
|
24
|
+
regions[sidebar_second] = Sidebar Second
|
|
25
|
+
regions[content_pre] = Content Pre
|
|
26
|
+
regions[content] = Content
|
|
27
|
+
regions[content_post] = Content Post
|
|
28
|
+
regions[half_first] = 1. Half column
|
|
29
|
+
regions[half_second] = 2. Half column
|
|
30
|
+
regions[third_firstcolumn] = Content 1. column
|
|
31
|
+
regions[third_secondcolum] = Content 2. column
|
|
32
|
+
regions[third_thirdcolumn] = Content 3. column
|
|
33
|
+
regions[footer_firstcolumn] = Footer 1. column
|
|
34
|
+
regions[footer_secondcolumn] = Footer 2. column
|
|
35
|
+
regions[footer_thirdcolumn] = Footer 3. column
|
|
36
|
+
regions[footer_fourthcolumn] = Footer 4. column
|
|
37
|
+
regions[footer] = Footer
|
|
38
|
+
|
|
39
|
+
;-- Required Regions
|
|
40
|
+
regions[page_top] = Page Top
|
|
41
|
+
regions[page_bottom] = Page Bottom
|
|
42
|
+
regions[highlighted] = Highlighted
|
|
43
|
+
regions[help] = Help
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
;-------------- C S S -------------
|
|
47
|
+
stylesheets[all][] = css/style.css
|
|
48
|
+
|
|
49
|
+
;-------------- JS -------------
|
|
50
|
+
scripts[] = js/slides.min.jquery.js
|
|
51
|
+
scripts[] = js/tema.js
|
|
52
|
+
|
|
53
|
+
; Information added by drupal.org packaging script on 2011-12-26
|
|
54
|
+
version = "7.x-2.2"
|
|
55
|
+
core = "7.x"
|
|
56
|
+
project = "mothership"
|
|
57
|
+
datestamp = "1324859678"
|
|
58
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
core = "6.x"
|
|
2
|
+
description = "Tao is a base theme that is all about going with the flow. It takes care of key reset and utility tasks so that sub-themes can get on with their job."
|
|
3
|
+
engine = "phptemplate"
|
|
4
|
+
name = "Tao"
|
|
5
|
+
regions[left] = "Left sidebar"
|
|
6
|
+
regions[right] = "Right sidebar"
|
|
7
|
+
regions[content] = "Content"
|
|
8
|
+
regions[header] = "Header"
|
|
9
|
+
regions[footer] = "Footer"
|
|
10
|
+
scripts[] = "js/tao.js"
|
|
11
|
+
|
|
12
|
+
stylesheets[screen][] = "reset.css"
|
|
13
|
+
stylesheets[screen][] = "drupal.css"
|
|
14
|
+
stylesheets[screen][] = "base.css"
|
|
15
|
+
stylesheets[print][] = "reset.css"
|
|
16
|
+
stylesheets[print][] = "base.css"
|
|
17
|
+
stylesheets[print][] = "print.css"
|
|
18
|
+
|
|
19
|
+
; Omit core stylesheets.
|
|
20
|
+
; Note that several stylesheets are left included because of their non-invasive
|
|
21
|
+
; or isolated nature:
|
|
22
|
+
;
|
|
23
|
+
; color/color.css
|
|
24
|
+
; locale/locale.css
|
|
25
|
+
;
|
|
26
|
+
; Other functionally critical styles should be reimplemented in `drupal.css`
|
|
27
|
+
; without styles that compromise the typographical grid or otherwise complicate
|
|
28
|
+
; subtheming.
|
|
29
|
+
|
|
30
|
+
stylesheets[all][] = "admin.css"
|
|
31
|
+
stylesheets[all][] = "block.css"
|
|
32
|
+
stylesheets[all][] = "book.css"
|
|
33
|
+
stylesheets[all][] = "comment.css"
|
|
34
|
+
stylesheets[all][] = "dblog.css"
|
|
35
|
+
stylesheets[all][] = "defaults.css"
|
|
36
|
+
stylesheets[all][] = "forum.css"
|
|
37
|
+
stylesheets[all][] = "help.css"
|
|
38
|
+
stylesheets[all][] = "maintenance.css"
|
|
39
|
+
stylesheets[all][] = "node.css"
|
|
40
|
+
stylesheets[all][] = "openid.css"
|
|
41
|
+
stylesheets[all][] = "poll.css"
|
|
42
|
+
stylesheets[all][] = "profile.css"
|
|
43
|
+
stylesheets[all][] = "search.css"
|
|
44
|
+
stylesheets[all][] = "system.css"
|
|
45
|
+
stylesheets[all][] = "system-menus.css"
|
|
46
|
+
stylesheets[all][] = "taxonomy.css"
|
|
47
|
+
stylesheets[all][] = "tracker.css"
|
|
48
|
+
stylesheets[all][] = "update.css"
|
|
49
|
+
stylesheets[all][] = "user.css"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
|
|
2
|
+
name = Bartik
|
|
3
|
+
description = A flexible, recolorable theme with many regions.
|
|
4
|
+
package = Core
|
|
5
|
+
version = VERSION
|
|
6
|
+
core = 7.x
|
|
7
|
+
|
|
8
|
+
stylesheets[all][] = css/layout.css
|
|
9
|
+
stylesheets[all][] = css/style.css
|
|
10
|
+
stylesheets[all][] = css/colors.css
|
|
11
|
+
stylesheets[print][] = css/print.css
|
|
12
|
+
|
|
13
|
+
regions[header] = Header
|
|
14
|
+
regions[help] = Help
|
|
15
|
+
regions[page_top] = Page top
|
|
16
|
+
regions[page_bottom] = Page bottom
|
|
17
|
+
regions[highlighted] = Highlighted
|
|
18
|
+
|
|
19
|
+
regions[featured] = Featured
|
|
20
|
+
regions[content] = Content
|
|
21
|
+
regions[sidebar_first] = Sidebar first
|
|
22
|
+
regions[sidebar_second] = Sidebar second
|
|
23
|
+
|
|
24
|
+
regions[triptych_first] = Triptych first
|
|
25
|
+
regions[triptych_middle] = Triptych middle
|
|
26
|
+
regions[triptych_last] = Triptych last
|
|
27
|
+
|
|
28
|
+
regions[footer_firstcolumn] = Footer first column
|
|
29
|
+
regions[footer_secondcolumn] = Footer second column
|
|
30
|
+
regions[footer_thirdcolumn] = Footer third column
|
|
31
|
+
regions[footer_fourthcolumn] = Footer fourth column
|
|
32
|
+
regions[footer] = Footer
|
|
33
|
+
|
|
34
|
+
settings[shortcut_module_link] = 0
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
; Information added by drupal.org packaging script on 2011-12-05
|
|
38
|
+
version = "7.10"
|
|
39
|
+
project = "drupal"
|
|
40
|
+
datestamp = "1323125439"
|
|
41
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
name = Garland
|
|
2
|
+
description = A multi-column theme which can be configured to modify colors and switch between fixed and fluid width layouts.
|
|
3
|
+
package = Core
|
|
4
|
+
version = VERSION
|
|
5
|
+
core = 7.x
|
|
6
|
+
stylesheets[all][] = style.css
|
|
7
|
+
stylesheets[print][] = print.css
|
|
8
|
+
settings[garland_width] = fluid
|
|
9
|
+
|
|
10
|
+
; Information added by drupal.org packaging script on 2011-12-05
|
|
11
|
+
version = "7.10"
|
|
12
|
+
project = "drupal"
|
|
13
|
+
datestamp = "1323125439"
|
|
14
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
name = Seven
|
|
2
|
+
description = A simple one-column, tableless, fluid width administration theme.
|
|
3
|
+
package = Core
|
|
4
|
+
version = VERSION
|
|
5
|
+
core = 7.x
|
|
6
|
+
stylesheets[screen][] = reset.css
|
|
7
|
+
stylesheets[screen][] = style.css
|
|
8
|
+
settings[shortcut_module_link] = 1
|
|
9
|
+
regions[content] = Content
|
|
10
|
+
regions[help] = Help
|
|
11
|
+
regions[page_top] = Page top
|
|
12
|
+
regions[page_bottom] = Page bottom
|
|
13
|
+
regions[sidebar_first] = First sidebar
|
|
14
|
+
regions_hidden[] = sidebar_first
|
|
15
|
+
|
|
16
|
+
; Information added by drupal.org packaging script on 2011-12-05
|
|
17
|
+
version = "7.10"
|
|
18
|
+
project = "drupal"
|
|
19
|
+
datestamp = "1323125439"
|
|
20
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
name = Stark
|
|
2
|
+
description = This theme demonstrates Drupal's default HTML markup and CSS styles. To learn how to build your own theme and override Drupal's default code, see the <a href="http://drupal.org/theme-guide">Theming Guide</a>.
|
|
3
|
+
package = Core
|
|
4
|
+
version = VERSION
|
|
5
|
+
core = 7.x
|
|
6
|
+
stylesheets[all][] = layout.css
|
|
7
|
+
|
|
8
|
+
; Information added by drupal.org packaging script on 2011-12-05
|
|
9
|
+
version = "7.10"
|
|
10
|
+
project = "drupal"
|
|
11
|
+
datestamp = "1323125439"
|
|
12
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
name = Block test theme
|
|
2
|
+
description = Theme for testing the block system
|
|
3
|
+
core = 7.x
|
|
4
|
+
hidden = TRUE
|
|
5
|
+
|
|
6
|
+
regions[sidebar_first] = Left sidebar
|
|
7
|
+
regions_hidden[] = sidebar_first
|
|
8
|
+
regions[sidebar_second] = Right sidebar
|
|
9
|
+
regions_hidden[] = sidebar_second
|
|
10
|
+
regions[content] = Content
|
|
11
|
+
regions[header] = Header
|
|
12
|
+
regions[footer] = Footer
|
|
13
|
+
regions[highlighted] = Highlighted
|
|
14
|
+
regions[help] = Help
|
|
15
|
+
|
|
16
|
+
; Information added by drupal.org packaging script on 2011-12-05
|
|
17
|
+
version = "7.10"
|
|
18
|
+
project = "drupal"
|
|
19
|
+
datestamp = "1323125439"
|
|
20
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
name = Test theme
|
|
2
|
+
description = Theme for testing the theme system
|
|
3
|
+
core = 7.x
|
|
4
|
+
hidden = TRUE
|
|
5
|
+
|
|
6
|
+
; Normally, themes may list CSS files like this, and if they exist in the theme
|
|
7
|
+
; folder, then they get added to the page. If they have the same file name as a
|
|
8
|
+
; module CSS file, then the theme's version overrides the module's version, so
|
|
9
|
+
; that the module's version is not added to the page. Additionally, a theme may
|
|
10
|
+
; have an entry like this one, without having the corresponding CSS file in the
|
|
11
|
+
; theme's folder, and in this case, it just stops the module's version from
|
|
12
|
+
; being loaded, and does not replace it with an alternate version. We have this
|
|
13
|
+
; here in order for a test to ensure that this correctly prevents the module
|
|
14
|
+
; version from being loaded, and that errors aren't caused by the lack of this
|
|
15
|
+
; file within the theme folder.
|
|
16
|
+
stylesheets[all][] = system.base.css
|
|
17
|
+
|
|
18
|
+
; Information added by drupal.org packaging script on 2011-12-05
|
|
19
|
+
version = "7.10"
|
|
20
|
+
project = "drupal"
|
|
21
|
+
datestamp = "1323125439"
|
|
22
|
+
|
data/test/fixtures/drupal-fake-site/themes/tests/update_test_basetheme/update_test_basetheme.info
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
name = Update test base theme
|
|
2
|
+
description = Test theme which acts as a base theme for other test subthemes.
|
|
3
|
+
core = 7.x
|
|
4
|
+
hidden = TRUE
|
|
5
|
+
|
|
6
|
+
; Information added by drupal.org packaging script on 2011-12-05
|
|
7
|
+
version = "7.10"
|
|
8
|
+
project = "drupal"
|
|
9
|
+
datestamp = "1323125439"
|
|
10
|
+
|
data/test/fixtures/drupal-fake-site/themes/tests/update_test_subtheme/update_test_subtheme.info
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
name = Update test subtheme
|
|
2
|
+
description = Test theme which uses update_test_basetheme as the base theme.
|
|
3
|
+
core = 7.x
|
|
4
|
+
base theme = update_test_basetheme
|
|
5
|
+
hidden = TRUE
|
|
6
|
+
|
|
7
|
+
; Information added by drupal.org packaging script on 2011-12-05
|
|
8
|
+
version = "7.10"
|
|
9
|
+
project = "drupal"
|
|
10
|
+
datestamp = "1323125439"
|
|
11
|
+
|
|
Binary file
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
name = RootCandy
|
|
2
|
+
description = Administration theme.
|
|
3
|
+
core = 7.x
|
|
4
|
+
|
|
5
|
+
; Stylesheets
|
|
6
|
+
stylesheets[all][] = css/reset.css
|
|
7
|
+
stylesheets[all][] = css/typography.css
|
|
8
|
+
stylesheets[all][] = css/global.css
|
|
9
|
+
stylesheets[all][] = css/layout.css
|
|
10
|
+
stylesheets[all][] = css/form.css
|
|
11
|
+
stylesheets[all][] = css/table.css
|
|
12
|
+
stylesheets[all][] = css/navigation.css
|
|
13
|
+
stylesheets[all][] = css/misc.css
|
|
14
|
+
stylesheets[all][] = css/icons.css
|
|
15
|
+
stylesheets[all][] = css/default.css
|
|
16
|
+
stylesheets[all][] = css/dev.css
|
|
17
|
+
|
|
18
|
+
; Regions
|
|
19
|
+
regions[sidebar_first] = Sidebar first
|
|
20
|
+
regions[sidebar_second] = Sidebar second
|
|
21
|
+
regions[content] = Content
|
|
22
|
+
regions[header] = Header
|
|
23
|
+
regions[footer] = Footer
|
|
24
|
+
regions[slider] = Sliding region
|
|
25
|
+
regions[slider_left] = Sliding region Left
|
|
26
|
+
regions[slider_middle] = Sliding region Middle
|
|
27
|
+
regions[slider_right] = Sliding region Right
|
|
28
|
+
|
|
29
|
+
; Scripts
|
|
30
|
+
scripts[] = scripts/core.js
|
|
31
|
+
scripts[] = scripts/slide.js
|
|
32
|
+
|
|
33
|
+
; Settings
|
|
34
|
+
settings[rootcandy_navigation_icons] = 0
|
|
35
|
+
settings[rootcandy_navigation_icons_size] = 24
|
|
36
|
+
settings[rootcandy_header_display] = 0
|
|
37
|
+
settings[rootcandy_navigation_custom_icons] = ''
|
|
38
|
+
settings[rootcandy_help_display] = 0
|
|
39
|
+
settings[rootcandy_hide_author] = 0
|
|
40
|
+
settings[rootcandy_hide_panel] = 0
|
|
41
|
+
settings[rootcandy_hide_panel_overlay] = 1
|
|
42
|
+
settings[rootcandy_header_display_overlay] = 1
|
|
43
|
+
settings[rootcandy_navigation_source_admin] = '_rootcandy_default_navigation'
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
; Information added by drupal.org packaging script on 2012-04-28
|
|
48
|
+
version = "7.x-1.0-alpha1"
|
|
49
|
+
core = "7.x"
|
|
50
|
+
project = "rootcandy"
|
|
51
|
+
datestamp = "1335611463"
|
|
52
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
*** views.info Thu Feb 2 17:52:31 2012
|
|
2
|
+
--- views-copy.info Mon Feb 6 15:55:29 2012
|
|
3
|
+
***************
|
|
4
|
+
*** 1,3 ****
|
|
5
|
+
--- 1,6 ----
|
|
6
|
+
+ ;
|
|
7
|
+
+ ; This comment exists for testing purposes only.
|
|
8
|
+
+ ;
|
|
9
|
+
name = Views
|
|
10
|
+
description = Create customized lists and queries from your database.
|
|
11
|
+
package = Views
|
|
Binary file
|
data/test/helper.rb
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
core = 7.x
|
|
2
|
+
api = 2
|
|
3
|
+
projects[drupal][version] = 7.8
|
|
4
|
+
|
|
5
|
+
projects[jquery_ui][subdir] = contrib
|
|
6
|
+
|
|
7
|
+
libraries[profiler][download][type] = "get"
|
|
8
|
+
libraries[profiler][download][url] = "http://ftp.drupal.org/files/projects/profiler-7.x-2.0-beta1.tar.gz"
|
|
9
|
+
|
|
10
|
+
libraries[jquery_ui][download][type] = "file"
|
|
11
|
+
libraries[jquery_ui][download][url] = "http://jquery-ui.googlecode.com/files/jquery.ui-1.6.zip"
|
|
12
|
+
libraries[jquery_ui][download][md5] = "c177d38bc7af59d696b2efd7dda5c605"
|
|
13
|
+
libraries[jquery_ui][destination] = "modules/contrib/jquery_ui"
|
|
14
|
+
|
|
15
|
+
libraries[shadowbox][download][type] = "post"
|
|
16
|
+
libraries[shadowbox][download][post_data] = "format=tar&adapter=jquery&players[]=img&players[]=iframe&players[]=html&players[]=swf&players[]=flv&players[]=qt&players[]=wmp&language=en&css_support=on"
|
|
17
|
+
libraries[shadowbox][download][file_type] = "tar.gz"
|
|
18
|
+
libraries[shadowbox][download][url] = "http://www.shadowbox-js.com/download"
|
|
19
|
+
libraries[shadowbox][directory_name] = "shadowbox"
|
|
20
|
+
libraries[shadowbox][destination] = "libraries"
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
core = 7.x
|
|
2
|
+
api = 2
|
|
3
|
+
version = "7.x-1.0"
|
|
4
|
+
projects[] = drupal
|
|
5
|
+
|
|
6
|
+
projects[] = views
|
|
7
|
+
projects[wysiwyg] = 2.1
|
|
8
|
+
projects[ctools][version] = 1.0-rc1
|
|
9
|
+
projects[tao][type] = theme
|
|
10
|
+
projects[tao][download][type] = git
|
|
11
|
+
projects[tao][download][url] = git://github.com/developmentseed/tao.git
|
|
12
|
+
|
|
13
|
+
libraries[profiler][download][type] = "get"
|
|
14
|
+
libraries[profiler][download][url] = "http://ftp.drupal.org/files/projects/profiler-7.x-2.0-beta1.tar.gz"
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
|
|
3
|
+
# Copyright (c) 2012-2013 Lifepillar
|
|
4
|
+
#
|
|
5
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
# of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
# in the Software without restriction, including without limitation the rights
|
|
8
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
# copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
# furnished to do so, subject to the following conditions:
|
|
11
|
+
#
|
|
12
|
+
# The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
# copies or substantial portions of the Software.
|
|
14
|
+
#
|
|
15
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
# SOFTWARE.
|
|
22
|
+
|
|
23
|
+
require 'helper'
|
|
24
|
+
|
|
25
|
+
class TestDrupidCache < Minitest::Test
|
|
26
|
+
|
|
27
|
+
def setup
|
|
28
|
+
@cache = FIXTURES+'temp-cache'
|
|
29
|
+
@cache.mkpath
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
def teardown
|
|
33
|
+
@cache.rmtree
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
def test_cache_path
|
|
37
|
+
assert_respond_to Drupid, 'cache_path'
|
|
38
|
+
assert_respond_to Drupid, 'cache_path='
|
|
39
|
+
Drupid.cache_path = @cache
|
|
40
|
+
assert_equal @cache, Drupid.cache_path
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
end # TestDrupidCache
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
class TestDrupidComponent < Minitest::Test
|
|
47
|
+
|
|
48
|
+
def test_create_component
|
|
49
|
+
mc = Drupid::Component.new 'MyComponent'
|
|
50
|
+
assert_equal 'MyComponent', mc.name, 'Wrong name'
|
|
51
|
+
refute_respond_to mc, 'proj_type', 'proj_type should not be a method of Drupid::Component'
|
|
52
|
+
assert_nil mc.local_path, 'Local path should be nil'
|
|
53
|
+
assert_nil mc.download_url, 'Url should be nil'
|
|
54
|
+
assert_nil mc.download_type, 'Download type should be nil'
|
|
55
|
+
assert_instance_of Hash, mc.download_specs, 'Download specs should be a hash'
|
|
56
|
+
refute mc.overwrite, 'Overwrite should be false'
|
|
57
|
+
assert_instance_of Pathname, mc.subdir
|
|
58
|
+
assert_equal '.', mc.subdir.to_s, 'Subdir should be the current directory by default'
|
|
59
|
+
assert_equal mc.name, mc.directory_name, 'Directory name should be equal to the name'
|
|
60
|
+
assert_respond_to mc, 'download_url=', 'Url should be mutable'
|
|
61
|
+
assert_respond_to mc, 'download_type=', 'Download strategy should be mutable'
|
|
62
|
+
assert_respond_to mc, 'subdir=', 'Subdir should be mutable'
|
|
63
|
+
assert_respond_to mc, 'directory_name=', 'Directory name should be mutable'
|
|
64
|
+
assert_respond_to mc, 'local_path=', 'Local path should be mutable'
|
|
65
|
+
assert_equal mc.name, mc.extended_name, 'Extended name should be equal to name'
|
|
66
|
+
refute mc.exist?, 'Component should not be cached'
|
|
67
|
+
refute mc.patched?, 'Component should not be patched'
|
|
68
|
+
refute mc.has_patches?, 'Component should not have patches'
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
def test_default_cache_paths
|
|
72
|
+
mc = Drupid::Component.new 'MyComponent'
|
|
73
|
+
assert_instance_of Pathname, mc.cached_location
|
|
74
|
+
assert_instance_of Pathname, mc.patched_location
|
|
75
|
+
assert_equal Drupid.cache_path+'Component/MyComponent/default/MyComponent', mc.cached_location
|
|
76
|
+
assert_equal Drupid.cache_path+'Component/MyComponent/default/__patches/MyComponent', mc.patched_location
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
def test_add_patch
|
|
80
|
+
c = Drupid::Component.new 'MyComponent'
|
|
81
|
+
refute c.has_patches?
|
|
82
|
+
c.add_patch('http://foo/bar/my.patch', 'just a patch')
|
|
83
|
+
assert c.has_patches?
|
|
84
|
+
n = 0
|
|
85
|
+
c.each_patch do |p|
|
|
86
|
+
n = n + 1
|
|
87
|
+
assert_instance_of Drupid::Patch, p
|
|
88
|
+
assert_equal 'http://foo/bar/my.patch', p.url
|
|
89
|
+
end
|
|
90
|
+
assert_equal 1, n, "Wrong number of patches"
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
end # TestDrupidComponent
|
|
94
|
+
|
|
95
|
+
class TestDrupidComponentFetchAndPatch < Minitest::Test
|
|
96
|
+
|
|
97
|
+
def setup
|
|
98
|
+
@cache = FIXTURES+'temp-cache'
|
|
99
|
+
@cache.mkpath
|
|
100
|
+
@old_cache_path = Drupid.cache_path
|
|
101
|
+
Drupid.cache_path = @cache
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
def teardown
|
|
105
|
+
Drupid.cache_path = @old_cache_path
|
|
106
|
+
@cache.rmtree
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
def test_fetch_tar_gz
|
|
110
|
+
c = Drupid::Component.new 'FooComponent'
|
|
111
|
+
c.download_url = 'file://' + (FIXTURES+'views.tar.gz').to_s
|
|
112
|
+
assert_instance_of String, c.download_url
|
|
113
|
+
c.fetch
|
|
114
|
+
assert c.local_path.exist?
|
|
115
|
+
assert c.local_path.directory?
|
|
116
|
+
assert_equal c.cached_location, c.local_path
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
end # TestDrupidComponentFetchAndPatch
|
|
120
|
+
|