debian/0000755000000000000000000000000012160324037007164 5ustar debian/ruby-tests.rake0000644000000000000000000000024212160316127012150 0ustar require 'gem2deb/rake/testtask' task :default => :test Rake::TestTask.new do |t| t.libs << 'lib' << 'test' t.pattern = 'test/*.rb' t.verbose = true end debian/copyright0000644000000000000000000000247712160316127011132 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: stringex Source: https://github.com/rsl/stringex/ Files: * Copyright: 2008-2012 Lucky Sneaks License: Expat Files: debian/* Copyright: 2013 Youhei SASAKI 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/watch0000644000000000000000000000014512160316127010216 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/stringex .*/stringex-(.*).tar.gz debian/ruby-stringex.docs0000644000000000000000000000001412160316127012654 0ustar README.rdoc debian/changelog0000644000000000000000000000024212160324037011034 0ustar ruby-stringex (2.0.3-1) unstable; urgency=low * Initial release (Closes: #712769) -- Youhei SASAKI Wed, 19 Jun 2013 19:14:14 +0900 debian/source/0000755000000000000000000000000012160316127010465 5ustar debian/source/format0000644000000000000000000000001412160316127011673 0ustar 3.0 (quilt) debian/control0000644000000000000000000000205212160316127010567 0ustar Source: ruby-stringex Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Youhei SASAKI Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.4.1~), rake, ruby-i18n, ruby-activerecord-3.2, ruby-redcloth, ruby-sqlite3 Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-stringex.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-stringex.git;a=summary Homepage: http://github.com/rsl/stringex XS-Ruby-Versions: all Package: ruby-stringex Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter Description: Some useful extensions to Ruby's String class Some useful extensions to Ruby's String class. Stringex is made up of three libraries: - ActsAsUrl: permalink solution with better character translation - Unidecoder: Unicode to ASCII transliteration - StringExtensions: miscellaneous helper methods for the String class debian/rules0000755000000000000000000000070112160316127010243 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/TODO.Debian0000644000000000000000000000004112160316127011031 0ustar Test: - Mongodb - DataMapper debian/patches/0000755000000000000000000000000012160316127010614 5ustar debian/patches/series0000644000000000000000000000004112160316127012024 0ustar 0001-Drop-RubyGems-depends.patch debian/patches/0001-Drop-RubyGems-depends.patch0000644000000000000000000000334312160316127016275 0ustar From: Youhei SASAKI Date: Wed, 19 Jun 2013 19:29:31 +0900 Subject: Drop RubyGems depends Signed-off-by: Youhei SASAKI --- test/acts_as_url/adapter/active_record.rb | 2 -- test/acts_as_url/adapter/data_mapper.rb | 4 ---- test/acts_as_url/adapter/mongoid.rb | 2 -- test/redcloth_to_html_test.rb | 11 +---------- 4 files changed, 1 insertion(+), 18 deletions(-) --- ruby-stringex.orig/test/acts_as_url/adapter/active_record.rb +++ ruby-stringex/test/acts_as_url/adapter/active_record.rb @@ -1,5 +1,3 @@ -require 'rubygems' -gem 'activerecord' require 'active_record' require "stringex" # Reload adapters to make sure ActsAsUrl sees the ORM --- ruby-stringex.orig/test/acts_as_url/adapter/data_mapper.rb +++ ruby-stringex/test/acts_as_url/adapter/data_mapper.rb @@ -1,7 +1,3 @@ -require 'rubygems' -gem 'dm-core' -gem 'dm-migrations' -gem 'dm-validations' require 'dm-core' require 'dm-migrations' require 'dm-validations' --- ruby-stringex.orig/test/acts_as_url/adapter/mongoid.rb +++ ruby-stringex/test/acts_as_url/adapter/mongoid.rb @@ -1,5 +1,3 @@ -require 'rubygems' -gem 'mongoid' require 'mongoid' require 'stringex' # Reload adapters to make sure ActsAsUrl sees the ORM --- ruby-stringex.orig/test/redcloth_to_html_test.rb +++ ruby-stringex/test/redcloth_to_html_test.rb @@ -1,15 +1,6 @@ require 'test_helper' require 'stringex' - -begin - require 'rubygems' - require 'RedCloth' -rescue LoadError - puts - puts ">> Could not load RedCloth. String#to_html was not tested." - puts ">> Please gem install RedCloth if you'd like to use this functionality." - puts -end +require 'redcloth' class RedclothToHTMLTest < Test::Unit::TestCase if defined?(RedCloth) debian/compat0000644000000000000000000000000212160316127010363 0ustar 7