sequencer 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/lib/sequencer.rb +2 -2
- data/sequencer.gemspec +2 -2
- data/test/test_sequencer.rb +6 -0
- metadata +7 -7
data/History.txt
CHANGED
data/lib/sequencer.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
module Sequencer
|
2
|
-
VERSION = '1.1.
|
2
|
+
VERSION = '1.1.1'
|
3
3
|
NUMBERS_AT_END = /(\d+)([^\d]+)?$/
|
4
4
|
|
5
5
|
extend self
|
@@ -252,7 +252,7 @@ module Sequencer
|
|
252
252
|
end
|
253
253
|
|
254
254
|
def <=>(another)
|
255
|
-
|
255
|
+
to_paths <=> another.to_paths
|
256
256
|
end
|
257
257
|
|
258
258
|
private
|
data/sequencer.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "sequencer"
|
8
|
-
s.version = "1.1.
|
8
|
+
s.version = "1.1.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Julik Tarkhanov"]
|
12
|
-
s.date = "2012-
|
12
|
+
s.date = "2012-04-19"
|
13
13
|
s.email = "me@julik.nl"
|
14
14
|
s.executables = ["rseqls", "rseqpad", "rseqrename"]
|
15
15
|
s.extra_rdoc_files = [
|
data/test/test_sequencer.rb
CHANGED
@@ -186,6 +186,12 @@ class A_Sequence_created_from_pad_numbered_files_should < Test::Unit::TestCase
|
|
186
186
|
assert_equal @with_gaps, another
|
187
187
|
end
|
188
188
|
|
189
|
+
def test_equals_with_same_initialization
|
190
|
+
one = Sequencer.from_single_file(TEST_DIR + "/sequence_and_sole_file/broken_seq.000246.tif")
|
191
|
+
another = Sequencer.from_single_file(TEST_DIR + "/sequence_and_sole_file/broken_seq.000245.tif")
|
192
|
+
assert_equal one, another
|
193
|
+
end
|
194
|
+
|
189
195
|
def test_return_subsequences_without_gaps
|
190
196
|
subseqs = @with_gaps.to_sequences
|
191
197
|
assert_kind_of Sequencer::Sequence, subseqs[0]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sequencer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-04-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jeweler
|
16
|
-
requirement: &
|
16
|
+
requirement: &9107590 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *9107590
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rake
|
27
|
-
requirement: &
|
27
|
+
requirement: &9107160 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *9107160
|
36
36
|
description:
|
37
37
|
email: me@julik.nl
|
38
38
|
executables:
|
@@ -69,7 +69,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
69
69
|
version: '0'
|
70
70
|
segments:
|
71
71
|
- 0
|
72
|
-
hash:
|
72
|
+
hash: 433403581
|
73
73
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
74
74
|
none: false
|
75
75
|
requirements:
|