rubygem-rspec-expectations
No description set
- Sources inherited from project SUSE:SLE-12-SP1:GA
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout SUSE:SLE-12-SP4:GA/rubygem-rspec-expectations && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
gem2rpm.yml | 0000001656 1.62 KB | |
rspec-expectations-3.3.1.gem | 0000073216 71.5 KB | |
rubygem-rspec-expectations.changes | 0000014255 13.9 KB | |
rubygem-rspec-expectations.spec | 0000001874 1.83 KB |
Latest Revision
Ruediger Oertel (oertel)
committed
(revision 2)
- upgrade to version 3.x (bsc#939726) old: SUSE:SLE-12-SP1:GA/rubygem-rspec-expectations new: home:lslezak:branches:SUSE:SLE-12-SP1:GA/rubygem-rspec-expectations rev None Index: rubygem-rspec-expectations.changes =================================================================== --- rubygem-rspec-expectations.changes (revision 2) +++ rubygem-rspec-expectations.changes (revision 3) @@ -1,13 +1,155 @@ ------------------------------------------------------------------- -Tue Jul 15 16:24:17 UTC 2014 - mrueckert@suse.com +Tue Jul 28 16:10:43 UTC 2015 - lslezak@suse.cz -- regenerate with new template +- upgrade to version 3.x (bsc#939726) ------------------------------------------------------------------- -Thu Jun 26 10:19:57 UTC 2014 - mrueckert@suse.com +Thu Jul 16 04:32:17 UTC 2015 - coolo@suse.com -- move to SLE 12 packaging schema +- updated to version 3.3.1 + see installed Changelog.md + ### 3.3.1 / 2015-07-15 + [Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.3.0...v3.3.1) + + Bug Fixes: + + * Fix `be >`, `be <`, etc so that it fails rather than allowing an + argument error to be raised when compared against an object of the + wrong type. This allows it to be used in composed matcher expressions + against heterogeneous objects. (Dennis Günnewig, #809) + * Fix `respond_to` to work properly on target objects + that redefine the `method` method. (unmanbearpig, #821) + +------------------------------------------------------------------- +Sat Jun 13 04:34:52 UTC 2015 - coolo@suse.com + +- updated to version 3.3.0 + see installed Changelog.md + + ### 3.3.0 / 2015-06-12 + [Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.2.1...v3.3.0) + + Enhancements: + + * Expose `RSpec::Matchers::EnglishPhrasing` to make it easier to write + nice failure messages in custom matchers. (Jared Beck, #736) + * Add `RSpec::Matchers::FailMatchers`, a mixin which provides + `fail`, `fail_with` and `fail_including` matchers for use in + specifying that an expectation fails for use by + extension/plugin authors. (Charlie Rudolph, #729) + * Avoid loading `tempfile` (and its dependencies) unless + it is absolutely needed. (Myron Marston, #735) + * Improve failure output when attempting to use `be_true` or `be_false`. + (Tim Wade, #744) + * Define `RSpec::Matchers#respond_to_missing?` so that + `RSpec::Matchers#respond_to?` and `RSpec::Matchers#method` handle + dynamic predicate matchers. (Andrei Botalov, #751) + * Use custom Time/DateTime/BigDecimal formatting for all matchers + so they are consistently represented in failure messages. + (Gavin Miller, #740) + * Add configuration to turn off warnings about matcher combinations that + may cause false positives. (Jon Rowe, #768) + * Warn when using a bare `raise_error` matcher that you may be subject to + false positives. (Jon Rowe, #768) + * Warn rather than raise when using the`raise_error` matcher in negative + expectations that may be subject to false positives. (Jon Rowe, #775) + * Improve failure message for `include(a, b, c)` so that if `a` and `b` + are included the failure message only mentions `c`. (Chris Arcand, #780) + * Allow `satisfy` matcher to take an optional description argument + that will be used in the `description`, `failure_message` and + `failure_message_when_negated` in place of the undescriptive + "sastify block". (Chris Arcand, #783) + * Add new `aggregate_failures` API that allows multiple independent + expectations to all fail and be listed in the failure output, rather + than the example aborting on the first failure. (Myron Marston, #776) + * Improve `raise_error` matcher so that it can accept a matcher as a single argument + that matches the message. (Time Wade, #782) + + Bug Fixes: + + * Make `contain_exactly` / `match_array` work with strict test doubles + that have not defined `<=>`. (Myron Marston, #758) + * Fix `include` matcher so that it omits the diff when it would + confusingly highlight items that are actually included but are not + an exact match in a line-by-line diff. (Tim Wade, #763) + * Fix `match` matcher so that it does not blow up when matching a string + or regex against another matcher (rather than a string or regex). + (Myron Marston, #772) + * Silence whitespace-only diffs. (Myron Marston, #801) + +------------------------------------------------------------------- +Sat Apr 11 06:03:42 UTC 2015 - coolo@suse.com + +- updated to version 3.2.1 + Bug Fixes: + + * Prevent `Range`s from being enumerated when generating matcher + descriptions. (Jon Rowe, #755) + * Ensure exception messages are compared as strings in the `raise_error` + matcher. (Jon Rowe, #755) + +------------------------------------------------------------------- +Fri Feb 6 18:18:17 UTC 2015 - coolo@suse.com + +- updated to version 3.2.0 + Enhancements: + + * Add `block_arg` method to custom matcher API, which allows you to + access the block passed to a custom matcher, if there is one. + (Mike Dalton, #645) + * Provide more detail in failure message of `yield_control` matcher. + (Jon Rowe, #650) + * Add a shorthand syntax for `chain` in the matcher DSL which assigns values + for use elsewhere, for example `chain :and_smaller_than, :small_value` + creates an `attr_reader` for `small_value` (Tom Stuart, #644) + * Provide a more helpful deprecation message when using the `should` syntax. + (Elia Schito, #663) + * Provide more detail in the `have_attributes` matcher failure message. + (Jon Rowe, #668) + * Make the `have_attributes` matcher diffable. + (Jon Rowe, Alexey Fedorov, #668) + * Add `output(...).to_std(out|err)_from_any_process` as alternatives + to `output(...).to_std(out|err)`. The latter doesn't work when a sub + process writes to the named stream but is much faster. + (Alex Genco, #700) + * Improve compound matchers (created by `and` and `or`) so that diffs + are included in failures when one or more of their matchers + are diffable. (Alexey Fedorov, #713) + + Bug Fixes: + + * Avoid calling `private_methods` from the `be` predicate matcher on + the target object if the object publicly responds to the predicate + method. This avoids a possible error that can occur if the object + raises errors from `private_methods` (which can happen with celluloid + objects). (@chapmajs, #670) + * Make `yield_control` (with no modifier) default to + `at_least(:once)` rather than raising a confusing error + when multiple yields are encountered. + (Myron Marston, #675) + +------------------------------------------------------------------- +Tue Jan 20 16:16:29 UTC 2015 - dmueller@suse.com + +- update to 3.1.2: + * Rails 4.1 enablement + [ full changelog is very long, see + https://github.com/rspec/rspec-expectations/blob/master/Changelog.md + for details ] + +------------------------------------------------------------------- +Mon Oct 13 18:41:38 UTC 2014 - coolo@suse.com + +- adapt to new rubygem packaging + +------------------------------------------------------------------- +Thu Feb 6 18:00:15 UTC 2014 - coolo@suse.com + +- updated to version 2.14.5 + Bug fixes + * Fix wrong matcher descriptions with falsey expected value (yujinakayama) + ------------------------------------------------------------------- Fri Nov 22 08:40:35 UTC 2013 - coolo@suse.com Index: rubygem-rspec-expectations.spec =================================================================== --- rubygem-rspec-expectations.spec (revision 2) +++ rubygem-rspec-expectations.spec (revision 3) @@ -1,7 +1,7 @@ # # spec file for package rubygem-rspec-expectations # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,24 +15,34 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + +# +# This file was generated with a gem2rpm.yml and not just plain gem2rpm. +# All sections marked as MANUAL, license headers, summaries and descriptions +# can be maintained in that file. Please consult this file before editing any +# of those fields +# + Name: rubygem-rspec-expectations -Version: 2.14.4 +Version: 3.3.1 Release: 0 %define mod_name rspec-expectations %define mod_full_name %{mod_name}-%{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: ruby-macros >= 5 -BuildRequires: %{ruby} +BuildRequires: %{ruby >= 1.8.7} BuildRequires: %{rubygem gem2rpm} BuildRequires: %{rubygem rdoc > 3.10} +BuildRequires: ruby-macros >= 5 Url: http://github.com/rspec/rspec-expectations Source: http://rubygems.org/gems/%{mod_full_name}.gem -Summary: rspec-expectations-2.14.4 +Source1: gem2rpm.yml +Summary: API to express expected outcomes of a code example License: MIT Group: Development/Languages/Ruby %description -rspec expectations (should[_not] and matchers) +rspec-expectations provides a simple, readable API to express expected +outcomes of a code example. %prep @@ -40,7 +50,7 @@ %install %gem_install \ - --doc-files="README.md License.txt Changelog.md" \ + --doc-files="Changelog.md License.txt README.md" \ -f %gem_packages Index: gem2rpm.yml =================================================================== --- gem2rpm.yml (added) +++ gem2rpm.yml (revision 3) @@ -0,0 +1,70 @@ +# --- +# ## used by gem2rpm +:summary: API to express expected outcomes of a code example +# ## used by gem2rpm +# :description: |- +# this is a custom description +# +# it can be multiline +# ## used by gem2rpm +# :license: MIT or Ruby +# ## used by gem2rpm and gem_packages +# :version_suffix: -x_y +# ## used by gem2rpm and gem_packages +# :disable_docs: true +# ## used by gem2rpm +# :disable_automatic_rdoc_dep: true +# ## used by gem2rpm +# :preamble: |- +# BuildRequires: foobar +# Requires: foobar +# ## used by gem2rpm +# :patches: +# foo.patch: -p1 +# bar.patch: +# ## used by gem2rpm +:sources: +# - foo.desktop +# - bar.desktop +# :gem_install_args: '....' +# ## used by gem2rpm +# :pre_install: |- +# %if 0%{?use_system_libev} +# export USE_VENDORED_LIBEV="no" +# %endif +# ## used by gem2rpm +# :post_install: |- +# # delete custom files here or do other fancy stuff +# install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse +# ## used by gem2rpm +# :testsuite_command: |- +# (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test) +# ## used by gem2rpm +# :filelist: |- +# /usr/bin/gem2rpm-opensuse +# ## used by gem2rpm +# :scripts: +# :post: |- +# /bin/echo foo +# ## used by gem_packages +# :main: +# :preamble: |- +# Requires: util-linux +# Recommends: pwgen +# :filelist: |- +# /usr/bin/gem2rpm-opensuse +# ## used by gem_packages +# :custom: +# apache: +# :preamble: |- +# Requires: ..... +# :filelist: |- +# /etc/apache2/conf.d/passenger.conf +# :summary: Custom summary is optional +# :description: |- +# Custom description is optional +# +# bar +# :post: |- +# /bin/echo foo +# Index: rspec-expectations-3.3.1.gem =================================================================== Binary files rspec-expectations-3.3.1.gem (revision 3) added Index: rspec-expectations-2.14.4.gem =================================================================== Binary files rspec-expectations-2.14.4.gem (revision 2) deleted
Comments 0