Sha256: 8e192c42ce8f3f171ab48bdc417c3c6bd49e3d4df74ba3a7c0407579f2274ef0

Contents?: true

Size: 1.48 KB

Versions: 87

Compression:

Stored size: 1.48 KB

Contents

namespace :hyhead do
    desc "Call repo:delete from within the test app"
    task :delete => :test_app_exists do
      within_test_app do
        puts %x[rake repo:delete]
      end
    end
    
    desc "Call repo:export from within the test app"
    task :export => :test_app_exists do
      within_test_app do
        puts %x[rake repo:export]
      end
    end
    
    desc "Call repo:load from within the test app"
    task :load => :test_app_exists do
      within_test_app do
        puts %x[rake repo:load]
      end
    end    
    
    desc "Call repo:refresh from within the test app"
    task :refresh => :test_app_exists do
      within_test_app do
        puts %x[rake repo:refresh]
      end
    end

    desc "Call repo:delete_range from within the test app"
    task :delete_range => :test_app_exists do
      within_test_app do
        puts %x[rake repo:delete_range]
      end
    end

  namespace :fixtures do
    
    desc "Call hydra:fixtures:refresh from within the test app"
    task :refresh => :test_app_exists do
      within_test_app do
        puts %x[rake hydra:fixtures:refresh]
      end
    end
    desc "Call hydra:fixtures:load from within the test app"
    task :load => :test_app_exists do
      within_test_app do
        puts %x[rake hydra:fixtures:load]
      end
    end
    desc "Call hydra:fixtures:delete from within the test app"
    task :delete => :test_app_exists do
      within_test_app do
        puts %x[rake hydra:fixtures:delete]
      end
    end
  end
end

Version data entries

87 entries across 87 versions & 2 rubygems

Version Path
hydra-core-6.2.0 tasks/hydra-head-fixtures.rake
hydra-core-6.1.1 tasks/hydra-head-fixtures.rake
hydra-core-6.1.0 tasks/hydra-head-fixtures.rake
hydra-core-6.0.0 tasks/hydra-head-fixtures.rake
hydra-core-6.0.0.rc4 tasks/hydra-head-fixtures.rake
hydra-core-6.0.0.rc3 tasks/hydra-head-fixtures.rake
hydra-core-6.0.0.rc2 tasks/hydra-head-fixtures.rake
hydra-core-6.0.0.rc1 tasks/hydra-head-fixtures.rake
hydra-core-6.0.0.pre8 tasks/hydra-head-fixtures.rake
hydra-core-5.4.0 tasks/hydra-head-fixtures.rake
hydra-core-6.0.0.pre7 tasks/hydra-head-fixtures.rake
hydra-core-6.0.0.pre6 tasks/hydra-head-fixtures.rake
hydra-core-6.0.0.pre5 tasks/hydra-head-fixtures.rake
hydra-core-6.0.0.pre4 tasks/hydra-head-fixtures.rake
hydra-core-6.0.0.pre3 tasks/hydra-head-fixtures.rake
hydra-core-6.0.0.pre2 tasks/hydra-head-fixtures.rake
hydra-core-6.0.0.pre1 tasks/hydra-head-fixtures.rake
hydra-core-5.4.0.pre1 tasks/hydra-head-fixtures.rake
hydra-core-5.3.0 tasks/hydra-head-fixtures.rake
hydra-core-5.2.0 tasks/hydra-head-fixtures.rake