debian/0000755000000000000000000000000011772314230007166 5ustar debian/rules0000755000000000000000000000070111677070205010251 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 debian/watch0000644000000000000000000000014711677070205010226 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/metaclass .*/metaclass-(.*).tar.gz debian/source/0000755000000000000000000000000011677347200010475 5ustar debian/source/format0000644000000000000000000000001411677070205011701 0ustar 3.0 (quilt) debian/ruby-test-files.yaml0000644000000000000000000000007111677347200013115 0ustar --- - test/test_helper.rb - test/object_methods_test.rb debian/copyright0000644000000000000000000000247711677347200011142 0ustar Format: http://dep.debian.net/deps/dep5 Upstream-Name: metaclass Source: https://github.com/floehopper/metaclass Files: * Copyright: 2011 James Mead License: Expat Files: debian/* Copyright: 2011 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/control0000644000000000000000000000172411772314230010575 0ustar Source: ruby-metaclass Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Cédric Boutillier DM-Upload-Allowed: yes Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~) Standards-Version: 3.9.2 Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-metaclass.git Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-metaclass.git;a=summary Homepage: http://github.com/floehopper/metaclass XS-Ruby-Versions: all Package: ruby-metaclass Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter Description: Ruby library adding a metaclass method to all Ruby objects This simple Ruby library provides for every Ruby object a method called "__metaclass__", returning a class attached the object, which offers possibilities of metaprogramming, like adding specific methods to the object. debian/ruby-metaclass.docs0000644000000000000000000000001211677347200012773 0ustar README.md debian/patches/0000755000000000000000000000000011677347200010624 5ustar debian/patches/series0000644000000000000000000000011011677347200012031 0ustar 0100_remove_rubygems_bundler_stuff.patch 0200_fix_path_in_require.patch debian/patches/0100_remove_rubygems_bundler_stuff.patch0000644000000000000000000000046611677347200020447 0ustar Description: Remove requirements on bundler and rubygems Author: Cédric Boutillier Forwarded: No Last-Update: 2011-12-29 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,5 +1,2 @@ -require "rubygems" -require "bundler/setup" - require "metaclass" require "test/unit" debian/patches/0200_fix_path_in_require.patch0000644000000000000000000000074511677347200016340 0ustar Description: Fix path in the require statement of the tests. The test/ directory is not in $LOAD_PATH. Author: Cédric Boutillier Last-Update: 2011-12-29 --- a/test/object_methods_test.rb +++ b/test/object_methods_test.rb @@ -1,4 +1,4 @@ -require "test_helper" +require "test/test_helper" class ObjectMethodsTest < Test::Unit::TestCase @@ -28,4 +28,4 @@ assert instance.__metaclass__.is_a?(Class) end -end \ No newline at end of file +end debian/compat0000644000000000000000000000000211677070205010371 0ustar 7 debian/changelog0000644000000000000000000000104411772314230011037 0ustar ruby-metaclass (0.0.1-2) unstable; urgency=low * Bump build dependency on gem2deb to >= 0.3.0~ -- Cédric Boutillier Tue, 26 Jun 2012 13:10:16 +0200 ruby-metaclass (0.0.1-1) unstable; urgency=low * Initial release (Closes: #653599) * 0100_remove_rubygems_bundler_stuff.patch: remove requirements on rubygems and bundler * 0200_fix_path_in_require.patch: fix path of test_helper in require statement of tests. -- Cédric Boutillier Thu, 29 Dec 2011 14:48:35 +0100