naturalsorter 2.0.4 → 2.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +3 -0
- data/Gemfile +4 -1
- data/README.markdown +5 -1
- data/lib/naturalsorter/version.rb +1 -1
- data/naturalsorter.gemspec +2 -2
- metadata +10 -7
data/.travis.yml
ADDED
data/Gemfile
CHANGED
data/README.markdown
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# NaturalSorter
|
2
2
|
|
3
|
+
[![Build Status](https://travis-ci.org/versioneye/naturalsorter.png)](https://travis-ci.org/versioneye/naturalsorter)
|
4
|
+
[![Dependency Status](http://www.versioneye.com/package/naturalsorter/badge.png)](http://www.versioneye.com/package/naturalsorter)
|
5
|
+
|
6
|
+
|
3
7
|
## The Mission
|
4
8
|
|
5
9
|
This open source project is sorting arrays in a natural way. Assume you have an string array like this here
|
@@ -76,7 +80,7 @@ because '~>1.1' doesn't fit anymore the newest version.
|
|
76
80
|
|
77
81
|
You should add this line to your Gemfile
|
78
82
|
|
79
|
-
`gem 'naturalsorter', '2.0.
|
83
|
+
`gem 'naturalsorter', '2.0.5'`
|
80
84
|
|
81
85
|
and run this command in your app root directory
|
82
86
|
|
data/naturalsorter.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.email = ["reiz@versioneye.com"]
|
10
10
|
s.homepage = "https://github.com/versioneye/naturalsorter"
|
11
11
|
s.summary = %q{Sorting arrays in natural order}
|
12
|
-
s.description = %q{This GEM is sorting Arrays in a natural order. a2 < a10}
|
12
|
+
s.description = %q{This GEM is sorting Arrays in a natural order. a2 < a10. Beside that this GEM has some methods to sort version strings. It even recognises alpha, beta, RC, dev and stable versions.}
|
13
13
|
|
14
14
|
s.rubyforge_project = "naturalsorter"
|
15
15
|
|
@@ -21,5 +21,5 @@ Gem::Specification.new do |s|
|
|
21
21
|
# specify any dependencies here; for example:
|
22
22
|
# s.add_development_dependency "rspec"
|
23
23
|
# s.add_runtime_dependency "rest-client"
|
24
|
-
s.add_development_dependency "rspec", "
|
24
|
+
s.add_development_dependency "rspec", "2.13.0"
|
25
25
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: naturalsorter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,25 +10,27 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-04-
|
13
|
+
date: 2013-04-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rspec
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
|
-
- -
|
20
|
+
- - '='
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
22
|
+
version: 2.13.0
|
23
23
|
type: :development
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
none: false
|
27
27
|
requirements:
|
28
|
-
- -
|
28
|
+
- - '='
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
version:
|
31
|
-
description: This GEM is sorting Arrays in a natural order. a2 < a10
|
30
|
+
version: 2.13.0
|
31
|
+
description: This GEM is sorting Arrays in a natural order. a2 < a10. Beside that
|
32
|
+
this GEM has some methods to sort version strings. It even recognises alpha, beta,
|
33
|
+
RC, dev and stable versions.
|
32
34
|
email:
|
33
35
|
- reiz@versioneye.com
|
34
36
|
executables: []
|
@@ -36,6 +38,7 @@ extensions: []
|
|
36
38
|
extra_rdoc_files: []
|
37
39
|
files:
|
38
40
|
- .gitignore
|
41
|
+
- .travis.yml
|
39
42
|
- Gemfile
|
40
43
|
- LICENSE
|
41
44
|
- README.markdown
|