norikra 1.1.0-java → 1.1.1-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.travis.yml +6 -0
- data/lib/norikra/query.rb +16 -0
- data/lib/norikra/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4eae89361b3c3818371a494f12743a92f35bee9
|
4
|
+
data.tar.gz: d1646809b16f1697fb8539c55492b9f673cf7b7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2c5171c76436c2ef9e43c3e17291f2e5de780c855416e070cf7c9c47bf1505ee48acb7a13f9de31694d8e6934ed4ebeffbc98cab7ac52bef9a2b857b3dd6d24
|
7
|
+
data.tar.gz: 6567dbcc6ab87147580c459a11ab985bd6b94d1cdd04c70000dc399a202c0ba064407039083e4ff38d7939a134f6b053fbd69a68289c8aeeb6e55b4990c23217
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
jruby-1.7.
|
1
|
+
jruby-1.7.16.1
|
data/.travis.yml
CHANGED
data/lib/norikra/query.rb
CHANGED
@@ -476,6 +476,22 @@ module Norikra
|
|
476
476
|
@targets = query.targets
|
477
477
|
end
|
478
478
|
|
479
|
+
def <=>(other)
|
480
|
+
if @group.nil? || other.group.nil?
|
481
|
+
if @group.nil? && other.group.nil?
|
482
|
+
@name <=> other.name
|
483
|
+
else
|
484
|
+
@group.to_s <=> other.group.to_s
|
485
|
+
end
|
486
|
+
else
|
487
|
+
if @group == other.group
|
488
|
+
self.name <=> other.name
|
489
|
+
else
|
490
|
+
self.group <=> other.group
|
491
|
+
end
|
492
|
+
end
|
493
|
+
end
|
494
|
+
|
479
495
|
def suspended?
|
480
496
|
true
|
481
497
|
end
|
data/lib/norikra/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: norikra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- TAGOMORI Satoshi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mizuno
|