judges 0.15.2 → 0.15.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/judges +2 -0
- data/judges.gemspec +1 -1
- data/lib/judges/baza.rb +1 -1
- data/lib/judges/commands/print.rb +1 -1
- data/lib/judges/commands/pull.rb +1 -1
- data/lib/judges/commands/push.rb +1 -1
- data/lib/judges.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c55f53ae0053a336a2f35c02046a4def974a981bde802c79472db1692ff76e34
|
4
|
+
data.tar.gz: 0d6eff130d9e2fe484427341e31c55087d4d31aa5cd44d88bd8cbec866b4c836
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f83f3a441a93594460592a1b5052d1f76b720fe0ce3b5f6d4b4834093c4092e3689407983aaa7009a285628ae25d606ba23defb098b0f11085a28010cd1ac3c5
|
7
|
+
data.tar.gz: f19e035da56f053efbef01065040d85018834538785ac6dca4c10536e0e65f7d8dd85cc3097e86fe73d49f8c00a89b53930f6571c4814cbe44c2234efc1de443
|
data/bin/judges
CHANGED
@@ -115,6 +115,8 @@ class App
|
|
115
115
|
c.flag([:format], default_value: 'yaml')
|
116
116
|
c.desc 'Generate output name of the file automatically'
|
117
117
|
c.switch([:auto], default_value: false)
|
118
|
+
c.desc 'The title of the document to use'
|
119
|
+
c.flag([:title], default_value: 'summary')
|
118
120
|
c.desc 'Only the facts that match the expression are printed'
|
119
121
|
c.flag([:query], default_value: '(always)')
|
120
122
|
c.desc 'Comma separated list of columns to show in HTML output (no spaces!)'
|
data/judges.gemspec
CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |s|
|
|
26
26
|
s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version=
|
27
27
|
s.required_ruby_version = '>=3.2'
|
28
28
|
s.name = 'judges'
|
29
|
-
s.version = '0.15.
|
29
|
+
s.version = '0.15.3'
|
30
30
|
s.license = 'MIT'
|
31
31
|
s.summary = 'Command-Line Tool for a Factbase'
|
32
32
|
s.description =
|
data/lib/judges/baza.rb
CHANGED
@@ -33,7 +33,7 @@ require_relative '../judges/elapsed'
|
|
33
33
|
# License:: MIT
|
34
34
|
class Judges::Baza
|
35
35
|
# rubocop:disable Metrics/ParameterLists
|
36
|
-
def initialize(host, port, token, ssl: true, timeout:
|
36
|
+
def initialize(host, port, token, ssl: true, timeout: 30, loog: Loog::NULL)
|
37
37
|
# rubocop:enable Metrics/ParameterLists
|
38
38
|
@host = host
|
39
39
|
@port = port
|
@@ -88,7 +88,7 @@ class Judges::Print
|
|
88
88
|
xslt.transform(
|
89
89
|
Nokogiri::XML(xml),
|
90
90
|
Nokogiri::XSLT.quote_params(
|
91
|
-
'
|
91
|
+
'title' => opts['title'],
|
92
92
|
'date' => Time.now.utc.iso8601,
|
93
93
|
'columns' => opts['columns'] || 'when,what,who',
|
94
94
|
'hidden' => opts['hidden'] || '_id,_version,_time',
|
data/lib/judges/commands/pull.rb
CHANGED
data/lib/judges/commands/push.rb
CHANGED
data/lib/judges.rb
CHANGED