debian/0000755000000000000000000000000012045201365007164 5ustar debian/rules0000755000000000000000000000070112044720206010241 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/copyright0000644000000000000000000000253112044720206011117 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: http_accept_language Source: https://github.com/iain/http_accept_language Files: * Copyright: 2012 Iain Hecker License: Expat Files: debian/* Copyright: 2012 Anish A 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/ruby-http-accept-language.docs0000644000000000000000000000001412044720206015004 0ustar README.rdoc debian/compat0000644000000000000000000000000212044720206010361 0ustar 7 debian/ruby-test-files.yaml0000644000000000000000000000005012044720206013100 0ustar --- - test/http_accept_language_test.rb debian/changelog0000644000000000000000000000024512044720206011036 0ustar ruby-http-accept-language (1.0.2-1) unstable; urgency=low * Initial release (Closes: #691291) -- Anish A Wed, 24 Oct 2012 02:32:27 +0400 debian/control0000644000000000000000000000243012045201043010557 0ustar Source: ruby-http-accept-language Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Anish A DM-Upload-Allowed: yes Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~) Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-http-accept-language.git Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-http-accept-language.git;a=summary Homepage: https://github.com/iain/http_accept_language XS-Ruby-Versions: all Package: ruby-http-accept-language Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter Description: Ruby library that finds out which locale the user prefers This ruby library reads the language user specified in their browser and returns the language in an array. This package will be useful in cases where the locale should be selected depending on the user's locale settings automatically. . Features * Splits the http-header into languages specified by the user * Returns empty array if header is malformed. * Corrects case to xx-XX * Sorted by priority given, as much as possible. * Gives you the most important language * Gives compatible languages debian/watch0000644000000000000000000000017512044720206010217 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/http_accept_language .*/http_accept_language-(.*).tar.gz debian/source/0000755000000000000000000000000012044720206010463 5ustar debian/source/format0000644000000000000000000000001412044720206011671 0ustar 3.0 (quilt)