Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add Travis CI integration

  • Loading branch information...
commit ae5d25823ae4f4bb372f81897ec5370f5751ef95 1 parent 743004b
@hmk hmk authored
Showing with 18 additions and 1 deletion.
  1. +5 −0 .travis.yml
  2. +5 −0 Gemfile
  3. +2 −1  README.md
  4. +6 −0 Rakefile
View
5 .travis.yml
@@ -0,0 +1,5 @@
+language: ruby
+rvm:
+ - "1.8.7"
+ - "1.9.2"
+ - "1.9.3"
View
5 Gemfile
@@ -1,4 +1,9 @@
source 'https://rubygems.org'
+group :test do
+ gem 'rspec', '~> 2.0'
+ gem 'rake', '~> 10.0'
+end
+
# Specify your gem's dependencies in naturally.gemspec
gemspec
View
3  README.md
@@ -1,6 +1,7 @@
# Naturally
+[![Build Status](https://travis-ci.org/dogweather/naturally.png)](https://travis-ci.org/dogweather/naturally)
-Natural sorting with added support for legal document numbering.
+Natural sorting with added support for legal document numbering.
See [Sorting for Humans : Natural Sort Order](http://www.codinghorror.com/blog/2007/12/sorting-for-humans-natural-sort-order.html) and [Counting to 10 in Californian](http://www.weblaws.org/blog/2012/08/counting-from-1-to-10-in-californian/)
for the motivations to make this library. This is also the kind of ordering you want if you're sorting version numbers.
View
6 Rakefile
@@ -1 +1,7 @@
require "bundler/gem_tasks"
+
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new('spec')
+
+task :default => :spec
Please sign in to comment.
Something went wrong with that request. Please try again.