norikra-client-jruby 0.0.8-java → 0.0.9-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/norikra/client/cli.rb +2 -2
- data/lib/norikra/client/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: 742acdfe054dfdb6cce4b55d94fcea2fae7179d5
|
4
|
+
data.tar.gz: 0cc945ef6b4deed710cfc883c584bad0a8909824
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14aa9b34b25f7efc0af012416431836972420b21da13f0589ebc7cfe43253bb573c67a9be45a06f93f9fb84975e2bb5d89072452bf357eea07be7311925bd2a0
|
7
|
+
data.tar.gz: b1b2ddabd14eb7b9d898daadbc1c8f71d394f57aec6320976e497a85a0a26591081eb9da42feed3523bcd92f0a878ce8f6e5cf78068b72cb17ad54fd9e32f4a2
|
data/lib/norikra/client/cli.rb
CHANGED
@@ -78,14 +78,14 @@ class Norikra::Client
|
|
78
78
|
option :simple, :type => :boolean, :default => false, :desc => "suppress header/footer", :aliases => "-s"
|
79
79
|
def list
|
80
80
|
wrap do
|
81
|
-
puts ["
|
81
|
+
puts ["NAME", "GROUP", "TARGETS", "QUERY"].join("\t") unless options[:simple]
|
82
82
|
queries = client(parent_options).queries
|
83
83
|
queries.sort{|a,b| (a['targets'].first <=> b['targets'].first).nonzero? || a['name'] <=> b['name']}.each do |q|
|
84
84
|
puts [
|
85
85
|
q['name'],
|
86
86
|
(q['group'] || 'default'),
|
87
87
|
q['targets'].join(','),
|
88
|
-
q['expression']
|
88
|
+
q['expression'].split("\n").map(&:strip).join(" ")
|
89
89
|
].join("\t")
|
90
90
|
end
|
91
91
|
puts "#{queries.size} queries found." unless options[:simple]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: norikra-client-jruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- TAGOMORI Satoshi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: msgpack-rpc-over-http-jruby
|