trisulrp 3.2.26 → 3.2.27

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
  SHA256:
3
- metadata.gz: 1eb9ef98c73c9736310f21bd9cdb84c4f6f2409dc4f1c0915aaf86f4d5522dba
4
- data.tar.gz: e53eccfad2338f817067c392338d501bebd9c66e319e32fb189965f72f5d042b
3
+ metadata.gz: 71c5b47d633207231c302542e8735d5a5a907569333dab8da436811cf451174a
4
+ data.tar.gz: 44c22ab4987836e91017194f01735909e80d5ec0665fec2e45daa0ba2f8beb32
5
5
  SHA512:
6
- metadata.gz: 7a31a36b630e1e1f7a957fed3d3d4f480900f4cdfed69869bbeee628aa9a303c31b3f4f6a1e2740bd0297b6537896a38501a1b9d3a8395e279846f13a9490a51
7
- data.tar.gz: 9080652d629291fb28f4b313c3f0c6769f1bc0117ca6d0295037e16b992d6bdecc435cd9a95c033b7458d61d8471310da781f33c4f2f79e6891e558916a95037
6
+ metadata.gz: 5f521b245139593bf1339c3d59049c16162bc1df790f3d0790eba484d2501cd19018759c90c4323075886d8c35ef98ccd6d7118c215eb9c4cbc45f18322b0a22
7
+ data.tar.gz: 652d8c13e1d4ce1e8c4fd4e9bc632a961db575adb32267143b89c6aecebc2668c2287b5689efd3f5fe9d15b9039bfcd112d64915cdac9c77d464f06dd7ebcecb
data/README.rdoc CHANGED
@@ -19,6 +19,9 @@ Key Features :
19
19
  * Github repo of sample scripts https://github.com/trisulnsm/trisul-scripts/trp
20
20
 
21
21
 
22
+ == Generating the ruby protobuf definitions
23
+ protoc --ruby_out=. trp.proto
24
+
22
25
  == Contributing to trisulrp
23
26
 
24
27
  * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
@@ -31,5 +34,6 @@ Key Features :
31
34
 
32
35
  == Copyright
33
36
 
34
- Copyright (c) 2010-12 Unleash Networks. See LICENSE.txt for further details.
37
+ License MIT
38
+ Copyright (c) 2010-2021 Unleash Networks. See LICENSE.txt for further details.
35
39
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.2.26
1
+ 3.2.27
@@ -597,6 +597,7 @@ module TRP
597
597
  required ::TRP::KeyT, :key, 4
598
598
  required ::TRP::TimeInterval, :time_interval, 5
599
599
  optional :int64, :volumes_only, 6, :default => 0
600
+ optional :bool, :get_key_attributes, 7, :default => false
600
601
  end
601
602
 
602
603
  class CounterItemResponse
@@ -619,6 +620,7 @@ module TRP
619
620
  optional :bool, :resolve_keys, 8, :default => true
620
621
  optional :string, :key_filter, 9
621
622
  optional :string, :inverse_key_filter, 10
623
+ optional :bool, :get_key_attributes, 11, :default => false
622
624
  end
623
625
 
624
626
  class CounterGroupTopperResponse
@@ -488,6 +488,7 @@ message CounterItemRequest{
488
488
  required KeyT key=4; /// key (can specify key.key, key.label, etc too
489
489
  required TimeInterval time_interval=5; /// Time interval for query
490
490
  optional int64 volumes_only=6 [default=0]; /// if '1' ; then only retrieves totals for each meter
491
+ optional bool get_key_attributes=7 [default=false]; /// if true, response keys get key_attributes as well
491
492
  }
492
493
 
493
494
  /// CounterItemResponse -
@@ -513,6 +514,9 @@ message CounterGroupTopperRequest{
513
514
  optional bool resolve_keys=8 [default=true]; /// retrieve labels as set in the response for each key
514
515
  optional string key_filter=9; /// only get keys with this pattern and SYS:GROUP
515
516
  optional string inverse_key_filter=10; /// only get keys without this pattern NOT
517
+ optional bool get_key_attributes=11 [default=false];
518
+ /// if true, response keys get key_attributes as well
519
+
516
520
  }
517
521
 
518
522
  /// CounterGroupTopperResponse
data/trisulrp.gemspec CHANGED
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: trisulrp 3.2.26 ruby lib
5
+ # stub: trisulrp 3.2.27 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "trisulrp".freeze
9
- s.version = "3.2.26"
9
+ s.version = "3.2.27"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["vivek".freeze]
14
- s.date = "2021-04-07"
14
+ s.date = "2021-04-20"
15
15
  s.description = "This gem deals about the trisul remote protocol".freeze
16
16
  s.email = "vivek_rajagopal@yahoo.com".freeze
17
17
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trisulrp
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.26
4
+ version: 3.2.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-07 00:00:00.000000000 Z
11
+ date: 2021-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: protobuf