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,39 @@
|
|
1
|
+
class Jeweler
|
2
|
+
module Commands
|
3
|
+
class WriteGemspec
|
4
|
+
attr_accessor :base_dir, :gemspec, :version, :output, :gemspec_helper, :version_helper
|
5
|
+
|
6
|
+
def initialize
|
7
|
+
self.output = $stdout
|
8
|
+
end
|
9
|
+
|
10
|
+
def run
|
11
|
+
gemspec_helper.spec.version ||= begin
|
12
|
+
version_helper.refresh
|
13
|
+
version_helper.to_s
|
14
|
+
end
|
15
|
+
|
16
|
+
gemspec_helper.write
|
17
|
+
|
18
|
+
output.puts "Generated: #{gemspec_helper.path}"
|
19
|
+
end
|
20
|
+
|
21
|
+
def gemspec_helper
|
22
|
+
@gemspec_helper ||= GemSpecHelper.new(self.gemspec, self.base_dir)
|
23
|
+
end
|
24
|
+
|
25
|
+
def self.build_for(jeweler)
|
26
|
+
command = new
|
27
|
+
|
28
|
+
command.base_dir = jeweler.base_dir
|
29
|
+
command.gemspec = jeweler.gemspec
|
30
|
+
command.version = jeweler.version
|
31
|
+
command.output = jeweler.output
|
32
|
+
command.gemspec_helper = jeweler.gemspec_helper
|
33
|
+
command.version_helper = jeweler.version_helper
|
34
|
+
|
35
|
+
command
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,89 @@
|
|
1
|
+
class Jeweler
|
2
|
+
class GemSpecHelper
|
3
|
+
attr_accessor :spec, :base_dir
|
4
|
+
|
5
|
+
def initialize(spec, base_dir = nil)
|
6
|
+
self.spec = spec
|
7
|
+
self.base_dir = base_dir || ''
|
8
|
+
|
9
|
+
yield spec if block_given?
|
10
|
+
end
|
11
|
+
|
12
|
+
def valid?
|
13
|
+
begin
|
14
|
+
parse
|
15
|
+
true
|
16
|
+
rescue
|
17
|
+
false
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
def write
|
22
|
+
File.open(path, 'w') do |f|
|
23
|
+
f.write self.to_ruby
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
def to_ruby
|
28
|
+
normalize_files(:files)
|
29
|
+
normalize_files(:test_files)
|
30
|
+
normalize_files(:extra_rdoc_files)
|
31
|
+
|
32
|
+
gemspec_ruby = @spec.to_ruby
|
33
|
+
gemspec_ruby = prettyify_array(gemspec_ruby, :files)
|
34
|
+
gemspec_ruby = prettyify_array(gemspec_ruby, :test_files)
|
35
|
+
gemspec_ruby = prettyify_array(gemspec_ruby, :extra_rdoc_files)
|
36
|
+
gemspec_ruby = <<-END
|
37
|
+
# Generated by jeweler
|
38
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
39
|
+
# Instead, edit Jeweler::Tasks in #{Rake.application.rakefile}, and run 'rake gemspec'
|
40
|
+
#{gemspec_ruby}
|
41
|
+
END
|
42
|
+
end
|
43
|
+
|
44
|
+
def path
|
45
|
+
denormalized_path = File.join(@base_dir, "#{@spec.name}.gemspec")
|
46
|
+
absolute_path = File.expand_path(denormalized_path)
|
47
|
+
absolute_path.gsub(Dir.getwd + File::SEPARATOR, '')
|
48
|
+
end
|
49
|
+
|
50
|
+
def parse
|
51
|
+
data = self.to_ruby
|
52
|
+
parsed_gemspec = nil
|
53
|
+
Thread.new { parsed_gemspec = eval("$SAFE = 3\n#{data}", binding, path) }.join
|
54
|
+
parsed_gemspec
|
55
|
+
end
|
56
|
+
|
57
|
+
def normalize_files(array_attribute)
|
58
|
+
array = @spec.send(array_attribute)
|
59
|
+
# only keep files, no directories, and sort
|
60
|
+
array = array.select do |path|
|
61
|
+
File.file? File.join(@base_dir, path)
|
62
|
+
end.sort
|
63
|
+
|
64
|
+
@spec.send("#{array_attribute}=", array)
|
65
|
+
end
|
66
|
+
|
67
|
+
# Adds extra space when outputting an array. This helps create better version control diffs, because otherwise it is all on the same line.
|
68
|
+
def prettyify_array(gemspec_ruby, array_name)
|
69
|
+
gemspec_ruby.gsub(/s\.#{array_name.to_s} = \[.+?\]/) do |match|
|
70
|
+
leadin, files = match[0..-2].split("[")
|
71
|
+
|
72
|
+
leadin + "[\n #{files.gsub(%|", "|, %|",\n "|)}\n ]"
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
def gem_path
|
77
|
+
File.join(@base_dir, 'pkg', parse.file_name)
|
78
|
+
end
|
79
|
+
|
80
|
+
def update_version(version)
|
81
|
+
@spec.version = version.to_s
|
82
|
+
end
|
83
|
+
|
84
|
+
# Checks whether it uses the version helper or the users defined version.
|
85
|
+
def has_version?
|
86
|
+
!@spec.version.nil?
|
87
|
+
end
|
88
|
+
end
|
89
|
+
end
|
@@ -0,0 +1,287 @@
|
|
1
|
+
require 'git'
|
2
|
+
require 'erb'
|
3
|
+
|
4
|
+
require 'net/http'
|
5
|
+
require 'uri'
|
6
|
+
|
7
|
+
require 'fileutils'
|
8
|
+
require 'pathname'
|
9
|
+
|
10
|
+
require 'jeweler/version'
|
11
|
+
|
12
|
+
class Jeweler
|
13
|
+
class NoGitUserName < StandardError
|
14
|
+
end
|
15
|
+
class NoGitUserEmail < StandardError
|
16
|
+
end
|
17
|
+
class FileInTheWay < StandardError
|
18
|
+
end
|
19
|
+
class NoGitHubRepoNameGiven < StandardError
|
20
|
+
end
|
21
|
+
class NoGitHubUser < StandardError
|
22
|
+
end
|
23
|
+
class NoGitHubToken < StandardError
|
24
|
+
end
|
25
|
+
class GitInitFailed < StandardError
|
26
|
+
end
|
27
|
+
|
28
|
+
# Generator for creating a jeweler-enabled project
|
29
|
+
class Generator
|
30
|
+
require 'jeweler/generator/options'
|
31
|
+
require 'jeweler/generator/application'
|
32
|
+
|
33
|
+
require 'jeweler/generator/github_mixin'
|
34
|
+
|
35
|
+
require 'jeweler/generator/bacon_mixin'
|
36
|
+
require 'jeweler/generator/micronaut_mixin'
|
37
|
+
require 'jeweler/generator/minitest_mixin'
|
38
|
+
require 'jeweler/generator/rspec_mixin'
|
39
|
+
require 'jeweler/generator/shoulda_mixin'
|
40
|
+
require 'jeweler/generator/testspec_mixin'
|
41
|
+
require 'jeweler/generator/testunit_mixin'
|
42
|
+
require 'jeweler/generator/riot_mixin'
|
43
|
+
require 'jeweler/generator/shindo_mixin'
|
44
|
+
|
45
|
+
require 'jeweler/generator/rdoc_mixin'
|
46
|
+
require 'jeweler/generator/yard_mixin'
|
47
|
+
|
48
|
+
attr_accessor :target_dir, :user_name, :user_email, :summary, :homepage,
|
49
|
+
:description, :project_name, :github_username, :github_token,
|
50
|
+
:repo, :should_create_remote_repo,
|
51
|
+
:testing_framework, :documentation_framework,
|
52
|
+
:should_use_cucumber, :should_use_bundler,
|
53
|
+
:should_setup_rubyforge, :should_use_reek, :should_use_roodi,
|
54
|
+
:development_dependencies,
|
55
|
+
:options,
|
56
|
+
:git_remote
|
57
|
+
|
58
|
+
def initialize(options = {})
|
59
|
+
self.options = options
|
60
|
+
|
61
|
+
self.project_name = options[:project_name]
|
62
|
+
if self.project_name.nil? || self.project_name.squeeze.strip == ""
|
63
|
+
raise NoGitHubRepoNameGiven
|
64
|
+
end
|
65
|
+
|
66
|
+
self.development_dependencies = []
|
67
|
+
self.testing_framework = options[:testing_framework]
|
68
|
+
self.documentation_framework = options[:documentation_framework]
|
69
|
+
begin
|
70
|
+
generator_mixin_name = "#{self.testing_framework.to_s.capitalize}Mixin"
|
71
|
+
generator_mixin = self.class.const_get(generator_mixin_name)
|
72
|
+
extend generator_mixin
|
73
|
+
rescue NameError => e
|
74
|
+
raise ArgumentError, "Unsupported testing framework (#{testing_framework})"
|
75
|
+
end
|
76
|
+
|
77
|
+
begin
|
78
|
+
generator_mixin_name = "#{self.documentation_framework.to_s.capitalize}Mixin"
|
79
|
+
generator_mixin = self.class.const_get(generator_mixin_name)
|
80
|
+
extend generator_mixin
|
81
|
+
rescue NameError => e
|
82
|
+
raise ArgumentError, "Unsupported documentation framework (#{documentation_framework})"
|
83
|
+
end
|
84
|
+
|
85
|
+
self.target_dir = options[:directory] || self.project_name
|
86
|
+
|
87
|
+
self.summary = options[:summary] || 'TODO: one-line summary of your gem'
|
88
|
+
self.description = options[:description] || 'TODO: longer description of your gem'
|
89
|
+
self.should_use_cucumber = options[:use_cucumber]
|
90
|
+
self.should_use_reek = options[:use_reek]
|
91
|
+
self.should_use_roodi = options[:use_roodi]
|
92
|
+
self.should_setup_rubyforge = options[:rubyforge]
|
93
|
+
self.should_use_bundler = options[:use_bundler]
|
94
|
+
|
95
|
+
development_dependencies << ["cucumber", ">= 0"] if should_use_cucumber
|
96
|
+
|
97
|
+
# TODO make bundler optional?
|
98
|
+
development_dependencies << ["bundler", "~> 1.0.0"]
|
99
|
+
development_dependencies << ["jeweler", "~> #{Jeweler::Version::STRING}"]
|
100
|
+
development_dependencies << ["rcov", ">= 0"]
|
101
|
+
|
102
|
+
development_dependencies << ["reek", "~> 1.2.8"] if should_use_reek
|
103
|
+
development_dependencies << ["roodi", "~> 2.1.0"] if should_use_roodi
|
104
|
+
|
105
|
+
self.user_name = options[:user_name]
|
106
|
+
self.user_email = options[:user_email]
|
107
|
+
self.homepage = options[:homepage]
|
108
|
+
|
109
|
+
self.git_remote = options[:git_remote]
|
110
|
+
|
111
|
+
raise NoGitUserName unless self.user_name
|
112
|
+
raise NoGitUserEmail unless self.user_email
|
113
|
+
|
114
|
+
extend GithubMixin
|
115
|
+
end
|
116
|
+
|
117
|
+
def run
|
118
|
+
create_files
|
119
|
+
create_version_control
|
120
|
+
$stdout.puts "Jeweler has prepared your gem in #{target_dir}"
|
121
|
+
if should_create_remote_repo
|
122
|
+
create_and_push_repo
|
123
|
+
$stdout.puts "Jeweler has pushed your repo to #{homepage}"
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
def constant_name
|
128
|
+
self.project_name.split(/[-_]/).collect{|each| each.capitalize }.join
|
129
|
+
end
|
130
|
+
|
131
|
+
def lib_filename
|
132
|
+
"#{project_name}.rb"
|
133
|
+
end
|
134
|
+
|
135
|
+
def require_name
|
136
|
+
self.project_name
|
137
|
+
end
|
138
|
+
|
139
|
+
def file_name_prefix
|
140
|
+
self.project_name.gsub('-', '_')
|
141
|
+
end
|
142
|
+
|
143
|
+
def lib_dir
|
144
|
+
'lib'
|
145
|
+
end
|
146
|
+
|
147
|
+
def feature_filename
|
148
|
+
"#{project_name}.feature"
|
149
|
+
end
|
150
|
+
|
151
|
+
def steps_filename
|
152
|
+
"#{project_name}_steps.rb"
|
153
|
+
end
|
154
|
+
|
155
|
+
def features_dir
|
156
|
+
'features'
|
157
|
+
end
|
158
|
+
|
159
|
+
def features_support_dir
|
160
|
+
File.join(features_dir, 'support')
|
161
|
+
end
|
162
|
+
|
163
|
+
def features_steps_dir
|
164
|
+
File.join(features_dir, 'step_definitions')
|
165
|
+
end
|
166
|
+
|
167
|
+
private
|
168
|
+
|
169
|
+
def create_files
|
170
|
+
unless File.exists?(target_dir) || File.directory?(target_dir)
|
171
|
+
FileUtils.mkdir target_dir
|
172
|
+
else
|
173
|
+
raise FileInTheWay, "The directory #{target_dir} already exists, aborting. Maybe move it out of the way before continuing?"
|
174
|
+
end
|
175
|
+
|
176
|
+
|
177
|
+
output_template_in_target '.gitignore'
|
178
|
+
output_template_in_target 'Rakefile'
|
179
|
+
output_template_in_target 'Gemfile' if should_use_bundler
|
180
|
+
output_template_in_target 'LICENSE.txt'
|
181
|
+
output_template_in_target 'README.rdoc'
|
182
|
+
output_template_in_target '.document'
|
183
|
+
|
184
|
+
mkdir_in_target lib_dir
|
185
|
+
touch_in_target File.join(lib_dir, lib_filename)
|
186
|
+
|
187
|
+
mkdir_in_target test_dir
|
188
|
+
output_template_in_target File.join(testing_framework.to_s, 'helper.rb'),
|
189
|
+
File.join(test_dir, test_helper_filename)
|
190
|
+
output_template_in_target File.join(testing_framework.to_s, 'flunking.rb'),
|
191
|
+
File.join(test_dir, test_filename)
|
192
|
+
|
193
|
+
|
194
|
+
if testing_framework == :rspec
|
195
|
+
output_template_in_target File.join(testing_framework.to_s, '.rspec'),
|
196
|
+
'.rspec'
|
197
|
+
|
198
|
+
end
|
199
|
+
|
200
|
+
if should_use_cucumber
|
201
|
+
mkdir_in_target features_dir
|
202
|
+
output_template_in_target File.join(%w(features default.feature)), File.join('features', feature_filename)
|
203
|
+
|
204
|
+
mkdir_in_target features_support_dir
|
205
|
+
output_template_in_target File.join(features_support_dir, 'env.rb')
|
206
|
+
|
207
|
+
mkdir_in_target features_steps_dir
|
208
|
+
touch_in_target File.join(features_steps_dir, steps_filename)
|
209
|
+
end
|
210
|
+
end
|
211
|
+
|
212
|
+
def render_template(source)
|
213
|
+
template_contents = File.read(File.join(template_dir, source))
|
214
|
+
template = ERB.new(template_contents, nil, '<>')
|
215
|
+
|
216
|
+
# squish extraneous whitespace from some of the conditionals
|
217
|
+
template.result(binding).gsub(/\n\n\n+/, "\n\n")
|
218
|
+
end
|
219
|
+
|
220
|
+
def output_template_in_target(source, destination = source)
|
221
|
+
final_destination = File.join(target_dir, destination)
|
222
|
+
template_result = render_template(source)
|
223
|
+
|
224
|
+
File.open(final_destination, 'w') {|file| file.write(template_result)}
|
225
|
+
|
226
|
+
$stdout.puts "\tcreate\t#{destination}"
|
227
|
+
end
|
228
|
+
|
229
|
+
def template_dir
|
230
|
+
File.join(File.dirname(__FILE__), 'templates')
|
231
|
+
end
|
232
|
+
|
233
|
+
def mkdir_in_target(directory)
|
234
|
+
final_destination = File.join(target_dir, directory)
|
235
|
+
|
236
|
+
FileUtils.mkdir final_destination
|
237
|
+
|
238
|
+
$stdout.puts "\tcreate\t#{directory}"
|
239
|
+
end
|
240
|
+
|
241
|
+
def touch_in_target(destination)
|
242
|
+
final_destination = File.join(target_dir, destination)
|
243
|
+
FileUtils.touch final_destination
|
244
|
+
$stdout.puts "\tcreate\t#{destination}"
|
245
|
+
end
|
246
|
+
|
247
|
+
def create_version_control
|
248
|
+
Dir.chdir(target_dir) do
|
249
|
+
begin
|
250
|
+
@repo = Git.init()
|
251
|
+
rescue Git::GitExecuteError => e
|
252
|
+
raise GitInitFailed, "Encountered an error during gitification. Maybe the repo already exists, or has already been pushed to?"
|
253
|
+
end
|
254
|
+
|
255
|
+
begin
|
256
|
+
@repo.add('.')
|
257
|
+
rescue Git::GitExecuteError => e
|
258
|
+
#raise GitAddFailed, "There was some problem adding this directory to the git changeset"
|
259
|
+
raise
|
260
|
+
end
|
261
|
+
|
262
|
+
begin
|
263
|
+
@repo.commit "Initial commit to #{project_name}."
|
264
|
+
rescue Git::GitExecuteError => e
|
265
|
+
raise
|
266
|
+
end
|
267
|
+
|
268
|
+
begin
|
269
|
+
@repo.add_remote('origin', git_remote)
|
270
|
+
rescue Git::GitExecuteError => e
|
271
|
+
puts "Encountered an error while adding origin remote. Maybe you have some weird settings in ~/.gitconfig?"
|
272
|
+
raise
|
273
|
+
end
|
274
|
+
end
|
275
|
+
end
|
276
|
+
|
277
|
+
def create_and_push_repo
|
278
|
+
Net::HTTP.post_form URI.parse('http://github.com/api/v2/yaml/repos/create'),
|
279
|
+
'login' => github_username,
|
280
|
+
'token' => github_token,
|
281
|
+
'description' => summary,
|
282
|
+
'name' => project_name
|
283
|
+
# TODO do a HEAD request to see when it's ready?
|
284
|
+
@repo.push('origin')
|
285
|
+
end
|
286
|
+
end
|
287
|
+
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
class Jeweler
|
2
|
+
class Generator
|
3
|
+
class Application
|
4
|
+
class << self
|
5
|
+
def run!(*arguments)
|
6
|
+
env_opts = if ENV['JEWELER_OPTS']
|
7
|
+
Jeweler::Generator::Options.new(ENV['JEWELER_OPTS'].split(' '))
|
8
|
+
end
|
9
|
+
options = Jeweler::Generator::Options.new(arguments)
|
10
|
+
options = options.merge(env_opts) if env_opts
|
11
|
+
|
12
|
+
if options[:invalid_argument]
|
13
|
+
$stderr.puts options[:invalid_argument]
|
14
|
+
options[:show_help] = true
|
15
|
+
end
|
16
|
+
|
17
|
+
if options[:show_help]
|
18
|
+
$stderr.puts options.opts
|
19
|
+
return 1
|
20
|
+
end
|
21
|
+
|
22
|
+
if options[:project_name].nil? || options[:project_name].squeeze.strip == ""
|
23
|
+
$stderr.puts options.opts
|
24
|
+
return 1
|
25
|
+
end
|
26
|
+
|
27
|
+
begin
|
28
|
+
generator = Jeweler::Generator.new(options)
|
29
|
+
generator.run
|
30
|
+
return 0
|
31
|
+
rescue Jeweler::NoGitUserName
|
32
|
+
$stderr.puts %Q{No user.name found in ~/.gitconfig. Please tell git about yourself (see http://help.github.com/git-email-settings/ for details). For example: git config --global user.name "mad voo"}
|
33
|
+
return 1
|
34
|
+
rescue Jeweler::NoGitUserEmail
|
35
|
+
$stderr.puts %Q{No user.email found in ~/.gitconfig. Please tell git about yourself (see http://help.github.com/git-email-settings/ for details). For example: git config --global user.email mad.vooo@gmail.com}
|
36
|
+
return 1
|
37
|
+
rescue Jeweler::NoGitHubUser
|
38
|
+
$stderr.puts %Q{No github.user found in ~/.gitconfig. Please tell git about your GitHub account (see http://github.com/blog/180-local-github-config for details). For example: git config --global github.user defunkt}
|
39
|
+
return 1
|
40
|
+
rescue Jeweler::NoGitHubToken
|
41
|
+
$stderr.puts %Q{No github.token found in ~/.gitconfig. Please tell git about your GitHub account (see http://github.com/blog/180-local-github-config for details). For example: git config --global github.token 6ef8395fecf207165f1a82178ae1b984}
|
42
|
+
return 1
|
43
|
+
rescue Jeweler::FileInTheWay
|
44
|
+
$stderr.puts "The directory #{options[:project_name]} already exists. Maybe move it out of the way before continuing?"
|
45
|
+
return 1
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|