sshp 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +35 -0
- data/Rakefile +1 -0
- data/bin/sshp +16 -0
- data/bin/sshp-alias +17 -0
- data/lib/sshp.rb +3 -0
- data/lib/sshp/alias.rb +27 -0
- data/lib/sshp/version.rb +3 -0
- data/spec/spec_helper.rb +12 -0
- data/spec/sshp/alias_spec.rb +33 -0
- data/sshp.gemspec +24 -0
- data/vendor/ruby/1.9.1/bin/autospec +23 -0
- data/vendor/ruby/1.9.1/bin/coderay +23 -0
- data/vendor/ruby/1.9.1/bin/htmldiff +25 -0
- data/vendor/ruby/1.9.1/bin/ldiff +25 -0
- data/vendor/ruby/1.9.1/bin/pry +23 -0
- data/vendor/ruby/1.9.1/bin/rake +23 -0
- data/vendor/ruby/1.9.1/bin/rspec +23 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/README_INDEX.rdoc +123 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/Rakefile +35 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/bin/coderay +215 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay.rb +285 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/duo.rb +81 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoder.rb +201 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/_map.rb +17 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/comment_filter.rb +25 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/count.rb +39 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/debug.rb +61 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/div.rb +23 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/filter.rb +58 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/html.rb +327 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/html/css.rb +65 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/html/numbering.rb +103 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/html/output.rb +166 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/json.rb +83 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/lines_of_code.rb +45 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/null.rb +18 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/page.rb +24 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/span.rb +23 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/statistic.rb +96 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/terminal.rb +179 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/text.rb +46 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/token_kind_filter.rb +111 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/xml.rb +72 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/yaml.rb +50 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/for_redcloth.rb +95 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/helpers/file_type.rb +143 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/helpers/gzip.rb +41 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/helpers/plugin.rb +283 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/helpers/word_list.rb +72 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanner.rb +323 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/_map.rb +24 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/c.rb +189 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/clojure.rb +217 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/cpp.rb +215 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/css.rb +199 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/debug.rb +65 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/delphi.rb +144 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/diff.rb +199 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/erb.rb +81 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/groovy.rb +255 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/haml.rb +168 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/html.rb +253 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/java.rb +174 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/java/builtin_types.rb +421 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/java_script.rb +213 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/json.rb +95 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/php.rb +509 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/python.rb +287 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/raydebug.rb +66 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/ruby.rb +470 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/ruby/patterns.rb +175 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/ruby/string_state.rb +71 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/sql.rb +174 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/text.rb +26 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/xml.rb +17 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/yaml.rb +140 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/style.rb +23 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/styles/_map.rb +7 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/styles/alpha.rb +142 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/token_kinds.rb +90 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/tokens.rb +215 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/tokens_proxy.rb +55 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/version.rb +3 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/test/functional/basic.rb +320 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/test/functional/examples.rb +129 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/test/functional/for_redcloth.rb +84 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/test/functional/suite.rb +15 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/.autotest +3 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/.gemtest +0 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/.hoerc +2 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/.travis.yml +22 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/Contributing.rdoc +64 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/Gemfile +20 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/History.rdoc +146 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/License.rdoc +39 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/Manifest.txt +38 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/README.rdoc +85 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/Rakefile +39 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/autotest/discover.rb +1 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/bin/htmldiff +32 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/bin/ldiff +6 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/docs/COPYING.txt +339 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/docs/artistic.txt +127 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/lib/diff-lcs.rb +3 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/lib/diff/lcs.rb +805 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/lib/diff/lcs/array.rb +7 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/lib/diff/lcs/block.rb +37 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/lib/diff/lcs/callbacks.rb +322 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/lib/diff/lcs/change.rb +177 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/lib/diff/lcs/htmldiff.rb +149 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/lib/diff/lcs/hunk.rb +276 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/lib/diff/lcs/internals.rb +301 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/lib/diff/lcs/ldiff.rb +195 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/lib/diff/lcs/string.rb +5 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/spec/change_spec.rb +65 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/spec/diff_spec.rb +47 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/spec/hunk_spec.rb +72 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/spec/issues_spec.rb +24 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/spec/lcs_spec.rb +54 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/spec/patch_spec.rb +414 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/spec/sdiff_spec.rb +202 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/spec/spec_helper.rb +290 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/spec/traverse_balanced_spec.rb +310 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/spec/traverse_sequences_spec.rb +139 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/.gitignore +2 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/AUTHORS +3 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/CHANGELOG +346 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/COPYING +340 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/INSTALL +55 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/LICENSE +7 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/README.rdoc +63 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/Rakefile +50 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/TODO +6 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/examples/ansi_colors.rb +38 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/examples/asking_for_arrays.rb +18 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/examples/basic_usage.rb +75 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/examples/color_scheme.rb +32 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/examples/get_character.rb +12 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/examples/limit.rb +12 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/examples/menus.rb +65 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/examples/overwrite.rb +19 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/examples/page_and_wrap.rb +322 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/examples/password.rb +7 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/examples/repeat_entry.rb +21 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/examples/trapping_eof.rb +22 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/examples/using_readline.rb +17 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/highline.gemspec +37 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/lib/highline.rb +1012 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/lib/highline/color_scheme.rb +134 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/lib/highline/compatibility.rb +16 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/lib/highline/import.rb +41 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/lib/highline/menu.rb +398 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/lib/highline/question.rb +475 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/lib/highline/simulate.rb +48 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/lib/highline/string_extensions.rb +131 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/lib/highline/style.rb +181 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/lib/highline/system_extensions.rb +222 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/setup.rb +1360 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/site/.cvsignore +1 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/site/highline.css +65 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/site/images/logo.png +0 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/site/index.html +58 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/test/string_methods.rb +32 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/test/tc_color_scheme.rb +96 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/test/tc_highline.rb +1128 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/test/tc_import.rb +52 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/test/tc_menu.rb +439 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/test/tc_string_extension.rb +20 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/test/tc_string_highline.rb +38 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/test/tc_style.rb +567 -0
- data/vendor/ruby/1.9.1/gems/highline-1.6.19/test/ts_all.rb +16 -0
- data/vendor/ruby/1.9.1/gems/method_source-0.8.1/.gemtest +0 -0
- data/vendor/ruby/1.9.1/gems/method_source-0.8.1/.travis.yml +17 -0
- data/vendor/ruby/1.9.1/gems/method_source-0.8.1/.yardopts +1 -0
- data/vendor/ruby/1.9.1/gems/method_source-0.8.1/Gemfile +2 -0
- data/vendor/ruby/1.9.1/gems/method_source-0.8.1/LICENSE +25 -0
- data/vendor/ruby/1.9.1/gems/method_source-0.8.1/README.markdown +91 -0
- data/vendor/ruby/1.9.1/gems/method_source-0.8.1/Rakefile +79 -0
- data/vendor/ruby/1.9.1/gems/method_source-0.8.1/lib/method_source.rb +141 -0
- data/vendor/ruby/1.9.1/gems/method_source-0.8.1/lib/method_source/code_helpers.rb +139 -0
- data/vendor/ruby/1.9.1/gems/method_source-0.8.1/lib/method_source/source_location.rb +138 -0
- data/vendor/ruby/1.9.1/gems/method_source-0.8.1/lib/method_source/version.rb +3 -0
- data/vendor/ruby/1.9.1/gems/method_source-0.8.1/method_source.gemspec +33 -0
- data/vendor/ruby/1.9.1/gems/method_source-0.8.1/test/test.rb +138 -0
- data/vendor/ruby/1.9.1/gems/method_source-0.8.1/test/test_code_helpers.rb +41 -0
- data/vendor/ruby/1.9.1/gems/method_source-0.8.1/test/test_helper.rb +98 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/.document +2 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/.gitignore +16 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/.travis.yml +21 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/.yardopts +1 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/CHANGELOG +534 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/CONTRIBUTORS +55 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/Gemfile +9 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/Guardfile +62 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/LICENSE +25 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/README.markdown +400 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/Rakefile +140 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/TODO +117 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/bin/pry +16 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry.rb +271 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/cli.rb +202 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/code.rb +385 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/code/code_range.rb +70 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/code/loc.rb +92 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/code_object.rb +153 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/command.rb +689 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/command_set.rb +400 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands.rb +6 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/amend_line.rb +99 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/bang.rb +20 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/bang_pry.rb +17 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/cat.rb +53 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/cat/abstract_formatter.rb +27 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/cat/exception_formatter.rb +78 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/cat/file_formatter.rb +84 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/cat/input_expression_formatter.rb +43 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/cd.rb +30 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/code_collector.rb +165 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/disable_pry.rb +27 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/disabled_commands.rb +2 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/easter_eggs.rb +112 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/edit.rb +207 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/edit/exception_patcher.rb +25 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/edit/file_and_line_locator.rb +38 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/edit/method_patcher.rb +122 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/exit.rb +42 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/exit_all.rb +29 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/exit_program.rb +24 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/find_method.rb +199 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/fix_indent.rb +19 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/gem_cd.rb +26 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/gem_install.rb +29 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/gem_list.rb +33 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/gem_open.rb +29 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/gist.rb +102 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/help.rb +164 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/hist.rb +161 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/import_set.rb +22 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/install_command.rb +51 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/jump_to.rb +29 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/ls.rb +338 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/nesting.rb +25 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/play.rb +69 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/pry_backtrace.rb +26 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/pry_version.rb +17 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/raise_up.rb +32 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/reload_code.rb +65 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/reset.rb +18 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/ri.rb +56 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/save_file.rb +61 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/shell_command.rb +43 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/shell_mode.rb +27 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/show_doc.rb +78 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/show_info.rb +200 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/show_input.rb +17 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/show_source.rb +38 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/simple_prompt.rb +22 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/stat.rb +40 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/switch_to.rb +23 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/toggle_color.rb +20 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/whereami.rb +182 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/commands/wtf.rb +57 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/completion.rb +304 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/config.rb +244 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/core_extensions.rb +121 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/custom_completions.rb +6 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/editor.rb +129 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/helpers.rb +5 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/helpers/base_helpers.rb +200 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/helpers/command_helpers.rb +154 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/helpers/documentation_helpers.rb +76 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/helpers/options_helpers.rb +27 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/helpers/table.rb +109 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/helpers/text.rb +108 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/history.rb +122 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/history_array.rb +116 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/hooks.rb +250 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/indent.rb +406 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/method.rb +551 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/method/disowned.rb +53 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/method/weird_method_locator.rb +186 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/module_candidate.rb +146 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/pager.rb +90 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/plugins.rb +103 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/pry_class.rb +469 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/pry_instance.rb +763 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/rbx_method.rb +13 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/rbx_path.rb +22 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/repl_file_loader.rb +80 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/rubygem.rb +74 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/terminal.rb +78 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/test/helper.rb +185 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/version.rb +3 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/wrapped_module.rb +383 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/man/pry.1 +195 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/man/pry.1.html +204 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/man/pry.1.ronn +141 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/pry.gemspec +30 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/Procfile +3 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/cli_spec.rb +78 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/code_object_spec.rb +277 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/code_spec.rb +219 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/command_helpers_spec.rb +29 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/command_integration_spec.rb +644 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/command_set_spec.rb +627 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/command_spec.rb +821 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/commands/amend_line_spec.rb +247 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/commands/bang_spec.rb +19 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/commands/cat_spec.rb +164 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/commands/cd_spec.rb +250 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/commands/disable_pry_spec.rb +25 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/commands/edit_spec.rb +727 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/commands/exit_all_spec.rb +34 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/commands/exit_program_spec.rb +19 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/commands/exit_spec.rb +34 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/commands/find_method_spec.rb +70 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/commands/gem_list_spec.rb +26 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/commands/gist_spec.rb +79 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/commands/help_spec.rb +56 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/commands/hist_spec.rb +181 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/commands/jump_to_spec.rb +15 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/commands/ls_spec.rb +181 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/commands/play_spec.rb +140 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/commands/raise_up_spec.rb +56 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/commands/save_file_spec.rb +177 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/commands/show_doc_spec.rb +510 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/commands/show_input_spec.rb +17 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/commands/show_source_spec.rb +782 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/commands/whereami_spec.rb +203 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/completion_spec.rb +239 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/control_d_handler_spec.rb +58 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/documentation_helper_spec.rb +73 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/editor_spec.rb +79 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/exception_whitelist_spec.rb +21 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/fixtures/candidate_helper1.rb +11 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/fixtures/candidate_helper2.rb +8 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/fixtures/example.erb +5 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/fixtures/example_nesting.rb +33 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/fixtures/show_source_doc_examples.rb +15 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/fixtures/testrc +2 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/fixtures/testrcbad +2 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/fixtures/whereami_helper.rb +6 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/helper.rb +34 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/helpers/bacon.rb +86 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/helpers/mock_pry.rb +43 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/helpers/table_spec.rb +105 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/history_array_spec.rb +67 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/hooks_spec.rb +522 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/indent_spec.rb +301 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/input_stack_spec.rb +90 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/method_spec.rb +482 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/prompt_spec.rb +60 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/pry_defaults_spec.rb +419 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/pry_history_spec.rb +99 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/pry_output_spec.rb +95 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/pry_spec.rb +504 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/run_command_spec.rb +25 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/sticky_locals_spec.rb +157 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/syntax_checking_spec.rb +81 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/wrapped_module_spec.rb +261 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/wiki/Customizing-pry.md +397 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.2/wiki/Home.md +4 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/.gemtest +0 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/CHANGES +530 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/MIT-LICENSE +21 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/README.rdoc +187 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/Rakefile +375 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/TODO +21 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/bin/rake +33 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/install.rb +90 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake.rb +71 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/alt_system.rb +109 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb +681 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/backtrace.rb +19 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/clean.rb +32 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/cloneable.rb +16 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/contrib/compositepublisher.rb +21 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/contrib/ftptools.rb +151 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/contrib/publisher.rb +73 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/contrib/rubyforgepublisher.rb +16 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/contrib/sshpublisher.rb +50 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/contrib/sys.rb +1 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/default_loader.rb +10 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/dsl_definition.rb +156 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/early_time.rb +18 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/ext/core.rb +27 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/ext/module.rb +0 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/ext/string.rb +168 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/ext/time.rb +15 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/file_creation_task.rb +24 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/file_list.rb +410 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/file_task.rb +47 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/file_utils.rb +114 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/file_utils_ext.rb +143 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/gempackagetask.rb +1 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/invocation_chain.rb +51 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/invocation_exception_mixin.rb +16 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/loaders/makefile.rb +40 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/multi_task.rb +13 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/name_space.rb +25 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/packagetask.rb +185 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/pathmap.rb +1 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/phony.rb +15 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/private_reader.rb +20 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/promise.rb +99 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/pseudo_status.rb +24 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_module.rb +37 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb +22 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rdoctask.rb +1 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/ruby182_test_unit_fix.rb +25 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/runtest.rb +22 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/task.rb +368 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/task_argument_error.rb +7 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/task_arguments.rb +78 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/task_manager.rb +296 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/tasklib.rb +22 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/testtask.rb +198 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/thread_history_display.rb +48 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/thread_pool.rb +155 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/trace_output.rb +22 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/version.rb +13 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/win32.rb +55 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/file_creation.rb +34 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/helper.rb +562 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_private_reader.rb +42 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake.rb +40 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_application.rb +515 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_application_options.rb +455 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_backtrace.rb +89 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_clean.rb +14 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_definitions.rb +80 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_directory_task.rb +57 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_dsl.rb +40 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_early_time.rb +31 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_extension.rb +59 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_file_creation_task.rb +56 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_file_list.rb +628 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_file_list_path_map.rb +8 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_file_task.rb +122 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_file_utils.rb +305 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_ftp_file.rb +59 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_functional.rb +496 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_invocation_chain.rb +52 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_makefile_loader.rb +44 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_multi_task.rb +59 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_name_space.rb +43 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_package_task.rb +79 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_path_map.rb +157 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_path_map_explode.rb +34 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_path_map_partial.rb +18 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_pseudo_status.rb +21 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_rake_test_loader.rb +21 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_reduce_compat.rb +30 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_require.rb +40 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_rules.rb +327 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_task.rb +340 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_task_argument_parsing.rb +103 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_task_arguments.rb +88 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_task_lib.rb +9 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_task_manager.rb +157 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_task_manager_argument_resolution.rb +19 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_task_with_arguments.rb +171 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_test_task.rb +120 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_thread_pool.rb +122 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_top_level_functions.rb +71 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_win32.rb +72 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_thread_history_display.rb +91 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_trace_output.rb +50 -0
- data/vendor/ruby/1.9.1/gems/rspec-2.13.0/License.txt +24 -0
- data/vendor/ruby/1.9.1/gems/rspec-2.13.0/README.md +47 -0
- data/vendor/ruby/1.9.1/gems/rspec-2.13.0/lib/rspec.rb +4 -0
- data/vendor/ruby/1.9.1/gems/rspec-2.13.0/lib/rspec/version.rb +5 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/.document +5 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/.yardopts +6 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/Changelog.md +718 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/License.txt +24 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/README.md +261 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/exe/autospec +13 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/exe/rspec +25 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/Autotest.md +38 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/README.md +17 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/Upgrade.md +364 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/command_line/README.md +28 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/command_line/example_name_option.feature +97 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/command_line/exit_status.feature +82 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/command_line/format_option.feature +81 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/command_line/init.feature +18 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/command_line/line_number_appended_to_path.feature +140 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/command_line/line_number_option.feature +58 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/command_line/order.feature +29 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/command_line/pattern_option.feature +31 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/command_line/rake_task.feature +122 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/command_line/ruby.feature +22 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/command_line/tag.feature +98 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/configuration/alias_example_to.feature +48 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/configuration/backtrace_clean_patterns.feature +102 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/configuration/custom_settings.feature +84 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/configuration/default_path.feature +38 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/configuration/fail_fast.feature +77 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/configuration/failure_exit_code.feature +36 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/configuration/order_and_seed.feature +3 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/configuration/output_stream.feature +24 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/configuration/pattern.feature +30 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/configuration/profile.feature +163 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/configuration/read_options_from_file.feature +87 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/configuration/run_all_when_everything_filtered.feature +60 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/configuration/show_failures_in_pending_blocks.feature +61 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/configuration/treat_symbols_as_metadata_keys_with_true_values.feature +52 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/example_groups/basic_structure.feature +55 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/example_groups/shared_context.feature +74 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/example_groups/shared_examples.feature +222 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/expectation_framework_integration/configure_expectation_framework.feature +102 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/filtering/exclusion_filters.feature +138 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/filtering/if_and_unless.feature +168 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/filtering/inclusion_filters.feature +105 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/filtering/run_all_when_everything_filtered.feature +46 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/formatters/configurable_colors.feature +31 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/formatters/custom_formatter.feature +36 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/formatters/json_formatter.feature +30 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/formatters/text_formatter.feature +46 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/helper_methods/arbitrary_methods.feature +40 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/helper_methods/let.feature +50 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/helper_methods/modules.feature +149 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/hooks/around_hooks.feature +343 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/hooks/before_and_after_hooks.feature +427 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/hooks/filtering.feature +234 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/metadata/current_example.feature +17 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/metadata/described_class.feature +17 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/metadata/user_defined.feature +113 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/mock_framework_integration/use_any_framework.feature +106 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/mock_framework_integration/use_flexmock.feature +96 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/mock_framework_integration/use_mocha.feature +97 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/mock_framework_integration/use_rr.feature +98 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/mock_framework_integration/use_rspec.feature +97 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/pending/pending_examples.feature +229 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/spec_files/arbitrary_file_suffix.feature +13 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/step_definitions/additional_cli_steps.rb +49 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/subject/attribute_of_subject.feature +124 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/subject/explicit_subject.feature +101 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/subject/implicit_receiver.feature +29 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/subject/implicit_subject.feature +63 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/support/env.rb +14 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/autotest/discover.rb +1 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/autotest/rspec2.rb +73 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/autorun.rb +2 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core.rb +146 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/backward_compatibility.rb +65 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb +36 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/configuration.rb +1087 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/configuration_options.rb +144 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/deprecation.rb +36 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/drb_command_line.rb +26 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/drb_options.rb +87 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/dsl.rb +26 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/example.rb +331 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb +478 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/extensions/instance_eval_with_args.rb +44 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/extensions/kernel.rb +9 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/extensions/module_eval_with_args.rb +38 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/extensions/ordered.rb +27 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/filter_manager.rb +203 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/formatters.rb +55 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/formatters/base_formatter.rb +237 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/formatters/base_text_formatter.rb +292 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/formatters/documentation_formatter.rb +67 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/formatters/helpers.rb +103 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/formatters/html_formatter.rb +154 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/formatters/html_printer.rb +407 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/formatters/json_formatter.rb +73 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/formatters/progress_formatter.rb +32 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/formatters/snippet_extractor.rb +92 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/formatters/text_mate_formatter.rb +34 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/hooks.rb +489 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/load_path.rb +3 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/memoized_helpers.rb +501 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/metadata.rb +297 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/metadata_hash_builder.rb +97 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/mocking/with_absolutely_nothing.rb +11 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/mocking/with_flexmock.rb +27 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/mocking/with_mocha.rb +52 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/mocking/with_rr.rb +27 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/mocking/with_rspec.rb +27 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/option_parser.rb +208 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/pending.rb +108 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/project_initializer.rb +86 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/rake_task.rb +202 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/reporter.rb +102 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/ruby_project.rb +44 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb +87 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/shared_context.rb +49 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/shared_example_group.rb +144 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/version.rb +7 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/world.rb +128 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/autotest/discover_spec.rb +19 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/autotest/failed_results_re_spec.rb +45 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/autotest/rspec_spec.rb +133 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/command_line/order_spec.rb +204 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/command_line_spec.rb +108 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/command_line_spec_output.txt +0 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/configuration_options_spec.rb +398 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/configuration_spec.rb +1376 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/deprecations_spec.rb +75 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/drb_command_line_spec.rb +102 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/drb_options_spec.rb +193 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/dsl_spec.rb +25 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/example_group_spec.rb +1176 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/example_spec.rb +418 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/filter_manager_spec.rb +246 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/base_formatter_spec.rb +108 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/base_text_formatter_spec.rb +429 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/documentation_formatter_spec.rb +88 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/helpers_spec.rb +78 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html +398 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/html_formatted-1.8.7-rbx.html +577 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/html_formatted-1.8.7.html +409 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/html_formatted-1.9.2.html +416 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/html_formatted-1.9.3-jruby.html +410 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/html_formatted-1.9.3-rbx.html +577 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/html_formatted-1.9.3.html +416 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/html_formatted-2.0.0.html +416 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/html_formatter_spec.rb +94 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/json_formatter_spec.rb +110 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/progress_formatter_spec.rb +30 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/snippet_extractor_spec.rb +26 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/text_mate_formatted-1.8.7-jruby.html +398 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/text_mate_formatted-1.8.7-rbx.html +577 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/text_mate_formatted-1.8.7.html +409 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/text_mate_formatted-1.9.2.html +416 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/text_mate_formatted-1.9.3-jruby.html +398 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/text_mate_formatted-1.9.3-rbx.html +577 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/text_mate_formatted-1.9.3.html +416 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/text_mate_formatted-2.0.0.html +416 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/text_mate_formatter_spec.rb +95 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/hooks_filtering_spec.rb +227 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/hooks_spec.rb +267 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/kernel_extensions_spec.rb +9 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/memoized_helpers_spec.rb +642 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/metadata_spec.rb +486 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/option_parser_spec.rb +208 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/pending_example_spec.rb +220 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/project_initializer_spec.rb +130 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/rake_task_spec.rb +181 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/reporter_spec.rb +120 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/resources/a_bar.rb +0 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/resources/a_foo.rb +0 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/resources/a_spec.rb +1 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/resources/custom_example_group_runner.rb +14 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/resources/formatter_specs.rb +60 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/resources/utf8_encoded.rb +8 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/rspec_matchers_spec.rb +45 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/ruby_project_spec.rb +26 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/runner_spec.rb +82 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/shared_context_spec.rb +94 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/shared_example_group_spec.rb +96 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/world_spec.rb +144 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core_spec.rb +35 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/spec_helper.rb +132 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/support/config_options_helper.rb +15 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/support/helper_methods.rb +18 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/support/isolated_directory.rb +10 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/support/isolated_home_directory.rb +16 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/support/matchers.rb +65 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/support/shared_example_groups.rb +41 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/support/spec_files.rb +44 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/.document +5 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/.yardopts +6 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/Changelog.md +328 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/License.txt +23 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/README.md +228 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/README.md +49 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/Upgrade.md +53 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/README.md +90 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/be.feature +175 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/be_within.feature +48 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/cover.feature +47 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/end_with.feature +48 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/equality.feature +139 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/exist.feature +45 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/expect_change.feature +59 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/expect_error.feature +144 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/have.feature +109 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/include.feature +174 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/match.feature +52 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/operators.feature +227 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/predicates.feature +137 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/respond_to.feature +84 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/satisfy.feature +33 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/start_with.feature +48 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/throw_symbol.feature +91 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/types.feature +116 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/yield.feature +146 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/custom_matchers/access_running_example.feature +53 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/custom_matchers/define_diffable_matcher.feature +27 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/custom_matchers/define_matcher.feature +368 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/custom_matchers/define_matcher_outside_rspec.feature +38 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/custom_matchers/define_matcher_with_fluent_interface.feature +24 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/customized_message.feature +22 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/diffing.feature +85 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/implicit_docstrings.feature +52 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/step_definitions/additional_cli_steps.rb +22 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/support/env.rb +5 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/syntax_configuration.feature +68 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/test_frameworks/test_unit.feature +46 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec-expectations.rb +1 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/expectations.rb +47 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/expectations/deprecation.rb +38 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/expectations/differ.rb +115 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/expectations/errors.rb +9 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/expectations/expectation_target.rb +88 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/expectations/extensions.rb +2 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/expectations/extensions/array.rb +9 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/expectations/extensions/object.rb +39 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/expectations/fail_with.rb +69 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/expectations/handler.rb +63 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/expectations/syntax.rb +164 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/expectations/version.rb +8 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers.rb +699 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/be_close.rb +9 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in.rb +39 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/base_matcher.rb +68 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/be.rb +189 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/be_instance_of.rb +15 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/be_kind_of.rb +11 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/be_within.rb +55 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/change.rb +133 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/cover.rb +21 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/eq.rb +22 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/eql.rb +23 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/equal.rb +48 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/exist.rb +26 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/has.rb +48 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/have.rb +108 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/include.rb +69 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/match.rb +12 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/match_array.rb +51 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/raise_error.rb +107 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/respond_to.rb +74 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/satisfy.rb +30 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/start_and_end_with.rb +48 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/throw_symbol.rb +94 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/yield.rb +221 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/compatibility.rb +14 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/configuration.rb +108 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/dsl.rb +24 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/extensions/instance_eval_with_args.rb +39 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/generated_descriptions.rb +35 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/matcher.rb +300 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/method_missing.rb +12 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/operator_matcher.rb +109 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/pretty.rb +64 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/expectations/differ_spec.rb +170 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/expectations/expectation_target_spec.rb +75 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/expectations/extensions/kernel_spec.rb +67 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/expectations/fail_with_spec.rb +95 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/expectations/handler_spec.rb +206 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/expectations/syntax_spec.rb +97 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/base_matcher_spec.rb +62 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/be_close_spec.rb +22 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/be_instance_of_spec.rb +63 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/be_kind_of_spec.rb +41 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/be_spec.rb +516 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/be_within_spec.rb +129 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/change_spec.rb +542 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/configuration_spec.rb +238 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/cover_spec.rb +69 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/description_generation_spec.rb +176 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/dsl_spec.rb +57 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/eq_spec.rb +60 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/eql_spec.rb +41 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/equal_spec.rb +78 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/exist_spec.rb +124 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/has_spec.rb +122 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/have_spec.rb +445 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/include_matcher_integration_spec.rb +30 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/include_spec.rb +531 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/match_array_spec.rb +194 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/match_spec.rb +61 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/matcher_spec.rb +471 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/matchers_spec.rb +37 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/method_missing_spec.rb +28 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/operator_matcher_spec.rb +223 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/raise_error_spec.rb +395 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/respond_to_spec.rb +292 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/satisfy_spec.rb +44 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/start_with_end_with_spec.rb +186 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/throw_symbol_spec.rb +116 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/yield_spec.rb +437 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/spec_helper.rb +54 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/support/classes.rb +56 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/support/in_sub_process.rb +38 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/support/matchers.rb +22 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/support/ruby_version.rb +10 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/support/shared_examples.rb +13 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/.document +5 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/.yardopts +6 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/Changelog.md +306 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/License.txt +23 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/README.md +315 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/README.md +67 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/Scope.md +17 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/Upgrade.md +22 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/argument_matchers/README.md +27 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/argument_matchers/explicit.feature +60 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/argument_matchers/general_matchers.feature +85 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/argument_matchers/type_matchers.feature +27 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/message_expectations/README.md +73 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/message_expectations/any_instance.feature +21 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/message_expectations/block_local_expectations.feature.pending +55 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/message_expectations/call_original.feature +24 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/message_expectations/expect_message.feature +94 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/message_expectations/receive_counts.feature +209 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/message_expectations/warn_when_expectation_is_set_on_nil.feature +50 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/method_stubs/README.md +47 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/method_stubs/any_instance.feature +132 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/method_stubs/as_null_object.feature +35 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/method_stubs/simple_return_value.feature +64 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/method_stubs/stub_chain.feature +51 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/method_stubs/stub_implementation.feature +26 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/method_stubs/to_ary.feature +47 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/mutating_constants/README.md +82 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/mutating_constants/hiding_defined_constant.feature +64 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/mutating_constants/stub_defined_constant.feature +79 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/mutating_constants/stub_undefined_constant.feature +50 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/outside_rspec/configuration.feature +82 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/outside_rspec/standalone.feature +33 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/step_definitions/additional_cli_steps.rb +4 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/support/env.rb +13 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks.rb +82 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/any_instance.rb +81 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/any_instance/chain.rb +78 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/any_instance/expectation_chain.rb +66 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/any_instance/message_chains.rb +60 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/any_instance/recorder.rb +204 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/any_instance/stub_chain.rb +37 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/any_instance/stub_chain_chain.rb +25 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/argument_list_matcher.rb +93 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/argument_matchers.rb +238 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/configuration.rb +28 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/error_generator.rb +120 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/errors.rb +12 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/example_methods.rb +120 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/extensions/instance_exec.rb +34 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/extensions/marshal.rb +23 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/extensions/psych.rb +23 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/framework.rb +22 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/instance_method_stasher.rb +85 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/message_expectation.rb +567 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/method_double.rb +267 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/methods.rb +155 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/mock.rb +7 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/mutate_const.rb +415 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/order_group.rb +40 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/proxy.rb +205 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/serialization.rb +34 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/space.rb +34 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/test_double.rb +103 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/version.rb +7 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/spec/mocks.rb +6 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/and_call_original_spec.rb +235 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/and_yield_spec.rb +127 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/any_instance/message_chains_spec.rb +40 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/any_instance_spec.rb +925 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/any_number_of_times_spec.rb +30 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/argument_expectation_spec.rb +34 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/at_least_spec.rb +142 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/at_most_spec.rb +90 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/block_return_value_spec.rb +53 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/bug_report_10260_spec.rb +8 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/bug_report_10263_spec.rb +27 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/bug_report_11545_spec.rb +32 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/bug_report_496_spec.rb +17 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/bug_report_600_spec.rb +22 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/bug_report_7611_spec.rb +16 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/bug_report_8165_spec.rb +31 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/bug_report_830_spec.rb +21 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/bug_report_957_spec.rb +22 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/combining_implementation_instructions_spec.rb +197 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/configuration_spec.rb +26 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/double_spec.rb +12 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/failing_argument_matchers_spec.rb +94 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/hash_excluding_matcher_spec.rb +67 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/hash_including_matcher_spec.rb +90 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/instance_method_stasher_spec.rb +58 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/mock_ordering_spec.rb +103 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/mock_space_spec.rb +58 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/mock_spec.rb +734 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/multiple_return_value_spec.rb +132 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/mutate_const_spec.rb +481 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/nil_expectation_warning_spec.rb +62 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/null_object_mock_spec.rb +107 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/once_counts_spec.rb +52 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/options_hash_spec.rb +35 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/partial_mock_spec.rb +196 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/partial_mock_using_mocks_directly_spec.rb +95 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/passing_argument_matchers_spec.rb +142 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/precise_counts_spec.rb +68 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/record_messages_spec.rb +26 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/serialization_spec.rb +110 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/stash_spec.rb +54 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/stub_chain_spec.rb +154 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/stub_implementation_spec.rb +81 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/stub_spec.rb +279 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/stubbed_message_expectations_spec.rb +58 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/test_double_spec.rb +57 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/to_ary_spec.rb +40 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/twice_counts_spec.rb +66 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks_spec.rb +67 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/spec_helper.rb +36 -0
- data/vendor/ruby/1.9.1/gems/slop-3.4.5/.gitignore +7 -0
- data/vendor/ruby/1.9.1/gems/slop-3.4.5/.travis.yml +12 -0
- data/vendor/ruby/1.9.1/gems/slop-3.4.5/CHANGES.md +290 -0
- data/vendor/ruby/1.9.1/gems/slop-3.4.5/Gemfile +3 -0
- data/vendor/ruby/1.9.1/gems/slop-3.4.5/LICENSE +20 -0
- data/vendor/ruby/1.9.1/gems/slop-3.4.5/README.md +182 -0
- data/vendor/ruby/1.9.1/gems/slop-3.4.5/Rakefile +29 -0
- data/vendor/ruby/1.9.1/gems/slop-3.4.5/lib/slop.rb +689 -0
- data/vendor/ruby/1.9.1/gems/slop-3.4.5/lib/slop/commands.rb +196 -0
- data/vendor/ruby/1.9.1/gems/slop-3.4.5/lib/slop/option.rb +208 -0
- data/vendor/ruby/1.9.1/gems/slop-3.4.5/slop.gemspec +17 -0
- data/vendor/ruby/1.9.1/gems/slop-3.4.5/test/commands_test.rb +26 -0
- data/vendor/ruby/1.9.1/gems/slop-3.4.5/test/helper.rb +12 -0
- data/vendor/ruby/1.9.1/gems/slop-3.4.5/test/option_test.rb +134 -0
- data/vendor/ruby/1.9.1/gems/slop-3.4.5/test/slop_test.rb +497 -0
- data/vendor/ruby/1.9.1/specifications/coderay-1.0.9.gemspec +32 -0
- data/vendor/ruby/1.9.1/specifications/diff-lcs-1.2.4.gemspec +64 -0
- data/vendor/ruby/1.9.1/specifications/highline-1.6.19.gemspec +30 -0
- data/vendor/ruby/1.9.1/specifications/method_source-0.8.1.gemspec +31 -0
- data/vendor/ruby/1.9.1/specifications/pry-0.9.12.2.gemspec +54 -0
- data/vendor/ruby/1.9.1/specifications/rake-10.0.4.gemspec +35 -0
- data/vendor/ruby/1.9.1/specifications/rspec-2.13.0.gemspec +39 -0
- data/vendor/ruby/1.9.1/specifications/rspec-core-2.13.1.gemspec +58 -0
- data/vendor/ruby/1.9.1/specifications/rspec-expectations-2.13.0.gemspec +40 -0
- data/vendor/ruby/1.9.1/specifications/rspec-mocks-2.13.1.gemspec +37 -0
- data/vendor/ruby/1.9.1/specifications/slop-3.4.5.gemspec +33 -0
- metadata +1105 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
= Rake Project -- To Do List
|
|
2
|
+
|
|
3
|
+
Send suggestions for this list to mailto:jim@weirichhouse.org or on
|
|
4
|
+
the rake-devel@rubyforge.org mailing list.
|
|
5
|
+
|
|
6
|
+
=== To Do
|
|
7
|
+
* Need a nice API for accessing tasks in namespaces, namespaces in an app, etc.
|
|
8
|
+
* Provide a way to disable -w warning mode.
|
|
9
|
+
* Define a set of default rules that work in the absence of any Rakefile
|
|
10
|
+
* What about cyclic dependencies?
|
|
11
|
+
* Java support utilities
|
|
12
|
+
* Installation support utilities
|
|
13
|
+
* Check out installpkg.rb
|
|
14
|
+
* Autogenerate Dependencies
|
|
15
|
+
* Rules should apply to existing tasks if no actions are defined.
|
|
16
|
+
* How to create multiple package tasks without task name collision?
|
|
17
|
+
* Trap "ln -s" commands that fail and use "cp" instead (SMB mounted
|
|
18
|
+
drives have problems with "ln -s".
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
(moved DONE list to CHANGES file)
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
#--
|
|
4
|
+
# Copyright (c) 2003, 2004, 2005, 2006, 2007 Jim Weirich
|
|
5
|
+
#
|
|
6
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
# of this software and associated documentation files (the "Software"), to
|
|
8
|
+
# deal in the Software without restriction, including without limitation the
|
|
9
|
+
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
10
|
+
# sell copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
# furnished to do so, subject to the following conditions:
|
|
12
|
+
#
|
|
13
|
+
# The above copyright notice and this permission notice shall be included in
|
|
14
|
+
# all copies or substantial portions of the Software.
|
|
15
|
+
#
|
|
16
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
21
|
+
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
22
|
+
# IN THE SOFTWARE.
|
|
23
|
+
#++
|
|
24
|
+
|
|
25
|
+
begin
|
|
26
|
+
require 'rubygems'
|
|
27
|
+
gem 'rake'
|
|
28
|
+
rescue LoadError
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
require 'rake'
|
|
32
|
+
|
|
33
|
+
Rake.application.run
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
require 'rbconfig'
|
|
2
|
+
require 'find'
|
|
3
|
+
require 'fileutils'
|
|
4
|
+
|
|
5
|
+
include RbConfig
|
|
6
|
+
|
|
7
|
+
$ruby = CONFIG['ruby_install_name']
|
|
8
|
+
|
|
9
|
+
##
|
|
10
|
+
# Install a binary file. We patch in on the way through to
|
|
11
|
+
# insert a #! line. If this is a Unix install, we name
|
|
12
|
+
# the command (for example) 'rake' and let the shebang line
|
|
13
|
+
# handle running it. Under windows, we add a '.rb' extension
|
|
14
|
+
# and let file associations to their stuff
|
|
15
|
+
#
|
|
16
|
+
|
|
17
|
+
def installBIN(from, opfile)
|
|
18
|
+
|
|
19
|
+
tmp_dir = nil
|
|
20
|
+
for t in [".", "/tmp", "c:/temp", $bindir]
|
|
21
|
+
stat = File.stat(t) rescue next
|
|
22
|
+
if stat.directory? and stat.writable?
|
|
23
|
+
tmp_dir = t
|
|
24
|
+
break
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
fail "Cannot find a temporary directory" unless tmp_dir
|
|
29
|
+
tmp_file = File.join(tmp_dir, "_tmp")
|
|
30
|
+
|
|
31
|
+
File.open(from) do |ip|
|
|
32
|
+
File.open(tmp_file, "w") do |op|
|
|
33
|
+
ruby = File.join($realbindir, $ruby)
|
|
34
|
+
op.puts "#!#{ruby} -w"
|
|
35
|
+
op.write ip.read
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
opfile += ".rb" if CONFIG["target_os"] =~ /mswin/i
|
|
40
|
+
FileUtils.install(tmp_file, File.join($bindir, opfile),
|
|
41
|
+
{:mode => 0755, :verbose => true})
|
|
42
|
+
File.unlink(tmp_file)
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
$sitedir = CONFIG["sitelibdir"]
|
|
46
|
+
unless $sitedir
|
|
47
|
+
version = CONFIG["MAJOR"]+"."+CONFIG["MINOR"]
|
|
48
|
+
$libdir = File.join(CONFIG["libdir"], "ruby", version)
|
|
49
|
+
$sitedir = $:.find {|x| x =~ /site_ruby/}
|
|
50
|
+
if !$sitedir
|
|
51
|
+
$sitedir = File.join($libdir, "site_ruby")
|
|
52
|
+
elsif $sitedir !~ Regexp.quote(version)
|
|
53
|
+
$sitedir = File.join($sitedir, version)
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
$bindir = CONFIG["bindir"]
|
|
58
|
+
|
|
59
|
+
$realbindir = $bindir
|
|
60
|
+
|
|
61
|
+
bindir = CONFIG["bindir"]
|
|
62
|
+
if (destdir = ENV['DESTDIR'])
|
|
63
|
+
$bindir = destdir + $bindir
|
|
64
|
+
$sitedir = destdir + $sitedir
|
|
65
|
+
|
|
66
|
+
FileUtils.mkdir_p($bindir)
|
|
67
|
+
FileUtils.mkdir_p($sitedir)
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
rake_dest = File.join($sitedir, "rake")
|
|
71
|
+
FileUtils.mkdir_p(rake_dest, {:verbose => true})
|
|
72
|
+
File.chmod(0755, rake_dest)
|
|
73
|
+
|
|
74
|
+
# The library files
|
|
75
|
+
|
|
76
|
+
files = Dir.chdir('lib') { Dir['**/*.rb'].sort }
|
|
77
|
+
|
|
78
|
+
for fn in files
|
|
79
|
+
fn_dir = File.dirname(fn)
|
|
80
|
+
target_dir = File.join($sitedir, fn_dir)
|
|
81
|
+
if ! File.exist?(target_dir)
|
|
82
|
+
FileUtils.mkdir_p(target_dir)
|
|
83
|
+
end
|
|
84
|
+
FileUtils.install(File.join('lib', fn), File.join($sitedir, fn),
|
|
85
|
+
{:mode => 0644, :verbose => true})
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# and the executable
|
|
89
|
+
|
|
90
|
+
installBIN("bin/rake", "rake")
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
#--
|
|
2
|
+
|
|
3
|
+
# Copyright 2003-2010 by Jim Weirich (jim.weirich@gmail.com)
|
|
4
|
+
#
|
|
5
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
# of this software and associated documentation files (the "Software"), to
|
|
7
|
+
# deal in the Software without restriction, including without limitation the
|
|
8
|
+
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
9
|
+
# sell copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
# furnished to do so, subject to the following conditions:
|
|
11
|
+
#
|
|
12
|
+
# The above copyright notice and this permission notice shall be included in
|
|
13
|
+
# all copies or substantial portions of the Software.
|
|
14
|
+
#
|
|
15
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
20
|
+
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
21
|
+
# IN THE SOFTWARE.
|
|
22
|
+
#++
|
|
23
|
+
|
|
24
|
+
require 'rake/version'
|
|
25
|
+
|
|
26
|
+
# :stopdoc:
|
|
27
|
+
RAKEVERSION = Rake::VERSION
|
|
28
|
+
# :startdoc:
|
|
29
|
+
|
|
30
|
+
require 'rbconfig'
|
|
31
|
+
require 'fileutils'
|
|
32
|
+
require 'singleton'
|
|
33
|
+
require 'monitor'
|
|
34
|
+
require 'optparse'
|
|
35
|
+
require 'ostruct'
|
|
36
|
+
|
|
37
|
+
require 'rake/ext/module'
|
|
38
|
+
require 'rake/ext/string'
|
|
39
|
+
require 'rake/ext/time'
|
|
40
|
+
|
|
41
|
+
require 'rake/win32'
|
|
42
|
+
|
|
43
|
+
require 'rake/task_argument_error'
|
|
44
|
+
require 'rake/rule_recursion_overflow_error'
|
|
45
|
+
require 'rake/rake_module'
|
|
46
|
+
require 'rake/trace_output'
|
|
47
|
+
require 'rake/pseudo_status'
|
|
48
|
+
require 'rake/task_arguments'
|
|
49
|
+
require 'rake/invocation_chain'
|
|
50
|
+
require 'rake/task'
|
|
51
|
+
require 'rake/file_task'
|
|
52
|
+
require 'rake/file_creation_task'
|
|
53
|
+
require 'rake/multi_task'
|
|
54
|
+
require 'rake/dsl_definition'
|
|
55
|
+
require 'rake/file_utils_ext'
|
|
56
|
+
require 'rake/file_list'
|
|
57
|
+
require 'rake/default_loader'
|
|
58
|
+
require 'rake/early_time'
|
|
59
|
+
require 'rake/name_space'
|
|
60
|
+
require 'rake/task_manager'
|
|
61
|
+
require 'rake/application'
|
|
62
|
+
require 'rake/backtrace'
|
|
63
|
+
|
|
64
|
+
$trace = false
|
|
65
|
+
|
|
66
|
+
# :stopdoc:
|
|
67
|
+
#
|
|
68
|
+
# Some top level Constants.
|
|
69
|
+
|
|
70
|
+
FileList = Rake::FileList
|
|
71
|
+
RakeFileUtils = Rake::FileUtilsExt
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
#
|
|
2
|
+
# Copyright (c) 2008 James M. Lawrence
|
|
3
|
+
#
|
|
4
|
+
# Permission is hereby granted, free of charge, to any person
|
|
5
|
+
# obtaining a copy of this software and associated documentation files
|
|
6
|
+
# (the "Software"), to deal in the Software without restriction,
|
|
7
|
+
# including without limitation the rights to use, copy, modify, merge,
|
|
8
|
+
# publish, distribute, sublicense, and/or sell copies of the Software,
|
|
9
|
+
# and to permit persons to whom the Software is furnished to do so,
|
|
10
|
+
# subject to the following conditions:
|
|
11
|
+
#
|
|
12
|
+
# The above copyright notice and this permission notice shall be
|
|
13
|
+
# included in all copies or substantial portions of the Software.
|
|
14
|
+
#
|
|
15
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
16
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
17
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
18
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
|
19
|
+
# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
|
20
|
+
# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
21
|
+
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
# SOFTWARE.
|
|
23
|
+
#
|
|
24
|
+
|
|
25
|
+
require 'rbconfig'
|
|
26
|
+
|
|
27
|
+
#
|
|
28
|
+
# Alternate implementations of system() and backticks `` on Windows
|
|
29
|
+
# for ruby-1.8 and earlier.
|
|
30
|
+
#
|
|
31
|
+
module Rake::AltSystem
|
|
32
|
+
WINDOWS = RbConfig::CONFIG["host_os"] =~
|
|
33
|
+
%r!(msdos|mswin|djgpp|mingw|[Ww]indows)!
|
|
34
|
+
|
|
35
|
+
class << self
|
|
36
|
+
def define_module_function(name, &block)
|
|
37
|
+
define_method(name, &block)
|
|
38
|
+
module_function(name)
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
if WINDOWS and RUBY_VERSION < "1.9.0"
|
|
43
|
+
RUNNABLE_EXTS = %w[com exe bat cmd]
|
|
44
|
+
RUNNABLE_PATTERN = %r!\.(#{RUNNABLE_EXTS.join('|')})\Z!i
|
|
45
|
+
|
|
46
|
+
define_module_function :kernel_system, &Kernel.method(:system)
|
|
47
|
+
define_module_function :kernel_backticks, &Kernel.method(:'`')
|
|
48
|
+
|
|
49
|
+
module_function
|
|
50
|
+
|
|
51
|
+
def repair_command(cmd)
|
|
52
|
+
"call " + (
|
|
53
|
+
if cmd =~ %r!\A\s*\".*?\"!
|
|
54
|
+
# already quoted
|
|
55
|
+
cmd
|
|
56
|
+
elsif match = cmd.match(%r!\A\s*(\S+)!)
|
|
57
|
+
if match[1] =~ %r!/!
|
|
58
|
+
# avoid x/y.bat interpretation as x with option /y
|
|
59
|
+
%Q!"#{match[1]}"! + match.post_match
|
|
60
|
+
else
|
|
61
|
+
# a shell command will fail if quoted
|
|
62
|
+
cmd
|
|
63
|
+
end
|
|
64
|
+
else
|
|
65
|
+
# empty or whitespace
|
|
66
|
+
cmd
|
|
67
|
+
end
|
|
68
|
+
)
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
def find_runnable(file)
|
|
72
|
+
if file =~ RUNNABLE_PATTERN
|
|
73
|
+
file
|
|
74
|
+
else
|
|
75
|
+
RUNNABLE_EXTS.each { |ext|
|
|
76
|
+
if File.exist?(test = "#{file}.#{ext}")
|
|
77
|
+
return test
|
|
78
|
+
end
|
|
79
|
+
}
|
|
80
|
+
nil
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
def system(cmd, *args)
|
|
85
|
+
repaired = (
|
|
86
|
+
if args.empty?
|
|
87
|
+
[repair_command(cmd)]
|
|
88
|
+
elsif runnable = find_runnable(cmd)
|
|
89
|
+
[File.expand_path(runnable), *args]
|
|
90
|
+
else
|
|
91
|
+
# non-existent file
|
|
92
|
+
[cmd, *args]
|
|
93
|
+
end
|
|
94
|
+
)
|
|
95
|
+
kernel_system(*repaired)
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
def backticks(cmd)
|
|
99
|
+
kernel_backticks(repair_command(cmd))
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
define_module_function :'`', &method(:backticks)
|
|
103
|
+
else
|
|
104
|
+
# Non-Windows or ruby-1.9+: same as Kernel versions
|
|
105
|
+
define_module_function :system, &Kernel.method(:system)
|
|
106
|
+
define_module_function :backticks, &Kernel.method(:'`')
|
|
107
|
+
define_module_function :'`', &Kernel.method(:'`')
|
|
108
|
+
end
|
|
109
|
+
end
|
|
@@ -0,0 +1,681 @@
|
|
|
1
|
+
require 'shellwords'
|
|
2
|
+
require 'optparse'
|
|
3
|
+
|
|
4
|
+
require 'rake/task_manager'
|
|
5
|
+
require 'rake/file_list'
|
|
6
|
+
require 'rake/thread_pool'
|
|
7
|
+
require 'rake/thread_history_display'
|
|
8
|
+
require 'rake/trace_output'
|
|
9
|
+
require 'rake/win32'
|
|
10
|
+
|
|
11
|
+
module Rake
|
|
12
|
+
|
|
13
|
+
CommandLineOptionError = Class.new(StandardError)
|
|
14
|
+
|
|
15
|
+
######################################################################
|
|
16
|
+
# Rake main application object. When invoking +rake+ from the
|
|
17
|
+
# command line, a Rake::Application object is created and run.
|
|
18
|
+
#
|
|
19
|
+
class Application
|
|
20
|
+
include TaskManager
|
|
21
|
+
include TraceOutput
|
|
22
|
+
|
|
23
|
+
# The name of the application (typically 'rake')
|
|
24
|
+
attr_reader :name
|
|
25
|
+
|
|
26
|
+
# The original directory where rake was invoked.
|
|
27
|
+
attr_reader :original_dir
|
|
28
|
+
|
|
29
|
+
# Name of the actual rakefile used.
|
|
30
|
+
attr_reader :rakefile
|
|
31
|
+
|
|
32
|
+
# Number of columns on the terminal
|
|
33
|
+
attr_accessor :terminal_columns
|
|
34
|
+
|
|
35
|
+
# List of the top level task names (task names from the command line).
|
|
36
|
+
attr_reader :top_level_tasks
|
|
37
|
+
|
|
38
|
+
DEFAULT_RAKEFILES = ['rakefile', 'Rakefile', 'rakefile.rb', 'Rakefile.rb'].freeze
|
|
39
|
+
|
|
40
|
+
# Initialize a Rake::Application object.
|
|
41
|
+
def initialize
|
|
42
|
+
super
|
|
43
|
+
@name = 'rake'
|
|
44
|
+
@rakefiles = DEFAULT_RAKEFILES.dup
|
|
45
|
+
@rakefile = nil
|
|
46
|
+
@pending_imports = []
|
|
47
|
+
@imported = []
|
|
48
|
+
@loaders = {}
|
|
49
|
+
@default_loader = Rake::DefaultLoader.new
|
|
50
|
+
@original_dir = Dir.pwd
|
|
51
|
+
@top_level_tasks = []
|
|
52
|
+
add_loader('rb', DefaultLoader.new)
|
|
53
|
+
add_loader('rf', DefaultLoader.new)
|
|
54
|
+
add_loader('rake', DefaultLoader.new)
|
|
55
|
+
@tty_output = STDOUT.tty?
|
|
56
|
+
@terminal_columns = ENV['RAKE_COLUMNS'].to_i
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# Run the Rake application. The run method performs the following
|
|
60
|
+
# three steps:
|
|
61
|
+
#
|
|
62
|
+
# * Initialize the command line options (+init+).
|
|
63
|
+
# * Define the tasks (+load_rakefile+).
|
|
64
|
+
# * Run the top level tasks (+top_level+).
|
|
65
|
+
#
|
|
66
|
+
# If you wish to build a custom rake command, you should call
|
|
67
|
+
# +init+ on your application. Then define any tasks. Finally,
|
|
68
|
+
# call +top_level+ to run your top level tasks.
|
|
69
|
+
def run
|
|
70
|
+
standard_exception_handling do
|
|
71
|
+
init
|
|
72
|
+
load_rakefile
|
|
73
|
+
top_level
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# Initialize the command line parameters and app name.
|
|
78
|
+
def init(app_name='rake')
|
|
79
|
+
standard_exception_handling do
|
|
80
|
+
@name = app_name
|
|
81
|
+
handle_options
|
|
82
|
+
collect_tasks
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
# Find the rakefile and then load it and any pending imports.
|
|
87
|
+
def load_rakefile
|
|
88
|
+
standard_exception_handling do
|
|
89
|
+
raw_load_rakefile
|
|
90
|
+
end
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
# Run the top level tasks of a Rake application.
|
|
94
|
+
def top_level
|
|
95
|
+
run_with_threads do
|
|
96
|
+
if options.show_tasks
|
|
97
|
+
display_tasks_and_comments
|
|
98
|
+
elsif options.show_prereqs
|
|
99
|
+
display_prerequisites
|
|
100
|
+
else
|
|
101
|
+
top_level_tasks.each { |task_name| invoke_task(task_name) }
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
# Run the given block with the thread startup and shutdown.
|
|
107
|
+
def run_with_threads
|
|
108
|
+
thread_pool.gather_history if options.job_stats == :history
|
|
109
|
+
|
|
110
|
+
yield
|
|
111
|
+
|
|
112
|
+
thread_pool.join
|
|
113
|
+
if options.job_stats
|
|
114
|
+
stats = thread_pool.statistics
|
|
115
|
+
puts "Maximum active threads: #{stats[:max_active_threads]}"
|
|
116
|
+
puts "Total threads in play: #{stats[:total_threads_in_play]}"
|
|
117
|
+
end
|
|
118
|
+
ThreadHistoryDisplay.new(thread_pool.history).show if options.job_stats == :history
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
# Add a loader to handle imported files ending in the extension
|
|
122
|
+
# +ext+.
|
|
123
|
+
def add_loader(ext, loader)
|
|
124
|
+
ext = ".#{ext}" unless ext =~ /^\./
|
|
125
|
+
@loaders[ext] = loader
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
# Application options from the command line
|
|
129
|
+
def options
|
|
130
|
+
@options ||= OpenStruct.new
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
# Return the thread pool used for multithreaded processing.
|
|
134
|
+
def thread_pool # :nodoc:
|
|
135
|
+
@thread_pool ||= ThreadPool.new(options.thread_pool_size||FIXNUM_MAX)
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
# private ----------------------------------------------------------------
|
|
139
|
+
|
|
140
|
+
def invoke_task(task_string)
|
|
141
|
+
name, args = parse_task_string(task_string)
|
|
142
|
+
t = self[name]
|
|
143
|
+
t.invoke(*args)
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
def parse_task_string(string)
|
|
147
|
+
if string =~ /^([^\[]+)(\[(.*)\])$/
|
|
148
|
+
name = $1
|
|
149
|
+
args = $3.split(/\s*,\s*/)
|
|
150
|
+
else
|
|
151
|
+
name = string
|
|
152
|
+
args = []
|
|
153
|
+
end
|
|
154
|
+
[name, args]
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
# Provide standard exception handling for the given block.
|
|
158
|
+
def standard_exception_handling
|
|
159
|
+
begin
|
|
160
|
+
yield
|
|
161
|
+
rescue SystemExit => ex
|
|
162
|
+
# Exit silently with current status
|
|
163
|
+
raise
|
|
164
|
+
rescue OptionParser::InvalidOption => ex
|
|
165
|
+
$stderr.puts ex.message
|
|
166
|
+
exit(false)
|
|
167
|
+
rescue Exception => ex
|
|
168
|
+
# Exit with error message
|
|
169
|
+
display_error_message(ex)
|
|
170
|
+
exit_because_of_exception(ex)
|
|
171
|
+
end
|
|
172
|
+
end
|
|
173
|
+
|
|
174
|
+
# Exit the program because of an unhandle exception.
|
|
175
|
+
# (may be overridden by subclasses)
|
|
176
|
+
def exit_because_of_exception(ex)
|
|
177
|
+
exit(false)
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
# Display the error message that caused the exception.
|
|
181
|
+
def display_error_message(ex)
|
|
182
|
+
trace "#{name} aborted!"
|
|
183
|
+
trace ex.message
|
|
184
|
+
if options.backtrace
|
|
185
|
+
trace ex.backtrace.join("\n")
|
|
186
|
+
else
|
|
187
|
+
trace Backtrace.collapse(ex.backtrace).join("\n")
|
|
188
|
+
end
|
|
189
|
+
trace "Tasks: #{ex.chain}" if has_chain?(ex)
|
|
190
|
+
trace "(See full trace by running task with --trace)" unless options.backtrace
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
# Warn about deprecated usage.
|
|
194
|
+
#
|
|
195
|
+
# Example:
|
|
196
|
+
# Rake.application.deprecate("import", "Rake.import", caller.first)
|
|
197
|
+
#
|
|
198
|
+
def deprecate(old_usage, new_usage, call_site)
|
|
199
|
+
unless options.ignore_deprecate
|
|
200
|
+
$stderr.puts "WARNING: '#{old_usage}' is deprecated. " +
|
|
201
|
+
"Please use '#{new_usage}' instead.\n" +
|
|
202
|
+
" at #{call_site}"
|
|
203
|
+
end
|
|
204
|
+
end
|
|
205
|
+
|
|
206
|
+
# Does the exception have a task invocation chain?
|
|
207
|
+
def has_chain?(exception)
|
|
208
|
+
exception.respond_to?(:chain) && exception.chain
|
|
209
|
+
end
|
|
210
|
+
private :has_chain?
|
|
211
|
+
|
|
212
|
+
# True if one of the files in RAKEFILES is in the current directory.
|
|
213
|
+
# If a match is found, it is copied into @rakefile.
|
|
214
|
+
def have_rakefile
|
|
215
|
+
@rakefiles.each do |fn|
|
|
216
|
+
if File.exist?(fn)
|
|
217
|
+
others = FileList.glob(fn, File::FNM_CASEFOLD)
|
|
218
|
+
return others.size == 1 ? others.first : fn
|
|
219
|
+
elsif fn == ''
|
|
220
|
+
return fn
|
|
221
|
+
end
|
|
222
|
+
end
|
|
223
|
+
return nil
|
|
224
|
+
end
|
|
225
|
+
|
|
226
|
+
# True if we are outputting to TTY, false otherwise
|
|
227
|
+
def tty_output?
|
|
228
|
+
@tty_output
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
# Override the detected TTY output state (mostly for testing)
|
|
232
|
+
def tty_output=( tty_output_state )
|
|
233
|
+
@tty_output = tty_output_state
|
|
234
|
+
end
|
|
235
|
+
|
|
236
|
+
# We will truncate output if we are outputting to a TTY or if we've been
|
|
237
|
+
# given an explicit column width to honor
|
|
238
|
+
def truncate_output?
|
|
239
|
+
tty_output? || @terminal_columns.nonzero?
|
|
240
|
+
end
|
|
241
|
+
|
|
242
|
+
# Display the tasks and comments.
|
|
243
|
+
def display_tasks_and_comments
|
|
244
|
+
displayable_tasks = tasks.select { |t|
|
|
245
|
+
(options.show_all_tasks || t.comment) && t.name =~ options.show_task_pattern
|
|
246
|
+
}
|
|
247
|
+
case options.show_tasks
|
|
248
|
+
when :tasks
|
|
249
|
+
width = displayable_tasks.collect { |t| t.name_with_args.length }.max || 10
|
|
250
|
+
max_column = truncate_output? ? terminal_width - name.size - width - 7 : nil
|
|
251
|
+
|
|
252
|
+
displayable_tasks.each do |t|
|
|
253
|
+
printf "#{name} %-#{width}s # %s\n",
|
|
254
|
+
t.name_with_args, max_column ? truncate(t.comment, max_column) : t.comment
|
|
255
|
+
end
|
|
256
|
+
when :describe
|
|
257
|
+
displayable_tasks.each do |t|
|
|
258
|
+
puts "#{name} #{t.name_with_args}"
|
|
259
|
+
comment = t.full_comment || ""
|
|
260
|
+
comment.split("\n").each do |line|
|
|
261
|
+
puts " #{line}"
|
|
262
|
+
end
|
|
263
|
+
puts
|
|
264
|
+
end
|
|
265
|
+
when :lines
|
|
266
|
+
displayable_tasks.each do |t|
|
|
267
|
+
t.locations.each do |loc|
|
|
268
|
+
printf "#{name} %-30s %s\n",t.name_with_args, loc
|
|
269
|
+
end
|
|
270
|
+
end
|
|
271
|
+
else
|
|
272
|
+
fail "Unknown show task mode: '#{options.show_tasks}'"
|
|
273
|
+
end
|
|
274
|
+
end
|
|
275
|
+
|
|
276
|
+
def terminal_width
|
|
277
|
+
if @terminal_columns.nonzero?
|
|
278
|
+
result = @terminal_columns
|
|
279
|
+
else
|
|
280
|
+
result = unix? ? dynamic_width : 80
|
|
281
|
+
end
|
|
282
|
+
(result < 10) ? 80 : result
|
|
283
|
+
rescue
|
|
284
|
+
80
|
|
285
|
+
end
|
|
286
|
+
|
|
287
|
+
# Calculate the dynamic width of the
|
|
288
|
+
def dynamic_width
|
|
289
|
+
@dynamic_width ||= (dynamic_width_stty.nonzero? || dynamic_width_tput)
|
|
290
|
+
end
|
|
291
|
+
|
|
292
|
+
def dynamic_width_stty
|
|
293
|
+
%x{stty size 2>/dev/null}.split[1].to_i
|
|
294
|
+
end
|
|
295
|
+
|
|
296
|
+
def dynamic_width_tput
|
|
297
|
+
%x{tput cols 2>/dev/null}.to_i
|
|
298
|
+
end
|
|
299
|
+
|
|
300
|
+
def unix?
|
|
301
|
+
RbConfig::CONFIG['host_os'] =~ /(aix|darwin|linux|(net|free|open)bsd|cygwin|solaris|irix|hpux)/i
|
|
302
|
+
end
|
|
303
|
+
|
|
304
|
+
def windows?
|
|
305
|
+
Win32.windows?
|
|
306
|
+
end
|
|
307
|
+
|
|
308
|
+
def truncate(string, width)
|
|
309
|
+
if string.nil?
|
|
310
|
+
""
|
|
311
|
+
elsif string.length <= width
|
|
312
|
+
string
|
|
313
|
+
else
|
|
314
|
+
( string[0, width-3] || "" ) + "..."
|
|
315
|
+
end
|
|
316
|
+
end
|
|
317
|
+
|
|
318
|
+
# Display the tasks and prerequisites
|
|
319
|
+
def display_prerequisites
|
|
320
|
+
tasks.each do |t|
|
|
321
|
+
puts "#{name} #{t.name}"
|
|
322
|
+
t.prerequisites.each { |pre| puts " #{pre}" }
|
|
323
|
+
end
|
|
324
|
+
end
|
|
325
|
+
|
|
326
|
+
def trace(*strings)
|
|
327
|
+
options.trace_output ||= $stderr
|
|
328
|
+
trace_on(options.trace_output, *strings)
|
|
329
|
+
end
|
|
330
|
+
|
|
331
|
+
def sort_options(options)
|
|
332
|
+
options.sort_by { |opt|
|
|
333
|
+
opt.select { |o| o =~ /^-/ }.map { |o| o.downcase }.sort.reverse
|
|
334
|
+
}
|
|
335
|
+
end
|
|
336
|
+
private :sort_options
|
|
337
|
+
|
|
338
|
+
# A list of all the standard options used in rake, suitable for
|
|
339
|
+
# passing to OptionParser.
|
|
340
|
+
def standard_rake_options
|
|
341
|
+
sort_options(
|
|
342
|
+
[
|
|
343
|
+
['--all', '-A', "Show all tasks, even uncommented ones",
|
|
344
|
+
lambda { |value|
|
|
345
|
+
options.show_all_tasks = value
|
|
346
|
+
}
|
|
347
|
+
],
|
|
348
|
+
['--backtrace=[OUT]', "Enable full backtrace. OUT can be stderr (default) or stdout.",
|
|
349
|
+
lambda { |value|
|
|
350
|
+
options.backtrace = true
|
|
351
|
+
select_trace_output(options, 'backtrace', value)
|
|
352
|
+
}
|
|
353
|
+
],
|
|
354
|
+
['--comments', "Show commented tasks only",
|
|
355
|
+
lambda { |value|
|
|
356
|
+
options.show_all_tasks = !value
|
|
357
|
+
}
|
|
358
|
+
],
|
|
359
|
+
['--describe', '-D [PATTERN]', "Describe the tasks (matching optional PATTERN), then exit.",
|
|
360
|
+
lambda { |value|
|
|
361
|
+
select_tasks_to_show(options, :describe, value)
|
|
362
|
+
}
|
|
363
|
+
],
|
|
364
|
+
['--dry-run', '-n', "Do a dry run without executing actions.",
|
|
365
|
+
lambda { |value|
|
|
366
|
+
Rake.verbose(true)
|
|
367
|
+
Rake.nowrite(true)
|
|
368
|
+
options.dryrun = true
|
|
369
|
+
options.trace = true
|
|
370
|
+
}
|
|
371
|
+
],
|
|
372
|
+
['--execute', '-e CODE', "Execute some Ruby code and exit.",
|
|
373
|
+
lambda { |value|
|
|
374
|
+
eval(value)
|
|
375
|
+
exit
|
|
376
|
+
}
|
|
377
|
+
],
|
|
378
|
+
['--execute-print', '-p CODE', "Execute some Ruby code, print the result, then exit.",
|
|
379
|
+
lambda { |value|
|
|
380
|
+
puts eval(value)
|
|
381
|
+
exit
|
|
382
|
+
}
|
|
383
|
+
],
|
|
384
|
+
['--execute-continue', '-E CODE',
|
|
385
|
+
"Execute some Ruby code, then continue with normal task processing.",
|
|
386
|
+
lambda { |value| eval(value) }
|
|
387
|
+
],
|
|
388
|
+
['--jobs', '-j [NUMBER]',
|
|
389
|
+
"Specifies the maximum number of tasks to execute in parallel. (default:2)",
|
|
390
|
+
lambda { |value| options.thread_pool_size = [(value || 2).to_i,2].max }
|
|
391
|
+
],
|
|
392
|
+
['--job-stats [LEVEL]',
|
|
393
|
+
"Display job statistics. LEVEL=history displays a complete job list",
|
|
394
|
+
lambda { |value|
|
|
395
|
+
if value =~ /^history/i
|
|
396
|
+
options.job_stats = :history
|
|
397
|
+
else
|
|
398
|
+
options.job_stats = true
|
|
399
|
+
end
|
|
400
|
+
}
|
|
401
|
+
],
|
|
402
|
+
['--libdir', '-I LIBDIR', "Include LIBDIR in the search path for required modules.",
|
|
403
|
+
lambda { |value| $:.push(value) }
|
|
404
|
+
],
|
|
405
|
+
['--multitask', '-m', "Treat all tasks as multitasks.",
|
|
406
|
+
lambda { |value| options.always_multitask = true }
|
|
407
|
+
],
|
|
408
|
+
['--no-search', '--nosearch', '-N', "Do not search parent directories for the Rakefile.",
|
|
409
|
+
lambda { |value| options.nosearch = true }
|
|
410
|
+
],
|
|
411
|
+
['--prereqs', '-P', "Display the tasks and dependencies, then exit.",
|
|
412
|
+
lambda { |value| options.show_prereqs = true }
|
|
413
|
+
],
|
|
414
|
+
['--quiet', '-q', "Do not log messages to standard output.",
|
|
415
|
+
lambda { |value| Rake.verbose(false) }
|
|
416
|
+
],
|
|
417
|
+
['--rakefile', '-f [FILE]', "Use FILE as the rakefile.",
|
|
418
|
+
lambda { |value|
|
|
419
|
+
value ||= ''
|
|
420
|
+
@rakefiles.clear
|
|
421
|
+
@rakefiles << value
|
|
422
|
+
}
|
|
423
|
+
],
|
|
424
|
+
['--rakelibdir', '--rakelib', '-R RAKELIBDIR',
|
|
425
|
+
"Auto-import any .rake files in RAKELIBDIR. (default is 'rakelib')",
|
|
426
|
+
lambda { |value| options.rakelib = value.split(File::PATH_SEPARATOR) }
|
|
427
|
+
],
|
|
428
|
+
['--require', '-r MODULE', "Require MODULE before executing rakefile.",
|
|
429
|
+
lambda { |value|
|
|
430
|
+
begin
|
|
431
|
+
require value
|
|
432
|
+
rescue LoadError => ex
|
|
433
|
+
begin
|
|
434
|
+
rake_require value
|
|
435
|
+
rescue LoadError
|
|
436
|
+
raise ex
|
|
437
|
+
end
|
|
438
|
+
end
|
|
439
|
+
}
|
|
440
|
+
],
|
|
441
|
+
['--rules', "Trace the rules resolution.",
|
|
442
|
+
lambda { |value| options.trace_rules = true }
|
|
443
|
+
],
|
|
444
|
+
['--silent', '-s', "Like --quiet, but also suppresses the 'in directory' announcement.",
|
|
445
|
+
lambda { |value|
|
|
446
|
+
Rake.verbose(false)
|
|
447
|
+
options.silent = true
|
|
448
|
+
}
|
|
449
|
+
],
|
|
450
|
+
['--suppress-backtrace PATTERN', "Suppress backtrace lines matching regexp PATTERN. Ignored if --trace is on.",
|
|
451
|
+
lambda { |value|
|
|
452
|
+
options.suppress_backtrace_pattern = Regexp.new(value)
|
|
453
|
+
}
|
|
454
|
+
],
|
|
455
|
+
['--system', '-g',
|
|
456
|
+
"Using system wide (global) rakefiles (usually '~/.rake/*.rake').",
|
|
457
|
+
lambda { |value| options.load_system = true }
|
|
458
|
+
],
|
|
459
|
+
['--no-system', '--nosystem', '-G',
|
|
460
|
+
"Use standard project Rakefile search paths, ignore system wide rakefiles.",
|
|
461
|
+
lambda { |value| options.ignore_system = true }
|
|
462
|
+
],
|
|
463
|
+
['--tasks', '-T [PATTERN]', "Display the tasks (matching optional PATTERN) with descriptions, then exit.",
|
|
464
|
+
lambda { |value|
|
|
465
|
+
select_tasks_to_show(options, :tasks, value)
|
|
466
|
+
}
|
|
467
|
+
],
|
|
468
|
+
['--trace=[OUT]', '-t', "Turn on invoke/execute tracing, enable full backtrace. OUT can be stderr (default) or stdout.",
|
|
469
|
+
lambda { |value|
|
|
470
|
+
options.trace = true
|
|
471
|
+
options.backtrace = true
|
|
472
|
+
select_trace_output(options, 'trace', value)
|
|
473
|
+
Rake.verbose(true)
|
|
474
|
+
}
|
|
475
|
+
],
|
|
476
|
+
['--verbose', '-v', "Log message to standard output.",
|
|
477
|
+
lambda { |value| Rake.verbose(true) }
|
|
478
|
+
],
|
|
479
|
+
['--version', '-V', "Display the program version.",
|
|
480
|
+
lambda { |value|
|
|
481
|
+
puts "rake, version #{RAKEVERSION}"
|
|
482
|
+
exit
|
|
483
|
+
}
|
|
484
|
+
],
|
|
485
|
+
['--where', '-W [PATTERN]', "Describe the tasks (matching optional PATTERN), then exit.",
|
|
486
|
+
lambda { |value|
|
|
487
|
+
select_tasks_to_show(options, :lines, value)
|
|
488
|
+
options.show_all_tasks = true
|
|
489
|
+
}
|
|
490
|
+
],
|
|
491
|
+
['--no-deprecation-warnings', '-X', "Disable the deprecation warnings.",
|
|
492
|
+
lambda { |value|
|
|
493
|
+
options.ignore_deprecate = true
|
|
494
|
+
}
|
|
495
|
+
],
|
|
496
|
+
])
|
|
497
|
+
end
|
|
498
|
+
|
|
499
|
+
def select_tasks_to_show(options, show_tasks, value)
|
|
500
|
+
options.show_tasks = show_tasks
|
|
501
|
+
options.show_task_pattern = Regexp.new(value || '')
|
|
502
|
+
Rake::TaskManager.record_task_metadata = true
|
|
503
|
+
end
|
|
504
|
+
private :select_tasks_to_show
|
|
505
|
+
|
|
506
|
+
def select_trace_output(options, trace_option, value)
|
|
507
|
+
value = value.strip unless value.nil?
|
|
508
|
+
case value
|
|
509
|
+
when 'stdout'
|
|
510
|
+
options.trace_output = $stdout
|
|
511
|
+
when 'stderr', nil
|
|
512
|
+
options.trace_output = $stderr
|
|
513
|
+
else
|
|
514
|
+
fail CommandLineOptionError, "Unrecognized --#{trace_option} option '#{value}'"
|
|
515
|
+
end
|
|
516
|
+
end
|
|
517
|
+
private :select_trace_output
|
|
518
|
+
|
|
519
|
+
# Read and handle the command line options.
|
|
520
|
+
def handle_options
|
|
521
|
+
options.rakelib = ['rakelib']
|
|
522
|
+
options.trace_output = $stderr
|
|
523
|
+
|
|
524
|
+
OptionParser.new do |opts|
|
|
525
|
+
opts.banner = "rake [-f rakefile] {options} targets..."
|
|
526
|
+
opts.separator ""
|
|
527
|
+
opts.separator "Options are ..."
|
|
528
|
+
|
|
529
|
+
opts.on_tail("-h", "--help", "-H", "Display this help message.") do
|
|
530
|
+
puts opts
|
|
531
|
+
exit
|
|
532
|
+
end
|
|
533
|
+
|
|
534
|
+
standard_rake_options.each { |args| opts.on(*args) }
|
|
535
|
+
opts.environment('RAKEOPT')
|
|
536
|
+
end.parse!
|
|
537
|
+
end
|
|
538
|
+
|
|
539
|
+
# Similar to the regular Ruby +require+ command, but will check
|
|
540
|
+
# for *.rake files in addition to *.rb files.
|
|
541
|
+
def rake_require(file_name, paths=$LOAD_PATH, loaded=$")
|
|
542
|
+
fn = file_name + ".rake"
|
|
543
|
+
return false if loaded.include?(fn)
|
|
544
|
+
paths.each do |path|
|
|
545
|
+
full_path = File.join(path, fn)
|
|
546
|
+
if File.exist?(full_path)
|
|
547
|
+
Rake.load_rakefile(full_path)
|
|
548
|
+
loaded << fn
|
|
549
|
+
return true
|
|
550
|
+
end
|
|
551
|
+
end
|
|
552
|
+
fail LoadError, "Can't find #{file_name}"
|
|
553
|
+
end
|
|
554
|
+
|
|
555
|
+
def find_rakefile_location
|
|
556
|
+
here = Dir.pwd
|
|
557
|
+
while ! (fn = have_rakefile)
|
|
558
|
+
Dir.chdir("..")
|
|
559
|
+
if Dir.pwd == here || options.nosearch
|
|
560
|
+
return nil
|
|
561
|
+
end
|
|
562
|
+
here = Dir.pwd
|
|
563
|
+
end
|
|
564
|
+
[fn, here]
|
|
565
|
+
ensure
|
|
566
|
+
Dir.chdir(Rake.original_dir)
|
|
567
|
+
end
|
|
568
|
+
|
|
569
|
+
def print_rakefile_directory(location)
|
|
570
|
+
$stderr.puts "(in #{Dir.pwd})" unless
|
|
571
|
+
options.silent or original_dir == location
|
|
572
|
+
end
|
|
573
|
+
|
|
574
|
+
def raw_load_rakefile # :nodoc:
|
|
575
|
+
rakefile, location = find_rakefile_location
|
|
576
|
+
if (! options.ignore_system) &&
|
|
577
|
+
(options.load_system || rakefile.nil?) &&
|
|
578
|
+
system_dir && File.directory?(system_dir)
|
|
579
|
+
print_rakefile_directory(location)
|
|
580
|
+
glob("#{system_dir}/*.rake") do |name|
|
|
581
|
+
add_import name
|
|
582
|
+
end
|
|
583
|
+
else
|
|
584
|
+
fail "No Rakefile found (looking for: #{@rakefiles.join(', ')})" if
|
|
585
|
+
rakefile.nil?
|
|
586
|
+
@rakefile = rakefile
|
|
587
|
+
Dir.chdir(location)
|
|
588
|
+
print_rakefile_directory(location)
|
|
589
|
+
Rake.load_rakefile(File.expand_path(@rakefile)) if @rakefile && @rakefile != ''
|
|
590
|
+
options.rakelib.each do |rlib|
|
|
591
|
+
glob("#{rlib}/*.rake") do |name|
|
|
592
|
+
add_import name
|
|
593
|
+
end
|
|
594
|
+
end
|
|
595
|
+
end
|
|
596
|
+
load_imports
|
|
597
|
+
end
|
|
598
|
+
|
|
599
|
+
def glob(path, &block)
|
|
600
|
+
FileList.glob(path.gsub("\\", '/')).each(&block)
|
|
601
|
+
end
|
|
602
|
+
private :glob
|
|
603
|
+
|
|
604
|
+
# The directory path containing the system wide rakefiles.
|
|
605
|
+
def system_dir
|
|
606
|
+
@system_dir ||=
|
|
607
|
+
begin
|
|
608
|
+
if ENV['RAKE_SYSTEM']
|
|
609
|
+
ENV['RAKE_SYSTEM']
|
|
610
|
+
else
|
|
611
|
+
standard_system_dir
|
|
612
|
+
end
|
|
613
|
+
end
|
|
614
|
+
end
|
|
615
|
+
|
|
616
|
+
# The standard directory containing system wide rake files.
|
|
617
|
+
if Win32.windows?
|
|
618
|
+
def standard_system_dir #:nodoc:
|
|
619
|
+
Win32.win32_system_dir
|
|
620
|
+
end
|
|
621
|
+
else
|
|
622
|
+
def standard_system_dir #:nodoc:
|
|
623
|
+
File.join(File.expand_path('~'), '.rake')
|
|
624
|
+
end
|
|
625
|
+
end
|
|
626
|
+
private :standard_system_dir
|
|
627
|
+
|
|
628
|
+
# Collect the list of tasks on the command line. If no tasks are
|
|
629
|
+
# given, return a list containing only the default task.
|
|
630
|
+
# Environmental assignments are processed at this time as well.
|
|
631
|
+
def collect_tasks
|
|
632
|
+
@top_level_tasks = []
|
|
633
|
+
ARGV.each do |arg|
|
|
634
|
+
if arg =~ /^(\w+)=(.*)$/m
|
|
635
|
+
ENV[$1] = $2
|
|
636
|
+
else
|
|
637
|
+
@top_level_tasks << arg unless arg =~ /^-/
|
|
638
|
+
end
|
|
639
|
+
end
|
|
640
|
+
@top_level_tasks.push(default_task_name) if @top_level_tasks.empty?
|
|
641
|
+
end
|
|
642
|
+
|
|
643
|
+
# Default task name ("default").
|
|
644
|
+
# (May be overridden by subclasses)
|
|
645
|
+
def default_task_name
|
|
646
|
+
"default"
|
|
647
|
+
end
|
|
648
|
+
|
|
649
|
+
# Add a file to the list of files to be imported.
|
|
650
|
+
def add_import(fn)
|
|
651
|
+
@pending_imports << fn
|
|
652
|
+
end
|
|
653
|
+
|
|
654
|
+
# Load the pending list of imported files.
|
|
655
|
+
def load_imports
|
|
656
|
+
while fn = @pending_imports.shift
|
|
657
|
+
next if @imported.member?(fn)
|
|
658
|
+
if fn_task = lookup(fn)
|
|
659
|
+
fn_task.invoke
|
|
660
|
+
end
|
|
661
|
+
ext = File.extname(fn)
|
|
662
|
+
loader = @loaders[ext] || @default_loader
|
|
663
|
+
loader.load(fn)
|
|
664
|
+
@imported << fn
|
|
665
|
+
end
|
|
666
|
+
end
|
|
667
|
+
|
|
668
|
+
def rakefile_location(backtrace=caller)
|
|
669
|
+
backtrace.map { |t| t[/([^:]+):/,1] }
|
|
670
|
+
|
|
671
|
+
re = /^#{@rakefile}$/
|
|
672
|
+
re = /#{re.source}/i if windows?
|
|
673
|
+
|
|
674
|
+
backtrace.find { |str| str =~ re } || ''
|
|
675
|
+
end
|
|
676
|
+
|
|
677
|
+
private
|
|
678
|
+
FIXNUM_MAX = (2**(0.size * 8 - 2) - 1) # :nodoc:
|
|
679
|
+
|
|
680
|
+
end
|
|
681
|
+
end
|