prometheus-splash 0.4.2 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 03e2a5244e871ad29fe3ecaf1bea1cc6a77556fc1a36f740f707d10b4093f4f0
4
- data.tar.gz: 8197fca0cd099e6d7dec6159a949fa318f4695ca44eae49a48d9ca78a2a2f5cb
3
+ metadata.gz: 0157b17f9e9750c69cf71a3b133c15a42b58cab0d37be85ef9e690f1f6ffd209
4
+ data.tar.gz: 7c58e395336cde253b619f6d3d9d008275ad839778ca2c2191cdfb9a0636be2c
5
5
  SHA512:
6
- metadata.gz: 91f9f7b5620b85a49366e9b869a764ecb38effdf0f5fb573032976a87060e985bf42faf59d7f482c6e9305b0c769d7af684b096dd4cedc5028f319e243f2fe09
7
- data.tar.gz: 606b0ff99c5f52fee9c2ea61d88dce105de43f533f2a2b336ecaee6d1027924759137fc2ec56bdaf04cc1f42fdc4622efde3b317f9e084db0c979a9672923f93
6
+ metadata.gz: a759f8ada29b0f8a8a6b63bfe7d01fcdcec9afb7c0b670ed3d30ff0dc48981a7a958caf91bdcc0d6b0753161564ae2395467fa3bc6f6906a8e6db559d5a6393e
7
+ data.tar.gz: ae57030a6960e88b73c2be890d400582e5379956603d9b0468f6797126572bcb865dc2c7276d8fc420925b946e116dd84658b4e10a0ebd77d95332515b0e1c02
data/CHANGELOG.md CHANGED
@@ -37,3 +37,10 @@
37
37
 
38
38
  * REOPEN : Unix rights on trace,stores,pid path to 644 => 755 #19
39
39
  * ruby 2.5 error with w-deprecated on sheebang, removing #20
40
+
41
+ ## V0.4.3 2020/04/15
42
+
43
+ ### FIX :
44
+
45
+ * private method for ruby 2.5 (self) #21
46
+ * treeview partial display because of lake of recursion #22
@@ -127,7 +127,6 @@ module CLISplash
127
127
  log.flat "#{spacer}* on success => #{cmd[:on_success]}"
128
128
  treeview(cmd[:on_success],depht+2)
129
129
  end
130
- splash_exit case: :quiet_exit
131
130
  end
132
131
 
133
132
 
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  module Splash
3
3
  module Constants
4
- VERSION = "0.4.2"
4
+ VERSION = "0.4.3"
5
5
 
6
6
  # the path to th config file, not overridable by config
7
7
  CONFIG_FILE = "/etc/splash.yml"
@@ -25,7 +25,7 @@ module Splash
25
25
  @log.info "Splash Orchestrator starting :"
26
26
  if options[:scheduling] then
27
27
  @log.item "Initializing commands Scheduling."
28
- self.init_commands_scheduling
28
+ init_commands_scheduling
29
29
  end
30
30
  sched,value = @config.daemon_logmon_scheduling.flatten
31
31
  @log.item "Initializing logs monitorings & notifications."
@@ -65,7 +65,7 @@ module Splash
65
65
  @log.info "Splash daemon shutdown"
66
66
  @server.shutdown
67
67
  change_logger logger: :cli
68
- splash_exit case: :quiet_exit
68
+ splash_exit case: :quiet_exit
69
69
  end
70
70
 
71
71
  private
@@ -77,7 +77,7 @@ module Splash
77
77
  @log.arrow "Scheduling command #{command.to_s}"
78
78
  @server.send sched,value do
79
79
  @log.trigger "Executing Scheduled command #{command.to_s} for Scheduling : #{sched.to_s} #{value.to_s}"
80
- self.execute command: command.to_s
80
+ execute command: command.to_s
81
81
  end
82
82
  end
83
83
 
@@ -11,7 +11,7 @@ module Splash
11
11
 
12
12
 
13
13
  def shutdown
14
- self.terminate
14
+ terminate
15
15
  end
16
16
 
17
17
  def ping(payload)
@@ -24,7 +24,7 @@ module Splash
24
24
  end
25
25
 
26
26
  def ack_command(payload)
27
- return self.execute command: payload[:name], ack: true
27
+ return execute command: payload[:name], ack: true
28
28
  end
29
29
 
30
30
 
@@ -38,7 +38,7 @@ module Splash
38
38
  @log.schedule "remote call command #{payload[:name]}, scheduling : #{sched.to_s} #{value}"
39
39
  @server.send sched,value do
40
40
  @log.trigger "Executing Scheduled command #{payload[:name]} for Scheduling : #{sched.to_s} #{value}"
41
- self.execute command: payload[:name]
41
+ execute command: payload[:name]
42
42
  end
43
43
  return { :case => :quiet_exit }
44
44
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prometheus-splash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Romain GEORGES