debian/0000755000000000000000000000000012161565552007176 5ustar debian/rules0000755000000000000000000000020012161565552010246 0ustar #!/usr/bin/make -f %: dh $@ --buildsystem=ruby --with ruby override_dh_installchangelogs: dh_installchangelogs History.rdoc debian/control0000644000000000000000000000244512161565552010606 0ustar Source: ruby-timecop Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Nandaja Varma Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), ruby-mocha, ruby-activesupport, ruby-tzinfo Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-timecop.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-timecop.git;a=summary Homepage: https://github.com/travisjeffery/timecop XS-Ruby-Versions: all Package: ruby-timecop Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter Recommends: ruby-activesupport Description: Ruby library to easily test time-dependent code Timecop makes it easy to travel through or freeze time for creating a predictable and ultimately testable scenario. . It is a wrapper class for manipulating the extensions to the Time, Date, and DateTime objects. It avoids overloading of functions with optional arguments while writing test cases. It is possible to nest multiple calls to Timecop.travel and Timecop.freeze, with each block maintaining concept of "now". Having no dependencies, it works with regular Ruby projects and Ruby on Rails projects. debian/compat0000644000000000000000000000000212161565552010374 0ustar 7 debian/copyright0000644000000000000000000000262312161565552011134 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: timecop Source: https://github.com/travisjeffery/timecop Files: * Copyright: 2012 Travis Jeffery 2012 John Trupiano License: Expat Files: debian/* Copyright: 2012 Nandaja Varma 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/changelog0000644000000000000000000000066612161565552011060 0ustar ruby-timecop (0.5.9-2) unstable; urgency=low * Team upload. * Add missing Build-Depends on ruby-tzinfo. (Closes: #713166) * Update project homepage URL. * Clean up boilerplate in debian/rules. -- Jérémy Bobbio Sun, 23 Jun 2013 13:32:29 +0200 ruby-timecop (0.5.9-1) unstable; urgency=low * Initial release (Closes: #692052) -- Nandaja Varma Thu, 01 Nov 2012 23:33:19 +0400 debian/source/0000755000000000000000000000000012161565552010476 5ustar debian/source/format0000644000000000000000000000001412161565552011704 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000014312161565552010225 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/timecop .*/timecop-(.*).tar.gz debian/ruby-timecop.docs0000644000000000000000000000002012161565552012457 0ustar README.markdown debian/ruby-tests.rb0000644000000000000000000000023012161565552011637 0ustar Dir['test/*_test.rb'].each do |f| puts f system("#{ENV['RUBY_TEST_BIN']} -Idebian/ruby-timecop/usr/lib/ruby/vendor_ruby:./test #{f}") or raise end debian/patches/0000755000000000000000000000000012161565552010625 5ustar debian/patches/series0000644000000000000000000000003512161565552012040 0ustar test_helper.rb_editing.patch debian/patches/test_helper.rb_editing.patch0000644000000000000000000000046512161565552016276 0ustar Description: Remove requirements on bundler and rubygems Author: Nandaja Varma Forwarded: No Last-Update: 2013-01-07 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,5 +1,3 @@ -require 'rubygems' -require 'bundler/setup' require 'test/unit' begin require 'mocha/setup'