summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2013-09-15 10:13:53 +0000
committertaca <taca@pkgsrc.org>2013-09-15 10:13:53 +0000
commit4f00fe1490c51991b2a1ec70950f12290fa4b9b7 (patch)
tree5bbe79e06a28b87ba865898971dbb429e1b8728a /devel
parent902fbc85aada2afe29d07474b4aaf4698160f4ae (diff)
downloadpkgsrc-4f00fe1490c51991b2a1ec70950f12290fa4b9b7.tar.gz
Update ruby-rspec-core to 2.14.5.
### 2.14.5 / 2013-08-13 [full changelog](http://github.com/rspec/rspec-core/compare/v2.14.4...v2.14.5) Bug fixes: * Fix a `NoMethodError` that was being raised when there were no shared examples or contexts declared and `RSpec.world.reset` is invoked. (thepoho, Jon Rowe, Myron Marston) * Fix a deprecation warning that was being incorrectly displayed when `shared_examples` are declared at top level in a `module` scope. (Jon Rowe) * Fix after(:all) hooks so consecutive (same context) scopes will run even if one raises an error. (Jon Rowe, Trejkaz) * JsonFormatter no longer dies if `dump_profile` isn't defined (Alex / @MasterLambaster, Jon Rowe) ### 2.14.4 / 2013-07-21 [full changelog](http://github.com/rspec/rspec-core/compare/v2.14.3...v2.14.4) Bug fixes * Fix regression in 2.14: ensure configured requires (via `-r` option) are loaded before spec files are loaded. This allows the spec files to programatically change the file pattern (Jon Rowe). * Autoload `RSpec::Mocks` and `RSpec::Expectations` when referenced if they are not already loaded (`RSpec::Matches` has been autoloaded for a while). In the `rspec` gem, we changed it recently to stop loading `rspec/mocks` and `rspec/expectations` by default, as some users reported problems where they were intending to use mocha, not rspec-mocks, but rspec-mocks was loaded and causing a conflict. rspec-core loads mocks and expectations at the appropriate time, so it seemed like a safe change -- but caused a problem for some authors of libraries that integrate with RSpec. This fixes that problem. (Myron Marston) * Gracefully handle a command like `rspec --profile path/to/spec.rb`: the `path/to/spec.rb` arg was being wrongly treated as the `profile` integer arg, which got cast `0` using `to_i`, causing no profiled examples to be printed. (Jon Rowe) ### 2.14.3 / 2013-07-13 [full changelog](http://github.com/rspec/rspec-core/compare/v2.14.2...v2.14.3) Bug fixes * Fix deprecation notices issued from `RSpec::Core::RakeTask` so that they work properly when all of rspec-core is not loaded. (This was a regression in 2.14) (Jon Rowe) ### 2.14.2 / 2013-07-09 [full changelog](http://github.com/rspec/rspec-core/compare/v2.14.1...v2.14.2) Bug fixes * Fix regression caused by 2.14.1 release: formatters that report that they `respond_to?` a notification, but had no corresponding method would raise an error when registered. The new fix is to just implement `start` on the deprecation formatter to fix the original JRuby/ruby-debug issue. (Jon Rowe) ### 2.14.1 / 2013-07-08 [full changelog](http://github.com/rspec/rspec-core/compare/v2.14.0...v2.14.1) Bug fixes * Address deprecation formatter failure when using `ruby-debug` on JRuby: fix `RSpec::Core::Reporter` to not send a notification when the formatter's implementation of the notification method comes from `Kernel` (Alex Portnov, Jon Rowe). ### 2.14.0 / 2013-07-06 [full changelog](http://github.com/rspec/rspec-core/compare/v2.14.0.rc1...v2.14.0) Enhancements * Apply focus to examples defined with `fit` (equivalent of `it "description", focus: true`) (Michael de Silva) Bug fixes * Ensure methods defined by `let` take precedence over others when there is a name collision (e.g. from an included module). (Jon Rowe, Andy Lindeman and Myron Marston) ### 2.14.0.rc1 / 2013-05-27 [full changelog](http://github.com/rspec/rspec-core/compare/v2.13.1...v2.14.0.rc1) Enhancements * Improved Windows detection inside Git Bash, for better `--color` handling. * Add profiling of the slowest example groups to `--profile` option. The output is sorted by the slowest average example groups. * Don't show slow examples if there's a failure and both `--fail-fast` and `--profile` options are used (Paweł Gościcki). * Rather than always adding `spec` to the load path, add the configured `--default-path` to the load path (which defaults to `spec`). This better supports folks who choose to put their specs in a different directory (John Feminella). * Add some logic to test time duration precision. Make it a function of time, dropping precision as the time increases. (Aaron Kromer) * Add new `backtrace_inclusion_patterns` config option. Backtrace lines that match one of these patterns will _always_ be included in the backtrace, even if they match an exclusion pattern, too (Sam Phippen). * Support ERB trim mode using the `-` when parsing `.rspec` as ERB (Gabor Garami). * Give a better error message when let and subject are called without a block. (Sam Phippen). * List the precedence of `.rspec-local` in the configuration documentation (Sam Phippen) * Support `{a,b}` shell expansion syntax in `--pattern` option (Konstantin Haase). * Add cucumber documentation for --require command line option (Bradley Schaefer) * Expose configruation options via config: * `config.libs` returns the libs configured to be added onto the load path * `full_backtrace?` returns the state of the backtrace cleaner * `debug?` returns true when the debugger is loaded * `line_numbers` returns the line numbers we are filtering by (if any) * `full_description` returns the RegExp used to filter descriptions (Jon Rowe) * Add setters for RSpec.world and RSpec.configuration (Alex Soulim) * Configure ruby's warning behaviour with `--warnings` (Jon Rowe) * Fix an obscure issue on old versions of `1.8.7` where `Time.dup` wouldn't allow access to `Time.now` (Jon Rowe) * Make `shared_examples_for` context aware, so that keys may be safely reused in multiple contexts without colliding. (Jon Rowe) * Add a configurable `deprecation_stream` (Jon Rowe) * Publish deprecations through a formatter (David Chelimsky) Bug fixes * Make JSON formatter behave the same when it comes to `--profile` as the text formatter (Paweł Gościcki). * Fix named subjects so that if an inner group defines a method that overrides the named method, `subject` still retains the originally declared value (Myron Marston). * Fix random ordering so that it does not cause `rand` in examples in nested sibling contexts to return the same value (Max Shytikov). * Use the new `backtrace_inclusion_patterns` config option to ensure that folks who develop code in a directory matching one of the default exclusion patterns (e.g. `gems`) still get the normal backtrace filtering (Sam Phippen). * Fix ordering of `before` hooks so that `before` hooks declared in `RSpec.configure` run before `before` hooks declared in a shared context (Michi Huber and Tejas Dinkar). * Fix `Example#full_description` so that it gets filled in by the last matcher description (as `Example#description` already did) when no doc string has been provided (David Chelimsky). * Fix the memoized methods (`let` and `subject`) leaking `define_method` as a `public` method. (Thomas Holmes and Jon Rowe) (#873) * Fix warnings coming from the test suite. (Pete Higgins) Deprecations * Deprecate `Configuration#backtrace_clean_patterns` in favor of `Configuration#backtrace_exclusion_patterns` for greater consistency and symmetry with new `backtrace_inclusion_patterns` config option (Sam Phippen). * Deprecate `Configuration#requires=` in favor of using ruby's `require`. Requires specified by the command line can still be accessed by the `Configuration#require` reader. (Bradley Schaefer) * Deprecate calling `SharedExampleGroups` defined across sibling contexts (Jon Rowe)
Diffstat (limited to 'devel')
-rw-r--r--devel/ruby-rspec-core/Makefile4
-rw-r--r--devel/ruby-rspec-core/PLIST17
-rw-r--r--devel/ruby-rspec-core/distinfo8
3 files changed, 20 insertions, 9 deletions
diff --git a/devel/ruby-rspec-core/Makefile b/devel/ruby-rspec-core/Makefile
index 601db009844..31d80450208 100644
--- a/devel/ruby-rspec-core/Makefile
+++ b/devel/ruby-rspec-core/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2013/03/17 16:05:42 taca Exp $
+# $NetBSD: Makefile,v 1.10 2013/09/15 10:13:53 taca Exp $
-DISTNAME= rspec-core-2.13.1
+DISTNAME= rspec-core-2.14.5
CATEGORIES= devel
MAINTAINER= pkgsrc-users@NetBSD.org
diff --git a/devel/ruby-rspec-core/PLIST b/devel/ruby-rspec-core/PLIST
index 0040731c42f..17a2db50bc5 100644
--- a/devel/ruby-rspec-core/PLIST
+++ b/devel/ruby-rspec-core/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2013/03/11 07:46:45 taca Exp $
+@comment $NetBSD: PLIST,v 1.9 2013/09/15 10:13:53 taca Exp $
bin/autospec
bin/rspec
${GEM_HOME}/cache/${GEM_NAME}.gem
@@ -22,12 +22,15 @@ ${GEM_LIBDIR}/features/command_line/line_number_option.feature
${GEM_LIBDIR}/features/command_line/order.feature
${GEM_LIBDIR}/features/command_line/pattern_option.feature
${GEM_LIBDIR}/features/command_line/rake_task.feature
+${GEM_LIBDIR}/features/command_line/require_option.feature
${GEM_LIBDIR}/features/command_line/ruby.feature
${GEM_LIBDIR}/features/command_line/tag.feature
+${GEM_LIBDIR}/features/command_line/warnings_option.feature
${GEM_LIBDIR}/features/configuration/alias_example_to.feature
${GEM_LIBDIR}/features/configuration/backtrace_clean_patterns.feature
${GEM_LIBDIR}/features/configuration/custom_settings.feature
${GEM_LIBDIR}/features/configuration/default_path.feature
+${GEM_LIBDIR}/features/configuration/deprecation_stream.feature
${GEM_LIBDIR}/features/configuration/fail_fast.feature
${GEM_LIBDIR}/features/configuration/failure_exit_code.feature
${GEM_LIBDIR}/features/configuration/order_and_seed.feature
@@ -45,7 +48,6 @@ ${GEM_LIBDIR}/features/expectation_framework_integration/configure_expectation_f
${GEM_LIBDIR}/features/filtering/exclusion_filters.feature
${GEM_LIBDIR}/features/filtering/if_and_unless.feature
${GEM_LIBDIR}/features/filtering/inclusion_filters.feature
-${GEM_LIBDIR}/features/filtering/run_all_when_everything_filtered.feature
${GEM_LIBDIR}/features/formatters/configurable_colors.feature
${GEM_LIBDIR}/features/formatters/custom_formatter.feature
${GEM_LIBDIR}/features/formatters/json_formatter.feature
@@ -72,10 +74,12 @@ ${GEM_LIBDIR}/features/subject/explicit_subject.feature
${GEM_LIBDIR}/features/subject/implicit_receiver.feature
${GEM_LIBDIR}/features/subject/implicit_subject.feature
${GEM_LIBDIR}/features/support/env.rb
+${GEM_LIBDIR}/features/support/rubinius.rb
${GEM_LIBDIR}/lib/autotest/discover.rb
${GEM_LIBDIR}/lib/autotest/rspec2.rb
${GEM_LIBDIR}/lib/rspec/autorun.rb
${GEM_LIBDIR}/lib/rspec/core.rb
+${GEM_LIBDIR}/lib/rspec/core/backtrace_cleaner.rb
${GEM_LIBDIR}/lib/rspec/core/backward_compatibility.rb
${GEM_LIBDIR}/lib/rspec/core/command_line.rb
${GEM_LIBDIR}/lib/rspec/core/configuration.rb
@@ -94,6 +98,7 @@ ${GEM_LIBDIR}/lib/rspec/core/filter_manager.rb
${GEM_LIBDIR}/lib/rspec/core/formatters.rb
${GEM_LIBDIR}/lib/rspec/core/formatters/base_formatter.rb
${GEM_LIBDIR}/lib/rspec/core/formatters/base_text_formatter.rb
+${GEM_LIBDIR}/lib/rspec/core/formatters/deprecation_formatter.rb
${GEM_LIBDIR}/lib/rspec/core/formatters/documentation_formatter.rb
${GEM_LIBDIR}/lib/rspec/core/formatters/helpers.rb
${GEM_LIBDIR}/lib/rspec/core/formatters/html_formatter.rb
@@ -103,7 +108,6 @@ ${GEM_LIBDIR}/lib/rspec/core/formatters/progress_formatter.rb
${GEM_LIBDIR}/lib/rspec/core/formatters/snippet_extractor.rb
${GEM_LIBDIR}/lib/rspec/core/formatters/text_mate_formatter.rb
${GEM_LIBDIR}/lib/rspec/core/hooks.rb
-${GEM_LIBDIR}/lib/rspec/core/load_path.rb
${GEM_LIBDIR}/lib/rspec/core/memoized_helpers.rb
${GEM_LIBDIR}/lib/rspec/core/metadata.rb
${GEM_LIBDIR}/lib/rspec/core/metadata_hash_builder.rb
@@ -121,16 +125,19 @@ ${GEM_LIBDIR}/lib/rspec/core/ruby_project.rb
${GEM_LIBDIR}/lib/rspec/core/runner.rb
${GEM_LIBDIR}/lib/rspec/core/shared_context.rb
${GEM_LIBDIR}/lib/rspec/core/shared_example_group.rb
+${GEM_LIBDIR}/lib/rspec/core/shared_example_group/collection.rb
${GEM_LIBDIR}/lib/rspec/core/version.rb
${GEM_LIBDIR}/lib/rspec/core/world.rb
${GEM_LIBDIR}/spec/autotest/discover_spec.rb
${GEM_LIBDIR}/spec/autotest/failed_results_re_spec.rb
${GEM_LIBDIR}/spec/autotest/rspec_spec.rb
${GEM_LIBDIR}/spec/command_line/order_spec.rb
+${GEM_LIBDIR}/spec/rspec/core/backtrace_cleaner_spec.rb
${GEM_LIBDIR}/spec/rspec/core/command_line_spec.rb
${GEM_LIBDIR}/spec/rspec/core/command_line_spec_output.txt
${GEM_LIBDIR}/spec/rspec/core/configuration_options_spec.rb
${GEM_LIBDIR}/spec/rspec/core/configuration_spec.rb
+${GEM_LIBDIR}/spec/rspec/core/deprecation_spec.rb
${GEM_LIBDIR}/spec/rspec/core/deprecations_spec.rb
${GEM_LIBDIR}/spec/rspec/core/drb_command_line_spec.rb
${GEM_LIBDIR}/spec/rspec/core/drb_options_spec.rb
@@ -140,6 +147,7 @@ ${GEM_LIBDIR}/spec/rspec/core/example_spec.rb
${GEM_LIBDIR}/spec/rspec/core/filter_manager_spec.rb
${GEM_LIBDIR}/spec/rspec/core/formatters/base_formatter_spec.rb
${GEM_LIBDIR}/spec/rspec/core/formatters/base_text_formatter_spec.rb
+${GEM_LIBDIR}/spec/rspec/core/formatters/deprecation_formatter_spec.rb
${GEM_LIBDIR}/spec/rspec/core/formatters/documentation_formatter_spec.rb
${GEM_LIBDIR}/spec/rspec/core/formatters/helpers_spec.rb
${GEM_LIBDIR}/spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html
@@ -183,15 +191,18 @@ ${GEM_LIBDIR}/spec/rspec/core/rspec_matchers_spec.rb
${GEM_LIBDIR}/spec/rspec/core/ruby_project_spec.rb
${GEM_LIBDIR}/spec/rspec/core/runner_spec.rb
${GEM_LIBDIR}/spec/rspec/core/shared_context_spec.rb
+${GEM_LIBDIR}/spec/rspec/core/shared_example_group/collection_spec.rb
${GEM_LIBDIR}/spec/rspec/core/shared_example_group_spec.rb
${GEM_LIBDIR}/spec/rspec/core/world_spec.rb
${GEM_LIBDIR}/spec/rspec/core_spec.rb
${GEM_LIBDIR}/spec/spec_helper.rb
${GEM_LIBDIR}/spec/support/config_options_helper.rb
${GEM_LIBDIR}/spec/support/helper_methods.rb
+${GEM_LIBDIR}/spec/support/isolate_load_path_mutation.rb
${GEM_LIBDIR}/spec/support/isolated_directory.rb
${GEM_LIBDIR}/spec/support/isolated_home_directory.rb
${GEM_LIBDIR}/spec/support/matchers.rb
+${GEM_LIBDIR}/spec/support/sandboxed_mock_space.rb
${GEM_LIBDIR}/spec/support/shared_example_groups.rb
${GEM_LIBDIR}/spec/support/spec_files.rb
${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/devel/ruby-rspec-core/distinfo b/devel/ruby-rspec-core/distinfo
index 3c9b8f53064..e87aa1e3ee8 100644
--- a/devel/ruby-rspec-core/distinfo
+++ b/devel/ruby-rspec-core/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.9 2013/03/17 16:05:42 taca Exp $
+$NetBSD: distinfo,v 1.10 2013/09/15 10:13:53 taca Exp $
-SHA1 (rspec-core-2.13.1.gem) = 519eb818145995079b6061164b9fbafeee0ecdff
-RMD160 (rspec-core-2.13.1.gem) = c71c2821e014f1ceff7197ed869e096dcf4a5c86
-Size (rspec-core-2.13.1.gem) = 176640 bytes
+SHA1 (rspec-core-2.14.5.gem) = 942b918c2b2c297fb71c73dba20df78470c52a3f
+RMD160 (rspec-core-2.14.5.gem) = be626b603244f2c52a0b6824e6fc0a15ae2d8439
+Size (rspec-core-2.14.5.gem) = 181248 bytes