artifacts 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/artifacts/artifact.rb +1 -0
- data/lib/artifacts/version.rb +1 -1
- metadata +4 -4
data/lib/artifacts/artifact.rb
CHANGED
@@ -33,6 +33,7 @@ class Artifacts
|
|
33
33
|
|
34
34
|
def <=>( other )
|
35
35
|
offset = ( closed? ^ other.closed? ) ? ( closed? ? 1 : -1 ) : 0
|
36
|
+
offset = other.priority <=> self.priority if offset == 0
|
36
37
|
offset = other.open_depended_on_by.size <=> self.open_depended_on_by.size if offset == 0
|
37
38
|
offset = self.id <=> other.id if offset == 0
|
38
39
|
offset
|
data/lib/artifacts/version.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 2
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 2.1.
|
8
|
+
- 1
|
9
|
+
version: 2.1.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Clive Crous
|
@@ -114,7 +114,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
114
114
|
requirements:
|
115
115
|
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
hash: -
|
117
|
+
hash: -192865329
|
118
118
|
segments:
|
119
119
|
- 0
|
120
120
|
version: "0"
|
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
123
|
requirements:
|
124
124
|
- - ">="
|
125
125
|
- !ruby/object:Gem::Version
|
126
|
-
hash: -
|
126
|
+
hash: -192865329
|
127
127
|
segments:
|
128
128
|
- 0
|
129
129
|
version: "0"
|