[DRE-commits] [ruby-version-sorter] 01/02: Adding readme and modifying control file

Balasankar C balasankarc-guest at moszumanska.debian.org
Mon Nov 3 14:07:04 UTC 2014


This is an automated email from the git hooks/post-receive script.

balasankarc-guest pushed a commit to branch master
in repository ruby-version-sorter.

commit 759aa7e02797882e1de405fd8bb49f3510278122
Author: Balasankar C <balasankarc at autistici.org>
Date:   Mon Nov 3 19:19:37 2014 +0530

    Adding readme and modifying control file
---
 debian/control                  | 11 ++++++++---
 debian/ruby-version-sorter.docs |  3 +--
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/debian/control b/debian/control
index 0b8d667..7cb5724 100644
--- a/debian/control
+++ b/debian/control
@@ -8,13 +8,18 @@ Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-version-sorter.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-version-sorter.git;a=summary
 Homepage: http://github.com/defunkt/version_sorter
-Testsuite: autopkgtest
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-version-sorter
 Architecture: any
 XB-Ruby-Versions: ${ruby:Versions}
 Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
-Description: Fast sorting of version strings
+Description: fast sorting of version strings
  Used to sort version strings faster. It is used to sort a repository's
- tags.
+ tags. It is used as follows
+ require 'version_sorter'
+ versions = %w( 1.0.9 2.0 1.0.10 1.0.3 )
+ VersionSorter.rsort(versions) # => ["2.0", "1.0.10", "1.0.9", "1.0.3"]
+ VersionSorter.sort(versions)  # => ["1.0.3", "1.0.9", "1.0.10", "2.0"]
+
diff --git a/debian/ruby-version-sorter.docs b/debian/ruby-version-sorter.docs
index 53cfb6b..8d526b9 100644
--- a/debian/ruby-version-sorter.docs
+++ b/debian/ruby-version-sorter.docs
@@ -1,2 +1 @@
-# FIXME: READMEs found
-# README.markdown
+README.markdown

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-version-sorter.git



More information about the Pkg-ruby-extras-commits mailing list