2015-11-29 15:49:49 by Takahiro Kambe | Files touched by this commit (3) |
Log message:
Update ruby-rspec-core to 3.4.1.
### 3.4.1 / 2015-11-18
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.4.0...v3.4.1)
Bug Fixes:
* Fix backtrace formatter to handle backtraces that are `nil`.
(Myron Marston, #2118)
### 3.4.0 / 2015-11-11
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.3.2...v3.4.0)
Enhancements:
* Combine multiple `--pattern` arguments making them equivalent to
`--pattern=1,2,...,n`. (Jon Rowe, #2002)
* Improve `inspect` and `to_s` output for `RSpec::Core::Example`
objects, replacing Ruby's excessively verbose output. (Gavin Miller, #1922)
* Add `silence_filter_announcements` configuration option.
(David Raffensperger, #2007)
* Add optional `example_finished` notification to the reporter protocol for
when you don't care about the example outcome. (Jon Rowe, #2013)
* Switch `--bisect` to a recursion-based bisection algorithm rather than
a permutation-based one. This better handles cases where an example
depends upon multiple other examples instead of just one and minimizes
the number of runs necessary to determine that an example set cannot be
minimized further. (Simon Coffey, #1997)
* Allow simple filters (e.g. `:symbol` key only) to be triggered by truthey
values. (Tim Mertens, #2035)
* Remove unneeded warning about need for `ansicon` on Windows when using
RSpec's `--color` option. (Ashley Engelund, #2038)
* Add option to configure RSpec to raise errors when issuing warnings.
(Jon Rowe, #2052)
* Append the root `cause` of a failure or error to the printed failure
output when a `cause` is available. (Adam Magan)
* Stop rescuing `NoMemoryError`, `SignalExcepetion`, `Interrupt` and
`SystemExit`. It is dangerous to interfere with these. (Myron Marston, #2063)
* Add `config.project_source_dirs` setting which RSpec uses to determine
if a backtrace line comes from your project source or from some
external library. It defaults to `spec`, `lib` and `app` but can be
configured differently. (Myron Marston, #2088)
* Improve failure line detection so that it looks for the failure line
in any project source directory instead of just in the spec file.
In addition, if no backtrace lines can be found from a project source
file, we fall back to displaying the source of the first backtrace
line. This should virtually eliminate the "Unable to find matching
line from backtrace" messages. (Myron Marston, #2088)
* Add support for `:extra_failure_lines` example metadata that will
be appended to the failure output. (bootstraponline, #2092).
* Add `RSpec::Core::Example#duplicate_with` to produce new examples
with cloned metadata. (bootstraponline, #2098)
* Add `RSpec::Core::Configuration#on_example_group_definition` to register
hooks to be invoked when example groups are created. (bootstraponline, #2094)
* Add `add_example` and `remove_example` to `RSpec::Core::ExampleGroup` to
allow manipulating an example groups examples. (bootstraponline, #2095)
* Display multiline failure source lines in failure output when Ripper is
available (MRI >= 1.9.2, and JRuby >= 1.7.5 && < 9.0.0.0.rc1).
(Yuji Nakayama, #2083)
* Add `max_displayed_failure_line_count` configuration option
(defaults to 10). (Yuji Nakayama, #2083)
* Enhance `fail_fast` option so it can take a number (e.g. `--fail-fast=3`)
to force the run to abort after the specified number of failures.
(Jack Scotti, #2065)
* Syntax highlight the failure snippets in text formatters when `color`
is enabled and the `coderay` gem is installed on a POSIX system.
(Myron Marston, #2109)
Bug Fixes:
* Lock `example_status_persistence_file` when reading from and writing
to it to prevent race conditions when multiple processes try to use
it. (Ben Woosley, #2029)
* Fix regression in 3.3 that caused spec file names with square brackets in
them (such as `1[]_spec.rb`) to not be loaded properly. (Myron Marston, #2041)
* Fix output encoding issue caused by ASCII literal on 1.9.3 (Jon Rowe, #2072)
* Fix requires in `rspec/core/rake_task.rb` to avoid double requires
seen by some users. (Myron Marston, #2101)
|
2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995) |
Log message:
Add SHA512 digests for distfiles for devel category
Issues found with existing distfiles:
distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
distfiles/fortran-utils-1.1.tar.gz
distfiles/ivykis-0.39.tar.gz
distfiles/enum-1.11.tar.gz
distfiles/pvs-3.2-libraries.tgz
distfiles/pvs-3.2-linux.tgz
distfiles/pvs-3.2-solaris.tgz
distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.
Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden). All existing
SHA1 digests retained for now as an audit trail.
|
2015-09-13 13:51:51 by Takahiro Kambe | Files touched by this commit (2) |
Log message:
Update ruby-rspec-core to 3.3.2.
### 3.3.2 / 2015-07-15
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.3.1...v3.3.2)
Bug Fixes:
* Fix formatters to handle exceptions for which `backtrace` returns `nil`.
(Myron Marston, #2023)
* Fix duplicate formatter detection so that it allows subclasses of formatters
to be added. (Sebastián Tello, #2019)
### 3.3.1 / 2015-06-18
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.3.0...v3.3.1)
Bug Fixes:
* Correctly run `before(:suite)` (and friends) in the context of an example
group instance, thus making the expected RSpec environment available.
(Jon Rowe, #1986)
|
2015-06-13 01:58:07 by Takahiro Kambe | Files touched by this commit (3) |
Log message:
Update ruby-rspec-core to 3.3.0.
### 3.3.0 / 2015-06-12
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.2.3...v3.3.0)
Enhancements:
* Expose the reporter used to run examples via `RSpec::Core::Example#reporter`.
(Jon Rowe, #1866)
* Make `RSpec::Core::Reporter#message` a public supported API. (Jon Rowe, #1866)
* Allow custom formatter events to be published via
`RSpec::Core::Reporter#publish(event_name, hash_of_attributes)`. (Jon Rowe, #1869)
* Remove dependency on the standard library `Set` and replace with \
`RSpec::Core::Set`.
(Jon Rowe, #1870)
* Assign a unique id to each example and group so that they can be
uniquely identified, even for shared examples (and similar situations)
where the location isn't unique. (Myron Marston, #1884)
* Use the example id in the rerun command printed for failed examples
when the location is not unique. (Myron Marston, #1884)
* Add `config.example_status_persistence_file_path` option, which is
used to persist the last run status of each example. (Myron Marston, #1888)
* Add `:last_run_status` metadata to each example, which indicates what
happened the last time an example ran. (Myron Marston, #1888)
* Add `--only-failures` CLI option which filters to only the examples
that failed the last time they ran. (Myron Marston, #1888)
* Add `--next-failure` CLI option which allows you to repeatedly focus
on just one of the currently failing examples, then move on to the
next failure, etc. (Myron Marston, #1888)
* Make `--order random` ordering stable, so that when you rerun a
subset with a given seed, the examples will be order consistently
relative to each other. (Myron Marston, #1908)
* Set example group constant earlier so errors when evaluating the context
include the example group name (Myron Marson, #1911)
* Make `let` and `subject` threadsafe. (Josh Cheek, #1858)
* Add version information into the JSON formatter. (Mark Swinson, #1883)
* Add `--bisect` CLI option, which will repeatedly run your suite in
order to isolate the failures to the smallest reproducible case.
(Myron Marston, #1917)
* For `config.include`, `config.extend` and `config.prepend`, apply the
module to previously defined matching example groups. (Eugene Kenny, #1935)
* When invalid options are parsed, notify users where they came from
(e.g. `.rspec` or `~/.rspec` or `ENV['SPEC_OPTS']`) so they can
easily find the source of the problem. (Myron Marston, #1940)
* Add pending message contents to the json formatter output. (Jon Rowe, #1949)
* Add shared group backtrace to the output displayed by the built-in
formatters for pending examples that have been fixed. (Myron Marston, #1946)
* Add support for `:aggregate_failures` metadata. Tag an example or
group with this metadata and it'll use rspec-expectations'
`aggregate_failures` feature to allow multiple failures in an example
and list them all, rather than aborting on the first failure. (Myron
Marston, #1946)
* When no formatter implements #message add a fallback to prevent those
messages being lost. (Jon Rowe, #1980)
* Profiling examples now takes into account time spent in `before(:context)`
hooks. (Denis Laliberté, Jon Rowe, #1971)
* Improve failure output when an example has multiple exceptions, such
as one from an `it` block and one from an `after` block. (Myron Marston, #1985)
Bug Fixes:
* Handle invalid UTF-8 strings within exception methods. (Benjamin Fleischer, #1760)
* Fix Rake Task quoting of file names with quotes to work properly on
Windows. (Myron Marston, #1887)
* Fix `RSpec::Core::RakeTask#failure_message` so that it gets printed
when the task failed. (Myron Marston, #1905)
* Make `let` work properly when defined in a shared context that is applied
to an individual example via metadata. (Myron Marston, #1912)
* Ensure `rspec/autorun` respects configuration defaults. (Jon Rowe, #1933)
* Prevent modules overriding example group defined methods when included,
prepended or extended by config defined after an example group. (Eugene Kenny, \
#1935)
* Fix regression which caused shared examples to be mistakenly run when specs
where filtered to a particular location. (Ben Axnick, #1963)
* Fix time formatting logic so that it displays 70 seconds as "1 minute,
10 seconds" rather than "1 minute, 1 second". (Paul Brennan, #1984)
* Fix regression where the formatter loader would allow duplicate formatters.
(Jon Rowe, #1990)
|
2015-06-04 16:40:36 by Takahiro Kambe | Files touched by this commit (2) |
Log message:
Update ruby-rspec-core to 3.2.3.
### 3.2.3 / 2015-04-06
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.2.2...v3.2.3)
Bug Fixes:
* Fix how the DSL methods are defined so that RSpec is compatible with
gems that define methods of the same name on `Kernel` (such as
the `its-it` gem). (Alex Kwiatkowski, Ryan Ong, #1907)
* Fix `before(:context) { skip }` so that it does not wrongly cause the
spec suite to exit with a non-zero status when no examples failed.
(Myron Marston, #1926)
|
2015-03-13 14:45:35 by Takahiro Kambe | Files touched by this commit (2) |
Log message:
Update ruby-rspec-core to 3.2.2.
### 3.2.2 / 2015-03-11
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.2.1...v3.2.2)
Bug Fixes:
* Fix regression in 3.2.0 that allowed tag-filtered examples to
run even if there was a location filter applied to the spec
file that was intended to limit the file to other examples.
(#1894, Myron Marston)
### 3.2.1 / 2015-02-23
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.2.0...v3.2.1)
Bug Fixes:
* Notify start-of-run seed _before_ `start` notification rather than
_after_ so that formatters like Fuubar work properly. (Samuel Esposito, #1882)
|
2015-02-07 15:40:27 by Takahiro Kambe | Files touched by this commit (3) |
Log message:
Update ruby-rspec-core to 3.2.0.
### 3.2.0 / 2015-02-03
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.1.7...v3.2.0)
Enhancements:
* Improve the `inspect` output of example groups. (Mike Dalton, #1687)
* When rake task fails, only output the command if `verbose` flag is
set. (Ben Snape, #1704)
* Add `RSpec.clear_examples` as a clear way to reset examples in between
spec runs, whilst retaining user configuration. (Alexey Fedorov, #1706)
* Reduce string allocations when defining and running examples by 70%
and 50% respectively. (Myron Marston, #1738)
* Removed dependency on pathname from stdlib. (Sam Phippen, #1703)
* Improve the message presented when a user hits Ctrl-C.
(Alex Chaffee #1717, #1742)
* Improve shared example group inclusion backtrace displayed
in failed example output so that it works for all methods
of including shared example groups and shows all inclusion
locations. (Myron Marston, #1763)
* Issue seed notification at start (as well as the end) of the reporter
run. (Arlandis Word, #1761)
* Improve the documentation of around hooks. (Jim Kingdon, #1772)
* Support prepending of modules into example groups from config and allow
filtering based on metadata. (Arlandis Word, #1806)
* Emit warnings when `:suite` hooks are registered on an example group
(where it has always been ignored) or are registered with metadata
(which has always been ignored). (Myron Marston, #1805)
* Provide a friendly error message when users call RSpec example group
APIs (e.g. `context`, `describe`, `it`, `let`, `before`, etc) from
within an example where those APIs are unavailable. (Myron Marston, #1819)
* Provide a friendly error message when users call RSpec example
APIs (e.g. `expect`, `double`, `stub_const`, etc) from
within an example group where those APIs are unavailable.
(Myron Marston, #1819)
* Add new `RSpec::Core::Sandbox.sandboxed { }` API that facilitates
testing RSpec with RSpec, allowing you to define example groups
and example from within an example without affecting the global
`RSpec.world` state. (Tyler Ball, 1808)
* Apply line-number filters only to the files they are scoped to,
allowing you to mix filtered and unfiltered files. (Myron Marston, #1839)
* When dumping pending examples, include the failure details so that you
don't have to un-pend the example to see it. (Myron Marston, #1844)
* Make `-I` option support multiple values when separated by
`File::PATH_SEPARATOR`, such as `rspec -I foo:bar`. This matches
the behavior of Ruby's `-I` option. (Fumiaki Matsushima, #1855).
Bug Fixes:
* When assigning generated example descriptions, surface errors
raised by `matcher.description` in the example description.
(Myron Marston, #1771)
* Don't consider expectations from `after` hooks when generating
example descriptions. (Myron Marston, #1771)
* Don't apply metadata-filtered config hooks to examples in groups
with matching metadata when those examples override the parent
metadata value to not match. (Myron Marston, #1796)
* Fix `config.expect_with :minitest` so that `skip` uses RSpec's
implementation rather than Minitest's. (Jonathan Rochkind, #1822)
* Fix `NameError` caused when duplicate example group aliases are defined and
the DSL is not globally exposed. (Aaron Kromer, #1825)
* When a shared example defined in an external file fails, use the host
example group (from a loaded spec file) for the re-run command to
ensure the command will actually work. (Myron Marston, #1835)
* Fix location filtering to work properly for examples defined in
a nested example group within a shared example group defined in
an external file. (Bradley Schaefer, Xavier Shay, Myron Marston, #1837)
* When a pending example fails (as expected) due to a mock expectation,
set `RSpec::Core::Example::ExecutionResult#pending_exception` --
previously it was not being set but should have been. (Myron Marston, #1844)
* Fix rake task to work when `rspec-core` is installed in a directory
containing a space. (Guido Günther, #1845)
* Fix regression in 3.1 that caused `describe Regexp` to raise errors.
(Durran Jordan, #1853)
* Fix regression in 3.x that caused the profile information to be printed
after the summary. (Max Lincoln, #1857)
* Apply `--seed` before loading `--require` files so that required files
can access the provided seed. (Myron Marston, #1745)
* Handle `RSpec::Core::Formatters::DeprecationFormatter::FileStream` being
reopened with an IO stream, which sometimes happens with spring.
(Kevin Mook, #1757)
|
2015-02-02 15:18:35 by Takahiro Kambe | Files touched by this commit (4) |
Log message:
Update ruby-rspec-core to 3.1.7.
Changes from 2.14.8 is too many to write here, please refer Changelog.
Also add support for pkg_alternatives(8) to reduce conflicts.
|
2014-03-14 17:40:41 by Takahiro Kambe | Files touched by this commit (3) |
Log message:
Update ruby-rspec-core to 2.14.8.
### 2.14.8 / 2014-02-27
[Full Changelog](http://github.com/rspec/rspec-core/compare/v2.14.7...v2.14.8)
Bug fixes:
* Fix regression with the `TextMateFormatter` that prevented backtrace links
from being clickable. (Stefan Daschek)
### 2.14.7 / 2013-10-29
[full changelog](http://github.com/rspec/rspec-core/compare/v2.14.6...v2.14.7)
Bug fixes:
* Fix regression in 2.14.6 that broke the Fivemat formatter.
It depended upon either
`example.execution_result[:exception].pending_fixed?` (which
was removed in 2.14.6 to fix an issue with frozen error objects)
or `RSpec::Core::PendingExampleFixedError` (which was renamed
to `RSpec::Core::Pending::PendingExampleFixedError` in 2.8.
This fix makes a constant alias for the old error name.
(Myron Marston)
### 2.14.6 / 2013-10-15
[full changelog](http://github.com/rspec/rspec-core/compare/v2.14.5...v2.14.6)
Bug fixes:
* Format stringified numbers correctly when mathn library is loaded.
(Jay Hayes)
* Fix an issue that prevented the use of frozen error objects. (Lars Gierth)
|
2013-09-15 12:13:53 by Takahiro Kambe | Files touched by this commit (3) |
Log message:
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)
|