dirty_history 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/dirty_history.gemspec +598 -2
- data/dirty_history/ruby/1.9.1/bin/convert_to_should_syntax +19 -0
- data/dirty_history/ruby/1.9.1/bin/jeweler +19 -0
- data/dirty_history/ruby/1.9.1/bin/rake +19 -0
- data/dirty_history/ruby/1.9.1/bin/rcov +19 -0
- data/dirty_history/ruby/1.9.1/cache/git-1.2.5.gem +0 -0
- data/dirty_history/ruby/1.9.1/cache/jeweler-1.5.2.gem +0 -0
- data/dirty_history/ruby/1.9.1/cache/rake-0.8.7.gem +0 -0
- data/dirty_history/ruby/1.9.1/cache/rcov-0.9.9.gem +0 -0
- data/dirty_history/ruby/1.9.1/cache/shoulda-2.11.3.gem +0 -0
- data/dirty_history/ruby/1.9.1/gems/git-1.2.5/README +240 -0
- data/dirty_history/ruby/1.9.1/gems/git-1.2.5/lib/git.rb +156 -0
- data/dirty_history/ruby/1.9.1/gems/git-1.2.5/lib/git/author.rb +14 -0
- data/dirty_history/ruby/1.9.1/gems/git-1.2.5/lib/git/base.rb +479 -0
- data/dirty_history/ruby/1.9.1/gems/git-1.2.5/lib/git/branch.rb +104 -0
- data/dirty_history/ruby/1.9.1/gems/git-1.2.5/lib/git/branches.rb +48 -0
- data/dirty_history/ruby/1.9.1/gems/git-1.2.5/lib/git/diff.rb +146 -0
- data/dirty_history/ruby/1.9.1/gems/git-1.2.5/lib/git/index.rb +5 -0
- data/dirty_history/ruby/1.9.1/gems/git-1.2.5/lib/git/lib.rb +719 -0
- data/dirty_history/ruby/1.9.1/gems/git-1.2.5/lib/git/log.rb +117 -0
- data/dirty_history/ruby/1.9.1/gems/git-1.2.5/lib/git/object.rb +273 -0
- data/dirty_history/ruby/1.9.1/gems/git-1.2.5/lib/git/path.rb +27 -0
- data/dirty_history/ruby/1.9.1/gems/git-1.2.5/lib/git/remote.rb +40 -0
- data/dirty_history/ruby/1.9.1/gems/git-1.2.5/lib/git/repository.rb +4 -0
- data/dirty_history/ruby/1.9.1/gems/git-1.2.5/lib/git/stash.rb +27 -0
- data/dirty_history/ruby/1.9.1/gems/git-1.2.5/lib/git/stashes.rb +44 -0
- data/dirty_history/ruby/1.9.1/gems/git-1.2.5/lib/git/status.rb +110 -0
- data/dirty_history/ruby/1.9.1/gems/git-1.2.5/lib/git/working_directory.rb +4 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/.document +8 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/ChangeLog.markdown +141 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/Gemfile +22 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/Gemfile.lock +59 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/LICENSE.txt +20 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/README.markdown +215 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/Rakefile +78 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/bin/jeweler +5 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/features/generator/cucumber.feature +103 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/features/generator/directory_layout.feature +86 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/features/generator/dotdocument.feature +13 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/features/generator/env_options.feature +9 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/features/generator/gemfile.feature +71 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/features/generator/git.feature +102 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/features/generator/license.feature +20 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/features/generator/rakefile.feature +156 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/features/generator/readme.feature +12 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/features/generator/test.feature +54 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/features/generator/test_helper.feature +149 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/features/placeholder.feature +5 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/features/step_definitions/debug_steps.rb +6 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/features/step_definitions/filesystem_steps.rb +70 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/features/step_definitions/generator_steps.rb +369 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/features/step_definitions/task_steps.rb +6 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/features/support/env.rb +42 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/features/tasks/build_gem.feature +9 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/features/tasks/version.feature +31 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/features/tasks/version_bumping.feature +49 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/jeweler.gemspec +282 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler.rb +177 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/commands.rb +20 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/commands/build_gem.rb +36 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/commands/check_dependencies.rb +50 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/commands/install_gem.rb +29 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/commands/release_gemspec.rb +82 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/commands/release_to_git.rb +59 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/commands/release_to_rubygems.rb +26 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/commands/validate_gemspec.rb +30 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/commands/version/base.rb +55 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/commands/version/bump_major.rb +13 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/commands/version/bump_minor.rb +12 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/commands/version/bump_patch.rb +14 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/commands/version/write.rb +12 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/commands/write_gemspec.rb +39 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/errors.rb +8 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/gemcutter_tasks.rb +8 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/gemspec_helper.rb +89 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/generator.rb +287 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/generator/application.rb +52 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/generator/bacon_mixin.rb +43 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/generator/github_mixin.rb +29 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/generator/micronaut_mixin.rb +41 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/generator/minitest_mixin.rb +42 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/generator/options.rb +162 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/generator/rdoc_mixin.rb +9 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/generator/riot_mixin.rb +42 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/generator/rspec_mixin.rb +42 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/generator/shindo_mixin.rb +44 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/generator/shoulda_mixin.rb +42 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/generator/testspec_mixin.rb +42 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/generator/testunit_mixin.rb +39 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/generator/yard_mixin.rb +14 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/rubyforge_tasks.rb +95 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/rubygems_dot_org_tasks.rb +38 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/rubygems_tasks.rb +38 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/specification.rb +117 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/tasks.rb +225 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/templates/.document +5 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/templates/.gitignore +42 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/templates/Gemfile +12 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/templates/LICENSE.txt +20 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/templates/README.rdoc +19 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/templates/Rakefile +7 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/templates/bacon/flunking.rb +7 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/templates/bacon/helper.rb +9 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/templates/bundler_setup.erb +10 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/templates/features/default.feature +9 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/templates/features/support/env.rb +10 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/templates/jeweler_tasks.erb +29 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/templates/micronaut/flunking.rb +7 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/templates/micronaut/helper.rb +18 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/templates/minitest/flunking.rb +7 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/templates/minitest/helper.rb +12 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/templates/other_tasks.erb +85 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/templates/riot/flunking.rb +11 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/templates/riot/helper.rb +4 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/templates/rspec/.rspec +1 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/templates/rspec/flunking.rb +7 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/templates/rspec/helper.rb +12 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/templates/shindo/flunking.rb +8 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/templates/shindo/helper.rb +6 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/templates/shoulda/flunking.rb +7 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/templates/shoulda/helper.rb +11 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/templates/testspec/flunking.rb +7 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/templates/testspec/helper.rb +7 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/templates/testunit/flunking.rb +7 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/templates/testunit/helper.rb +10 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/version.rb +10 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/version_helper.rb +136 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/bar/VERSION.yml +4 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/bar/bin/foo_the_ultimate_bin +1 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/bar/hey_include_me_in_gemspec +0 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/bar/lib/foo_the_ultimate_lib.rb +1 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/existing-project-with-version-constant/.document +5 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/existing-project-with-version-constant/.gitignore +5 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/existing-project-with-version-constant/LICENSE.txt +20 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/existing-project-with-version-constant/README.rdoc +7 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/existing-project-with-version-constant/Rakefile +85 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/existing-project-with-version-constant/existing-project-with-version.gemspec +29 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/existing-project-with-version-constant/lib/existing_project_with_version.rb +0 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/existing-project-with-version-constant/test/existing_project_with_version_test.rb +7 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/existing-project-with-version-constant/test/test_helper.rb +10 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/existing-project-with-version-plaintext/.document +5 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/existing-project-with-version-plaintext/.gitignore +5 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/existing-project-with-version-plaintext/LICENSE.txt +20 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/existing-project-with-version-plaintext/README.rdoc +7 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/existing-project-with-version-plaintext/Rakefile +84 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/existing-project-with-version-plaintext/VERSION +1 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/existing-project-with-version-plaintext/existing-project-with-version.gemspec +29 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/existing-project-with-version-plaintext/lib/existing_project_with_version.rb +0 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/existing-project-with-version-plaintext/test/existing_project_with_version_test.rb +7 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/existing-project-with-version-plaintext/test/test_helper.rb +10 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/existing-project-with-version-yaml/.document +5 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/existing-project-with-version-yaml/.gitignore +5 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/existing-project-with-version-yaml/LICENSE.txt +20 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/existing-project-with-version-yaml/README.rdoc +7 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/existing-project-with-version-yaml/Rakefile +84 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/existing-project-with-version-yaml/VERSION.yml +4 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/existing-project-with-version-yaml/bin/foo_the_ultimate_bin +0 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/existing-project-with-version-yaml/existing-project-with-version.gemspec +29 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/existing-project-with-version-yaml/lib/existing_project_with_version.rb +0 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/existing-project-with-version-yaml/test/existing_project_with_version_test.rb +7 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/fixtures/existing-project-with-version-yaml/test/test_helper.rb +10 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/geminstaller.yml +12 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/jeweler/commands/test_build_gem.rb +103 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/jeweler/commands/test_install_gem.rb +35 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/jeweler/commands/test_release_to_gemcutter.rb +39 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/jeweler/commands/test_release_to_git.rb +208 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/jeweler/commands/test_release_to_github.rb +406 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/jeweler/commands/test_validate_gemspec.rb +27 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/jeweler/commands/test_write_gemspec.rb +101 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/jeweler/commands/version/test_base.rb +32 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/jeweler/commands/version/test_bump_major.rb +22 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/jeweler/commands/version/test_bump_minor.rb +19 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/jeweler/commands/version/test_bump_patch.rb +20 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/jeweler/commands/version/test_write.rb +22 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/jeweler/generator/test_application.rb +112 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/jeweler/generator/test_options.rb +225 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/jeweler/test_gemspec_helper.rb +44 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/jeweler/test_generator.rb +127 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/jeweler/test_generator_initialization.rb +164 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/jeweler/test_generator_mixins.rb +23 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/jeweler/test_specification.rb +241 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/jeweler/test_tasks.rb +50 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/jeweler/test_version_helper.rb +214 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/shoulda_macros/jeweler_macros.rb +35 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/test_helper.rb +178 -0
- data/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/test/test_jeweler.rb +175 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/CHANGES +440 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/MIT-LICENSE +21 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/README +196 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/Rakefile +430 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/TODO +20 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/bin/rake +31 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/install.rb +88 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake.rb +2506 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/alt_system.rb +108 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/classic_namespace.rb +8 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/clean.rb +33 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/contrib/compositepublisher.rb +24 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/contrib/ftptools.rb +153 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/contrib/publisher.rb +75 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/contrib/rubyforgepublisher.rb +18 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/contrib/sshpublisher.rb +47 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/contrib/sys.rb +209 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/gempackagetask.rb +97 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/loaders/makefile.rb +42 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/packagetask.rb +184 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/rake_test_loader.rb +5 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/rdoctask.rb +209 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/ruby182_test_unit_fix.rb +23 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/runtest.rb +23 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/tasklib.rb +23 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/testtask.rb +161 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/win32.rb +55 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/capture_stdout.rb +26 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/check_expansion.rb +5 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/check_no_expansion.rb +5 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/contrib/test_sys.rb +47 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/data/chains/Rakefile +15 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/data/default/Rakefile +19 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/data/dryrun/Rakefile +22 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/data/file_creation_task/Rakefile +33 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/data/imports/Rakefile +19 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/data/imports/deps.mf +1 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/data/multidesc/Rakefile +17 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/data/namespace/Rakefile +57 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/data/rakelib/test1.rb +3 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/data/rbext/rakefile.rb +3 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/data/sample.mf +14 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/data/statusreturn/Rakefile +8 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/data/unittest/Rakefile +1 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/filecreation.rb +32 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/functional.rb +15 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/in_environment.rb +30 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/rake_test_setup.rb +24 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/reqfile.rb +3 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/reqfile2.rb +3 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/session_functional.rb +339 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/shellcommand.rb +3 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/test_application.rb +675 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/test_clean.rb +14 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/test_definitions.rb +85 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/test_earlytime.rb +35 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/test_extension.rb +63 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/test_file_creation_task.rb +62 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/test_file_task.rb +143 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/test_filelist.rb +623 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/test_fileutils.rb +251 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/test_ftp.rb +59 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/test_invocation_chain.rb +81 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/test_makefile_loader.rb +26 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/test_multitask.rb +45 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/test_namespace.rb +55 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/test_package_task.rb +118 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/test_pathmap.rb +210 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/test_pseudo_status.rb +26 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/test_rake.rb +41 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/test_rdoc_task.rb +88 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/test_require.rb +35 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/test_rules.rb +349 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/test_task_arguments.rb +89 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/test_task_manager.rb +173 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/test_tasklib.rb +12 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/test_tasks.rb +374 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/test_test_task.rb +77 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/test_top_level_functions.rb +86 -0
- data/dirty_history/ruby/1.9.1/gems/rake-0.8.7/test/test_win32.rb +72 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/BLURB +111 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/LICENSE +53 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/Rakefile +103 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/THANKS +110 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/bin/rcov +522 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/editor-extensions/rcov.el +131 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/editor-extensions/rcov.vim +38 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/ext/rcovrt/1.8/callsite.c +216 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/ext/rcovrt/1.8/rcovrt.c +294 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/ext/rcovrt/1.9/callsite.c +234 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/ext/rcovrt/1.9/rcovrt.c +264 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/ext/rcovrt/Makefile +187 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/ext/rcovrt/callsite.o +0 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/ext/rcovrt/extconf.rb +21 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/ext/rcovrt/rcovrt.bundle +0 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/ext/rcovrt/rcovrt.o +0 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/lib/rcov.rb +33 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/lib/rcov/call_site_analyzer.rb +225 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/lib/rcov/code_coverage_analyzer.rb +271 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/lib/rcov/coverage_info.rb +36 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/lib/rcov/differential_analyzer.rb +116 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/lib/rcov/file_statistics.rb +355 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/lib/rcov/formatters.rb +13 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/lib/rcov/formatters/base_formatter.rb +174 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/lib/rcov/formatters/failure_report.rb +15 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/lib/rcov/formatters/full_text_report.rb +48 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/lib/rcov/formatters/html_coverage.rb +274 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/lib/rcov/formatters/html_erb_template.rb +62 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/lib/rcov/formatters/text_coverage_diff.rb +193 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/lib/rcov/formatters/text_report.rb +32 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/lib/rcov/formatters/text_summary.rb +11 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/lib/rcov/lowlevel.rb +146 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/lib/rcov/rcovtask.rb +156 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/lib/rcov/templates/detail.html.erb +64 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/lib/rcov/templates/index.html.erb +93 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/lib/rcov/templates/jquery-1.3.2.min.js +19 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/lib/rcov/templates/jquery.tablesorter.min.js +15 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/lib/rcov/templates/print.css +12 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/lib/rcov/templates/rcov.js +42 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/lib/rcov/templates/screen.css +270 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/lib/rcov/version.rb +10 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/lib/rcovrt.bundle +0 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/setup.rb +1588 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/test/assets/sample_01.rb +7 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/test/assets/sample_02.rb +5 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/test/assets/sample_03.rb +20 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/test/assets/sample_04.rb +10 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/test/assets/sample_05-new.rb +17 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/test/assets/sample_05-old.rb +13 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/test/assets/sample_05.rb +17 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/test/assets/sample_06.rb +8 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/test/call_site_analyzer_test.rb +171 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/test/code_coverage_analyzer_test.rb +220 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/test/expected_coverage/diff-gcc-all.out +7 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/test/expected_coverage/diff-gcc-diff.out +11 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/test/expected_coverage/diff-gcc-original.out +5 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/test/expected_coverage/diff-no-color.out +12 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/test/expected_coverage/diff.out +12 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/test/expected_coverage/gcc-text.out +10 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/test/expected_coverage/sample_03_rb.html +651 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/test/expected_coverage/sample_03_rb.rb +28 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/test/expected_coverage/sample_04_rb.html +641 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/test/file_statistics_test.rb +471 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/test/functional_test.rb +91 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/test/test_helper.rb +4 -0
- data/dirty_history/ruby/1.9.1/gems/rcov-0.9.9/test/turn_off_rcovrt.rb +4 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/CONTRIBUTION_GUIDELINES.rdoc +10 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/MIT-LICENSE +22 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/README.rdoc +154 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/Rakefile +70 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/bin/convert_to_should_syntax +42 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda.rb +9 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/action_controller.rb +34 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/action_controller/macros.rb +221 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/action_controller/matchers.rb +39 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/action_controller/matchers/assign_to_matcher.rb +112 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/action_controller/matchers/filter_param_matcher.rb +74 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/action_controller/matchers/redirect_to_matcher.rb +62 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/action_controller/matchers/render_template_matcher.rb +54 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/action_controller/matchers/render_with_layout_matcher.rb +99 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/action_controller/matchers/respond_with_content_type_matcher.rb +74 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/action_controller/matchers/respond_with_matcher.rb +85 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/action_controller/matchers/route_matcher.rb +93 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/action_controller/matchers/set_session_matcher.rb +98 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/action_controller/matchers/set_the_flash_matcher.rb +100 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/action_mailer.rb +13 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/action_mailer/assertions.rb +42 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/action_mailer/matchers.rb +22 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/action_mailer/matchers/have_sent_email.rb +110 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/active_record.rb +16 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/active_record/assertions.rb +69 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/active_record/helpers.rb +32 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/active_record/macros.rb +457 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/active_record/matchers.rb +42 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/active_record/matchers/allow_mass_assignment_of_matcher.rb +83 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/active_record/matchers/allow_value_matcher.rb +110 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/active_record/matchers/association_matcher.rb +226 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/active_record/matchers/ensure_inclusion_of_matcher.rb +87 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/active_record/matchers/ensure_length_of_matcher.rb +141 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/active_record/matchers/have_db_column_matcher.rb +169 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/active_record/matchers/have_db_index_matcher.rb +112 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/active_record/matchers/have_readonly_attribute_matcher.rb +59 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/active_record/matchers/validate_acceptance_of_matcher.rb +41 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/active_record/matchers/validate_format_of_matcher.rb +65 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/active_record/matchers/validate_numericality_of_matcher.rb +39 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/active_record/matchers/validate_presence_of_matcher.rb +60 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/active_record/matchers/validate_uniqueness_of_matcher.rb +148 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/active_record/matchers/validation_matcher.rb +56 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/assertions.rb +79 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/autoload_macros.rb +46 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/context.rb +433 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/helpers.rb +8 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/integrations/rspec.rb +13 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/integrations/rspec2.rb +22 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/integrations/test_unit.rb +22 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/macros.rb +161 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/private_helpers.rb +13 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/proc_extensions.rb +14 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/rails.rb +8 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/tasks.rb +3 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/tasks/list_tests.rake +29 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/tasks/yaml_to_shoulda.rake +28 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/version.rb +4 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/rails/init.rb +8 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/README +36 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/fail_macros.rb +55 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/fixtures/addresses.yml +3 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/fixtures/friendships.yml +0 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/fixtures/posts.yml +5 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/fixtures/products.yml +0 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/fixtures/taggings.yml +0 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/fixtures/tags.yml +9 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/fixtures/users.yml +6 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/functional/posts_controller_test.rb +121 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/functional/users_controller_test.rb +19 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/matchers/action_mailer/have_sent_email_test.rb +70 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/matchers/active_record/allow_mass_assignment_of_matcher_test.rb +74 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/matchers/active_record/allow_value_matcher_test.rb +64 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/matchers/active_record/association_matcher_test.rb +263 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/matchers/active_record/ensure_inclusion_of_matcher_test.rb +81 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/matchers/active_record/ensure_length_of_matcher_test.rb +158 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/matchers/active_record/have_db_column_matcher_test.rb +169 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/matchers/active_record/have_db_index_matcher_test.rb +91 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/matchers/active_record/have_readonly_attributes_matcher_test.rb +29 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/matchers/active_record/validate_acceptance_of_matcher_test.rb +44 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/matchers/active_record/validate_format_of_matcher_test.rb +39 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/matchers/active_record/validate_numericality_of_matcher_test.rb +52 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/matchers/active_record/validate_presence_of_matcher_test.rb +86 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/matchers/active_record/validate_uniqueness_of_matcher_test.rb +147 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/matchers/controller/assign_to_matcher_test.rb +45 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/matchers/controller/filter_param_matcher_test.rb +40 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/matchers/controller/redirect_to_matcher_test.rb +37 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/matchers/controller/render_template_matcher_test.rb +37 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/matchers/controller/render_with_layout_matcher_test.rb +47 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/matchers/controller/respond_with_content_type_matcher_test.rb +32 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/matchers/controller/respond_with_matcher_test.rb +96 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/matchers/controller/route_matcher_test.rb +75 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/matchers/controller/set_session_matcher_test.rb +48 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/matchers/controller/set_the_flash_matcher.rb +95 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/other/autoload_macro_test.rb +18 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/other/context_test.rb +372 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/other/convert_to_should_syntax_test.rb +63 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/other/helpers_test.rb +317 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/other/private_helpers_test.rb +32 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/other/should_test.rb +271 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_model_builder.rb +130 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/controllers/application_controller.rb +22 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/controllers/posts_controller.rb +87 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/controllers/users_controller.rb +84 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/helpers/application_helper.rb +3 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/helpers/posts_helper.rb +2 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/helpers/users_helper.rb +2 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/models/address.rb +7 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/models/flea.rb +11 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/models/friendship.rb +4 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/models/notifier.rb +8 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/models/pets/cat.rb +7 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/models/pets/dog.rb +10 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/models/post.rb +12 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/models/product.rb +12 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/models/profile.rb +2 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/models/registration.rb +2 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/models/tag.rb +8 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/models/tagging.rb +4 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/models/treat.rb +3 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/models/user.rb +32 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/views/layouts/posts.rhtml +19 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/views/layouts/users.rhtml +17 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/views/layouts/wide.html.erb +1 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/views/notifier/the_email.html.erb +1 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/views/posts/edit.rhtml +27 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/views/posts/index.rhtml +25 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/views/posts/new.rhtml +26 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/views/posts/show.rhtml +18 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/views/users/edit.rhtml +22 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/views/users/index.rhtml +22 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/views/users/new.rhtml +21 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/app/views/users/show.rhtml +13 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/config/boot.rb +110 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/config/database.yml +4 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/config/environment.rb +17 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/config/environments/test.rb +23 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/config/initializers/new_rails_defaults.rb +15 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/config/initializers/shoulda.rb +8 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/config/routes.rb +6 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/db/migrate/001_create_users.rb +19 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/db/migrate/002_create_posts.rb +13 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/db/migrate/003_create_taggings.rb +12 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/db/migrate/004_create_tags.rb +11 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/db/migrate/005_create_dogs.rb +12 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/db/migrate/006_create_addresses.rb +14 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/db/migrate/007_create_fleas.rb +11 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/db/migrate/008_create_dogs_fleas.rb +12 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/db/migrate/009_create_products.rb +17 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/db/migrate/010_create_friendships.rb +14 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/db/migrate/011_create_treats.rb +12 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/db/migrate/20090506203502_create_profiles.rb +12 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/db/migrate/20090506203536_create_registrations.rb +14 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/db/migrate/20090513104502_create_cats.rb +12 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/db/schema.rb +0 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/log/test.log +50381 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/public/404.html +30 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/public/422.html +30 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/public/500.html +30 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/script/console +3 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/script/generate +3 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/test/shoulda_macros/custom_macro.rb +6 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/vendor/gems/gem_with_macro-0.0.1/shoulda_macros/gem_macro.rb +6 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/vendor/plugins/plugin_with_macro/shoulda_macros/plugin_macro.rb +6 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_test_helper.rb +6 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_model_builder.rb +118 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/Gemfile +28 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/README +244 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/Rakefile +10 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/controllers/application_controller.rb +22 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/controllers/posts_controller.rb +87 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/controllers/users_controller.rb +82 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/helpers/application_helper.rb +2 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/models/address.rb +7 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/models/flea.rb +11 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/models/friendship.rb +4 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/models/notifier.rb +8 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/models/pets/cat.rb +7 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/models/pets/dog.rb +10 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/models/post.rb +12 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/models/product.rb +12 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/models/profile.rb +2 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/models/registration.rb +2 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/models/tag.rb +8 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/models/tagging.rb +4 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/models/treat.rb +3 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/models/user.rb +32 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/views/layouts/application.html.erb +14 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/views/layouts/posts.rhtml +19 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/views/layouts/users.rhtml +17 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/views/layouts/wide.html.erb +1 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/views/notifier/the_email.html.erb +1 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/views/posts/edit.rhtml +27 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/views/posts/index.rhtml +25 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/views/posts/new.rhtml +24 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/views/posts/show.rhtml +18 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/views/users/edit.rhtml +22 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/views/users/index.rhtml +22 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/views/users/new.rhtml +21 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/app/views/users/show.rhtml +13 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/config.ru +4 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/config/application.rb +46 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/config/boot.rb +6 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/config/database.yml +22 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/config/environment.rb +5 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/config/environments/development.rb +19 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/config/environments/production.rb +42 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/config/environments/test.rb +32 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/config/initializers/backtrace_silencers.rb +7 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/config/initializers/inflections.rb +10 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/config/initializers/mime_types.rb +5 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/config/initializers/secret_token.rb +7 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/config/initializers/session_store.rb +8 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/config/locales/en.yml +5 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/config/routes.rb +4 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/db/migrate/001_create_users.rb +19 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/db/migrate/002_create_posts.rb +13 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/db/migrate/003_create_taggings.rb +12 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/db/migrate/004_create_tags.rb +11 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/db/migrate/005_create_dogs.rb +12 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/db/migrate/006_create_addresses.rb +14 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/db/migrate/007_create_fleas.rb +11 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/db/migrate/008_create_dogs_fleas.rb +12 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/db/migrate/009_create_products.rb +17 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/db/migrate/010_create_friendships.rb +14 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/db/migrate/011_create_treats.rb +12 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/db/migrate/20090506203502_create_profiles.rb +12 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/db/migrate/20090506203536_create_registrations.rb +14 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/db/migrate/20090513104502_create_cats.rb +12 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/db/seeds.rb +7 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/db/test.sqlite3 +0 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/log/test.log +10834 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/public/404.html +26 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/public/422.html +26 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/public/500.html +26 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/public/favicon.ico +0 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/public/images/rails.png +0 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/public/index.html +279 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/public/javascripts/application.js +2 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/public/javascripts/controls.js +965 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/public/javascripts/dragdrop.js +974 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/public/javascripts/effects.js +1123 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/public/javascripts/prototype.js +4874 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/public/javascripts/rails.js +118 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/public/robots.txt +5 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/script/rails +9 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/test/performance/browsing_test.rb +9 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/test/test_helper.rb +13 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_test_helper.rb +6 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rspec_test.rb +207 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/test_helper.rb +36 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/unit/address_test.rb +10 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/unit/cat_test.rb +7 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/unit/dog_test.rb +9 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/unit/flea_test.rb +14 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/unit/friendship_test.rb +6 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/unit/post_test.rb +15 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/unit/product_test.rb +23 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/unit/tag_test.rb +11 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/unit/tagging_test.rb +6 -0
- data/dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/unit/user_test.rb +46 -0
- data/dirty_history/ruby/1.9.1/specifications/git-1.2.5.gemspec +26 -0
- data/dirty_history/ruby/1.9.1/specifications/jeweler-1.5.2.gemspec +78 -0
- data/dirty_history/ruby/1.9.1/specifications/rake-0.8.7.gemspec +29 -0
- data/dirty_history/ruby/1.9.1/specifications/rcov-0.9.9.gemspec +32 -0
- data/dirty_history/ruby/1.9.1/specifications/shoulda-2.11.3.gemspec +29 -0
- data/lib/dirty_history/dirty_history_record.rb +2 -1
- metadata +607 -11
@@ -0,0 +1,42 @@
|
|
1
|
+
class Jeweler
|
2
|
+
class Generator
|
3
|
+
module ShouldaMixin
|
4
|
+
def self.extended(generator)
|
5
|
+
generator.development_dependencies << ["shoulda", ">= 0"]
|
6
|
+
end
|
7
|
+
|
8
|
+
def default_task
|
9
|
+
'test'
|
10
|
+
end
|
11
|
+
|
12
|
+
def feature_support_require
|
13
|
+
'test/unit/assertions'
|
14
|
+
end
|
15
|
+
|
16
|
+
def feature_support_extend
|
17
|
+
'Test::Unit::Assertions'
|
18
|
+
end
|
19
|
+
|
20
|
+
def test_dir
|
21
|
+
'test'
|
22
|
+
end
|
23
|
+
|
24
|
+
def test_task
|
25
|
+
'test'
|
26
|
+
end
|
27
|
+
|
28
|
+
def test_pattern
|
29
|
+
'test/**/test_*.rb'
|
30
|
+
end
|
31
|
+
|
32
|
+
def test_filename
|
33
|
+
"test_#{require_name}.rb"
|
34
|
+
end
|
35
|
+
|
36
|
+
def test_helper_filename
|
37
|
+
"helper.rb"
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
class Jeweler
|
2
|
+
class Generator
|
3
|
+
module TestspecMixin
|
4
|
+
def self.extended(generator)
|
5
|
+
generator.development_dependencies << ["test-spec", ">= 0"]
|
6
|
+
end
|
7
|
+
|
8
|
+
def default_task
|
9
|
+
'test'
|
10
|
+
end
|
11
|
+
|
12
|
+
def feature_support_require
|
13
|
+
'test/unit/assertions'
|
14
|
+
end
|
15
|
+
|
16
|
+
def feature_support_extend
|
17
|
+
'Test::Unit::Assertions'
|
18
|
+
end
|
19
|
+
|
20
|
+
def test_dir
|
21
|
+
'test'
|
22
|
+
end
|
23
|
+
|
24
|
+
def test_task
|
25
|
+
'test'
|
26
|
+
end
|
27
|
+
|
28
|
+
def test_pattern
|
29
|
+
'test/**/*_test.rb'
|
30
|
+
end
|
31
|
+
|
32
|
+
def test_filename
|
33
|
+
"#{require_name}_test.rb"
|
34
|
+
end
|
35
|
+
|
36
|
+
def test_helper_filename
|
37
|
+
"test_helper.rb"
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
class Jeweler
|
2
|
+
class Generator
|
3
|
+
module TestunitMixin
|
4
|
+
|
5
|
+
def default_task
|
6
|
+
'test'
|
7
|
+
end
|
8
|
+
|
9
|
+
def feature_support_require
|
10
|
+
'test/unit/assertions'
|
11
|
+
end
|
12
|
+
|
13
|
+
def feature_support_extend
|
14
|
+
'Test::Unit::Assertions'
|
15
|
+
end
|
16
|
+
|
17
|
+
def test_dir
|
18
|
+
'test'
|
19
|
+
end
|
20
|
+
|
21
|
+
def test_task
|
22
|
+
'test'
|
23
|
+
end
|
24
|
+
|
25
|
+
def test_pattern
|
26
|
+
'test/**/test_*.rb'
|
27
|
+
end
|
28
|
+
|
29
|
+
def test_filename
|
30
|
+
"test_#{require_name}.rb"
|
31
|
+
end
|
32
|
+
|
33
|
+
def test_helper_filename
|
34
|
+
"helper.rb"
|
35
|
+
end
|
36
|
+
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,95 @@
|
|
1
|
+
require 'rake'
|
2
|
+
require 'rake/tasklib'
|
3
|
+
|
4
|
+
class Jeweler
|
5
|
+
# Rake tasks for putting a Jeweler gem on Rubyforge.
|
6
|
+
#
|
7
|
+
# Jeweler::Tasks.new needs to be used before this.
|
8
|
+
#
|
9
|
+
# Basic usage:
|
10
|
+
#
|
11
|
+
# Jeweler::RubyforgeTasks.new
|
12
|
+
#
|
13
|
+
# Easy enough, right?
|
14
|
+
#
|
15
|
+
# There are a few options you can tweak:
|
16
|
+
#
|
17
|
+
# * project: the rubyforge project to operate on. This defaults to whatever you specified in your gemspec. Defaults to your gem name.
|
18
|
+
# * remote_doc_path: the place to upload docs to on Rubyforge under /var/www/gforge-projects/#{project}/
|
19
|
+
#
|
20
|
+
# See also http://wiki.github.com/technicalpickles/jeweler/rubyforge
|
21
|
+
class RubyforgeTasks < ::Rake::TaskLib
|
22
|
+
# The RubyForge project to interact with. Defaults to whatever is in your jeweler gemspec.
|
23
|
+
attr_accessor :project
|
24
|
+
# The path to upload docs to. It is relative to /var/www/gforge-projects/#{project}/, and defaults to your gemspec's name
|
25
|
+
attr_accessor :remote_doc_path
|
26
|
+
# Task to be used for generating documentation, before they are uploaded. Defaults to rdoc.
|
27
|
+
attr_accessor :doc_task
|
28
|
+
|
29
|
+
attr_accessor :jeweler
|
30
|
+
|
31
|
+
def initialize
|
32
|
+
yield self if block_given?
|
33
|
+
|
34
|
+
$stderr.puts "Releasing gems to Rubyforge is deprecated. See details at http://wiki.github.com/technicalpickles/jeweler/migrating-from-releasing-gems-to-rubyforge"
|
35
|
+
|
36
|
+
define
|
37
|
+
end
|
38
|
+
|
39
|
+
def jeweler
|
40
|
+
@jeweler ||= Rake.application.jeweler
|
41
|
+
end
|
42
|
+
|
43
|
+
def remote_doc_path
|
44
|
+
@remote_doc_path ||= jeweler.gemspec.name
|
45
|
+
end
|
46
|
+
|
47
|
+
def project
|
48
|
+
@project ||= jeweler.gemspec.rubyforge_project
|
49
|
+
end
|
50
|
+
|
51
|
+
def define
|
52
|
+
namespace :rubyforge do
|
53
|
+
namespace :release do
|
54
|
+
desc "Release the current gem version to RubyForge."
|
55
|
+
task :gem do
|
56
|
+
$stderr.puts "DEPRECATION: Releasing gems to RubyForge is deprecated. You should see about releasing to Gemcutter instead: http://wiki.github.com/technicalpickles/jeweler/gemcutter"
|
57
|
+
end
|
58
|
+
|
59
|
+
if publish_documentation?
|
60
|
+
desc "Publish docs to RubyForge."
|
61
|
+
task :docs => doc_task do
|
62
|
+
config = YAML.load(
|
63
|
+
File.read(File.expand_path('~/.rubyforge/user-config.yml'))
|
64
|
+
)
|
65
|
+
|
66
|
+
host = "#{config['username']}@rubyforge.org"
|
67
|
+
remote_dir = "/var/www/gforge-projects/#{project}/#{remote_doc_path}"
|
68
|
+
|
69
|
+
local_dir = case self.doc_task.to_sym
|
70
|
+
when :rdoc then 'rdoc'
|
71
|
+
when :yardoc then 'doc'
|
72
|
+
when 'doc:app'.to_sym then 'doc/app'
|
73
|
+
else
|
74
|
+
raise "Unsure what to run to generate documentation. Please set doc_task and re-run."
|
75
|
+
end
|
76
|
+
|
77
|
+
sh %{rsync --archive --verbose --delete #{local_dir}/ #{host}:#{remote_dir}}
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
if publish_documentation?
|
83
|
+
desc "Release RDoc documentation to RubyForge"
|
84
|
+
task :release => "rubyforge:release:docs"
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
task :release => 'rubyforge:release'
|
89
|
+
end
|
90
|
+
|
91
|
+
def publish_documentation?
|
92
|
+
! (doc_task == false || doc_task == :none)
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
require 'rake'
|
2
|
+
require 'rake/tasklib'
|
3
|
+
|
4
|
+
class Jeweler
|
5
|
+
# Rake tasks for putting a Jeweler gem on Gemcutter.
|
6
|
+
#
|
7
|
+
# Jeweler::Tasks.new needs to be used before this.
|
8
|
+
#
|
9
|
+
# Basic usage:
|
10
|
+
#
|
11
|
+
# Jeweler::RubygemsDotOrgTasks.new
|
12
|
+
#
|
13
|
+
# Easy enough, right?
|
14
|
+
class RubygemsDotOrgTasks < ::Rake::TaskLib
|
15
|
+
attr_accessor :jeweler
|
16
|
+
|
17
|
+
def initialize
|
18
|
+
yield self if block_given?
|
19
|
+
|
20
|
+
define
|
21
|
+
end
|
22
|
+
|
23
|
+
def jeweler
|
24
|
+
@jeweler ||= Rake.application.jeweler
|
25
|
+
end
|
26
|
+
|
27
|
+
def define
|
28
|
+
namespace :gemcutter do
|
29
|
+
desc "Release gem to Gemcutter"
|
30
|
+
task :release => [:gemspec, :build] do
|
31
|
+
jeweler.release_gem_to_rubygems
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
task :release => 'gemcutter:release'
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
require 'rake'
|
2
|
+
require 'rake/tasklib'
|
3
|
+
|
4
|
+
class Jeweler
|
5
|
+
# Rake tasks for putting a Jeweler gem on Gemcutter.
|
6
|
+
#
|
7
|
+
# Jeweler::Tasks.new needs to be used before this.
|
8
|
+
#
|
9
|
+
# Basic usage:
|
10
|
+
#
|
11
|
+
# Jeweler::RubygemsDotOrgTasks.new
|
12
|
+
#
|
13
|
+
# Easy enough, right?
|
14
|
+
class RubygemsDotOrgTasks < ::Rake::TaskLib
|
15
|
+
attr_accessor :jeweler
|
16
|
+
|
17
|
+
def initialize
|
18
|
+
yield self if block_given?
|
19
|
+
|
20
|
+
define
|
21
|
+
end
|
22
|
+
|
23
|
+
def jeweler
|
24
|
+
@jeweler ||= Rake.application.jeweler
|
25
|
+
end
|
26
|
+
|
27
|
+
def define
|
28
|
+
namespace :rubygems do
|
29
|
+
desc "Release gem to Gemcutter"
|
30
|
+
task :release => [:gemspec, :build] do
|
31
|
+
jeweler.release_gem_to_rubygems
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
task :release => 'rubygems:release'
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,117 @@
|
|
1
|
+
|
2
|
+
require 'rubygems/specification'
|
3
|
+
|
4
|
+
class Jeweler
|
5
|
+
# Extend a Gem::Specification instance with this module to give it Jeweler
|
6
|
+
# super-cow powers.
|
7
|
+
#
|
8
|
+
# [files] a Rake::FileList of anything that is in git and not gitignored. You can include/exclude this default set, or override it entirely
|
9
|
+
# [test_files] Similar to gem.files, except it's only things under the spec, test, or examples directory.
|
10
|
+
# [extra_rdoc_files] a Rake::FileList including files like README*, ChangeLog*, and LICENSE*
|
11
|
+
# [executables] uses anything found in the bin/ directory.
|
12
|
+
module Specification
|
13
|
+
def self.filelist_attribute(name)
|
14
|
+
code = %{
|
15
|
+
def #{name}
|
16
|
+
if @#{name} && @#{name}.class != FileList
|
17
|
+
@#{name} = FileList[@#{name}]
|
18
|
+
end
|
19
|
+
@#{name} ||= FileList[]
|
20
|
+
end
|
21
|
+
def #{name}=(value)
|
22
|
+
@#{name} = FileList[value]
|
23
|
+
end
|
24
|
+
}
|
25
|
+
|
26
|
+
module_eval code, __FILE__, __LINE__ - 9
|
27
|
+
end
|
28
|
+
|
29
|
+
filelist_attribute :files
|
30
|
+
filelist_attribute :test_files
|
31
|
+
filelist_attribute :extra_rdoc_files
|
32
|
+
|
33
|
+
# Assigns the Jeweler defaults to the Gem::Specification
|
34
|
+
def set_jeweler_defaults(base_dir, git_base_dir = nil)
|
35
|
+
base_dir = File.expand_path(base_dir)
|
36
|
+
git_base_dir = if git_base_dir
|
37
|
+
File.expand_path(git_base_dir)
|
38
|
+
else
|
39
|
+
base_dir
|
40
|
+
end
|
41
|
+
can_git = git_base_dir && base_dir.include?(git_base_dir) && File.directory?(File.join(git_base_dir, '.git'))
|
42
|
+
|
43
|
+
Dir.chdir(git_base_dir) do
|
44
|
+
repo = if can_git
|
45
|
+
require 'git'
|
46
|
+
Git.open(git_base_dir)
|
47
|
+
end
|
48
|
+
|
49
|
+
if blank?(files) && repo
|
50
|
+
base_dir_with_trailing_separator = File.join(base_dir, "")
|
51
|
+
|
52
|
+
ignored_files = repo.lib.ignored_files + [".gitignore"]
|
53
|
+
self.files = (repo.ls_files(base_dir).keys - ignored_files).compact.map do |file|
|
54
|
+
File.expand_path(file).sub(base_dir_with_trailing_separator, "")
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
if blank?(test_files) && repo
|
59
|
+
self.test_files = FileList['{spec,test,examples}/**/*.rb'] - repo.lib.ignored_files
|
60
|
+
end
|
61
|
+
|
62
|
+
if blank?(executables) && repo
|
63
|
+
self.executables = (repo.ls_files(File.join(base_dir, 'bin')).keys - repo.lib.ignored_files).map do |file|
|
64
|
+
File.basename(file)
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
if blank?(extensions)
|
69
|
+
self.extensions = FileList['ext/**/{extconf,mkrf_conf}.rb']
|
70
|
+
end
|
71
|
+
|
72
|
+
if blank?(extra_rdoc_files)
|
73
|
+
self.extra_rdoc_files = FileList['README*', 'ChangeLog*', 'LICENSE*', 'TODO']
|
74
|
+
end
|
75
|
+
|
76
|
+
if File.exist?('Gemfile')
|
77
|
+
require 'bundler'
|
78
|
+
bundler = Bundler.load
|
79
|
+
bundler.dependencies_for(:default, :runtime).each do |dependency|
|
80
|
+
self.add_dependency dependency.name, *dependency.requirement.as_list
|
81
|
+
end
|
82
|
+
bundler.dependencies_for(:development).each do |dependency|
|
83
|
+
self.add_development_dependency dependency.name, *dependency.requirement.as_list
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
# Used by Specification#to_ruby to generate a ruby-respresentation of a Gem::Specification
|
91
|
+
def ruby_code(obj)
|
92
|
+
case obj
|
93
|
+
when Rake::FileList then obj.uniq.to_a.inspect
|
94
|
+
else super
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
private
|
99
|
+
|
100
|
+
def blank?(value)
|
101
|
+
value.nil? || value.empty?
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
|
107
|
+
# Workaround for cloning/duping a Gem::Specification
|
108
|
+
# documented in http://github.com/technicalpickles/jeweler/issues#issue/73
|
109
|
+
Gem::Specification.class_eval do
|
110
|
+
def initialize_copy(original)
|
111
|
+
super
|
112
|
+
|
113
|
+
self.files = original.files.to_a
|
114
|
+
self.test_files = original.test_files.to_a
|
115
|
+
self.extra_rdoc_files = original.extra_rdoc_files.to_a
|
116
|
+
end
|
117
|
+
end
|
@@ -0,0 +1,225 @@
|
|
1
|
+
require 'rake'
|
2
|
+
require 'rake/tasklib'
|
3
|
+
|
4
|
+
class Rake::Application
|
5
|
+
attr_accessor :jeweler_tasks
|
6
|
+
|
7
|
+
# The jeweler instance that has be instantiated in the current Rakefile.
|
8
|
+
#
|
9
|
+
# This is usually useful if you want to get at info like version from other files.
|
10
|
+
def jeweler
|
11
|
+
jeweler_tasks.jeweler
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
class Jeweler
|
16
|
+
# Rake tasks for managing your gem.
|
17
|
+
#
|
18
|
+
# Here's a basic usage example:
|
19
|
+
#
|
20
|
+
# Jeweler::Tasks.new do |gem|
|
21
|
+
# gem.name = "jeweler"
|
22
|
+
# gem.summary = "Simple and opinionated helper for creating RubyGem projects on GitHub"
|
23
|
+
# gem.email = "josh@technicalpickles.com"
|
24
|
+
# gem.homepage = "http://github.com/technicalpickles/jeweler"
|
25
|
+
# gem.description = "Simple and opinionated helper for creating RubyGem projects on GitHub"
|
26
|
+
# gem.authors = ["Josh Nichols"]
|
27
|
+
# end
|
28
|
+
#
|
29
|
+
# The block variable gem is actually a Gem::Specification, so you can
|
30
|
+
# do anything you would normally do with a Gem::Specification.
|
31
|
+
# For more details, see the official gemspec reference:
|
32
|
+
# http://docs.rubygems.org/read/chapter/20
|
33
|
+
#
|
34
|
+
# In addition, it provides reasonable defaults for several values. See Jeweler::Specification for more details.
|
35
|
+
class Tasks < ::Rake::TaskLib
|
36
|
+
attr_accessor :gemspec, :jeweler, :gemspec_building_block
|
37
|
+
|
38
|
+
def initialize(gemspec = nil, &gemspec_building_block)
|
39
|
+
@gemspec = gemspec || Gem::Specification.new
|
40
|
+
self.gemspec_building_block = gemspec_building_block
|
41
|
+
|
42
|
+
Rake.application.jeweler_tasks = self
|
43
|
+
define
|
44
|
+
end
|
45
|
+
|
46
|
+
def jeweler
|
47
|
+
if @jeweler.nil?
|
48
|
+
@jeweler = Jeweler.new(gemspec)
|
49
|
+
gemspec_building_block.call gemspec if gemspec_building_block
|
50
|
+
end
|
51
|
+
@jeweler
|
52
|
+
end
|
53
|
+
|
54
|
+
private
|
55
|
+
|
56
|
+
def yield_gemspec_set_version?
|
57
|
+
yielded_gemspec = @gemspec.dup
|
58
|
+
yielded_gemspec.extend(Jeweler::Specification)
|
59
|
+
yielded_gemspec.files = FileList[]
|
60
|
+
yielded_gemspec.test_files = FileList[]
|
61
|
+
yielded_gemspec.extra_rdoc_files = FileList[]
|
62
|
+
|
63
|
+
gemspec_building_block.call(yielded_gemspec) if gemspec_building_block
|
64
|
+
|
65
|
+
! yielded_gemspec.version.nil?
|
66
|
+
end
|
67
|
+
|
68
|
+
def define
|
69
|
+
task :version_required do
|
70
|
+
if jeweler.expects_version_file? && !jeweler.version_file_exists?
|
71
|
+
abort "Expected VERSION or VERSION.yml to exist. Use 'rake version:write' to create an initial one."
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
task :gemspec_required do
|
76
|
+
if ! File.exist?(jeweler.gemspec_helper.path)
|
77
|
+
abort "Expected #{jeweler.gemspec_helper.path} to exist. See 'rake gemspec:write' to create it"
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
|
82
|
+
desc "Build gem into pkg/"
|
83
|
+
task :build do
|
84
|
+
jeweler.build_gem
|
85
|
+
end
|
86
|
+
|
87
|
+
desc "Build and install gem using `gem install`"
|
88
|
+
task :install => [:build] do
|
89
|
+
jeweler.install_gem
|
90
|
+
end
|
91
|
+
|
92
|
+
desc "Displays the current version"
|
93
|
+
task :version => :version_required do
|
94
|
+
$stdout.puts "Current version: #{jeweler.version}"
|
95
|
+
end
|
96
|
+
|
97
|
+
desc "Release gem"
|
98
|
+
task :release do
|
99
|
+
end
|
100
|
+
|
101
|
+
desc "Generate and validate gemspec"
|
102
|
+
task :gemspec => ['gemspec:generate', 'gemspec:validate']
|
103
|
+
|
104
|
+
namespace :gemspec do
|
105
|
+
desc "Validates the gemspec on the filesystem"
|
106
|
+
task :validate => :gemspec_required do
|
107
|
+
jeweler.validate_gemspec
|
108
|
+
end
|
109
|
+
|
110
|
+
desc "Regenreate the gemspec on the filesystem"
|
111
|
+
task :generate => :version_required do
|
112
|
+
jeweler.write_gemspec
|
113
|
+
end
|
114
|
+
|
115
|
+
desc "Display the gemspec for debugging purposes, as jeweler knows it (not from the filesystem)"
|
116
|
+
task :debug do
|
117
|
+
# TODO move to a command
|
118
|
+
jeweler.gemspec_helper.spec.version ||= begin
|
119
|
+
jeweler.version_helper.refresh
|
120
|
+
jeweler.version_helper.to_s
|
121
|
+
end
|
122
|
+
|
123
|
+
puts jeweler.gemspec_helper.to_ruby
|
124
|
+
end
|
125
|
+
|
126
|
+
desc "Regenerate and validate gemspec, and then commits and pushes to git"
|
127
|
+
task :release do
|
128
|
+
jeweler.release_gemspec
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
task :release => 'gemspec:release'
|
133
|
+
|
134
|
+
|
135
|
+
unless yield_gemspec_set_version?
|
136
|
+
namespace :version do
|
137
|
+
desc "Writes out an explicit version. Respects the following environment variables, or defaults to 0: MAJOR, MINOR, PATCH. Also recognizes BUILD, which defaults to nil"
|
138
|
+
task :write do
|
139
|
+
major, minor, patch, build = ENV['MAJOR'].to_i, ENV['MINOR'].to_i, ENV['PATCH'].to_i, (ENV['BUILD'] || nil )
|
140
|
+
jeweler.write_version(major, minor, patch, build, :announce => false, :commit => false)
|
141
|
+
$stdout.puts "Updated version: #{jeweler.version}"
|
142
|
+
end
|
143
|
+
|
144
|
+
namespace :bump do
|
145
|
+
desc "Bump the major version by 1"
|
146
|
+
task :major => [:version_required, :version] do
|
147
|
+
jeweler.bump_major_version
|
148
|
+
$stdout.puts "Updated version: #{jeweler.version}"
|
149
|
+
end
|
150
|
+
|
151
|
+
desc "Bump the a minor version by 1"
|
152
|
+
task :minor => [:version_required, :version] do
|
153
|
+
jeweler.bump_minor_version
|
154
|
+
$stdout.puts "Updated version: #{jeweler.version}"
|
155
|
+
end
|
156
|
+
|
157
|
+
desc "Bump the patch version by 1"
|
158
|
+
task :patch => [:version_required, :version] do
|
159
|
+
jeweler.bump_patch_version
|
160
|
+
$stdout.puts "Updated version: #{jeweler.version}"
|
161
|
+
end
|
162
|
+
end
|
163
|
+
end
|
164
|
+
end
|
165
|
+
|
166
|
+
|
167
|
+
namespace :git do
|
168
|
+
desc "Tag and push release to git. (happens by default with `rake release`)"
|
169
|
+
task :release do
|
170
|
+
jeweler.release_to_git
|
171
|
+
end
|
172
|
+
end
|
173
|
+
|
174
|
+
task :release => 'git:release'
|
175
|
+
|
176
|
+
unless File.exist?('Gemfile')
|
177
|
+
desc "Check that runtime and development dependencies are installed"
|
178
|
+
task :check_dependencies do
|
179
|
+
jeweler.check_dependencies
|
180
|
+
end
|
181
|
+
|
182
|
+
namespace :check_dependencies do
|
183
|
+
desc "Check that runtime dependencies are installed"
|
184
|
+
task :runtime do
|
185
|
+
jeweler.check_dependencies(:runtime)
|
186
|
+
end
|
187
|
+
|
188
|
+
desc"Check that development dependencies are installed"
|
189
|
+
task :development do
|
190
|
+
jeweler.check_dependencies(:development)
|
191
|
+
end
|
192
|
+
end
|
193
|
+
end
|
194
|
+
|
195
|
+
desc "Start IRB with all runtime dependencies loaded"
|
196
|
+
task :console, [:script] do |t,args|
|
197
|
+
# TODO move to a command
|
198
|
+
dirs = ['ext', 'lib'].select { |dir| File.directory?(dir) }
|
199
|
+
|
200
|
+
original_load_path = $LOAD_PATH
|
201
|
+
|
202
|
+
cmd = if File.exist?('Gemfile')
|
203
|
+
require 'bundler'
|
204
|
+
Bundler.setup(:default)
|
205
|
+
end
|
206
|
+
|
207
|
+
# add the project code directories
|
208
|
+
$LOAD_PATH.unshift(*dirs)
|
209
|
+
|
210
|
+
# clear ARGV so IRB is not confused
|
211
|
+
ARGV.clear
|
212
|
+
|
213
|
+
require 'irb'
|
214
|
+
|
215
|
+
# set the optional script to run
|
216
|
+
IRB.conf[:SCRIPT] = args.script
|
217
|
+
IRB.start
|
218
|
+
|
219
|
+
# return the $LOAD_PATH to it's original state
|
220
|
+
$LOAD_PATH.reject! { |path| !(original_load_path.include?(path)) }
|
221
|
+
end
|
222
|
+
|
223
|
+
end
|
224
|
+
end
|
225
|
+
end
|