riess 0.0.8
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/examples/Getting_started_example.rb +17 -0
- data/lib/actions.rb +53 -0
- data/lib/checks.rb +39 -0
- data/lib/exceptions.rb +12 -0
- data/lib/finders.rb +129 -0
- data/lib/helpers.rb +115 -0
- data/lib/html_action_modules.rb +88 -0
- data/lib/html_check_modules.rb +161 -0
- data/lib/html_object_factory.rb +33 -0
- data/lib/html_objects.rb +57 -0
- data/lib/ieparser_extension.rb +416 -0
- data/lib/key_codes.rb +123 -0
- data/lib/popup.rb +57 -0
- data/lib/riess.rb +111 -0
- data/lib/test_reporter.rb +113 -0
- data/riess_stable_testing_release_1-0.0.8.gemspec +22 -0
- data/vendor/log4r-1.0.5/doc/contact.html +166 -0
- data/vendor/log4r-1.0.5/doc/contribute.html +165 -0
- data/vendor/log4r-1.0.5/doc/images/crush/logo2.png +0 -0
- data/vendor/log4r-1.0.5/doc/images/log4r-logo.png +0 -0
- data/vendor/log4r-1.0.5/doc/images/logo2.png +0 -0
- data/vendor/log4r-1.0.5/doc/index.html +228 -0
- data/vendor/log4r-1.0.5/doc/license.html +200 -0
- data/vendor/log4r-1.0.5/doc/log4r.css +111 -0
- data/vendor/log4r-1.0.5/doc/manual.html +593 -0
- data/vendor/log4r-1.0.5/doc/rdoc/blank.html +2 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r.html +105 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/BasicFormatter.html +133 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/BasicFormatter.src/M000073.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/BasicFormatter.src/M000074.html +22 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/BasicFormatter.src/M000075.html +25 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/ConfigError.html +60 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Configurator.html +151 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Configurator.src/M000003.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Configurator.src/M000004.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Configurator.src/M000005.html +25 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Configurator.src/M000006.html +19 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Configurator.src/M000007.html +19 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/DateFileOutputter.html +84 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/DateFileOutputter.src/M000010.html +33 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/DefaultFormatter.html +62 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/EmailOutputter.html +123 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/EmailOutputter.src/M000047.html +32 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/EmailOutputter.src/M000048.html +19 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/FileOutputter.html +99 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/FileOutputter.src/M000011.html +45 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Formatter.html +91 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Formatter.src/M000076.html +17 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Formatter.src/M000077.html +17 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/IOOutputter.html +112 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/IOOutputter.src/M000049.html +19 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/IOOutputter.src/M000050.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/IOOutputter.src/M000051.html +21 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Log4rTools.html +116 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Log4rTools.src/M000032.html +21 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Log4rTools.src/M000033.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Log4rTools.src/M000034.html +24 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Log4rTools.src/M000035.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/LogEvent.html +132 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/LogEvent.src/M000001.html +19 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/LogServer.html +103 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/LogServer.src/M000044.html +22 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/LogServer.src/M000045.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.html +341 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000052.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000053.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000054.html +20 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000055.html +22 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000056.html +20 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000057.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000058.html +20 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000059.html +30 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000060.html +22 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000061.html +21 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000062.html +24 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000063.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000064.html +19 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000065.html +29 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000066.html +22 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000067.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Logger.src/M000068.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/ObjectFormatter.html +85 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/ObjectFormatter.src/M000009.html +21 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Outputter.html +229 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Outputter.src/M000015.html +25 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Outputter.src/M000016.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Outputter.src/M000017.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Outputter.src/M000018.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Outputter.src/M000019.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Outputter.src/M000020.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Outputter.src/M000021.html +23 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Outputter.src/M000022.html +21 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Outputter.src/M000023.html +26 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Outputter.src/M000024.html +29 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/Outputter.src/M000025.html +17 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/PatternFormatter.html +120 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/PatternFormatter.src/M000046.html +23 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/RemoteOutputter.html +104 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/RemoteOutputter.src/M000012.html +22 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/RemoteOutputter.src/M000013.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/RemoteOutputter.src/M000014.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/RollingFileOutputter.html +111 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/RollingFileOutputter.src/M000069.html +45 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/RootLogger.html +173 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/RootLogger.src/M000036.html +23 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/RootLogger.src/M000037.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/RootLogger.src/M000038.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/RootLogger.src/M000039.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/RootLogger.src/M000040.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/RootLogger.src/M000041.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/RootLogger.src/M000042.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/RootLogger.src/M000043.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/SimpleFormatter.html +83 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/SimpleFormatter.src/M000026.html +19 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/StderrOutputter.html +76 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/StderrOutputter.src/M000002.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/StdoutOutputter.html +76 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/StdoutOutputter.src/M000008.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/SyslogOutputter.html +111 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/SyslogOutputter.src/M000070.html +22 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/SyslogOutputter.src/M000071.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/SyslogOutputter.src/M000072.html +21 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/YamlConfigurator.html +128 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/YamlConfigurator.src/M000027.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/YamlConfigurator.src/M000028.html +16 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/YamlConfigurator.src/M000029.html +25 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/YamlConfigurator.src/M000030.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/classes/Log4r/YamlConfigurator.src/M000031.html +18 -0
- data/vendor/log4r-1.0.5/doc/rdoc/created.rid +1 -0
- data/vendor/log4r-1.0.5/doc/rdoc/files/log4r/configurator_rb.html +402 -0
- data/vendor/log4r-1.0.5/doc/rdoc/files/log4r/formatter/formatter_rb.html +152 -0
- data/vendor/log4r-1.0.5/doc/rdoc/files/log4r/formatter/patternformatter_rb.html +266 -0
- data/vendor/log4r-1.0.5/doc/rdoc/files/log4r/logger_rb.html +320 -0
- data/vendor/log4r-1.0.5/doc/rdoc/files/log4r/logserver_rb.html +191 -0
- data/vendor/log4r-1.0.5/doc/rdoc/files/log4r/outputter/datefileoutputter_rb.html +120 -0
- data/vendor/log4r-1.0.5/doc/rdoc/files/log4r/outputter/emailoutputter_rb.html +205 -0
- data/vendor/log4r-1.0.5/doc/rdoc/files/log4r/outputter/outputter_rb.html +254 -0
- data/vendor/log4r-1.0.5/doc/rdoc/files/log4r/outputter/syslogoutputter_rb.html +135 -0
- data/vendor/log4r-1.0.5/doc/rdoc/files/log4r/yamlconfigurator_rb.html +120 -0
- data/vendor/log4r-1.0.5/doc/rdoc/files/log4r_rb.html +228 -0
- data/vendor/log4r-1.0.5/doc/rdoc/fr_class_index.html +59 -0
- data/vendor/log4r-1.0.5/doc/rdoc/fr_file_index.html +45 -0
- data/vendor/log4r-1.0.5/doc/rdoc/fr_method_index.html +111 -0
- data/vendor/log4r-1.0.5/doc/rdoc/index.html +26 -0
- data/vendor/log4r-1.0.5/doc/rdoc/rdoc-style.css +79 -0
- data/vendor/log4r-1.0.5/examples/README +19 -0
- data/vendor/log4r-1.0.5/examples/customlevels.rb +34 -0
- data/vendor/log4r-1.0.5/examples/fileroll.rb +40 -0
- data/vendor/log4r-1.0.5/examples/log4r_yaml.yaml +0 -0
- data/vendor/log4r-1.0.5/examples/logclient.rb +25 -0
- data/vendor/log4r-1.0.5/examples/logserver.rb +18 -0
- data/vendor/log4r-1.0.5/examples/moderate.xml +29 -0
- data/vendor/log4r-1.0.5/examples/moderateconfig.rb +66 -0
- data/vendor/log4r-1.0.5/examples/myformatter.rb +23 -0
- data/vendor/log4r-1.0.5/examples/outofthebox.rb +21 -0
- data/vendor/log4r-1.0.5/examples/rrconfig.xml +63 -0
- data/vendor/log4r-1.0.5/examples/rrsetup.rb +42 -0
- data/vendor/log4r-1.0.5/examples/simpleconfig.rb +39 -0
- data/vendor/log4r-1.0.5/examples/xmlconfig.rb +25 -0
- data/vendor/log4r-1.0.5/examples/yaml.rb +30 -0
- data/vendor/log4r-1.0.5/src/log4r.rb +20 -0
- data/vendor/log4r-1.0.5/src/log4r/base.rb +74 -0
- data/vendor/log4r-1.0.5/src/log4r/config.rb +9 -0
- data/vendor/log4r-1.0.5/src/log4r/configurator.rb +224 -0
- data/vendor/log4r-1.0.5/src/log4r/formatter/formatter.rb +105 -0
- data/vendor/log4r-1.0.5/src/log4r/formatter/patternformatter.rb +108 -0
- data/vendor/log4r-1.0.5/src/log4r/lib/drbloader.rb +52 -0
- data/vendor/log4r-1.0.5/src/log4r/lib/xmlloader.rb +24 -0
- data/vendor/log4r-1.0.5/src/log4r/logevent.rb +28 -0
- data/vendor/log4r-1.0.5/src/log4r/logger.rb +194 -0
- data/vendor/log4r-1.0.5/src/log4r/loggerfactory.rb +89 -0
- data/vendor/log4r-1.0.5/src/log4r/logserver.rb +28 -0
- data/vendor/log4r-1.0.5/src/log4r/outputter/consoleoutputters.rb +18 -0
- data/vendor/log4r-1.0.5/src/log4r/outputter/datefileoutputter.rb +110 -0
- data/vendor/log4r-1.0.5/src/log4r/outputter/emailoutputter.rb +115 -0
- data/vendor/log4r-1.0.5/src/log4r/outputter/fileoutputter.rb +49 -0
- data/vendor/log4r-1.0.5/src/log4r/outputter/iooutputter.rb +55 -0
- data/vendor/log4r-1.0.5/src/log4r/outputter/outputter.rb +132 -0
- data/vendor/log4r-1.0.5/src/log4r/outputter/outputterfactory.rb +59 -0
- data/vendor/log4r-1.0.5/src/log4r/outputter/remoteoutputter.rb +40 -0
- data/vendor/log4r-1.0.5/src/log4r/outputter/rollingfileoutputter.rb +126 -0
- data/vendor/log4r-1.0.5/src/log4r/outputter/staticoutputter.rb +30 -0
- data/vendor/log4r-1.0.5/src/log4r/outputter/syslogoutputter.rb +75 -0
- data/vendor/log4r-1.0.5/src/log4r/rdoc/configurator +243 -0
- data/vendor/log4r-1.0.5/src/log4r/rdoc/emailoutputter +103 -0
- data/vendor/log4r-1.0.5/src/log4r/rdoc/formatter +39 -0
- data/vendor/log4r-1.0.5/src/log4r/rdoc/log4r +89 -0
- data/vendor/log4r-1.0.5/src/log4r/rdoc/logger +175 -0
- data/vendor/log4r-1.0.5/src/log4r/rdoc/logserver +85 -0
- data/vendor/log4r-1.0.5/src/log4r/rdoc/outputter +108 -0
- data/vendor/log4r-1.0.5/src/log4r/rdoc/patternformatter +128 -0
- data/vendor/log4r-1.0.5/src/log4r/rdoc/syslogoutputter +29 -0
- data/vendor/log4r-1.0.5/src/log4r/rdoc/yamlconfigurator +20 -0
- data/vendor/log4r-1.0.5/src/log4r/repository.rb +65 -0
- data/vendor/log4r-1.0.5/src/log4r/staticlogger.rb +49 -0
- data/vendor/log4r-1.0.5/src/log4r/yamlconfigurator.rb +0 -0
- data/vendor/log4r-1.0.5/tests/include.rb +7 -0
- data/vendor/log4r-1.0.5/tests/runtest.rb +6 -0
- data/vendor/log4r-1.0.5/tests/testbase.rb +45 -0
- data/vendor/log4r-1.0.5/tests/testcustom.rb +33 -0
- data/vendor/log4r-1.0.5/tests/testdefault.rb +25 -0
- data/vendor/log4r-1.0.5/tests/testformatter.rb +29 -0
- data/vendor/log4r-1.0.5/tests/testlogger.rb +198 -0
- data/vendor/log4r-1.0.5/tests/testoutputter.rb +112 -0
- data/vendor/log4r-1.0.5/tests/testpatternformatter.rb +26 -0
- data/vendor/log4r-1.0.5/tests/testxmlconf.rb +51 -0
- data/vendor/log4r-1.0.5/tests/xml/testconf.xml +37 -0
- data/vendor/rspec-0.8.2/CHANGES +575 -0
- data/vendor/rspec-0.8.2/EXAMPLES.rd +81 -0
- data/vendor/rspec-0.8.2/MIT-LICENSE +20 -0
- data/vendor/rspec-0.8.2/README +57 -0
- data/vendor/rspec-0.8.2/RELEASE-PLAN +117 -0
- data/vendor/rspec-0.8.2/Rakefile +223 -0
- data/vendor/rspec-0.8.2/bin/spec +4 -0
- data/vendor/rspec-0.8.2/examples/auto_spec_name_generation_example.rb +18 -0
- data/vendor/rspec-0.8.2/examples/custom_expectation_matchers.rb +53 -0
- data/vendor/rspec-0.8.2/examples/custom_formatter.rb +11 -0
- data/vendor/rspec-0.8.2/examples/dynamic_spec.rb +9 -0
- data/vendor/rspec-0.8.2/examples/file_accessor.rb +18 -0
- data/vendor/rspec-0.8.2/examples/file_accessor_spec.rb +38 -0
- data/vendor/rspec-0.8.2/examples/greeter_spec.rb +30 -0
- data/vendor/rspec-0.8.2/examples/helper_method_example.rb +11 -0
- data/vendor/rspec-0.8.2/examples/io_processor.rb +8 -0
- data/vendor/rspec-0.8.2/examples/io_processor_spec.rb +21 -0
- data/vendor/rspec-0.8.2/examples/mocking_example.rb +27 -0
- data/vendor/rspec-0.8.2/examples/partial_mock_example.rb +28 -0
- data/vendor/rspec-0.8.2/examples/predicate_example.rb +27 -0
- data/vendor/rspec-0.8.2/examples/setup_teardown_example.rb +34 -0
- data/vendor/rspec-0.8.2/examples/spec_helper.rb +1 -0
- data/vendor/rspec-0.8.2/examples/stack.rb +36 -0
- data/vendor/rspec-0.8.2/examples/stack_spec.rb +113 -0
- data/vendor/rspec-0.8.2/examples/stubbing_example.rb +69 -0
- data/vendor/rspec-0.8.2/examples/test_case_spec.rb +63 -0
- data/vendor/rspec-0.8.2/lib/spec.rb +11 -0
- data/vendor/rspec-0.8.2/lib/spec/callback.rb +11 -0
- data/vendor/rspec-0.8.2/lib/spec/callback/callback_container.rb +60 -0
- data/vendor/rspec-0.8.2/lib/spec/callback/extensions/module.rb +24 -0
- data/vendor/rspec-0.8.2/lib/spec/callback/extensions/object.rb +37 -0
- data/vendor/rspec-0.8.2/lib/spec/deprecated.rb +3 -0
- data/vendor/rspec-0.8.2/lib/spec/expectations.rb +59 -0
- data/vendor/rspec-0.8.2/lib/spec/expectations/differs/default.rb +62 -0
- data/vendor/rspec-0.8.2/lib/spec/expectations/errors.rb +6 -0
- data/vendor/rspec-0.8.2/lib/spec/expectations/extensions.rb +3 -0
- data/vendor/rspec-0.8.2/lib/spec/expectations/extensions/object.rb +109 -0
- data/vendor/rspec-0.8.2/lib/spec/expectations/extensions/proc.rb +57 -0
- data/vendor/rspec-0.8.2/lib/spec/expectations/extensions/string_and_symbol.rb +17 -0
- data/vendor/rspec-0.8.2/lib/spec/expectations/handler.rb +47 -0
- data/vendor/rspec-0.8.2/lib/spec/expectations/should.rb +5 -0
- data/vendor/rspec-0.8.2/lib/spec/expectations/should/base.rb +64 -0
- data/vendor/rspec-0.8.2/lib/spec/expectations/should/change.rb +69 -0
- data/vendor/rspec-0.8.2/lib/spec/expectations/should/have.rb +128 -0
- data/vendor/rspec-0.8.2/lib/spec/expectations/should/not.rb +74 -0
- data/vendor/rspec-0.8.2/lib/spec/expectations/should/should.rb +81 -0
- data/vendor/rspec-0.8.2/lib/spec/expectations/sugar.rb +47 -0
- data/vendor/rspec-0.8.2/lib/spec/matchers.rb +160 -0
- data/vendor/rspec-0.8.2/lib/spec/matchers/be.rb +161 -0
- data/vendor/rspec-0.8.2/lib/spec/matchers/be_close.rb +37 -0
- data/vendor/rspec-0.8.2/lib/spec/matchers/change.rb +120 -0
- data/vendor/rspec-0.8.2/lib/spec/matchers/eql.rb +43 -0
- data/vendor/rspec-0.8.2/lib/spec/matchers/equal.rb +43 -0
- data/vendor/rspec-0.8.2/lib/spec/matchers/has.rb +44 -0
- data/vendor/rspec-0.8.2/lib/spec/matchers/have.rb +140 -0
- data/vendor/rspec-0.8.2/lib/spec/matchers/include.rb +50 -0
- data/vendor/rspec-0.8.2/lib/spec/matchers/match.rb +41 -0
- data/vendor/rspec-0.8.2/lib/spec/matchers/raise_error.rb +100 -0
- data/vendor/rspec-0.8.2/lib/spec/matchers/respond_to.rb +35 -0
- data/vendor/rspec-0.8.2/lib/spec/matchers/satisfy.rb +47 -0
- data/vendor/rspec-0.8.2/lib/spec/matchers/throw_symbol.rb +75 -0
- data/vendor/rspec-0.8.2/lib/spec/mocks.rb +232 -0
- data/vendor/rspec-0.8.2/lib/spec/mocks/argument_expectation.rb +132 -0
- data/vendor/rspec-0.8.2/lib/spec/mocks/error_generator.rb +85 -0
- data/vendor/rspec-0.8.2/lib/spec/mocks/errors.rb +10 -0
- data/vendor/rspec-0.8.2/lib/spec/mocks/extensions/object.rb +3 -0
- data/vendor/rspec-0.8.2/lib/spec/mocks/message_expectation.rb +231 -0
- data/vendor/rspec-0.8.2/lib/spec/mocks/methods.rb +40 -0
- data/vendor/rspec-0.8.2/lib/spec/mocks/mock.rb +26 -0
- data/vendor/rspec-0.8.2/lib/spec/mocks/mock_handler.rb +166 -0
- data/vendor/rspec-0.8.2/lib/spec/mocks/order_group.rb +29 -0
- data/vendor/rspec-0.8.2/lib/spec/rake/spectask.rb +173 -0
- data/vendor/rspec-0.8.2/lib/spec/rake/verify_rcov.rb +47 -0
- data/vendor/rspec-0.8.2/lib/spec/runner.rb +132 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/backtrace_tweaker.rb +55 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/command_line.rb +34 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/context.rb +154 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/context_eval.rb +142 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/context_runner.rb +55 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/drb_command_line.rb +21 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/execution_context.rb +17 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/extensions/kernel.rb +17 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/extensions/object.rb +32 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/formatter.rb +5 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/formatter/base_text_formatter.rb +118 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/formatter/html_formatter.rb +219 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/formatter/progress_bar_formatter.rb +27 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/formatter/rdoc_formatter.rb +22 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/formatter/specdoc_formatter.rb +23 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/heckle_runner.rb +71 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/heckle_runner_win.rb +10 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/option_parser.rb +224 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/reporter.rb +105 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/spec_matcher.rb +25 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/spec_parser.rb +41 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/spec_should_raise_handler.rb +74 -0
- data/vendor/rspec-0.8.2/lib/spec/runner/specification.rb +114 -0
- data/vendor/rspec-0.8.2/lib/spec/translator.rb +87 -0
- data/vendor/rspec-0.8.2/lib/spec/version.rb +30 -0
- data/vendor/rspec-0.8.2/spec/spec/callback/callback_container_spec.rb +27 -0
- data/vendor/rspec-0.8.2/spec/spec/callback/module_spec.rb +37 -0
- data/vendor/rspec-0.8.2/spec/spec/callback/object_spec.rb +90 -0
- data/vendor/rspec-0.8.2/spec/spec/callback/object_with_class_callback_spec.rb +19 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/differs/default_spec.rb +107 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/extensions/object_spec.rb +46 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/fail_with_spec.rb +71 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_==_spec.rb +19 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_=~_spec.rb +13 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_be_a_kind_of_spec.rb +21 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_be_an_instance_of_spec.rb +30 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_be_arbitrary_predicate_spec.rb +81 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_be_close_spec.rb +18 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_be_comparison_operator_spec.rb +44 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_be_false_spec.rb +39 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_be_spec.rb +11 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_be_true_spec.rb +27 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_change_spec.rb +184 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_eql_spec.rb +11 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_equal_spec.rb +11 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_have_at_least_spec.rb +53 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_have_at_most_spec.rb +45 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_have_key_spec.rb +21 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_have_spec.rb +64 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_include_spec.rb +59 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_match_spec.rb +25 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_not_==_spec.rb +15 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_not_be_a_kind_of_spec.rb +21 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_not_be_an_instance_of_spec.rb +11 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_not_be_arbitrary_predicate_spec.rb +68 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_not_be_spec.rb +11 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_not_change_spec.rb +24 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_not_eql_spec.rb +11 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_not_equal_spec.rb +11 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_not_have_key_spec.rb +15 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_not_include_spec.rb +58 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_not_match_spec.rb +11 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_not_raise_spec.rb +75 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_not_respond_to_spec.rb +15 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_not_throw_spec.rb +35 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_raise_spec.rb +66 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_respond_to_spec.rb +15 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_satisfy_spec.rb +35 -0
- data/vendor/rspec-0.8.2/spec/spec/expectations/should/should_throw_spec.rb +27 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/be_close_spec.rb +33 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/be_spec.rb +182 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/change_spec.rb +232 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/description_generation_spec.rb +147 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/eql_spec.rb +41 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/equal_spec.rb +41 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/handler_spec.rb +75 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/has_spec.rb +37 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/have_spec.rb +259 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/include_spec.rb +33 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/match_spec.rb +37 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/matcher_methods_spec.rb +85 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/raise_error_spec.rb +147 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/respond_to_spec.rb +30 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/satisfy_spec.rb +36 -0
- data/vendor/rspec-0.8.2/spec/spec/matchers/throw_symbol_spec.rb +59 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/any_number_of_times_spec.rb +34 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/argument_expectation_spec.rb +19 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/at_least_spec.rb +97 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/at_most_spec.rb +97 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/bug_report_7611_spec.rb +19 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/bug_report_7805_spec.rb +22 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/bug_report_8165_spec.rb +31 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/bug_report_8302_spec.rb +26 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/failing_mock_argument_constraints_spec.rb +74 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/mock_ordering_spec.rb +80 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/mock_spec.rb +407 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/multiple_return_value_spec.rb +113 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/null_object_mock_spec.rb +40 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/once_counts_spec.rb +56 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/options_hash_spec.rb +31 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/partial_mock_spec.rb +52 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/partial_mock_using_mocks_directly_spec.rb +64 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/passing_mock_argument_constraints_spec.rb +92 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/precise_counts_spec.rb +56 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/record_messages_spec.rb +26 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/stub_spec.rb +159 -0
- data/vendor/rspec-0.8.2/spec/spec/mocks/twice_counts_spec.rb +67 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/command_line_spec.rb +32 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/context_matching_spec.rb +28 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/context_runner_spec.rb +100 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/context_spec.rb +405 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/drb_command_line_spec.rb +74 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/execution_context_spec.rb +52 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/formatter/html_formatter_spec.rb +40 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/formatter/progress_bar_formatter_dry_run_spec.rb +21 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/formatter/progress_bar_formatter_failure_dump_spec.rb +36 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/formatter/progress_bar_formatter_spec.rb +78 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/formatter/rdoc_formatter_dry_run_spec.rb +18 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/formatter/rdoc_formatter_spec.rb +41 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/formatter/specdoc_formatter_dry_run_spec.rb +21 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/formatter/specdoc_formatter_spec.rb +46 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/heckle_runner_spec.rb +63 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/heckler_spec.rb +14 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/kernel_ext_spec.rb +16 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/noisy_backtrace_tweaker_spec.rb +45 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/object_ext_spec.rb +11 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/option_parser_spec.rb +269 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/quiet_backtrace_tweaker_spec.rb +47 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/reporter_spec.rb +126 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/spec_matcher_spec.rb +107 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/spec_name_generation_spec.rb +102 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/spec_parser_spec.rb +37 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/specification_class_spec.rb +72 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/specification_instance_spec.rb +160 -0
- data/vendor/rspec-0.8.2/spec/spec/runner/specification_should_raise_spec.rb +136 -0
- data/vendor/rspec-0.8.2/spec/spec/spec_classes.rb +102 -0
- data/vendor/rspec-0.8.2/spec/spec/translator_spec.rb +79 -0
- data/vendor/rspec-0.8.2/spec/spec_helper.rb +35 -0
- metadata +537 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<test>
|
|
2
|
+
<log4r_config>
|
|
3
|
+
|
|
4
|
+
<pre_config>
|
|
5
|
+
<custom_levels>Foo, Bar,Baz, Bing</custom_levels>
|
|
6
|
+
<global level="Foo"/>
|
|
7
|
+
<parameters>
|
|
8
|
+
<mypattern>[%l] %d %t - %m</mypattern>
|
|
9
|
+
</parameters>
|
|
10
|
+
<parameter name="datem" value="usec"/>
|
|
11
|
+
</pre_config>
|
|
12
|
+
|
|
13
|
+
<!-- level and formatter are optional, -->
|
|
14
|
+
<outputter name="SO" type="StdoutOutputter">
|
|
15
|
+
<level>Foo</level>
|
|
16
|
+
<formatter type="Log4r::PatternFormatter">
|
|
17
|
+
<pattern>%d %c %l> %m</pattern>
|
|
18
|
+
<date_method>#{datem}</date_method>
|
|
19
|
+
</formatter>
|
|
20
|
+
</outputter>
|
|
21
|
+
<outputter name="SE" type="StderrOutputter" level="Baz">
|
|
22
|
+
<formatter type="PatternFormatter" pattern="#{mypattern}">
|
|
23
|
+
<date_pattern>%H:%S</date_pattern>
|
|
24
|
+
</formatter>
|
|
25
|
+
</outputter>
|
|
26
|
+
<outputter name="F" type="FileOutputter">
|
|
27
|
+
<filename>#{logpath}/junk/foo.log</filename>
|
|
28
|
+
<trunc>true</trunc>
|
|
29
|
+
<only_at>Foo, Bar, Bing</only_at>
|
|
30
|
+
</outputter>
|
|
31
|
+
<!-- optional level, additive and outputters -->
|
|
32
|
+
<logger name="first::second" level="Bar" additive="false">
|
|
33
|
+
<trace>true</trace>
|
|
34
|
+
<outputters>SO, SE, F, stdout, stderr</outputters>
|
|
35
|
+
</logger>
|
|
36
|
+
</log4r_config>
|
|
37
|
+
</test>
|
|
@@ -0,0 +1,575 @@
|
|
|
1
|
+
= RSpec Changelog
|
|
2
|
+
|
|
3
|
+
== Version 0.8.2
|
|
4
|
+
|
|
5
|
+
Replaced assert_select fork with an assert_select wrapper for have_tag. This means that "should have_rjs" no longer supports :hide or :effect, but you can still use should_have_rjs for those.
|
|
6
|
+
|
|
7
|
+
== Version 0.8.1
|
|
8
|
+
|
|
9
|
+
Quick "in house" bug-fix
|
|
10
|
+
|
|
11
|
+
== Version 0.8.0
|
|
12
|
+
|
|
13
|
+
This release introduces a new approach to handling expectations using Expression Matchers.
|
|
14
|
+
|
|
15
|
+
See Upgrade[http://rspec.rubyforge.org/upgrade.html], Spec::Expectations, Spec::Matchers and RELEASE-PLAN for more info.
|
|
16
|
+
|
|
17
|
+
This release also improves the spec command line by adding DRb support and making it possible to
|
|
18
|
+
store command line options in a file. This means a more flexible RSpec experience with Rails,
|
|
19
|
+
Rake and editor plugins like TextMate.
|
|
20
|
+
|
|
21
|
+
It also sports myriad new features, bug fixes, patches and general goodness:
|
|
22
|
+
|
|
23
|
+
* Fixed [#8928] rspec_on_rails 0.8.0-RC1 controller tests make double call to setup_with_fixtures
|
|
24
|
+
* Fixed [#8925] Documentation bug in 0.8.0RC1 rspec website
|
|
25
|
+
* Applied [#8132] [PATCH] RSpec breaks "rake db:sessions:create" in a rails project that has the rspec_on_rails plugin (Patch from Erik Kastner)
|
|
26
|
+
* Fixed [#8789] --line and --spec not working when the context has parenhesis in the name
|
|
27
|
+
* Added [#8783] auto generate spec names from last expectation
|
|
28
|
+
* --heckle now fails if the heckled class or module is not found.
|
|
29
|
+
* Fixed [#8771] Spec::Mocks::BaseExpectation#with converts hash params to array of arrays with #collect
|
|
30
|
+
* Fixed [#8750] should[_not]_include backwards compatibility between 0.8.0-RC1 and 0.7.5.1 broken
|
|
31
|
+
* Fixed [#8646] Context Runner does not report on Non standard exceptions and return a 0 return code
|
|
32
|
+
* RSpec on Rails' spec_helper.rb will only force RAILS_ENV to test if it was not specified on the command line.
|
|
33
|
+
* Fixed [#5485] proc#should_raise and proc#should_not_raise output
|
|
34
|
+
* Added [#8484] should_receive with blocks
|
|
35
|
+
* Applied [#8218] heckle_runner.rb doesn't work with heckle >= 1.2.0 (Patch from Michal Kwiatkowski)
|
|
36
|
+
* Fixed [#8240] Cryptic error message when no controller_name
|
|
37
|
+
* Applied [#7461] [PATCH] Contexts don't call Module::included when they include a module
|
|
38
|
+
* Removed unintended block of test/unit assertions in rspec_on_rails - they should all, in theory, now be accessible
|
|
39
|
+
* Added mock_model method to RSpec on Rails, which stubs common methods. Based on http://metaclass.org/2006/12/22/making-a-mockery-of-activerecord
|
|
40
|
+
* Fixed [#8165] Partial Mock Errors when respond_to? is true but the method is not in the object
|
|
41
|
+
* Fixed [#7611] Partial Mocks override Subclass methods
|
|
42
|
+
* Fixed [#8302] Strange side effect when mocking a class method
|
|
43
|
+
* Applied [#8316] to_param should return a stringified key in resource generator's controller spec (Patch from Chris Anderson)
|
|
44
|
+
* Applied [#8216] shortcut for creating object stub
|
|
45
|
+
* Applied [#8008] Correct generated specs for view when calling resource generator (Patch from Jonathan Tron)
|
|
46
|
+
* Fixed [#7754] Command-R fails to run spec in TextMate (added instruction from Luke Redpath to the website)
|
|
47
|
+
* Fixed [#7826] RSpect.tmbundle web page out of date.
|
|
48
|
+
* RSpec on Rails specs are now running against RoR 1.2.1 and 1.2.2
|
|
49
|
+
* rspec_resource now generates specs for views (TODO: make them use the new assert_select, when it's documented)
|
|
50
|
+
* In a Rails app, RSpec core is only loaded when RAILS_ENV==test (init.rb)
|
|
51
|
+
* Added support for target.should arbitrary_expectation_handler and target.should_not arbitrary_expectation_handler
|
|
52
|
+
* Fixed [#7533] Spec suite fails and the process exits with a code 0
|
|
53
|
+
* Fixed [#7565] Subsequent stub! calls for method fail to override the first call to method
|
|
54
|
+
* Applied [#7524] Incorrect Documentation for 'pattern' in Rake task (patch from Stephen Duncan)
|
|
55
|
+
* Fixed [#7409] default fixtures do not appear to run.
|
|
56
|
+
* Fixed [#7507] "render..and return" doesn't return
|
|
57
|
+
* Fixed [#7509] rcov/rspec incorrectly includes boot.rb (Patch from Courtenay)
|
|
58
|
+
* Fixed [#7506] unnecessary complex output on failure of response.should_be_redirect
|
|
59
|
+
* Applied [#6098] Make scaffold_resource generator. Based on code from Pat Maddox.
|
|
60
|
+
* The drbspec command is gone. Use spec --drb instead.
|
|
61
|
+
* The drb option is gone from the Rake task. Pass --drb to spec_opts instead.
|
|
62
|
+
* New -X/--drb option for running specs against a server like spec/rails' script/rails_spec_server
|
|
63
|
+
* New -O/--options and -G/--generate flags for file-based options (handy for spec/rails)
|
|
64
|
+
* Applied [#7339] Turn off caching in HTML reports
|
|
65
|
+
* Applied [#7419] "c option for colorizing output does not work with rails_spec" (Patch from Shintaro Kakutani)
|
|
66
|
+
* Applied [#7406] [PATCH] 0.7.5 rspec_on_rails loads fixtures into development database (Patch from Wilson Bilkovich)
|
|
67
|
+
* Applied [#7387] Allow stubs to return consecutive values (Patch from Pat Maddox)
|
|
68
|
+
* Applied [#7393] Fix for rake task (Patch from Pat Maddox)
|
|
69
|
+
* Reinstated support for response.should_render (in addition to controller.should_render)
|
|
70
|
+
|
|
71
|
+
== Version 0.7.5.1
|
|
72
|
+
|
|
73
|
+
Bug fix release to allow downloads of rspec gem using rubygems 0.9.1.
|
|
74
|
+
|
|
75
|
+
== Version 0.7.5
|
|
76
|
+
This release adds support for Heckle - Seattle'rb's code mutation tool.
|
|
77
|
+
There are also several bug fixes to the RSpec core and the RSpec on Rails plugin.
|
|
78
|
+
|
|
79
|
+
* Removed svn:externals on rails versions and plugins
|
|
80
|
+
* Applied [#7345] Adding context_setup and context_teardown, with specs and 100% rcov
|
|
81
|
+
* Applied [#7320] [PATCH] Allow XHR requests in controller specs to render RJS templates
|
|
82
|
+
* Applied [#7319] Migration code uses drop_column when it should use remove_column (patch from Pat Maddox)
|
|
83
|
+
* Added support for Heckle
|
|
84
|
+
* Applied [#7282] dump results even if spec is interrupted (patch from Kouhei Sutou)
|
|
85
|
+
* Applied [#7277] model.should_have(n).errors_on(:attribute) (patch from Wilson Bilkovich)
|
|
86
|
+
* Applied [#7270] RSpec render_partial colliding with simply_helpful (patch from David Goodlad)
|
|
87
|
+
* Added [#7250] stubs should support throwing
|
|
88
|
+
* Added [#7249] stubs should support yielding
|
|
89
|
+
* Fixed [#6760] fatal error when accessing nested finders in rspec
|
|
90
|
+
* Fixed [#7179] script/generate rspec_resource generates incorrect helper name
|
|
91
|
+
* Added preliminary support for assert_select (response.should_have)
|
|
92
|
+
* Fixed [#6971] and_yield does not work when the arity is -1
|
|
93
|
+
* Fixed [#6898] Can we separate rspec from the plugins?
|
|
94
|
+
* Added [#7025] should_change should accept a block
|
|
95
|
+
* Applied [#6989] partials with locals (patch from Micah Martin)
|
|
96
|
+
* Applied [#7023] Typo in team.page
|
|
97
|
+
|
|
98
|
+
== Version 0.7.4
|
|
99
|
+
|
|
100
|
+
This release features a complete redesign of the reports generated with --format html.
|
|
101
|
+
As usual there are many bug fixes - mostly related to spec/rails.
|
|
102
|
+
|
|
103
|
+
* Applied [#7010] Fixes :spacer_template does not work w/ view spec (patch from Shintaro Kakutani)
|
|
104
|
+
* Applied [#6798] ensure two ':' in the first backtrace line for Emacs's 'next-error' command (patch from Kouhei Sutou)
|
|
105
|
+
* Added Much nicer reports to generated website
|
|
106
|
+
* Much nicer reports with --format --html (patch from Luke Redpath)
|
|
107
|
+
* Applied [#6959] Calls to render and redirect in controllers should return true
|
|
108
|
+
* Fixed [#6981] helper method is not available in partial template.
|
|
109
|
+
* Added [#6978] mock should tell you the expected and actual args when receiving the right message with the wrong args
|
|
110
|
+
* Added the possibility to tweak the output of the HtmlFormatter (by overriding extra_failure_content).
|
|
111
|
+
* Fixed [#6936] View specs don't include ApplicationHelper by default
|
|
112
|
+
* Fixed [#6903] Rendering a partial in a view makes the view spec blow up
|
|
113
|
+
* Added callback library from Brian Takita
|
|
114
|
+
* Added [#6925] support controller.should_render :action_name
|
|
115
|
+
* Fixed [#6884] intermittent errors related to method binding
|
|
116
|
+
* Fixed [#6870] rspec on edge rails spec:controller fixture loading fails
|
|
117
|
+
* Using obj.inspect for all messages
|
|
118
|
+
* Improved performance by getting rid of instance_exec (instance_eval is good enough because we never need to pass it args)
|
|
119
|
+
|
|
120
|
+
== Version 0.7.3
|
|
121
|
+
|
|
122
|
+
Almost normal bug fix/new feature release.
|
|
123
|
+
|
|
124
|
+
A couple of things you need to change in your rails specs:
|
|
125
|
+
# spec_helper.rb is a little different (see http://rspec.rubyforge.org/upgrade.html)
|
|
126
|
+
# use controller.should_render before OR after the action (controller.should_have_rendered is deprecated)
|
|
127
|
+
|
|
128
|
+
* Applied [#6577] messy mock backtrace when frozen to edge rails (patch from Jay Levitt)
|
|
129
|
+
* Fixed [#6674] rspec_on_rails fails on @session deprecation warning
|
|
130
|
+
* Fixed [#6780] routing() was failing...fix included - works for 1.1.6 and edge (1.2)
|
|
131
|
+
* Fixed [#6835] bad message with arbitrary predicate
|
|
132
|
+
* Added [#6731] Partial templates rendered
|
|
133
|
+
* Fixed [#6713] helper methods not rendered in view tests?
|
|
134
|
+
* Fixed [#6707] cannot run controller / helper tests via rails_spec or spec only works with rake
|
|
135
|
+
* Applied [#6417] lambda {...}.should_change(receiver, :message) (patch from Wilson Bilkovich)
|
|
136
|
+
* Eliminated dependency on ZenTest
|
|
137
|
+
* Fixed [#6650] Reserved characters in the TextMate bundle break svn on Win32
|
|
138
|
+
* Fixed [#6643] script/generate rspec_controller: invalid symbol generation for 'controller_name' for *modularized* controllers
|
|
139
|
+
* The script/rails_spec command has been moved to bin/drbspec in RSpec core (installed by the gem)
|
|
140
|
+
|
|
141
|
+
== Version 0.7.2
|
|
142
|
+
|
|
143
|
+
This release introduces a brand new RSpec bundle for TextMate, plus some small bugfixes.
|
|
144
|
+
|
|
145
|
+
* Packaged RSpec.tmbundle.tgz as part of the distro
|
|
146
|
+
* Fixed [#6593] Add moving progress bar to HtmlFormatter using Javascript
|
|
147
|
+
* Applied [#6265] should_raise should accept an Exception object
|
|
148
|
+
* Fixed [#6616] Can't run Rails specs with RSpec.tmbundle
|
|
149
|
+
* Fixed [#6411] Can't run Rails specs with ruby
|
|
150
|
+
* Added [#6589] New -l --line option. This is useful for IDE/editor runners/extensions.
|
|
151
|
+
* Fixed [#6615] controller.should_render_rjs should support :partial => 'path/to/template'
|
|
152
|
+
|
|
153
|
+
== Version 0.7.1
|
|
154
|
+
|
|
155
|
+
Bug fixes and a couple o' new features.
|
|
156
|
+
|
|
157
|
+
* Fixed [#6575] Parse error in aliasing the partial mock original method (patch by Brian Takita)
|
|
158
|
+
* Fixed [#6277] debris left by stubbing (trunk) [submitted by dastels] (fixed by fix to [#6575])
|
|
159
|
+
* Fixed [#6575] Parse error in aliasing the partial mock original method
|
|
160
|
+
* Fixed [#6555] should_have_tag does not match documentation
|
|
161
|
+
* Fixed [#6567] SyntaxError should not stop entire run
|
|
162
|
+
* Fixed [#6558] integrated views look for template even when redirected
|
|
163
|
+
* Fixed [#6547] response.should_be_redirect broken in 0.7.0
|
|
164
|
+
* Applied [#6471] Easy way to spec routes
|
|
165
|
+
* Applied [#6587] Rspec on Rails displays "Spec::Rails::ContextFactory" as context name
|
|
166
|
+
* Applied [#6514] Document has trivial typos.
|
|
167
|
+
* Added [#6560] controller.session should be available before the action
|
|
168
|
+
* Added support for should_have_rjs :visual_effect
|
|
169
|
+
* Different printing and colours for unmet expectations (red) and other exceptions (magenta)
|
|
170
|
+
* Simplified method_missing on mock_methods to make it less invasive on partial mocks.
|
|
171
|
+
|
|
172
|
+
== Version 0.7.0
|
|
173
|
+
|
|
174
|
+
This is the "Grow up and eat your own dog food release". RSpec is now used on itself and
|
|
175
|
+
we're no longer using Test::Unit to test it. Although, we are still extending Test::Unit
|
|
176
|
+
for the rails plugin (indirectly - through ZenTest)
|
|
177
|
+
|
|
178
|
+
IMPORTANT NOTE: THIS RELEASE IS NOT 100% BACKWARDS COMPATIBLE TO 0.6.x
|
|
179
|
+
|
|
180
|
+
There are a few changes that will require that you change your existing specs.
|
|
181
|
+
|
|
182
|
+
RSpec now handles equality exactly like ruby does:
|
|
183
|
+
|
|
184
|
+
# actual.should_equal(expected) will pass if actual.equal?(expected) returns true
|
|
185
|
+
# actual.should_eql(expected) will pass if actual.eql?(expected) returns true
|
|
186
|
+
# actual.should == expected will pass if actual == expected) returns true
|
|
187
|
+
|
|
188
|
+
At the high level, eql? implies equivalence, while equal? implies object identity. For more
|
|
189
|
+
information on how ruby deals w/ equality, you should do this:
|
|
190
|
+
|
|
191
|
+
ri equal?
|
|
192
|
+
|
|
193
|
+
or look at this:
|
|
194
|
+
|
|
195
|
+
http://www.ruby-doc.org/core/classes/Object.html#M001057
|
|
196
|
+
|
|
197
|
+
Also, we left in should_be as a synonym for should_equal, so the only specs that should break are the
|
|
198
|
+
ones using should_equal (which used to use <code>==</code> instead of <code>.equal?</code>).
|
|
199
|
+
|
|
200
|
+
Lastly, should_be used to handle true and false differently from any other values. We've removed
|
|
201
|
+
this special handling, so now actual.should_be true will fail for any value other than true (it
|
|
202
|
+
used to pass for any non-nil, non-false value), and actual.should_be false will fail for any
|
|
203
|
+
value other than false (it used to pass for nil or false).
|
|
204
|
+
|
|
205
|
+
Here's what you'll need to do to update your specs:
|
|
206
|
+
# search for "should_equal" and replace with "should_eql"
|
|
207
|
+
# run specs
|
|
208
|
+
|
|
209
|
+
If any specs still fail, they are probably related to should_be(true) or should_be(false) using
|
|
210
|
+
non-boolean values. Those you'll just have to inspect manually and adjust appropriately (sorry!).
|
|
211
|
+
|
|
212
|
+
--------------------------------------------------
|
|
213
|
+
Specifying multiple return values in mocks now works like this:
|
|
214
|
+
|
|
215
|
+
mock.should_receive(:message).and_return(1,2,3)
|
|
216
|
+
|
|
217
|
+
It used to work like this:
|
|
218
|
+
|
|
219
|
+
mock.should_receive(:message).and_return([1,2,3])
|
|
220
|
+
|
|
221
|
+
but we decided that was counter intuitive and otherwise lame.
|
|
222
|
+
|
|
223
|
+
Here's what you'll need to do to update your specs:
|
|
224
|
+
# search for "and_return(["
|
|
225
|
+
# get rid of the "[" and "]"
|
|
226
|
+
|
|
227
|
+
--------------------------------------------------
|
|
228
|
+
RSpec on Rails now supports the following (thanks to ZenTest upon which it is built):
|
|
229
|
+
|
|
230
|
+
# Separate specs for models, views, controllers and helpers
|
|
231
|
+
# Controller specs are completely decoupled from the views by default (though you can tell them to couple themselves if you prefer)
|
|
232
|
+
# View specs are completely decoupled from app-specific controllers
|
|
233
|
+
|
|
234
|
+
See http://rspec.rubyforge.org/documentation/rails/index.html for more information
|
|
235
|
+
--------------------------------------------------
|
|
236
|
+
As usual, there are also other new features and bug fixes:
|
|
237
|
+
|
|
238
|
+
* Added lots of documentation on mocks/stubs and the rails plugin.
|
|
239
|
+
* Added support for assigns[key] syntax for controller specs (to align w/ pre-existing syntax for view specs)
|
|
240
|
+
* Added support for controller.should_redirect_to
|
|
241
|
+
* RSpec on Rails automatically checks whether it's compatible with the installed RSpec
|
|
242
|
+
* Applied [#6393] rspec_on_rails uses deprecated '@response' instead of the accessor
|
|
243
|
+
* RSpec now has 100% spec coverage(!)
|
|
244
|
+
* Added support for stubbing and partial mocking
|
|
245
|
+
* Progress (....F..F.) is now coloured. Tweaked patch from KAKUTANI Shintaro.
|
|
246
|
+
* Backtrace now excludes the rcov runner (/usr/local/bin/rcov)
|
|
247
|
+
* Fixed [#5539] predicates do not work w/ rails
|
|
248
|
+
* Added [#6091] support for Regexp matching messages sent to should_raise
|
|
249
|
+
* Added [#6333] support for Regexp matching in mock arguments
|
|
250
|
+
* Applied [#6283] refactoring of diff support to allow selectable formats and custom differs
|
|
251
|
+
* Fixed [#5564] "ruby spec_file.rb" doesn't work the same way as "spec spec_file.rb"
|
|
252
|
+
* Fixed [#6056] Multiple output of failing-spec notice
|
|
253
|
+
* Fixed [#6233] Colours in specdoc
|
|
254
|
+
* Applied [#6207] Allows --diff option to diff target and expected's #inspect output (Patch by Lachie Cox)
|
|
255
|
+
* Fixed [#6203] Failure messages are misleading - consider using inspect.
|
|
256
|
+
* Added [#6334] subject.should_have_xyz will try to call subject.has_xyz? - use this for hash.should_have_key(key)
|
|
257
|
+
* Fixed [#6017] Rake task should ignore empty or non-existent spec-dirs
|
|
258
|
+
|
|
259
|
+
== Version 0.6.4
|
|
260
|
+
|
|
261
|
+
In addition to a number of bug fixes and patches, this release begins to formalize the support for
|
|
262
|
+
RSpec on Rails.
|
|
263
|
+
|
|
264
|
+
* Added Christopher Petrilli's TextMate bundle to vendor/textmate/RSpec.tmbundle
|
|
265
|
+
* Fixed [#5909], once again supporting multi_word_predicates
|
|
266
|
+
* Applied [#5873] - response.should_have_rjs (initial patch from Jake Howerton, based on ARTS by Kevin Clark)
|
|
267
|
+
* Added generation of view specs for rspec_on_rails
|
|
268
|
+
* Applied [#5815] active_record_subclass.should_have(3).records
|
|
269
|
+
* Added support in "rake stats" for view specs (in spec/views)
|
|
270
|
+
* Applied [#5801] QuickRef.pdf should say RSpec, not rSpec
|
|
271
|
+
* Applied [#5728] rails_spec_runner fails on Windows (Patch from Lindsay Evans).
|
|
272
|
+
* Applied [#5708] RSpec Rails plugin rspec_controller generator makes specs that do not parse.
|
|
273
|
+
* Cleaned up RSpec on Rails so it doesn't pollute as much during bootstrapping.
|
|
274
|
+
* Added support for response.should_have_tag and response.should_not_have_tag (works just like assert_tag in rails)
|
|
275
|
+
* Added new -c, --colour, --color option for colourful (red/green) output. Inspired from Pat Eyler's Redgreen gem.
|
|
276
|
+
* Added examples for Watir and Selenium under the gem's vendor directory.
|
|
277
|
+
* Renamed rails_spec_runner to rails_spec_server (as referred to in the docs)
|
|
278
|
+
* Added support for trying a plural for arbitrary predicates. E.g. Album.should_exist(:name => "Hey Jude") will call Album.exists?(:name => "Hey Jude")
|
|
279
|
+
* Added support for should_have to work with methods taking args returning a collection. E.g. @dave.should_have(3).albums_i_have_that_this_guy_doesnt(@aslak)
|
|
280
|
+
* Added [#5570] should_not_receive(:msg).with(:specific, "args")
|
|
281
|
+
* Applied [#5065] to support using define_method rather than method_missing to capture expected messages on mocks. Thanks to Eero Saynatkari for the tip that made it work.
|
|
282
|
+
* Restructured directories and Modules in order to separate rspec into three distinct Modules: Spec::Expectations, Spec::Runner and Spec::Mocks. This will allow us to more easily integrate other mock frameworks and/or allow test/unit users to take advantage of the expectation API.
|
|
283
|
+
* Applied [#5620] support any boolean method and arbitrary comparisons (5.should_be < 6) (Patch from Mike Williams)
|
|
284
|
+
|
|
285
|
+
== Version 0.6.3
|
|
286
|
+
|
|
287
|
+
This release fixes some minor bugs related to RSpec on Rails
|
|
288
|
+
Note that if you upgrade a rails app with this version of the rspec_on_rails plugin
|
|
289
|
+
you should remove your lib/tasks/rspec.rake if it exists.
|
|
290
|
+
|
|
291
|
+
* Backtraces from drb (and other standard ruby libraries) are now stripped from backtraces.
|
|
292
|
+
* Applied [#5557] Put rspec.rake into the task directory of the RSpec on Rails plugin (Patch from Daniel Siemssen)
|
|
293
|
+
* Applied [#5556] rails_spec_server loads environment.rb twice (Patch from Daniel Siemssen)
|
|
294
|
+
|
|
295
|
+
== Version 0.6.2
|
|
296
|
+
This release fixes a couple of regressions with the rake task that were introduced in the previous version (0.6.1)
|
|
297
|
+
|
|
298
|
+
* Fixed [#5518] ruby -w: warnings in 0.6.1
|
|
299
|
+
* Applied [#5525] fix rake task path to spec tool for gem-installed rspec (patch from Riley Lynch)
|
|
300
|
+
* Fixed a teensey regression with the rake task - introduced in 0.6.1. The spec command is now quoted so it works on windows.
|
|
301
|
+
|
|
302
|
+
== Version 0.6.1
|
|
303
|
+
This is the "fix the most annoying bugs release" of RSpec. There are 9 bugfixes this time.
|
|
304
|
+
Things that may break backwards compatibility:
|
|
305
|
+
1) Spec::Rake::SpecTask no longer has the options attribute. Use ruby_opts, spec_opts and rcov_opts instead.
|
|
306
|
+
|
|
307
|
+
* Fixed [#4891] RCOV task failing on windows
|
|
308
|
+
* Fixed [#4896] Shouldn't modify user's $LOAD_PATH (Tip from Gavin Sinclair)
|
|
309
|
+
* Fixed [#5369] ruby -w: warnings in RSpec 0.5.16 (Tip from Suraj Kurapati)
|
|
310
|
+
* Applied [#5141] SpecMatcher doesn't escape strings before matching (Patch from Nikolai Weibull).
|
|
311
|
+
* Fixed [#5224] Move 'require diff-lcs' from test_helper.rb to diff_test.rb (Tip from Chris Roos)
|
|
312
|
+
* Applied [#5449] Rake stats for specs (Patch from Nick Sieger)
|
|
313
|
+
* Applied [#5468, #5058] Fix spec runner to correctly run controller specs (Patch from Daniel Siemssen)
|
|
314
|
+
* Applied fixes to rails_spec_server to improve its ability to run several times. (Patch from Daniel Siemssen)
|
|
315
|
+
* Changed RCov::VerifyTask to fail if the coverage is above the threshold. This is to ensure it gets bumped when coverage improves.
|
|
316
|
+
|
|
317
|
+
== Version 0.6.0
|
|
318
|
+
This release makes an official commitment to underscore_syntax (with no more support for dot.syntax)
|
|
319
|
+
|
|
320
|
+
* Fixed bug (5292) that caused mock argument matching to fail
|
|
321
|
+
* Converted ALL tests to use underscore syntax
|
|
322
|
+
* Fixed all remaining problems with underscores revealed by converting all the tests to underscores
|
|
323
|
+
* Enhanced sugar to support combinations of methods (i.e. once.and_return)
|
|
324
|
+
* Simplified helper structure taking advantage of dot/underscore combos (i.e. should.be.an_instance_of, which can be expressed as should_be_an_instance_of)
|
|
325
|
+
* Added support for at_most in mocks
|
|
326
|
+
* Added support for should_not_receive(:msg) (will be removing should_receive(:msg).never some time soon)
|
|
327
|
+
* Added support for should_have_exactly(5).items_in_collection
|
|
328
|
+
|
|
329
|
+
== Version 0.5.16
|
|
330
|
+
This release improves Rails support and test2spec translation.
|
|
331
|
+
|
|
332
|
+
* Fixed underscore problems that occurred when RSpec was used in Rails
|
|
333
|
+
* Simplified the Rails support by packaging it as a plugin instead of a generator gem.
|
|
334
|
+
* Fixed [#5063] 'rspec_on_rails' require line in spec_helper.rb
|
|
335
|
+
* Added pre_commit rake task to reduce risk of regressions. Useful for RSpec developers and patchers.
|
|
336
|
+
* Added failure_message to RSpec Rake task
|
|
337
|
+
* test2spec now defines converted helper methods outside of the setup block (bug #5057).
|
|
338
|
+
|
|
339
|
+
== Version 0.5.15
|
|
340
|
+
This release removes a prematurely added feature that shouldn't have been added.
|
|
341
|
+
|
|
342
|
+
* Removed support for differences that was added in 0.5.14. The functionality is not aligned with RSpec's vision.
|
|
343
|
+
|
|
344
|
+
== Version 0.5.14
|
|
345
|
+
This release introduces better ways to extend specs, improves some of the core API and
|
|
346
|
+
a experimental support for faster rails specs.
|
|
347
|
+
|
|
348
|
+
* Added proc methods for specifying differences (increments and decrements). See difference_test.rb
|
|
349
|
+
* Methods can now be defined alongside specs. This obsoletes the need for defining methods in setup. (Patch #5002 from Brian Takita)
|
|
350
|
+
* Sugar (underscores) now works correctly with should_be_a_kind_of and should_be_an_instance_of
|
|
351
|
+
* Added support for include and inherit in contexts. (Patch #4971 from Brian Takita)
|
|
352
|
+
* Added rails_spec and rails_spec_server for faster specs on rails (still buggy - help needed)
|
|
353
|
+
* Fixed bug that caused should_render to break if given a :symbol (in Rails)
|
|
354
|
+
* Added support for comparing exception message in should_raise and should_not_raise
|
|
355
|
+
|
|
356
|
+
== Version 0.5.13
|
|
357
|
+
This release fixes some subtle bugs in the mock API.
|
|
358
|
+
|
|
359
|
+
* Use fully-qualified class name of Exceptions in failure message. Easier to debug that way.
|
|
360
|
+
* Fixed a bug that caused mocks to yield a one-element array (rather than the element) when one yield arg specified.
|
|
361
|
+
* Mocks not raise AmbiguousReturnError if an explicit return is used at the same time as an expectation block.
|
|
362
|
+
* Blocks passed to yielding mocks can now raise without causing mock verification to fail.
|
|
363
|
+
|
|
364
|
+
== Version 0.5.12
|
|
365
|
+
This release adds diff support for failure messages, a HTML formatter plus some other
|
|
366
|
+
minor enhancements.
|
|
367
|
+
|
|
368
|
+
* Added HTML formatter.
|
|
369
|
+
* Added fail_on_error option to spectask.
|
|
370
|
+
* Added support for diffing, using the diff-lcs Rubygem (#2648).
|
|
371
|
+
* Remove RSpec on Rails files from backtrace (#4694).
|
|
372
|
+
* All of RSpec's own tests run successfully after translation with test2spec.
|
|
373
|
+
* Added --verbose mode for test2spec - useful for debugging when classes fail to translate.
|
|
374
|
+
* Output of various formatters is now flushed - to get more continuous output.
|
|
375
|
+
|
|
376
|
+
== Version 0.5.11
|
|
377
|
+
This release makes test2spec usable with Rails (with some manual steps).
|
|
378
|
+
See http://rspec.rubyforge.org/tools/rails.html for more details
|
|
379
|
+
|
|
380
|
+
* test2spec now correctly translates bodies of helper methods (non- test_*, setup and teardown ones).
|
|
381
|
+
* Added more documentation about how to get test2spec to work with Rails.
|
|
382
|
+
|
|
383
|
+
== Version 0.5.10
|
|
384
|
+
This version features a second rewrite of test2spec - hopefully better than the previous one.
|
|
385
|
+
|
|
386
|
+
* Improved test2spec's internals. It now transforms the syntax tree before writing out the code.
|
|
387
|
+
|
|
388
|
+
== Version 0.5.9
|
|
389
|
+
This release improves test2spec by allowing more control over the output
|
|
390
|
+
|
|
391
|
+
* Added --template option to test2spec, which allows for custom output driven by ERB
|
|
392
|
+
* Added --quiet option to test2spec
|
|
393
|
+
* Removed unnecessary dependency on RubyToC
|
|
394
|
+
|
|
395
|
+
== Version 0.5.8
|
|
396
|
+
This release features a new Test::Unit to RSpec translation tool.
|
|
397
|
+
Also note that the RubyGem of the previous release (0.5.7) was corrupt.
|
|
398
|
+
We're close to being able to translate all of RSpec's own Test::Unit
|
|
399
|
+
tests and have them run successfully!
|
|
400
|
+
|
|
401
|
+
* Updated test2spec documentation.
|
|
402
|
+
* Replaced old test2rspec with a new test2spec, which is based on ParseTree and RubyInline.
|
|
403
|
+
|
|
404
|
+
== Version 0.5.7
|
|
405
|
+
This release changes examples and documentation to recommend underscores rather than dots,
|
|
406
|
+
and addresses some bugfixes and changes to the spec commandline.
|
|
407
|
+
|
|
408
|
+
* spec DIR now works correctly, recursing down and slurping all *.rb files
|
|
409
|
+
* All documentation and examples are now using '_' instead of '.'
|
|
410
|
+
* Custom external formatters can now be specified via --require and --format.
|
|
411
|
+
|
|
412
|
+
== Version 0.5.6
|
|
413
|
+
This release fixes a bug in the Rails controller generator
|
|
414
|
+
|
|
415
|
+
* The controller generator did not write correct source code (missing 'do'). Fixed.
|
|
416
|
+
|
|
417
|
+
== Version 0.5.5
|
|
418
|
+
This release adds initial support for Ruby on Rails in the rspec_generator gem.
|
|
419
|
+
|
|
420
|
+
* [Rails] Reorganised Lachie's original code to be a generator packaged as a gem rather than a plugin.
|
|
421
|
+
* [Rails] Imported code from http://lachie.info/svn/projects/rails_plugins/rspec_on_rails (Written by Lachie Cox)
|
|
422
|
+
* Remove stack trace lines from TextMate's Ruby bundle
|
|
423
|
+
* Better error message from spectask when no spec files are found.
|
|
424
|
+
|
|
425
|
+
== Version 0.5.4
|
|
426
|
+
The "the tutorial is ahead of the gem" release
|
|
427
|
+
|
|
428
|
+
* Support for running a single spec with --spec
|
|
429
|
+
* Exitcode is now 1 unless all specs pass, in which case it's 0.
|
|
430
|
+
* -v, --version now both mean the same thing
|
|
431
|
+
* For what was verbose output (-v), use --format specdoc or -f s
|
|
432
|
+
* --format rdoc always runs in dry-run mode
|
|
433
|
+
* Removed --doc and added --format and --dry-run
|
|
434
|
+
* Refactored towards more pluggable formatters
|
|
435
|
+
* Use webgen's execute tag when generating website (more accurate)
|
|
436
|
+
* Fixed incorrect quoting of spec_opts in SpecTask
|
|
437
|
+
* Added patch to enable underscored shoulds like 1.should_equal(1) - patch from Rich Kilmer
|
|
438
|
+
* Removed most inherited instance method from Mock, making more methods mockable.
|
|
439
|
+
* Made the RCovVerify task part of the standard toolset.
|
|
440
|
+
* Documented Rake task and how to use it with Rcov
|
|
441
|
+
* Implemented <ruby></ruby> tags for website (hooking into ERB, RedCloth and syntax)
|
|
442
|
+
* RSpec Rake task now takes spec_opts and out params so it can be used for doc generation
|
|
443
|
+
* RCov integration for RSpec Rake task (#4058)
|
|
444
|
+
* Group all results instead of printing them several times (#4057)
|
|
445
|
+
* Mocks can now yield
|
|
446
|
+
* Various improvements to error reporting (including #4191)
|
|
447
|
+
* backtrace excludes rspec code - use -b to include it
|
|
448
|
+
* split examples into examples (passing) and failing_examples
|
|
449
|
+
|
|
450
|
+
== Version 0.5.3
|
|
451
|
+
The "hurry up, CoR is in two days" release.
|
|
452
|
+
|
|
453
|
+
* Don't run rcov by default
|
|
454
|
+
* Make separate task for running tests with RCov
|
|
455
|
+
* Added Rake task to fail build if coverage drops below a certain threshold
|
|
456
|
+
* Even more failure output cleanup (simplification)
|
|
457
|
+
* Added duck_type constraint for mocks
|
|
458
|
+
|
|
459
|
+
== Version 0.5.2
|
|
460
|
+
This release has minor improvements to the commandline and fixes some gem warnings
|
|
461
|
+
|
|
462
|
+
* Readded README to avoid RDoc warnings
|
|
463
|
+
* Added --version switch to commandline
|
|
464
|
+
* More changes to the mock API
|
|
465
|
+
|
|
466
|
+
== Version 0.5.1
|
|
467
|
+
This release is the first release of RSpec with a new website. It will look better soon.
|
|
468
|
+
|
|
469
|
+
* Added initial documentation for API
|
|
470
|
+
* Added website based on webgen
|
|
471
|
+
* Modified test task to use rcov
|
|
472
|
+
* Deleted unused code (thanks, rcov!)
|
|
473
|
+
* Various changes to the mock API,
|
|
474
|
+
* Various improvements to failure reporting
|
|
475
|
+
|
|
476
|
+
== Version 0.5.0
|
|
477
|
+
This release introduces a new API and obsolesces previous versions.
|
|
478
|
+
|
|
479
|
+
* Moved source code to separate subfolders
|
|
480
|
+
* Added new DSL runner based on instance_exec
|
|
481
|
+
* Added spike for testdox/rdoc generation
|
|
482
|
+
* merge Astels' and Chelimsky's work on ShouldHelper
|
|
483
|
+
* this would be 0.5.0 if I updated the documentation
|
|
484
|
+
* it breaks all of your existing specifications. We're not sorry.
|
|
485
|
+
|
|
486
|
+
== Version 0.3.2
|
|
487
|
+
|
|
488
|
+
The "srbaker is an idiot" release.
|
|
489
|
+
|
|
490
|
+
* also forgot to update the path to the actual Subversion repository
|
|
491
|
+
* this should be it
|
|
492
|
+
|
|
493
|
+
== Version 0.3.1
|
|
494
|
+
|
|
495
|
+
This is just 0.3.0, but with the TUTORIAL added to the documentation list.
|
|
496
|
+
|
|
497
|
+
* forgot to include TUTORIAL in the documentation
|
|
498
|
+
|
|
499
|
+
== Version 0.3.0
|
|
500
|
+
|
|
501
|
+
It's been a while since last release, lots of new stuff is available. For instance:
|
|
502
|
+
|
|
503
|
+
* improvements to the runners
|
|
504
|
+
* addition of should_raise expectation (thanks to Brian Takita)
|
|
505
|
+
* some documentation improvements
|
|
506
|
+
* RSpec usable as a DSL
|
|
507
|
+
|
|
508
|
+
== Version 0.2.0
|
|
509
|
+
|
|
510
|
+
This release provides a tutorial for new users wishing to get started with
|
|
511
|
+
RSpec, and many improvements.
|
|
512
|
+
|
|
513
|
+
* improved reporting in the spec runner output
|
|
514
|
+
* update the examples to the new mock api
|
|
515
|
+
* added TUTORIAL, a getting started document for new users of RSpec
|
|
516
|
+
|
|
517
|
+
== Version 0.1.7
|
|
518
|
+
|
|
519
|
+
This release improves installation and documentation, mock integration and error reporting.
|
|
520
|
+
|
|
521
|
+
* Comparison errors now print the class name too.
|
|
522
|
+
* Mocks now take an optional +options+ parameter to specify behaviour.
|
|
523
|
+
* Removed __expects in favour of should_receive
|
|
524
|
+
* Added line number reporting in mock error messages for unreceived message expectations.
|
|
525
|
+
* Added should_match and should_not_match.
|
|
526
|
+
* Added a +mock+ method to Spec::Context which will create mocks that autoverify (no need to call __verify).
|
|
527
|
+
* Mocks now require names in the constructor to ensure sensible error messages.
|
|
528
|
+
* Made 'spec' executable and updated usage instructions in README accordingly.
|
|
529
|
+
* Made more parts of the Spec::Context API private to avoid accidental usage.
|
|
530
|
+
* Added more RDoc to Spec::Context.
|
|
531
|
+
|
|
532
|
+
== Version 0.1.6
|
|
533
|
+
|
|
534
|
+
More should methods.
|
|
535
|
+
|
|
536
|
+
* Added should_match and should_not_match.
|
|
537
|
+
|
|
538
|
+
== Version 0.1.5
|
|
539
|
+
|
|
540
|
+
Included examples and tests in gem.
|
|
541
|
+
|
|
542
|
+
== Version 0.1.4
|
|
543
|
+
|
|
544
|
+
More tests on block based Mock expectations.
|
|
545
|
+
|
|
546
|
+
== Version 0.1.3
|
|
547
|
+
|
|
548
|
+
Improved mocking:
|
|
549
|
+
|
|
550
|
+
* block based Mock expectations.
|
|
551
|
+
|
|
552
|
+
== Version 0.1.2
|
|
553
|
+
|
|
554
|
+
This release adds some improvements to the mock API and minor syntax improvements
|
|
555
|
+
|
|
556
|
+
* Added Mock.should_expect for a more consistent DSL.
|
|
557
|
+
* Added MockExpectation.and_returns for a better DSL.
|
|
558
|
+
* Made Mock behave as a null object after a call to Mock.ignore_missing
|
|
559
|
+
* Internal syntax improvements.
|
|
560
|
+
* Improved exception trace by adding exception class name to error message.
|
|
561
|
+
* Renamed some tests for better consistency.
|
|
562
|
+
|
|
563
|
+
== Version 0.1.1
|
|
564
|
+
|
|
565
|
+
This release adds some shoulds and improves error reporting
|
|
566
|
+
|
|
567
|
+
* Added should_be_same_as and should_not_be_same_as.
|
|
568
|
+
* Improved error reporting for comparison expectations.
|
|
569
|
+
|
|
570
|
+
== Version 0.1.0
|
|
571
|
+
|
|
572
|
+
This is the first preview release of RSpec, a Behaviour-Driven Development library for Ruby
|
|
573
|
+
|
|
574
|
+
* Added Rake script with tasks for gems, rdoc etc.
|
|
575
|
+
* Added an XForge task to make release go easier.
|