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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a30606db698a914a5360601e57bfc87e1aee9f64
4
- data.tar.gz: bc69dcdcffb52a7b73989a4fcd8dfcc7b7ea8228
3
+ metadata.gz: 742acdfe054dfdb6cce4b55d94fcea2fae7179d5
4
+ data.tar.gz: 0cc945ef6b4deed710cfc883c584bad0a8909824
5
5
  SHA512:
6
- metadata.gz: c0061c8af2215429cf170b1b2e62c31c801287b039271d96ef7e150d1f8de59c0783b9e75c89ed2bae6915a8d39a72caba31f80663be7f8c05e73a9176c08ad9
7
- data.tar.gz: bb7119279c2786fb9235b993124dee440c70784becde0352dc46e839b62b06fe8ddf91384364e203f34e74af65f5ce7b5e8b86b94e5f05d43bbcf5bc207d372f
6
+ metadata.gz: 14aa9b34b25f7efc0af012416431836972420b21da13f0589ebc7cfe43253bb573c67a9be45a06f93f9fb84975e2bb5d89072452bf357eea07be7311925bd2a0
7
+ data.tar.gz: b1b2ddabd14eb7b9d898daadbc1c8f71d394f57aec6320976e497a85a0a26591081eb9da42feed3523bcd92f0a878ce8f6e5cf78068b72cb17ad54fd9e32f4a2
@@ -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 ["QUERY_NAME", "GROUP", "TARGETS", "QUERY"].join("\t") unless options[:simple]
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]
@@ -1,5 +1,5 @@
1
1
  module Norikra
2
2
  class Client
3
- VERSION = "0.0.8"
3
+ VERSION = "0.0.9"
4
4
  end
5
5
  end
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.8
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-18 00:00:00.000000000 Z
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