Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
rubygem-FlexMock
rubygem-FlexMock.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rubygem-FlexMock.spec of Package rubygem-FlexMock
# # spec file for package rubygem-FlexMock (Version 0.6.2) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: rubygem-FlexMock Version: 0.6.2 Release: 1 %define mod_name flexmock # License: Other uncritical OpenSource License Group: Development/Languages/Ruby # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: rubygems_with_buildroot_patch Requires: rubygems >= 0.8.11 # URL: http://onestepback.org/software/flexmock/ # http://rubyforge.org/projects/flexmock/ Source: http://rubyforge.org/frs/download.php/22253/flexmock-0.6.2.gem # Summary: Simple and Flexible Mock Objects for Testing %description FlexMock is a extremely simple mock object class compatible with the Test::Unit framework. Although the FlexMock's interface is simple, it is very flexible. Authors: -------- Jim Weirich <jim@weirichhouse.org> %prep %build %install gem install --build-root=%{buildroot} %{S:0} %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_name}-%{version}.gem %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/ %{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{version}.gemspec %doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/ %changelog * Sun Aug 05 2007 - mrueckert@suse.de - update to version 0.6.2 * flexmock() with a block now always returns the domain object. flexmock() without a block returns the mock object. Note that for normal mocks, the domain and mock objects are the same. For partial mocks, the mock is separate from the domain object. * Added +and_raise+ to the list of expection specifications. * Tue May 22 2007 - mrueckert@suse.de - update to version 0.6.1 too many changes * Fri Oct 20 2006 - mrueckert@suse.de - update to version 0.4.3: Release 0.4.3 contains a fix for handling non-direct class methods properly (bug report from Scott Barron). * Wed Sep 13 2006 - mrueckert@suse.de - update to version 0.4.1: o Version 0.4.1 * Removed include of Test::Unit::Assertions from Expectations. * Fixed mocking of kernel methods. o Version 0.4.0 * Added stubbing for mocking methods of existing objects. * Added multiple return values for the +and_returns+ method. * Added block initialization to the flexmock method. o Version 0.3.2 * Fixed bug when mock is used as a replacement class in class interception. o Version 0.3.1 * Fixed some warnings regarding uninitialized variables. * Added (very) simple class interception. * Added the mock_factory method to go along with class interception. * When using Test::Unit integration, avoid mock verification if the test has already failed for some reason. * Wed Jun 21 2006 - mrueckert@suse.de - use rubygems_with_buildroot_patch instead of the versioned buildrequires * Mon Jun 19 2006 - mrueckert@suse.de - Update to version 0.3.0 - Switched to gem based building * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Fri Jan 20 2006 - mrueckert@suse.de - Initial package of version 0.1.7
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor