debian/0000755000000000000000000000000012203214534007162 5ustar debian/rules0000755000000000000000000000103112201532471010236 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 # # Uncomment to ignore all test failures (but the tests will run anyway) #export DH_RUBY_IGNORE_TESTS=all # # Uncomment to ignore some test failures (but the tests will run anyway). # Valid values: #export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems # # If you need to specify the .gemspec (eg there is more than one) #export DH_RUBY_GEMSPEC=gem.gemspec %: dh $@ --buildsystem=ruby --with ruby override_dh_installchangelogs: dh_installchangelogs Changelog.md -O--buildsystem=ruby debian/ruby-rspec-mocks.docs0000644000000000000000000000002312124702255013240 0ustar README.md features debian/watch0000644000000000000000000000015311635725555010234 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/rspec-mocks .*/rspec-mocks-(.*).tar.gz debian/source/0000755000000000000000000000000011635725555010504 5ustar debian/source/format0000644000000000000000000000001411635725555011712 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000303112142270646011122 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: rspec-mocks Source: https://github.com/rspec/rspec-mocks Files: * Copyright: Copyright 2005 Steven Baker Copyright 2006 David Chelimsky Copyright 2006 The RSpec Development Team License: Expat Files: debian/* Copyright: Copyright 2011 Lucas Nussbaum Copyright 2012-2013 Cédric Boutillier License: Expat License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/control0000644000000000000000000000207712201532427010575 0ustar Source: ruby-rspec-mocks Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Lucas Nussbaum , Cédric Boutillier Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), ruby-rspec-expectations (>= 2.14~), ruby-rspec-core (>= 2.14~) Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-rspec-mocks.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-rspec-mocks.git Homepage: https://github.com/rspec/rspec-mocks XS-Ruby-Versions: all Package: ruby-rspec-mocks Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter Suggests: ruby-rspec Description: Behaviour Driven Development framework for Ruby - mocks RSpec is a Behaviour Driven Development framework for Ruby. It provides a framework for writing and executing examples of how your Ruby application should behave. . This package provides support for stubbing and mocking. debian/compat0000644000000000000000000000000211635725555010402 0ustar 7 debian/changelog0000644000000000000000000001456712203214534011051 0ustar ruby-rspec-mocks (2.14.3-1) unstable; urgency=low * Imported Upstream version 2.14.3 * bump rspec version in deps -- Cédric Boutillier Thu, 15 Aug 2013 19:25:00 +0200 ruby-rspec-mocks (2.13.1-1) unstable; urgency=low * New upstream version. * Upload to unstable. * debian/control: update my email address * debian/copyright: + update my email address and years + rename MIT license to Expat -- Cédric Boutillier Mon, 06 May 2013 21:53:31 +0200 ruby-rspec-mocks (2.13.0-1) experimental; urgency=low * Team upload. * New upstream version. * Update Build-Depends. * Remove obsolete DM-Upload-Allowed in debian/control. * Ship "features" as documentation. * Ship upstream changelog. * Update Vcs-* to use anonscm.d.o. * Switch to https for the homepage. * Bump Standards-Version to 3.9.4, no changes required. -- Jérémy Bobbio Wed, 27 Mar 2013 17:15:09 +0100 ruby-rspec-mocks (2.10.1-2) unstable; urgency=low * Team upload. * Bump build dependency on gem2deb to >= 0.3.0~. -- Cédric Boutillier Sat, 30 Jun 2012 15:33:22 +0200 ruby-rspec-mocks (2.10.1-1) unstable; urgency=low * New upstream version * Make ruby-tests.rb exit with nonzero code if tests fail -- Cédric Boutillier Fri, 11 May 2012 13:28:09 +0200 ruby-rspec-mocks (2.8.0-1) unstable; urgency=low * New upstream version. The failing test causing FTBFS is now passing (Closes: #652794) * Add myself to the Uploaders * Bumps Standards-Version to 3.9.3. No changes needed * Update DEP5 syntax and information in debian/copyright -- Cédric Boutillier Tue, 13 Mar 2012 23:00:41 +0100 ruby-rspec-mocks (2.5.0-1) unstable; urgency=low * Switch to gem2deb-based packaging and to a more recent upstream release. Upstream package was split into rspec-{core,expectations,mocks}. -- Lucas Nussbaum Tue, 26 Apr 2011 13:19:03 +0200 librspec-ruby (1.3.1-2) unstable; urgency=low * Updated debian/watch to only catch 1.x versions. RSpec2 will be a separate package. -- Tobias Grimm Mon, 14 Feb 2011 22:14:20 +0100 librspec-ruby (1.3.1-1) unstable; urgency=low * New upstream release - This is a minor bugfix release before switching to RSpec 2 * Dropped patches (fixed upstream): - 14_ruby1.9.2-lambda.patch - 16_ruby1.9.2-class-variable.patch -- Tobias Grimm Wed, 27 Oct 2010 01:32:12 +0200 librspec-ruby (1.3.0-3) unstable; urgency=low * Added support for Ruby 1.9.2 which introduced some breaking changes like no '.' in the LOAD_PATH or requiring to pass blocks with a parameter to instance_eval (Closes: #593020) * Standards-Version: 3.9.1 -- Tobias Grimm Tue, 17 Aug 2010 01:16:27 +0200 librspec-ruby (1.3.0-2) unstable; urgency=low * Fixed manpage creation by not including the current date in the diff (Closes: #584385) -- Tobias Grimm Thu, 03 Jun 2010 13:40:25 +0200 librspec-ruby (1.3.0-1) unstable; urgency=low * New upstream release * Falling back to gemwatch for debian/watch, because the Rubyforge download site hasn't been updated for months * Standards-Version: 3.8.4 * Added Ruby 1.9.1 package * Enabled tests depending on FakeFS * source/format 3.0 (quilt) -- Tobias Grimm Sat, 29 May 2010 20:31:49 +0200 librspec-ruby (1.2.9-1) unstable; urgency=low * New upstream release * Fixed debian/watch to recognize .rc versions * Removed 12_differ-test-fix.dpatch - fixed upstream * Added 13_skip-unsupported-tests.dpatch * Added README note about unavailable syntax library * Added README.source referring to dpatch's README.source * Standards-Version: 3.8.3 * Force local inline cache dir during build (parsetree uses libinline-ruby which on-the-fly compiles C code) -- Tobias Grimm Sun, 01 Nov 2009 11:17:07 +0100 librspec-ruby (1.2.8-1) unstable; urgency=low * New upstream release * Added 12_differ-test-fix.dpatch (reported upstream as ticket #862) * Increased standards version to 3.8.2 * Build-depend on rake (required to test the rake tasks) -- Tobias Grimm Sat, 25 Jul 2009 15:40:48 +0200 librspec-ruby (1.2.6-1) unstable; urgency=low * New upstream release * Added Debian Ruby Extras Maintainers to list of uploaders * Added package VCS links to debian/control * Dropped 99_fix-html-and-textmate-output (fixed upstream) -- Tobias Grimm Sat, 02 May 2009 12:02:21 +0200 librspec-ruby (1.2.4-1) unstable; urgency=low * New upstream release (Closes: #521109) * Dropped 20_fix-for-500625.dpatch - fixed upstream * Changed section to 'ruby' * Generate and install manpage for /usr/bin/spec * Depend on `ruby1.8` instead of just `ruby` * Run the tests in spec/spec during package build * Updated 10-force-spec-binary-path.dpatch to fix the spec path in the autotest plugin as well * Added note about autotest to README.Debian * Added 11_dont-require-rubygems.dpatch * Added 99_fix-html-and-textmate-output.dpatch (a bugfix picked from the upstream Git) * Bumped standards version to 3.8.1 * Added Tobias Grimm to uploaders -- Tobias Grimm Tue, 21 Apr 2009 22:16:30 +0200 librspec-ruby (1.1.12-1) unstable; urgency=low * Upload entirely prepared by Tobias Grimm (etobi@debian.org); thank you very much for all the quality improvements. * New upstream release (Closes: #517694). * Bumped debhelper dependency / compat to >= 5 * Using cdbs now * Updated 20_fix-for-500625.dpatch * Added debian/watch * Added Homepage field to debian/control -- Sebastien Delafond Fri, 06 Mar 2009 08:16:42 -0800 librspec-ruby (1.1.3-3) unstable; urgency=low * Put plugins, specs and stories in /usr/lib/ruby/1.8/spec/ (Closes: #500625). -- Sebastien Delafond Mon, 29 Sep 2008 14:03:10 -0700 librspec-ruby (1.1.3-2) unstable; urgency=low * Force spec script path to /usr/bin/spec (Closes: #490729). * Bump up policy version. -- Sebastien Delafond Mon, 14 Jul 2008 14:55:09 -0700 librspec-ruby (1.1.3-1) unstable; urgency=low * Initial Release (Closes: #444623, #480441). -- Sebastien Delafond Sat, 10 May 2008 19:26:47 -0700 debian/ruby-tests.rb0000644000000000000000000000035011753216214011634 0ustar $: << 'spec' require "rspec/core" #The specs need yaml to be loaded before spec_helper #https://github.com/rspec/rspec-mocks/issues/107 require "yaml" exit(RSpec::Core::Runner.run(Dir["spec/rspec/**/*_spec.rb"], $stderr, $stdout))