./devel/ruby-rspec-core, Behaviour Driven Development framework for Ruby, core part

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 3.10.1, Package name: ruby26-rspec-core-3.10.1, Maintainer: pkgsrc-users

Behaviour Driven Development for Ruby

# RSpec Core

RSpec Core provides the structure for writing executable examples of how your
code should behave.

## Documentation

* [Cucumber features](http://relishapp.com/rspec/rspec-expectations)
* [RDoc](http://rubydoc.info/gems/rspec-expectations/2.4.0/frames)

Required to run:
[devel/ruby-rspec-support] [lang/ruby26-base]

Required to build:

Master sites:

SHA1: c462b4ecc1ff569a2d0019e7918d46f4d9086a8f
RMD160: f84383e04cca51b693f49cbf929c89cc2d92ddab
Filesize: 160.5 KB

Version history: (Expand)

CVS history: (Expand)

   2021-01-11 14:05:46 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-rspec-core: update to 3.10.1

### 3.10.1 / 2020-12-27
[Full Changelog](http://github.com/rspec/rspec-core/comp … ...v3.10.1)

Bug fixes:

* RSpec warning output was missing deprecations from Ruby, these are now included.
  (Jon Rowe, #2811)

### 3.10.0 / 2020-10-30
[Full Changelog](http://github.com/rspec/rspec-core/comp … ...v3.10.0)


* Memoize `RSpec::Core::Formatters::ExceptionPresenter#exception_lines` to \ 
improve performance
  with slow exception messages. (Maxime Lapointe, #2743)
* Add configuration for an error exit code (to disambiguate errored builds from \ 
failed builds
  by exit status). (Dana Sherson, #2749)

# 3.9.3 / 2020-09-30
[Full Changelog](http://github.com/rspec/rspec-core/comp … 2...v3.9.3)

Bug Fixes:

* Declare `ruby2_keywords` on `method_missing` for other gems. (Jon Rowe, #2731)
* Ensure custom error codes are returned from bisect runs. (Jon Rowe, #2732)
* Ensure `RSpec::Core::Configuration` predicate config methods return booleans.
  (Marc-André Lafortune, #2736)
* Prevent `rspec --bisect` from generating zombie processes while executing
  bisect runs. (Benoit Tigeot, Jon Rowe, #2739)
* Predicates for pending examples, (in `RSpec::Core::Example`, `#pending?`, \ 
`#skipped?` and
  `#pending_fixed?`) now return boolean values rather than truthy values.
  (Marc-André Lafortune, #2756, #2758)
* Exceptions which have a message which cannot be cast to a string will no longer
  cause a crash. (Jon Rowe, #2761)
   2020-05-05 15:05:36 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-rspec-core: update to 3.9.2

Update ruby-rspec-core to 3.9.2.

### 3.9.2 / 2020-05-02
[Full Changelog](http://github.com/rspec/rspec-core/comp … 1...v3.9.2)

Bug Fixes:

* Emit a warning when `around` hook is used with `:context` scope
  (Phil Pirozhkov, #2687)
* Prevent invalid implementations of `Exception#cause` from being treated as a
  valid cause (and causing strange errors) in \ 
  (Jon Rowe, #2703)
* Correctly detect patterns when `rspec_opts` is an array in `RSpec::Core::RakeTask`.
  (Marc-André Lafortune, #2704)
* Make `RSpec.clear_examples` reset example counts for example groups. This fixes
  an issue with re-running specs not matching ids. (Agis Anastasopoulos, #2723)
   2020-01-16 16:45:20 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-rspec-core: udpate to 3.9.1

Update ruby-rspec-core to 3.9.1.

### 3.9.1 / 2019-12-28
[Full Changelog](http://github.com/rspec/rspec-core/comp … 0...v3.9.1)

Bug Fixes:

* Prevent bisect command from blocking when number of specs exceeds file
  descriptor limit on OSX or Linux. (Benoit Tigeot, #2669)
* Prevent warnings being issued on Ruby 2.7.0. (Jon Rowe, #2680)
   2019-11-02 15:32:04 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
devel/ruby-rspec-core: update to 3.9.0

Update ruby-rspec-core to 3.9.0.

pkgsr change: Add "USE_LANGUAGES=	# none".

### 3.9.0 / 2019-10-07
[Full Changelog](http://github.com/rspec/rspec-core/comp … 2...v3.9.0)

* Improve the handling of errors during loading support files, if a file
  errors before loading specs, RSpec will now skip loading the specs.
  (David Rodríguez, #2568)
* Add support for --example-matches to run examples by regular expression.
  (Sam Joseph, Matt Rider, @okothkongo1, #2586)
* Add `did_you_mean` suggestions for file names encountering a `LoadError`
  outside of examples. (@obromios, #2601)
* Add a minimalist quick fix style formatter, only outputs failures as
  `file:line:message`. (Romain Tartière, #2614)
* Convert string number values to integer when used for \ 
  (Viktor Fonic, #2634)
* Issue warning when invalid values are used for `RSpec::Configuration#fail_fast`
  (Viktor Fonic, #2634)
* Add support for running the Rake task in a clean environment.
  (Jon Rowe, #2632)
* Indent messages by there example group / example in the documentation formatter.
  (Samuel Williams, #2649)

### 3.8.2 / 2019-06-29
[Full Changelog](http://github.com/rspec/rspec-core/comp … 1...v3.8.2)

Bug Fixes:

* Fix `config.define_derived_metadata` so that cascades are not triggered
  until metadata has been assigned to the example or example group
  (Myron Marston, #2635).

### 3.8.1 / 2019-06-13
[Full Changelog](http://github.com/rspec/rspec-core/comp … 0...v3.8.1)

Bug Fixes:

* Handle RSpec description(s) with japanese chars in CP932 encoded files.
  (Benoit Tigeot, #2575)
* When defining `let` methods that overwrite an existing method, prevent
  a warning being issued by removing the old definition. (Jon Rowe, #2593)
* Prevent warning on Ruby 2.6.0-rc1 (Keiji Yoshimi, #2582)
* Fix `config.define_derived_metadata` so that it supports cascades.
  (Myron Marston, #2630).
   2019-02-06 16:12:13 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
devel/ruby-rspec-core: update to 3.8.0

### 3.8.0 / 2018-08-04
[Full Changelog](http://github.com/rspec/rspec-core/comp … 1...v3.8.0)


* Improve shell escaping used by `RSpec::Core::RakeTask` and `--bisect` so
  that it works on `Pathname` objects. (Andrew Vit, #2479)
* Nicely format errors encountered while loading files specified
  by `--require` option.  (Myron Marston, #2504)
* Significantly improve the performance of `--bisect` on platforms that
  support forking by replacing the shell-based runner with one that uses
  forking so that RSpec and the application environment can be booted only
  once, instead of once per spec run. (Myron Marston, #2511)
* Provide a configuration API to pick which bisect runner is used for
  `--bisect`. Pick a runner via `config.bisect_runner = :shell` or
  `config.bisect_runner = :fork` in a file loaded by a `--require`
  option passed at the command line or set in `.rspec`. (Myron Marston, #2511)
* Support the [XDG Base Directory
  Specification](https://specifications.freedesktop.org/ … ec/latest/)
  for the global options file. `~/.rspec` is still supported when no
  options file is found in `$XDG_CONFIG_HOME/rspec/options` (Magnus Bergmark, #2538)
* Extract `RSpec.world.prepare_example_filtering` that sets up the
  example filtering for custom RSpec runners. (Oleg Pudeyev, #2552)

Bug Fixes:

* Prevent an `ArgumentError` when truncating backtraces with two identical
  backtraces. (Systho, #2515, Benoit Tigeot, #2539)
   2018-03-14 15:18:50 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-rspec-core: update to 3.7.1

### 3.7.1 / 2018-01-02
[Full Changelog](http://github.com/rspec/rspec-core/comp … 0...v3.7.1)

Bug Fixes:

* Work around duplicate config hook regression introduced
  by Ruby 2.5's lazy proc allocation. (Myron Marston, #2497)

### 3.7.0 / 2017-10-17
[Full Changelog](http://github.com/rspec/rspec-core/comp … 0...v3.7.0)


* Add `-n` alias for `--next-failure`. (Ian Ker-Seymer, #2434)
* Improve compatibility with `--enable-frozen-string-literal` option
  on Ruby 2.3+. (Pat Allan, #2425, #2427, #2437)
* Do not run `:context` hooks for example groups that have been skipped.
  (Devon Estes, #2442)
* Add `errors_outside_of_examples_count` to the JSON formatter.
  (Takeshi Arabiki, #2448)

Bug Fixes:

* Improve compatibility with frozen string literal flag. (#2425, Pat Allan)
   2017-09-04 20:08:31 by Thomas Klausner | Files touched by this commit (163)
Log message:
Follow some redirects.
   2017-06-05 16:05:16 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-rspec-core to 3.6.0.

### 3.6.0 / 2017-05-04
[Full Changelog](http://github.com/rspec/rspec-core/comp … 2...v3.6.0)


* Add seed information to JSON formatter output. (#2388, Mitsutaka Mimura)
* Include example id in the JSON formatter output. (#2369, Xavier Shay)
* Respect changes to `config.output_stream` after formatters have been
  setup. (#2401, #2419, Ilya Lavrov)

Bug Fixes:

* Delay formatter loading until the last minute to allow accessing the reporter
  without triggering formatter setup. (Jon Rowe, #2243)
* Ensure context hook failures running before an example can access the
  reporter. (Jon Jensen, #2387)
* Multiple fixes to allow using the runner multiple times within the same
  process: `RSpec.clear_examples` resets the formatter and no longer clears
  shared examples, and streams can be used across multiple runs rather than
  being closed after the first. (#2368, Xavier Shay)
* Prevent unexpected `example_group_finished` notifications causing an error.
  (#2396, VTJamie)
* Fix bugs where `config.when_first_matching_example_defined` hooks would fire
  multiple times in some cases. (Yuji Nakayama, #2400)
* Default `last_run_status` to "unknown" when the `status` field in the
  persistence file contains an unrecognized value. (#2360, matrinox)
* Prevent `let` from defining an `initialize` method. (#2414, Jon Rowe)

### 3.6.0.beta2 / 2016-12-12
[Full \ 
Changelog](http://github.com/rspec/rspec-core/comp … .6.0.beta2)


* Include count of errors occurring outside examples in default summaries.
  (#2351, Jon Rowe)
* Warn when including shared example groups recursively. (#2356, Jon Rowe)
* Improve failure snippet syntax highlighting with CodeRay to highlight
  RSpec "keywords" like `expect`. (#2358, Myron Marston)

### 3.6.0.beta1 / 2016-10-09
[Full Changelog](http://github.com/rspec/rspec-core/comp … .6.0.beta1)


* Warn when duplicate shared examples definitions are loaded due to being
  defined in files matching the spec pattern (e.g. `_spec.rb`) (#2278, Devon Estes)
* Improve metadata filtering so that it can match against any object
  that implements `===` instead of treating regular expressions as
  special. (Myron Marston, #2294)
* Improve `rspec -v` so that it prints out the versions of each part of
  RSpec to prevent confusion. (Myron Marston, #2304)
* Add `config.fail_if_no_examples` option which causes RSpec to fail if
  no examples are found. (Ewa Czechowska, #2302)
* Nicely format errors encountered while loading spec files.
  (Myron Marston, #2323)
* Improve the API for enabling and disabling color output (Josh
  Justice, #2321):
  * Automatically enable color if the output is a TTY, since color is
    nearly always desirable if the output can handle it.
  * Introduce new CLI flag to force color on (`--force-color`), even
    if the output is not a TTY. `--no-color` continues to work as well.
  * Introduce `config.color_mode` for configuring the color from Ruby.
    `:automatic` is the default and will produce color if the output is
    a TTY. `:on` forces it on and `:off` forces it off.