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 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-rspec-core?expand=0&rev=19
71 lines
1.6 KiB
YAML
71 lines
1.6 KiB
YAML
# ---
|
|
# ## used by gem2rpm
|
|
:summary: RSpec runner and formatters
|
|
# ## 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
|
|
#
|