gemrage 0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +21 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +35 -0
- data/LICENSE +20 -0
- data/README.rdoc +17 -0
- data/Rakefile +55 -0
- data/VERSION +1 -0
- data/gemrage.gemspec +923 -0
- data/lib/gemrage.rb +0 -0
- data/lib/rubygems/commands/scan_command.rb +25 -0
- data/lib/rubygems_plugin.rb +4 -0
- data/spec/gemrage_spec.rb +7 -0
- data/spec/spec.opts +1 -0
- data/spec/spec_helper.rb +9 -0
- data/vendor/ruby/1.8/bin/bundle +19 -0
- data/vendor/ruby/1.8/bin/edit_json.rb +19 -0
- data/vendor/ruby/1.8/bin/htmldiff +19 -0
- data/vendor/ruby/1.8/bin/jeweler +19 -0
- data/vendor/ruby/1.8/bin/ldiff +19 -0
- data/vendor/ruby/1.8/bin/prettify_json.rb +19 -0
- data/vendor/ruby/1.8/bin/restclient +19 -0
- data/vendor/ruby/1.8/bin/rspec +19 -0
- data/vendor/ruby/1.8/bin/rubyforge +19 -0
- data/vendor/ruby/1.8/cache/bundler-1.0.3.gem +0 -0
- data/vendor/ruby/1.8/cache/diff-lcs-1.1.2.gem +0 -0
- data/vendor/ruby/1.8/cache/gemcutter-0.6.1.gem +0 -0
- data/vendor/ruby/1.8/cache/git-1.2.5.gem +0 -0
- data/vendor/ruby/1.8/cache/jeweler-1.4.0.gem +0 -0
- data/vendor/ruby/1.8/cache/json_pure-1.4.6.gem +0 -0
- data/vendor/ruby/1.8/cache/mime-types-1.16.gem +0 -0
- data/vendor/ruby/1.8/cache/rest-client-1.6.1.gem +0 -0
- data/vendor/ruby/1.8/cache/rspec-2.0.0.gem +0 -0
- data/vendor/ruby/1.8/cache/rspec-core-2.0.0.gem +0 -0
- data/vendor/ruby/1.8/cache/rspec-expectations-2.0.0.gem +0 -0
- data/vendor/ruby/1.8/cache/rspec-mocks-2.0.0.gem +0 -0
- data/vendor/ruby/1.8/cache/rubyforge-2.0.4.gem +0 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/.gitignore +12 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/CHANGELOG.md +547 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/ISSUES.md +32 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/LICENSE +20 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/README.md +29 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/Rakefile +139 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/UPGRADING.md +103 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/bin/bundle +21 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/bundler.gemspec +30 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/capistrano.rb +11 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/cli.rb +515 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/definition.rb +421 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/dependency.rb +114 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/deployment.rb +37 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/dsl.rb +245 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/environment.rb +47 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/gem_helper.rb +148 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/graph.rb +130 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/index.rb +114 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/installer.rb +84 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/lazy_specification.rb +71 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/lockfile_parser.rb +108 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/remote_specification.rb +59 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/resolver.rb +455 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/rubygems_ext.rb +203 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/runtime.rb +148 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/settings.rb +117 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/setup.rb +15 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/shared_helpers.rb +151 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/source.rb +662 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/spec_set.rb +134 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/templates/Executable +16 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/templates/Gemfile +4 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/templates/newgem/Gemfile.tt +4 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/templates/newgem/Rakefile.tt +2 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/templates/newgem/bin/newgem.tt +3 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/templates/newgem/gitignore.tt +3 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/templates/newgem/lib/newgem/version.rb.tt +7 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/templates/newgem/lib/newgem.rb.tt +7 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/templates/newgem/newgem.gemspec.tt +21 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/ui.rb +60 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/actions/create_file.rb +105 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/actions/directory.rb +93 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/actions/empty_directory.rb +134 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/actions/file_manipulation.rb +229 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/actions/inject_into_file.rb +104 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/actions.rb +297 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/base.rb +556 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/core_ext/file_binary_read.rb +9 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/core_ext/hash_with_indifferent_access.rb +75 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/core_ext/ordered_hash.rb +100 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/error.rb +30 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/invocation.rb +168 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/parser/argument.rb +67 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/parser/arguments.rb +161 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/parser/option.rb +120 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/parser/options.rb +174 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/parser.rb +4 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/shell/basic.rb +275 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/shell/color.rb +108 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/shell/html.rb +121 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/shell.rb +88 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/task.rb +114 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/util.rb +229 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/version.rb +3 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor.rb +319 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/version.rb +6 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vlad.rb +9 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler.rb +284 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/man/bundle-config.ronn +90 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/man/bundle-exec.ronn +98 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/man/bundle-install.ronn +310 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/man/bundle-package.ronn +59 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/man/bundle-update.ronn +176 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/man/bundle.ronn +77 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/man/gemfile.5.ronn +273 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/man/index.txt +6 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/cache/gems_spec.rb +205 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/cache/git_spec.rb +9 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/cache/path_spec.rb +27 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/cache/platform_spec.rb +57 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/deploy_spec.rb +178 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/deprecated_spec.rb +43 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/gems/c_ext_spec.rb +48 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/gems/env_spec.rb +107 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/gems/flex_spec.rb +272 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/gems/groups_spec.rb +228 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/gems/packed_spec.rb +72 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/gems/platform_spec.rb +195 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/gems/resolving_spec.rb +72 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/gems/simple_case_spec.rb +742 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/gems/sudo_spec.rb +77 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/gems/win32_spec.rb +26 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/gemspec_spec.rb +96 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/git_spec.rb +553 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/invalid_spec.rb +17 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/path_spec.rb +329 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/upgrade_spec.rb +26 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/lock/flex_spec.rb +650 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/lock/git_spec.rb +35 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/other/check_spec.rb +221 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/other/config_spec.rb +40 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/other/console_spec.rb +54 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/other/exec_spec.rb +241 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/other/ext_spec.rb +16 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/other/gem_helper_spec.rb +116 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/other/help_spec.rb +36 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/other/init_spec.rb +40 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/other/newgem_spec.rb +24 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/other/open_spec.rb +35 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/other/show_spec.rb +82 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/pack/gems_spec.rb +22 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/quality_spec.rb +55 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/resolver/basic_spec.rb +20 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/resolver/platform_spec.rb +57 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/runtime/environment_rb_spec.rb +162 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/runtime/executable_spec.rb +110 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/runtime/load_spec.rb +102 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/runtime/platform_spec.rb +90 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/runtime/require_spec.rb +231 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/runtime/setup_spec.rb +412 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/runtime/with_clean_env_spec.rb +15 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/spec_helper.rb +82 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/support/builders.rb +566 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/support/helpers.rb +243 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/support/indexes.rb +113 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/support/matchers.rb +89 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/support/path.rb +71 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/support/platforms.rb +49 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/support/ruby_ext.rb +19 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/support/rubygems_ext.rb +30 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/support/rubygems_hax/rubygems_plugin.rb +9 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/support/sudo.rb +21 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/update/gems_spec.rb +86 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/update/git_spec.rb +159 -0
- data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/update/source_spec.rb +50 -0
- data/vendor/ruby/1.8/gems/diff-lcs-1.1.2/ChangeLog +46 -0
- data/vendor/ruby/1.8/gems/diff-lcs-1.1.2/Install +6 -0
- data/vendor/ruby/1.8/gems/diff-lcs-1.1.2/README +76 -0
- data/vendor/ruby/1.8/gems/diff-lcs-1.1.2/Rakefile +116 -0
- data/vendor/ruby/1.8/gems/diff-lcs-1.1.2/bin/htmldiff +112 -0
- data/vendor/ruby/1.8/gems/diff-lcs-1.1.2/bin/ldiff +45 -0
- data/vendor/ruby/1.8/gems/diff-lcs-1.1.2/lib/diff/lcs/array.rb +21 -0
- data/vendor/ruby/1.8/gems/diff-lcs-1.1.2/lib/diff/lcs/block.rb +51 -0
- data/vendor/ruby/1.8/gems/diff-lcs-1.1.2/lib/diff/lcs/callbacks.rb +322 -0
- data/vendor/ruby/1.8/gems/diff-lcs-1.1.2/lib/diff/lcs/change.rb +169 -0
- data/vendor/ruby/1.8/gems/diff-lcs-1.1.2/lib/diff/lcs/hunk.rb +257 -0
- data/vendor/ruby/1.8/gems/diff-lcs-1.1.2/lib/diff/lcs/ldiff.rb +226 -0
- data/vendor/ruby/1.8/gems/diff-lcs-1.1.2/lib/diff/lcs/string.rb +19 -0
- data/vendor/ruby/1.8/gems/diff-lcs-1.1.2/lib/diff/lcs.rb +1105 -0
- data/vendor/ruby/1.8/gems/diff-lcs-1.1.2/tests/00test.rb +626 -0
- data/vendor/ruby/1.8/gems/gemcutter-0.6.1/MIT-LICENSE +22 -0
- data/vendor/ruby/1.8/gems/gemcutter-0.6.1/Rakefile +51 -0
- data/vendor/ruby/1.8/gems/gemcutter-0.6.1/lib/rubygems/commands/migrate_command.rb +14 -0
- data/vendor/ruby/1.8/gems/gemcutter-0.6.1/lib/rubygems/commands/tumble_command.rb +13 -0
- data/vendor/ruby/1.8/gems/gemcutter-0.6.1/lib/rubygems/commands/webhook_command.rb +117 -0
- data/vendor/ruby/1.8/gems/gemcutter-0.6.1/lib/rubygems/commands/yank_command.rb +72 -0
- data/vendor/ruby/1.8/gems/gemcutter-0.6.1/lib/rubygems_plugin.rb +7 -0
- data/vendor/ruby/1.8/gems/gemcutter-0.6.1/test/helper.rb +42 -0
- data/vendor/ruby/1.8/gems/gemcutter-0.6.1/test/webhook_command_test.rb +241 -0
- data/vendor/ruby/1.8/gems/gemcutter-0.6.1/test/yank_command_test.rb +85 -0
- data/vendor/ruby/1.8/gems/git-1.2.5/README +240 -0
- data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/author.rb +14 -0
- data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/base.rb +479 -0
- data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/branch.rb +104 -0
- data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/branches.rb +48 -0
- data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/diff.rb +146 -0
- data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/index.rb +5 -0
- data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/lib.rb +719 -0
- data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/log.rb +117 -0
- data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/object.rb +273 -0
- data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/path.rb +27 -0
- data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/remote.rb +40 -0
- data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/repository.rb +4 -0
- data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/stash.rb +27 -0
- data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/stashes.rb +44 -0
- data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/status.rb +110 -0
- data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/working_directory.rb +4 -0
- data/vendor/ruby/1.8/gems/git-1.2.5/lib/git.rb +156 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/.gitignore +10 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/ChangeLog.markdown +141 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/LICENSE +20 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/README.markdown +208 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/Rakefile +93 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/VERSION.yml +5 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/bin/jeweler +5 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/generator/cucumber.feature +83 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/generator/directory_layout.feature +76 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/generator/dotdocument.feature +14 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/generator/env_options.feature +9 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/generator/git.feature +94 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/generator/license.feature +11 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/generator/rakefile.feature +151 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/generator/readme.feature +12 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/generator/test.feature +48 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/generator/test_helper.feature +56 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/placeholder.feature +5 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/step_definitions/debug_steps.rb +6 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/step_definitions/filesystem_steps.rb +68 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/step_definitions/generator_steps.rb +291 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/step_definitions/task_steps.rb +6 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/support/env.rb +29 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/tasks/build_gem.feature +9 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/tasks/version.feature +31 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/tasks/version_bumping.feature +49 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/jeweler.gemspec +264 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands/build_gem.rb +36 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands/check_dependencies.rb +52 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands/install_gem.rb +30 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands/release_to_gemcutter.rb +27 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands/release_to_git.rb +57 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands/release_to_github.rb +66 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands/release_to_rubyforge.rb +52 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands/setup_rubyforge.rb +63 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands/validate_gemspec.rb +30 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands/version/base.rb +41 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands/version/bump_major.rb +13 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands/version/bump_minor.rb +12 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands/version/bump_patch.rb +14 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands/version/write.rb +12 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands/write_gemspec.rb +41 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands.rb +22 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/errors.rb +20 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/gemcutter_tasks.rb +36 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/gemspec_helper.rb +92 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator/application.rb +52 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator/bacon_mixin.rb +43 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator/github_mixin.rb +29 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator/micronaut_mixin.rb +41 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator/minitest_mixin.rb +42 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator/options.rb +159 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator/rdoc_mixin.rb +9 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator/riot_mixin.rb +42 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator/rspec_mixin.rb +42 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator/shoulda_mixin.rb +42 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator/testspec_mixin.rb +42 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator/testunit_mixin.rb +39 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator/yard_mixin.rb +14 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator.rb +270 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/rubyforge_tasks.rb +118 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/specification.rb +94 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/tasks.rb +178 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/.document +5 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/.gitignore +21 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/LICENSE +20 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/README.rdoc +17 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/Rakefile +6 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/bacon/flunking.rb +7 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/bacon/helper.rb +8 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/features/default.feature +9 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/features/support/env.rb +8 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/jeweler_tasks.erb +29 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/micronaut/flunking.rb +7 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/micronaut/helper.rb +17 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/minitest/flunking.rb +7 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/minitest/helper.rb +11 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/other_tasks.erb +117 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/riot/flunking.rb +11 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/riot/helper.rb +3 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/rspec/flunking.rb +7 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/rspec/helper.rb +10 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/rspec/spec.opts +1 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/shoulda/flunking.rb +7 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/shoulda/helper.rb +10 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/testspec/flunking.rb +7 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/testspec/helper.rb +7 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/testunit/flunking.rb +7 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/testunit/helper.rb +9 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/version_helper.rb +137 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler.rb +175 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/bar/VERSION.yml +4 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/bar/bin/foo_the_ultimate_bin +1 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/bar/hey_include_me_in_gemspec +0 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/bar/lib/foo_the_ultimate_lib.rb +1 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-constant/.document +5 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-constant/.gitignore +5 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-constant/LICENSE +20 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-constant/README.rdoc +7 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-constant/Rakefile +83 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-constant/existing-project-with-version.gemspec +29 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-constant/lib/existing_project_with_version.rb +0 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-constant/test/existing_project_with_version_test.rb +7 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-constant/test/test_helper.rb +10 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-plaintext/.document +5 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-plaintext/.gitignore +5 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-plaintext/LICENSE +20 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-plaintext/README.rdoc +7 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-plaintext/Rakefile +82 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-plaintext/VERSION +1 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-plaintext/existing-project-with-version.gemspec +29 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-plaintext/lib/existing_project_with_version.rb +0 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-plaintext/test/existing_project_with_version_test.rb +7 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-plaintext/test/test_helper.rb +10 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-yaml/.document +5 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-yaml/.gitignore +5 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-yaml/LICENSE +20 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-yaml/README.rdoc +7 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-yaml/Rakefile +82 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-yaml/VERSION.yml +4 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-yaml/bin/foo_the_ultimate_bin +0 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-yaml/existing-project-with-version.gemspec +29 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-yaml/lib/existing_project_with_version.rb +0 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-yaml/test/existing_project_with_version_test.rb +7 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-yaml/test/test_helper.rb +10 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/geminstaller.yml +12 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/commands/test_build_gem.rb +103 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/commands/test_install_gem.rb +35 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/commands/test_release_to_gemcutter.rb +39 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/commands/test_release_to_git.rb +201 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/commands/test_release_to_github.rb +323 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/commands/test_release_to_rubyforge.rb +153 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/commands/test_setup_rubyforge.rb +178 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/commands/test_validate_gemspec.rb +27 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/commands/test_write_gemspec.rb +101 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/commands/version/test_base.rb +32 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/commands/version/test_bump_major.rb +22 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/commands/version/test_bump_minor.rb +19 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/commands/version/test_bump_patch.rb +20 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/commands/version/test_write.rb +22 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/generator/test_application.rb +112 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/generator/test_options.rb +231 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/test_gemspec_helper.rb +44 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/test_generator.rb +122 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/test_generator_initialization.rb +164 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/test_generator_mixins.rb +23 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/test_specification.rb +231 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/test_tasks.rb +50 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/test_version_helper.rb +214 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/shoulda_macros/jeweler_macros.rb +35 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/test_helper.rb +180 -0
- data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/test_jeweler.rb +187 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/CHANGES +179 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/COPYING +58 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/GPL +340 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/README +356 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/Rakefile +292 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/TODO +1 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/VERSION +1 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkComparison.log +52 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast-autocorrelation.dat +1000 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast.dat +1001 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty-autocorrelation.dat +900 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty.dat +901 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe-autocorrelation.dat +1000 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe.dat +1001 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt.log +261 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast-autocorrelation.dat +1000 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast.dat +1001 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty-autocorrelation.dat +1000 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty.dat +1001 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe-autocorrelation.dat +1000 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe.dat +1001 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure.log +262 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator-autocorrelation.dat +1000 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator.dat +1001 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails.log +82 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkComparison.log +34 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser-autocorrelation.dat +900 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser.dat +901 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt.log +81 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser-autocorrelation.dat +1000 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser.dat +1001 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure.log +82 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser-autocorrelation.dat +1000 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser.dat +1001 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails.log +82 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser-autocorrelation.dat +1000 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser.dat +1001 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML.log +82 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/generator2_benchmark.rb +222 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/generator_benchmark.rb +224 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/ohai.json +1216 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/ohai.ruby +1 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/parser2_benchmark.rb +251 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/parser_benchmark.rb +259 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/bin/edit_json.rb +9 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/bin/prettify_json.rb +75 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/data/example.json +1 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/data/index.html +38 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/data/prototype.js +4184 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/ext/json/ext/generator/extconf.rb +20 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/ext/json/ext/generator/generator.c +1417 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/ext/json/ext/generator/generator.h +197 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/ext/json/ext/parser/extconf.rb +15 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/ext/json/ext/parser/parser.c +1935 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/ext/json/ext/parser/parser.h +71 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/ext/json/ext/parser/parser.rl +792 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/install.rb +26 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/Array.xpm +21 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/FalseClass.xpm +21 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/Hash.xpm +21 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/Key.xpm +73 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/NilClass.xpm +21 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/Numeric.xpm +28 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/String.xpm +96 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/TrueClass.xpm +21 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/add/core.rb +148 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/add/rails.rb +58 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/common.rb +391 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/editor.rb +1371 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/ext.rb +15 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/json.xpm +1499 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/pure/generator.rb +439 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/pure/parser.rb +309 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/pure.rb +77 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/version.rb +8 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json.rb +10 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail1.json +1 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail10.json +1 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail11.json +1 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail12.json +1 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail13.json +1 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail14.json +1 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail18.json +1 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail19.json +1 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail2.json +1 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail20.json +1 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail21.json +1 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail22.json +1 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail23.json +1 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail24.json +1 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail25.json +1 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail27.json +2 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail28.json +2 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail3.json +1 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail4.json +1 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail5.json +1 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail6.json +1 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail7.json +1 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail8.json +1 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail9.json +1 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/pass1.json +56 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/pass15.json +1 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/pass16.json +1 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/pass17.json +1 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/pass2.json +1 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/pass26.json +1 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/pass3.json +6 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/test_json.rb +394 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/test_json_addition.rb +162 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/test_json_encoding.rb +68 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/test_json_fixtures.rb +34 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/test_json_generate.rb +181 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/test_json_rails.rb +144 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/test_json_unicode.rb +76 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tools/fuzz.rb +139 -0
- data/vendor/ruby/1.8/gems/json_pure-1.4.6/tools/server.rb +61 -0
- data/vendor/ruby/1.8/gems/mime-types-1.16/History.txt +107 -0
- data/vendor/ruby/1.8/gems/mime-types-1.16/Install.txt +17 -0
- data/vendor/ruby/1.8/gems/mime-types-1.16/Licence.txt +15 -0
- data/vendor/ruby/1.8/gems/mime-types-1.16/Manifest.txt +12 -0
- data/vendor/ruby/1.8/gems/mime-types-1.16/README.txt +28 -0
- data/vendor/ruby/1.8/gems/mime-types-1.16/Rakefile +316 -0
- data/vendor/ruby/1.8/gems/mime-types-1.16/lib/mime/types.rb +751 -0
- data/vendor/ruby/1.8/gems/mime-types-1.16/lib/mime/types.rb.data +1324 -0
- data/vendor/ruby/1.8/gems/mime-types-1.16/mime-types.gemspec +43 -0
- data/vendor/ruby/1.8/gems/mime-types-1.16/setup.rb +1585 -0
- data/vendor/ruby/1.8/gems/mime-types-1.16/test/test_mime_type.rb +356 -0
- data/vendor/ruby/1.8/gems/mime-types-1.16/test/test_mime_types.rb +122 -0
- data/vendor/ruby/1.8/gems/rest-client-1.6.1/README.rdoc +269 -0
- data/vendor/ruby/1.8/gems/rest-client-1.6.1/Rakefile +69 -0
- data/vendor/ruby/1.8/gems/rest-client-1.6.1/VERSION +1 -0
- data/vendor/ruby/1.8/gems/rest-client-1.6.1/bin/restclient +87 -0
- data/vendor/ruby/1.8/gems/rest-client-1.6.1/history.md +94 -0
- data/vendor/ruby/1.8/gems/rest-client-1.6.1/lib/rest-client.rb +2 -0
- data/vendor/ruby/1.8/gems/rest-client-1.6.1/lib/rest_client.rb +2 -0
- data/vendor/ruby/1.8/gems/rest-client-1.6.1/lib/restclient/abstract_response.rb +102 -0
- data/vendor/ruby/1.8/gems/rest-client-1.6.1/lib/restclient/exceptions.rb +181 -0
- data/vendor/ruby/1.8/gems/rest-client-1.6.1/lib/restclient/net_http_ext.rb +21 -0
- data/vendor/ruby/1.8/gems/rest-client-1.6.1/lib/restclient/payload.rb +220 -0
- data/vendor/ruby/1.8/gems/rest-client-1.6.1/lib/restclient/raw_response.rb +34 -0
- data/vendor/ruby/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb +300 -0
- data/vendor/ruby/1.8/gems/rest-client-1.6.1/lib/restclient/resource.rb +152 -0
- data/vendor/ruby/1.8/gems/rest-client-1.6.1/lib/restclient/response.rb +24 -0
- data/vendor/ruby/1.8/gems/rest-client-1.6.1/lib/restclient.rb +165 -0
- data/vendor/ruby/1.8/gems/rest-client-1.6.1/spec/abstract_response_spec.rb +67 -0
- data/vendor/ruby/1.8/gems/rest-client-1.6.1/spec/base.rb +16 -0
- data/vendor/ruby/1.8/gems/rest-client-1.6.1/spec/exceptions_spec.rb +79 -0
- data/vendor/ruby/1.8/gems/rest-client-1.6.1/spec/integration/certs/equifax.crt +19 -0
- data/vendor/ruby/1.8/gems/rest-client-1.6.1/spec/integration/certs/verisign.crt +14 -0
- data/vendor/ruby/1.8/gems/rest-client-1.6.1/spec/integration/request_spec.rb +25 -0
- data/vendor/ruby/1.8/gems/rest-client-1.6.1/spec/integration_spec.rb +38 -0
- data/vendor/ruby/1.8/gems/rest-client-1.6.1/spec/master_shake.jpg +0 -0
- data/vendor/ruby/1.8/gems/rest-client-1.6.1/spec/payload_spec.rb +219 -0
- data/vendor/ruby/1.8/gems/rest-client-1.6.1/spec/raw_response_spec.rb +17 -0
- data/vendor/ruby/1.8/gems/rest-client-1.6.1/spec/request2_spec.rb +17 -0
- data/vendor/ruby/1.8/gems/rest-client-1.6.1/spec/request_spec.rb +529 -0
- data/vendor/ruby/1.8/gems/rest-client-1.6.1/spec/resource_spec.rb +124 -0
- data/vendor/ruby/1.8/gems/rest-client-1.6.1/spec/response_spec.rb +157 -0
- data/vendor/ruby/1.8/gems/rest-client-1.6.1/spec/restclient_spec.rb +68 -0
- data/vendor/ruby/1.8/gems/rspec-2.0.0/.document +2 -0
- data/vendor/ruby/1.8/gems/rspec-2.0.0/.gitignore +7 -0
- data/vendor/ruby/1.8/gems/rspec-2.0.0/Gemfile +6 -0
- data/vendor/ruby/1.8/gems/rspec-2.0.0/License.txt +22 -0
- data/vendor/ruby/1.8/gems/rspec-2.0.0/README.markdown +30 -0
- data/vendor/ruby/1.8/gems/rspec-2.0.0/Rakefile +16 -0
- data/vendor/ruby/1.8/gems/rspec-2.0.0/lib/rspec/version.rb +5 -0
- data/vendor/ruby/1.8/gems/rspec-2.0.0/lib/rspec.rb +4 -0
- data/vendor/ruby/1.8/gems/rspec-2.0.0/rspec.gemspec +29 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/.document +5 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/.gitignore +11 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/.treasure_map.rb +23 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/Gemfile +26 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/History.markdown +63 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/License.txt +22 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/README.markdown +88 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/Rakefile +72 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/Upgrade.markdown +235 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/autotest/discover.rb +2 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/bin/rspec +2 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/cucumber.yml +2 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/README.markdown +19 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/command_line/configure.feature +20 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/command_line/example_name_option.feature +86 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/command_line/exit_status.feature +52 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/command_line/line_number_appended_to_path.feature +104 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/command_line/line_number_option.feature +43 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/command_line/rake_task.feature +68 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/configuration/custom_settings.feature +84 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/configuration/fail_fast.feature +77 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/configuration/read_options_from_file.feature +74 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/example_groups/basic_structure.feature +54 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/example_groups/shared_example_group.feature +177 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/filtering/exclusion_filters.feature +115 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/filtering/inclusion_filters.feature +83 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/filtering/run_all_when_everything_filtered.feature +46 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/formatters/custom_formatter.feature +32 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/hooks/around_hooks.feature +313 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/hooks/before_and_after_hooks.feature +432 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/hooks/halt.feature +26 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/metadata/described_class.feature +14 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/mock_framework_integration/use_flexmock.feature +23 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/mock_framework_integration/use_mocha.feature +23 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/mock_framework_integration/use_rr.feature +23 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/mock_framework_integration/use_rspec.feature +23 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/pending/pending_examples.feature +97 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/spec_files/arbitrary_file_suffix.feature +13 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/subject/attribute_of_subject.feature +44 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/subject/explicit_subject.feature +67 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/subject/implicit_subject.feature +31 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/support/env.rb +1 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/autotest/rspec2.rb +66 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/autorun.rb +2 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/backward_compatibility.rb +29 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/command_line.rb +34 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/command_line_configuration.rb +62 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/configuration.rb +373 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/configuration_options.rb +99 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/deprecation.rb +45 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/drb_command_line.rb +29 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/errors.rb +14 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/example.rb +144 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/example_group.rb +312 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/extensions/instance_eval_with_args.rb +39 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/extensions/kernel.rb +5 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/extensions/module_eval_with_args.rb +34 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/extensions/object.rb +15 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/extensions.rb +4 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/formatters/base_formatter.rb +167 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/formatters/base_text_formatter.rb +151 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/formatters/documentation_formatter.rb +71 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/formatters/helpers.rb +28 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/formatters/html_formatter.rb +351 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/formatters/progress_formatter.rb +32 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/formatters/snippet_extractor.rb +52 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/formatters/text_mate_formatter.rb +18 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/hooks.rb +134 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/let.rb +101 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/load_path.rb +3 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/metadata.rb +183 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/mocking/with_absolutely_nothing.rb +11 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/mocking/with_flexmock.rb +25 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/mocking/with_mocha.rb +21 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/mocking/with_rr.rb +25 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/mocking/with_rspec.rb +21 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/option_parser.rb +105 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/pending.rb +19 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/rake_task.rb +174 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/reporter.rb +78 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/ruby_project.rb +44 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/runner.rb +61 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/shared_example_group.rb +52 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/subject.rb +171 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/version.rb +7 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/world.rb +97 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core.rb +80 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/monkey/spork/test_framework/rspec.rb +7 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/monkey.rb +1 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/rspec-core.gemspec +45 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/script/console +8 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/autotest/failed_results_re_spec.rb +20 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/autotest/rspec_spec.rb +123 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/command_line_configuration_spec.rb +26 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/command_line_spec.rb +123 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/command_line_spec_output.txt +0 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/configuration_options_spec.rb +305 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/configuration_spec.rb +579 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/deprecations_spec.rb +29 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/drb_command_line_spec.rb +159 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/example_group_spec.rb +778 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/example_spec.rb +167 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/base_formatter_spec.rb +36 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/base_text_formatter_spec.rb +160 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/documentation_formatter_spec.rb +66 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/helpers_spec.rb +46 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/html_formatted-1.8.6.html +280 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html +285 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/html_formatted-1.8.7.html +283 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/html_formatted-1.9.1.html +283 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/html_formatted-1.9.2.html +283 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/html_formatter_spec.rb +81 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/progress_formatter_spec.rb +31 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/snippet_extractor_spec.rb +18 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/text_mate_formatted-1.8.6.html +280 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/text_mate_formatted-1.8.7-jruby.html +280 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/text_mate_formatted-1.8.7.html +280 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/text_mate_formatted-1.9.1.html +280 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/text_mate_formatted-1.9.2.html +280 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/text_mate_formatter_spec.rb +70 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/hooks_filtering_spec.rb +124 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/hooks_spec.rb +57 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/kernel_extensions_spec.rb +9 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/let_spec.rb +42 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/metadata_spec.rb +305 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/option_parser_spec.rb +39 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/pending_example_spec.rb +85 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/rake_task_spec.rb +148 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/reporter_spec.rb +70 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/resources/a_bar.rb +0 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/resources/a_foo.rb +0 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/resources/a_spec.rb +1 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/resources/custom_example_group_runner.rb +14 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/resources/formatter_specs.rb +36 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/resources/utf8_encoded.rb +8 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/ruby_project_spec.rb +24 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/runner_spec.rb +47 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/shared_example_group_spec.rb +152 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/subject_spec.rb +63 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/world_spec.rb +163 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core_spec.rb +31 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/ruby_forker.rb +13 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/spec_helper.rb +84 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/support/matchers.rb +44 -0
- data/vendor/ruby/1.8/gems/rspec-core-2.0.0/specs.watchr +58 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/.document +5 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/.gitignore +10 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/Gemfile +20 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/History.markdown +37 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/License.txt +22 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/README.markdown +23 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/Rakefile +70 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/Upgrade.markdown +53 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/cucumber.yml +3 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/README.markdown +18 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/expectations/attribute_of_subject.feature +19 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/expectations/customized_message.feature +54 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/expectations/diffing.feature +85 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/expectations/implicit_docstrings.feature +52 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/matchers/access_running_example.feature +53 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/matchers/define_diffable_matcher.feature +27 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/matchers/define_matcher.feature +311 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/matchers/define_matcher_outside_rspec.feature +38 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/matchers/define_matcher_with_fluent_interface.feature +24 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/matchers/equality.feature +142 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/matchers/expect_change.feature +65 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/matchers/expect_error.feature +44 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/matchers/have.feature +103 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/matchers/include.feature +136 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/matchers/operators.feature +280 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/matchers/predicates.feature +128 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/matchers/respond_to.feature +78 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/step_definitions/additional_cli_steps.rb +13 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/support/env.rb +1 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/test_frameworks/test_unit.feature +29 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/expectations/backward_compatibility.rb +16 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/expectations/differ.rb +62 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/expectations/errors.rb +12 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/expectations/extensions/array.rb +7 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/expectations/extensions/kernel.rb +52 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/expectations/extensions/rspec/core/example_group.rb +19 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/expectations/extensions.rb +3 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/expectations/fail_with.rb +51 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/expectations/handler.rb +50 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/expectations/version.rb +7 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/expectations.rb +38 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/be.rb +222 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/be_close.rb +32 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/be_instance_of.rb +26 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/be_kind_of.rb +26 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/change.rb +184 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/compatibility.rb +14 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/dsl.rb +21 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/eq.rb +50 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/eql.rb +45 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/equal.rb +53 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/errors.rb +5 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/exist.rb +16 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/extensions/instance_exec.rb +31 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/generated_descriptions.rb +36 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/has.rb +35 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/have.rb +151 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/include.rb +51 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/match.rb +21 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/match_array.rb +71 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/matcher.rb +161 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/method_missing.rb +9 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/operator_matcher.rb +78 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/pretty.rb +37 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/raise_error.rb +130 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/respond_to.rb +85 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/satisfy.rb +51 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/throw_symbol.rb +104 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers.rb +198 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec-expectations.rb +1 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/rspec-expectations.gemspec +31 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/expectations/differ_spec.rb +96 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/expectations/extensions/kernel_spec.rb +45 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/expectations/fail_with_spec.rb +70 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/expectations/handler_spec.rb +206 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/be_close_spec.rb +50 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/be_instance_of_spec.rb +36 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/be_kind_of_spec.rb +33 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/be_spec.rb +452 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/change_spec.rb +409 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/compatibility_spec.rb +28 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/description_generation_spec.rb +160 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/dsl_spec.rb +25 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/eq_spec.rb +38 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/eql_spec.rb +37 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/equal_spec.rb +57 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/exist_spec.rb +65 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/has_spec.rb +81 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/have_spec.rb +401 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/include_spec.rb +341 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/match_array_spec.rb +111 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/match_spec.rb +57 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/matcher_spec.rb +366 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/matchers_spec.rb +51 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/operator_matcher_spec.rb +189 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/raise_error_spec.rb +339 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/respond_to_spec.rb +292 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/satisfy_spec.rb +40 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/throw_symbol_spec.rb +96 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/spec_helper.rb +53 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/suite.rb +1 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/support/classes.rb +45 -0
- data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/specs.watchr +57 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/.autotest +7 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/.document +5 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/.gitignore +10 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/Gemfile +17 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/History.markdown +26 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/License.txt +22 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/README.markdown +45 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/Rakefile +70 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/autotest/discover.rb +1 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/cucumber.yml +2 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/features/README.markdown +30 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/features/message_expectations/block_local_expectations.feature.pending +55 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/features/message_expectations/expect_message.feature +94 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/features/message_expectations/warn_when_expectation_is_set_on_nil.feature +50 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/features/outside_rspec/configuration.feature +82 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/features/stubs/simple_return_value.feature +55 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/features/stubs/stub_chain.feature +44 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/features/stubs/stub_implementation.feature +26 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/features/support/env.rb +2 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/argument_expectation.rb +48 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/argument_matchers.rb +233 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/error_generator.rb +97 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/errors.rb +10 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/extensions/instance_exec.rb +31 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/extensions/object.rb +3 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/framework.rb +17 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/message_expectation.rb +341 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/method_double.rb +165 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/methods.rb +100 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/mock.rb +79 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/order_group.rb +29 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/proxy.rb +157 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/serialization.rb +24 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/space.rb +28 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/spec_methods.rb +53 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/version.rb +7 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks.rb +196 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/spec/mocks.rb +2 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/rspec-mocks.gemspec +28 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/and_yield_spec.rb +114 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/any_number_of_times_spec.rb +36 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/argument_expectation_spec.rb +23 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/at_least_spec.rb +97 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/at_most_spec.rb +93 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/block_return_value_spec.rb +45 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/bug_report_10260_spec.rb +8 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/bug_report_10263_spec.rb +27 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/bug_report_11545_spec.rb +32 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/bug_report_15719_spec.rb +29 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/bug_report_496_spec.rb +17 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/bug_report_600_spec.rb +22 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/bug_report_7611_spec.rb +18 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/bug_report_7805_spec.rb +22 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/bug_report_8165_spec.rb +31 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/bug_report_8302_spec.rb +26 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/bug_report_830_spec.rb +21 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/bug_report_957_spec.rb +22 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/double_spec.rb +12 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/failing_argument_matchers_spec.rb +96 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/hash_including_matcher_spec.rb +90 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/hash_not_including_matcher_spec.rb +67 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/mock_ordering_spec.rb +94 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/mock_space_spec.rb +54 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/mock_spec.rb +661 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/multiple_return_value_spec.rb +133 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/nil_expectation_warning_spec.rb +63 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/null_object_mock_spec.rb +73 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/once_counts_spec.rb +53 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/options_hash_spec.rb +35 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/partial_mock_spec.rb +155 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/partial_mock_using_mocks_directly_spec.rb +94 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/passing_argument_matchers_spec.rb +145 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/precise_counts_spec.rb +52 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/record_messages_spec.rb +26 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/serialization_spec.rb +69 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/stash_spec.rb +27 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/stub_chain_spec.rb +114 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/stub_implementation_spec.rb +68 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/stub_spec.rb +232 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/stubbed_message_expectations_spec.rb +26 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/twice_counts_spec.rb +67 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks_spec.rb +51 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/spec_helper.rb +52 -0
- data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/specs.watchr +57 -0
- data/vendor/ruby/1.8/gems/rubyforge-2.0.4/History.txt +128 -0
- data/vendor/ruby/1.8/gems/rubyforge-2.0.4/Manifest.txt +9 -0
- data/vendor/ruby/1.8/gems/rubyforge-2.0.4/README.txt +55 -0
- data/vendor/ruby/1.8/gems/rubyforge-2.0.4/Rakefile +40 -0
- data/vendor/ruby/1.8/gems/rubyforge-2.0.4/bin/rubyforge +222 -0
- data/vendor/ruby/1.8/gems/rubyforge-2.0.4/lib/rubyforge/client.rb +124 -0
- data/vendor/ruby/1.8/gems/rubyforge-2.0.4/lib/rubyforge.rb +389 -0
- data/vendor/ruby/1.8/gems/rubyforge-2.0.4/test/test_rubyforge.rb +329 -0
- data/vendor/ruby/1.8/gems/rubyforge-2.0.4/test/test_rubyforge_client.rb +57 -0
- data/vendor/ruby/1.8/specifications/bundler-1.0.3.gemspec +37 -0
- data/vendor/ruby/1.8/specifications/diff-lcs-1.1.2.gemspec +34 -0
- data/vendor/ruby/1.8/specifications/gemcutter-0.6.1.gemspec +56 -0
- data/vendor/ruby/1.8/specifications/git-1.2.5.gemspec +30 -0
- data/vendor/ruby/1.8/specifications/jeweler-1.4.0.gemspec +66 -0
- data/vendor/ruby/1.8/specifications/json_pure-1.4.6.gemspec +33 -0
- data/vendor/ruby/1.8/specifications/mime-types-1.16.gemspec +44 -0
- data/vendor/ruby/1.8/specifications/rest-client-1.6.1.gemspec +36 -0
- data/vendor/ruby/1.8/specifications/rspec-2.0.0.gemspec +39 -0
- data/vendor/ruby/1.8/specifications/rspec-core-2.0.0.gemspec +66 -0
- data/vendor/ruby/1.8/specifications/rspec-expectations-2.0.0.gemspec +46 -0
- data/vendor/ruby/1.8/specifications/rspec-mocks-2.0.0.gemspec +37 -0
- data/vendor/ruby/1.8/specifications/rubyforge-2.0.4.gemspec +43 -0
- metadata +956 -0
@@ -0,0 +1,579 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
module RSpec::Core
|
4
|
+
|
5
|
+
describe Configuration do
|
6
|
+
|
7
|
+
let(:config) { subject }
|
8
|
+
|
9
|
+
describe "#load_spec_files" do
|
10
|
+
it "loads files using load" do
|
11
|
+
config.files_to_run = ["foo.bar", "blah_spec.rb"]
|
12
|
+
config.should_receive(:load).twice
|
13
|
+
config.load_spec_files
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
describe "#mock_framework_class" do
|
18
|
+
before(:each) do
|
19
|
+
config.stub(:require)
|
20
|
+
end
|
21
|
+
|
22
|
+
it "defaults to :rspec" do
|
23
|
+
config.should_receive(:require).with('rspec/core/mocking/with_rspec')
|
24
|
+
config.require_mock_framework_adapter
|
25
|
+
end
|
26
|
+
|
27
|
+
[:rspec, :mocha, :rr, :flexmock].each do |framework|
|
28
|
+
it "uses #{framework.inspect} framework when set explicitly" do
|
29
|
+
config.should_receive(:require).with("rspec/core/mocking/with_#{framework}")
|
30
|
+
config.mock_framework = framework
|
31
|
+
config.require_mock_framework_adapter
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
it "uses the null adapter when set to any unknown key" do
|
36
|
+
config.should_receive(:require).with('rspec/core/mocking/with_absolutely_nothing')
|
37
|
+
config.mock_framework = :crazy_new_mocking_framework_ive_not_yet_heard_of
|
38
|
+
config.require_mock_framework_adapter
|
39
|
+
end
|
40
|
+
|
41
|
+
it "supports mock_with for backward compatibility with rspec-1.x" do
|
42
|
+
config.should_receive(:require).with('rspec/core/mocking/with_rspec')
|
43
|
+
config.mock_with :rspec
|
44
|
+
config.require_mock_framework_adapter
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
48
|
+
|
49
|
+
context "setting the files to run" do
|
50
|
+
|
51
|
+
it "loads files not following pattern if named explicitly" do
|
52
|
+
file = "./spec/rspec/core/resources/a_bar.rb"
|
53
|
+
config.files_or_directories_to_run = file
|
54
|
+
config.files_to_run.should == [file]
|
55
|
+
end
|
56
|
+
|
57
|
+
describe "with default --pattern" do
|
58
|
+
|
59
|
+
it "loads files named _spec.rb" do
|
60
|
+
dir = "./spec/rspec/core/resources"
|
61
|
+
config.files_or_directories_to_run = dir
|
62
|
+
config.files_to_run.should == ["#{dir}/a_spec.rb"]
|
63
|
+
end
|
64
|
+
|
65
|
+
it "loads files in Windows" do
|
66
|
+
file = "C:\\path\\to\\project\\spec\\sub\\foo_spec.rb"
|
67
|
+
config.files_or_directories_to_run = file
|
68
|
+
config.files_to_run.should == [file]
|
69
|
+
end
|
70
|
+
|
71
|
+
end
|
72
|
+
|
73
|
+
describe "with explicit pattern (single)" do
|
74
|
+
|
75
|
+
before do
|
76
|
+
config.filename_pattern = "**/*_foo.rb"
|
77
|
+
end
|
78
|
+
|
79
|
+
it "loads files following pattern" do
|
80
|
+
file = File.expand_path(File.dirname(__FILE__) + "/resources/a_foo.rb")
|
81
|
+
config.files_or_directories_to_run = file
|
82
|
+
config.files_to_run.should include(file)
|
83
|
+
end
|
84
|
+
|
85
|
+
it "loads files in directories following pattern" do
|
86
|
+
dir = File.expand_path(File.dirname(__FILE__) + "/resources")
|
87
|
+
config.files_or_directories_to_run = dir
|
88
|
+
config.files_to_run.should include("#{dir}/a_foo.rb")
|
89
|
+
end
|
90
|
+
|
91
|
+
it "does not load files in directories not following pattern" do
|
92
|
+
dir = File.expand_path(File.dirname(__FILE__) + "/resources")
|
93
|
+
config.files_or_directories_to_run = dir
|
94
|
+
config.files_to_run.should_not include("#{dir}/a_bar.rb")
|
95
|
+
end
|
96
|
+
|
97
|
+
end
|
98
|
+
|
99
|
+
context "with explicit pattern (comma,separated,values)" do
|
100
|
+
|
101
|
+
before do
|
102
|
+
config.filename_pattern = "**/*_foo.rb,**/*_bar.rb"
|
103
|
+
end
|
104
|
+
|
105
|
+
it "supports comma separated values" do
|
106
|
+
dir = File.expand_path(File.dirname(__FILE__) + "/resources")
|
107
|
+
config.files_or_directories_to_run = dir
|
108
|
+
config.files_to_run.should include("#{dir}/a_foo.rb")
|
109
|
+
config.files_to_run.should include("#{dir}/a_bar.rb")
|
110
|
+
end
|
111
|
+
|
112
|
+
it "supports comma separated values with spaces" do
|
113
|
+
dir = File.expand_path(File.dirname(__FILE__) + "/resources")
|
114
|
+
config.files_or_directories_to_run = dir
|
115
|
+
config.files_to_run.should include("#{dir}/a_foo.rb")
|
116
|
+
config.files_to_run.should include("#{dir}/a_bar.rb")
|
117
|
+
end
|
118
|
+
|
119
|
+
end
|
120
|
+
|
121
|
+
context "with line number" do
|
122
|
+
|
123
|
+
it "assigns the line number as the filter" do
|
124
|
+
config.files_or_directories_to_run = "path/to/a_spec.rb:37"
|
125
|
+
config.filter.should == {:line_number => 37}
|
126
|
+
end
|
127
|
+
|
128
|
+
end
|
129
|
+
|
130
|
+
context "with full_description" do
|
131
|
+
|
132
|
+
it "assigns the example name as the filter on description" do
|
133
|
+
config.full_description = "foo"
|
134
|
+
config.filter.should == {:full_description => /foo/}
|
135
|
+
end
|
136
|
+
|
137
|
+
end
|
138
|
+
|
139
|
+
end
|
140
|
+
|
141
|
+
describe "#include" do
|
142
|
+
|
143
|
+
module InstanceLevelMethods
|
144
|
+
def you_call_this_a_blt?
|
145
|
+
"egad man, where's the mayo?!?!?"
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
context "with no filter" do
|
150
|
+
it "includes the given module into each example group" do
|
151
|
+
RSpec.configure do |c|
|
152
|
+
c.include(InstanceLevelMethods)
|
153
|
+
end
|
154
|
+
|
155
|
+
group = ExampleGroup.describe('does like, stuff and junk', :magic_key => :include) { }
|
156
|
+
group.should_not respond_to(:you_call_this_a_blt?)
|
157
|
+
group.new.you_call_this_a_blt?.should == "egad man, where's the mayo?!?!?"
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
161
|
+
context "with a filter" do
|
162
|
+
it "includes the given module into each matching example group" do
|
163
|
+
RSpec.configure do |c|
|
164
|
+
c.include(InstanceLevelMethods, :magic_key => :include)
|
165
|
+
end
|
166
|
+
|
167
|
+
group = ExampleGroup.describe('does like, stuff and junk', :magic_key => :include) { }
|
168
|
+
group.should_not respond_to(:you_call_this_a_blt?)
|
169
|
+
group.new.you_call_this_a_blt?.should == "egad man, where's the mayo?!?!?"
|
170
|
+
end
|
171
|
+
end
|
172
|
+
|
173
|
+
end
|
174
|
+
|
175
|
+
describe "#extend" do
|
176
|
+
|
177
|
+
module ThatThingISentYou
|
178
|
+
def that_thing
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
182
|
+
it "extends the given module into each matching example group" do
|
183
|
+
RSpec.configure do |c|
|
184
|
+
c.extend(ThatThingISentYou, :magic_key => :extend)
|
185
|
+
end
|
186
|
+
|
187
|
+
group = ExampleGroup.describe(ThatThingISentYou, :magic_key => :extend) { }
|
188
|
+
group.should respond_to(:that_thing)
|
189
|
+
end
|
190
|
+
|
191
|
+
end
|
192
|
+
|
193
|
+
describe "run_all_when_everything_filtered?" do
|
194
|
+
|
195
|
+
it "defaults to false" do
|
196
|
+
config.run_all_when_everything_filtered?.should == false
|
197
|
+
end
|
198
|
+
|
199
|
+
it "can be queried with question method" do
|
200
|
+
config.run_all_when_everything_filtered = true
|
201
|
+
config.run_all_when_everything_filtered?.should == true
|
202
|
+
end
|
203
|
+
end
|
204
|
+
|
205
|
+
describe "#color_enabled=" do
|
206
|
+
context "given true" do
|
207
|
+
context "with non-tty output and no autotest" do
|
208
|
+
it "does not set color_enabled" do
|
209
|
+
config.output_stream = StringIO.new
|
210
|
+
config.output_stream.stub(:tty?) { false }
|
211
|
+
config.autotest = false
|
212
|
+
config.color_enabled = true
|
213
|
+
config.color_enabled.should be_false
|
214
|
+
end
|
215
|
+
end
|
216
|
+
|
217
|
+
context "with tty output" do
|
218
|
+
it "does not set color_enabled" do
|
219
|
+
config.output_stream = StringIO.new
|
220
|
+
config.output_stream.stub(:tty?) { true }
|
221
|
+
config.autotest = false
|
222
|
+
config.color_enabled = true
|
223
|
+
config.color_enabled.should be_true
|
224
|
+
end
|
225
|
+
end
|
226
|
+
|
227
|
+
context "with autotest output" do
|
228
|
+
it "does not set color_enabled" do
|
229
|
+
config.output_stream = StringIO.new
|
230
|
+
config.output_stream.stub(:tty?) { false }
|
231
|
+
config.autotest = true
|
232
|
+
config.color_enabled = true
|
233
|
+
config.color_enabled.should be_true
|
234
|
+
end
|
235
|
+
end
|
236
|
+
|
237
|
+
context "on windows" do
|
238
|
+
before do
|
239
|
+
@original_host = RbConfig::CONFIG['host_os']
|
240
|
+
@original_stdout = $stdout
|
241
|
+
@original_stderr = $stderr
|
242
|
+
RbConfig::CONFIG['host_os'] = 'mswin'
|
243
|
+
config.stub(:require)
|
244
|
+
config.stub(:warn)
|
245
|
+
end
|
246
|
+
|
247
|
+
after do
|
248
|
+
RbConfig::CONFIG['host_os'] = @original_host
|
249
|
+
$stdout = @original_stdout
|
250
|
+
$stderr = @original_stderr
|
251
|
+
end
|
252
|
+
|
253
|
+
context "with win32console available" do
|
254
|
+
it "requires win32console" do
|
255
|
+
config.should_receive(:require).
|
256
|
+
with("Win32/Console/ANSI")
|
257
|
+
config.color_enabled = true
|
258
|
+
end
|
259
|
+
|
260
|
+
context "with $stdout/err assigned to config.output/error_stream" do
|
261
|
+
it "reassigns new $stdout to output_stream" do
|
262
|
+
config.output_stream = $stdout
|
263
|
+
substitute_stdout = StringIO.new
|
264
|
+
config.stub(:require) do |what|
|
265
|
+
$stdout = substitute_stdout if what =~ /Win32/
|
266
|
+
end
|
267
|
+
config.color_enabled = true
|
268
|
+
config.output_stream.should eq(substitute_stdout)
|
269
|
+
end
|
270
|
+
|
271
|
+
it "reassigns new $stderr to error_stream" do
|
272
|
+
config.error_stream = $stderr
|
273
|
+
substitute_stderr = StringIO.new
|
274
|
+
config.stub(:require) do |what|
|
275
|
+
$stderr = substitute_stderr if what =~ /Win32/
|
276
|
+
end
|
277
|
+
config.color_enabled = true
|
278
|
+
config.error_stream.should eq(substitute_stderr)
|
279
|
+
end
|
280
|
+
end
|
281
|
+
|
282
|
+
context "without $stdout/err assigned to config.output/error_stream" do
|
283
|
+
it "leaves output stream intact" do
|
284
|
+
config.output_stream = output_stream = StringIO.new
|
285
|
+
config.stub(:require) do |what|
|
286
|
+
$stdout = StringIO.new if what =~ /Win32/
|
287
|
+
end
|
288
|
+
config.color_enabled = true
|
289
|
+
config.output_stream.should eq(output_stream)
|
290
|
+
end
|
291
|
+
|
292
|
+
it "leaves error stream intact" do
|
293
|
+
config.error_stream = error_stream = StringIO.new
|
294
|
+
config.stub(:require) do |what|
|
295
|
+
$stderr = StringIO.new if what =~ /Win32/
|
296
|
+
end
|
297
|
+
config.color_enabled = true
|
298
|
+
config.error_stream.should eq(error_stream)
|
299
|
+
end
|
300
|
+
end
|
301
|
+
|
302
|
+
end
|
303
|
+
|
304
|
+
context "with win32console NOT available" do
|
305
|
+
it "warns to install win32console" do
|
306
|
+
config.stub(:require) { raise LoadError }
|
307
|
+
config.should_receive(:warn).
|
308
|
+
with(/You must 'gem install win32console'/)
|
309
|
+
config.color_enabled = true
|
310
|
+
end
|
311
|
+
|
312
|
+
it "sets color_enabled to false" do
|
313
|
+
config.stub(:require) { raise LoadError }
|
314
|
+
config.color_enabled = true
|
315
|
+
config.color_enabled.should be_false
|
316
|
+
end
|
317
|
+
end
|
318
|
+
end
|
319
|
+
end
|
320
|
+
end
|
321
|
+
|
322
|
+
describe 'formatter=' do
|
323
|
+
|
324
|
+
it "sets formatter_to_use based on name" do
|
325
|
+
config.formatter = :documentation
|
326
|
+
config.formatter.should be_an_instance_of(Formatters::DocumentationFormatter)
|
327
|
+
config.formatter = 'documentation'
|
328
|
+
config.formatter.should be_an_instance_of(Formatters::DocumentationFormatter)
|
329
|
+
end
|
330
|
+
|
331
|
+
it "sets a formatter based on its class" do
|
332
|
+
formatter_class = Class.new(Formatters::BaseTextFormatter)
|
333
|
+
config.formatter = formatter_class
|
334
|
+
config.formatter.should be_an_instance_of(formatter_class)
|
335
|
+
end
|
336
|
+
|
337
|
+
it "sets a formatter based on its class name" do
|
338
|
+
Object.const_set("CustomFormatter", Class.new(Formatters::BaseFormatter))
|
339
|
+
config.formatter = "CustomFormatter"
|
340
|
+
config.formatter.should be_an_instance_of(CustomFormatter)
|
341
|
+
end
|
342
|
+
|
343
|
+
it "sets a formatter based on its class fully qualified name" do
|
344
|
+
RSpec.const_set("CustomFormatter", Class.new(Formatters::BaseFormatter))
|
345
|
+
config.formatter = "RSpec::CustomFormatter"
|
346
|
+
config.formatter.should be_an_instance_of(RSpec::CustomFormatter)
|
347
|
+
end
|
348
|
+
|
349
|
+
it "requires and sets a formatter based on its class fully qualified name" do
|
350
|
+
config.should_receive(:require).with('rspec/custom_formatter2') do
|
351
|
+
RSpec.const_set("CustomFormatter2", Class.new(Formatters::BaseFormatter))
|
352
|
+
end
|
353
|
+
config.formatter = "RSpec::CustomFormatter2"
|
354
|
+
config.formatter.should be_an_instance_of(RSpec::CustomFormatter2)
|
355
|
+
end
|
356
|
+
|
357
|
+
it "raises NameError if class is unresolvable" do
|
358
|
+
config.should_receive(:require).with('rspec/custom_formatter3')
|
359
|
+
lambda { config.formatter = "RSpec::CustomFormatter3" }.should raise_error(NameError)
|
360
|
+
end
|
361
|
+
|
362
|
+
it "raises ArgumentError if formatter is unknown" do
|
363
|
+
lambda { config.formatter = :progresss }.should raise_error(ArgumentError)
|
364
|
+
end
|
365
|
+
|
366
|
+
end
|
367
|
+
|
368
|
+
describe "#filter_run" do
|
369
|
+
it "sets the filter" do
|
370
|
+
config.filter_run :focus => true
|
371
|
+
config.filter.should eq({:focus => true})
|
372
|
+
end
|
373
|
+
|
374
|
+
it "warns if :line_number is already a filter" do
|
375
|
+
config.filter_run :line_number => 100
|
376
|
+
config.should_receive(:warn).with(
|
377
|
+
"Filtering by {:focus=>true} is not possible since you " \
|
378
|
+
"are already filtering by {:line_number=>100}"
|
379
|
+
)
|
380
|
+
config.filter_run :focus => true
|
381
|
+
end
|
382
|
+
|
383
|
+
it "warns if :full_description is already a filter" do
|
384
|
+
config.filter_run :full_description => 'foo'
|
385
|
+
config.should_receive(:warn).with(
|
386
|
+
"Filtering by {:focus=>true} is not possible since you " \
|
387
|
+
"are already filtering by {:full_description=>\"foo\"}"
|
388
|
+
)
|
389
|
+
config.filter_run :focus => true
|
390
|
+
end
|
391
|
+
end
|
392
|
+
|
393
|
+
describe "#filter_run_excluding" do
|
394
|
+
it "sets the filter" do
|
395
|
+
config.filter_run_excluding :slow => true
|
396
|
+
config.exclusion_filter.should eq({:slow => true})
|
397
|
+
end
|
398
|
+
end
|
399
|
+
|
400
|
+
describe "line_number=" do
|
401
|
+
before { config.stub(:warn) }
|
402
|
+
|
403
|
+
it "sets the line number" do
|
404
|
+
config.line_number = '37'
|
405
|
+
config.filter.should == {:line_number => 37}
|
406
|
+
end
|
407
|
+
|
408
|
+
it "overrides :focused" do
|
409
|
+
config.filter_run :focused => true
|
410
|
+
config.line_number = '37'
|
411
|
+
config.filter.should == {:line_number => 37}
|
412
|
+
end
|
413
|
+
|
414
|
+
it "prevents :focused" do
|
415
|
+
config.line_number = '37'
|
416
|
+
config.filter_run :focused => true
|
417
|
+
config.filter.should == {:line_number => 37}
|
418
|
+
end
|
419
|
+
end
|
420
|
+
|
421
|
+
describe "#full_backtrace=" do
|
422
|
+
it "clears the backtrace clean patterns" do
|
423
|
+
config.full_backtrace = true
|
424
|
+
config.backtrace_clean_patterns.should == []
|
425
|
+
end
|
426
|
+
|
427
|
+
it "doesn't impact other instances of config" do
|
428
|
+
config_1 = Configuration.new
|
429
|
+
config_2 = Configuration.new
|
430
|
+
|
431
|
+
config_1.full_backtrace = true
|
432
|
+
config_2.backtrace_clean_patterns.should_not be_empty
|
433
|
+
end
|
434
|
+
end
|
435
|
+
|
436
|
+
describe "#debug=true" do
|
437
|
+
it "requires 'ruby-debug'" do
|
438
|
+
config.should_receive(:require).with('ruby-debug')
|
439
|
+
config.debug = true
|
440
|
+
end
|
441
|
+
end
|
442
|
+
|
443
|
+
describe "#debug=false" do
|
444
|
+
it "does not require 'ruby-debug'" do
|
445
|
+
config.should_not_receive(:require).with('ruby-debug')
|
446
|
+
config.debug = false
|
447
|
+
end
|
448
|
+
end
|
449
|
+
|
450
|
+
describe "#output=" do
|
451
|
+
it "sets the output" do
|
452
|
+
output = mock("output")
|
453
|
+
config.output = output
|
454
|
+
config.output.should equal(output)
|
455
|
+
end
|
456
|
+
end
|
457
|
+
|
458
|
+
describe "#libs=" do
|
459
|
+
it "adds directories to the LOAD_PATH" do
|
460
|
+
$LOAD_PATH.should_receive(:unshift).with("a/dir")
|
461
|
+
config.libs = ["a/dir"]
|
462
|
+
end
|
463
|
+
end
|
464
|
+
|
465
|
+
describe "#requires=" do
|
466
|
+
it "requires paths" do
|
467
|
+
config.should_receive(:require).with("a/path")
|
468
|
+
config.requires = ["a/path"]
|
469
|
+
end
|
470
|
+
end
|
471
|
+
|
472
|
+
describe "#add_setting" do
|
473
|
+
describe "with no modifiers" do
|
474
|
+
context "with no additional options" do
|
475
|
+
before { config.add_setting :custom_option }
|
476
|
+
|
477
|
+
it "defaults to nil" do
|
478
|
+
config.custom_option.should be_nil
|
479
|
+
end
|
480
|
+
|
481
|
+
it "adds a predicate" do
|
482
|
+
config.custom_option?.should be_false
|
483
|
+
end
|
484
|
+
|
485
|
+
it "can be overridden" do
|
486
|
+
config.custom_option = "a value"
|
487
|
+
config.custom_option.should eq("a value")
|
488
|
+
end
|
489
|
+
end
|
490
|
+
|
491
|
+
context "with :default => 'a value'" do
|
492
|
+
before { config.add_setting :custom_option, :default => 'a value' }
|
493
|
+
|
494
|
+
it "defaults to 'a value'" do
|
495
|
+
config.custom_option.should eq("a value")
|
496
|
+
end
|
497
|
+
|
498
|
+
it "returns true for the predicate" do
|
499
|
+
config.custom_option?.should be_true
|
500
|
+
end
|
501
|
+
|
502
|
+
it "can be overridden with a truthy value" do
|
503
|
+
config.custom_option = "a new value"
|
504
|
+
config.custom_option.should eq("a new value")
|
505
|
+
end
|
506
|
+
|
507
|
+
it "can be overridden with nil" do
|
508
|
+
config.custom_option = nil
|
509
|
+
config.custom_option.should eq(nil)
|
510
|
+
end
|
511
|
+
|
512
|
+
it "can be overridden with false" do
|
513
|
+
config.custom_option = false
|
514
|
+
config.custom_option.should eq(false)
|
515
|
+
end
|
516
|
+
end
|
517
|
+
end
|
518
|
+
|
519
|
+
context "with :alias => " do
|
520
|
+
before do
|
521
|
+
config.add_setting :custom_option
|
522
|
+
config.add_setting :another_custom_option, :alias => :custom_option
|
523
|
+
end
|
524
|
+
|
525
|
+
it "delegates the getter to the other option" do
|
526
|
+
config.another_custom_option = "this value"
|
527
|
+
config.custom_option.should == "this value"
|
528
|
+
end
|
529
|
+
|
530
|
+
it "delegates the setter to the other option" do
|
531
|
+
config.custom_option = "this value"
|
532
|
+
config.another_custom_option.should == "this value"
|
533
|
+
end
|
534
|
+
|
535
|
+
it "delegates the predicate to the other option" do
|
536
|
+
config.custom_option = true
|
537
|
+
config.another_custom_option?.should be_true
|
538
|
+
end
|
539
|
+
end
|
540
|
+
end
|
541
|
+
|
542
|
+
describe "#configure_group" do
|
543
|
+
it "extends with modules" do
|
544
|
+
mod = Module.new
|
545
|
+
group = ExampleGroup.describe("group", :foo => :bar)
|
546
|
+
|
547
|
+
config.extend(mod, :foo => :bar)
|
548
|
+
config.configure_group(group)
|
549
|
+
group.should be_a(mod)
|
550
|
+
end
|
551
|
+
|
552
|
+
it "includes modules" do
|
553
|
+
mod = Module.new
|
554
|
+
group = ExampleGroup.describe("group", :foo => :bar)
|
555
|
+
|
556
|
+
config.include(mod, :foo => :bar)
|
557
|
+
config.configure_group(group)
|
558
|
+
group.included_modules.should include(mod)
|
559
|
+
end
|
560
|
+
|
561
|
+
it "includes each one before deciding whether to include the next" do
|
562
|
+
mod1 = Module.new do
|
563
|
+
def self.included(host)
|
564
|
+
host.metadata[:foo] = :bar
|
565
|
+
end
|
566
|
+
end
|
567
|
+
mod2 = Module.new
|
568
|
+
|
569
|
+
group = ExampleGroup.describe("group")
|
570
|
+
|
571
|
+
config.include(mod1)
|
572
|
+
config.include(mod2, :foo => :bar)
|
573
|
+
config.configure_group(group)
|
574
|
+
group.included_modules.should include(mod1)
|
575
|
+
group.included_modules.should include(mod2)
|
576
|
+
end
|
577
|
+
end
|
578
|
+
end
|
579
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe "deprecations" do
|
4
|
+
describe "Spec" do
|
5
|
+
it "is deprecated" do
|
6
|
+
RSpec.should_receive(:warn_deprecation).with(/Spec .* RSpec/i)
|
7
|
+
Spec
|
8
|
+
end
|
9
|
+
|
10
|
+
it "returns RSpec" do
|
11
|
+
RSpec.stub(:warn_deprecation)
|
12
|
+
Spec.should == RSpec
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
describe RSpec::Core::ExampleGroup do
|
17
|
+
describe 'running_example' do
|
18
|
+
it 'is deprecated' do
|
19
|
+
RSpec.should_receive(:warn_deprecation).with(/running_example.*example/m)
|
20
|
+
self.running_example
|
21
|
+
end
|
22
|
+
|
23
|
+
it "delegates to example" do
|
24
|
+
RSpec.stub(:warn_deprecation)
|
25
|
+
running_example.should == example
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|