rsence-pre 2.1.0.18 → 2.1.0.19
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.
- data/VERSION +1 -1
- data/lib/plugins/gui_plugin.rb +1 -1
- data/lib/plugins/plugin.rb +1 -1
- data/lib/plugins/pluginmanager.rb +2 -2
- data/lib/session/msg.rb +1 -1
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.1.0.
|
1
|
+
2.1.0.19.pre
|
data/lib/plugins/gui_plugin.rb
CHANGED
@@ -79,7 +79,7 @@ module RSence
|
|
79
79
|
# @private Method that implements +client_pkgs.yaml+ loading
|
80
80
|
def install_client_pkgs
|
81
81
|
if @client_pkgs
|
82
|
-
warn "install_client_pkgs: called with @client_pkgs defined (#{@client_pkgs.inspect}); returning"
|
82
|
+
warn "install_client_pkgs: called with @client_pkgs defined (#{@client_pkgs.inspect}); returning" if RSence.args[:debug]
|
83
83
|
return
|
84
84
|
end
|
85
85
|
@client_pkgs = yaml_read( 'client_pkgs.yaml' )
|
data/lib/plugins/plugin.rb
CHANGED
@@ -332,7 +332,7 @@ module RSence
|
|
332
332
|
# @private Returns a sanitized copy of a single responder specification.
|
333
333
|
def sanitize_value_responders( responders_dirty )
|
334
334
|
if responders_dirty.class != Array
|
335
|
-
warn "Unsupported responders type: #{responders_dirty.inspect} (expected Array or Hash). Trying work-around.."
|
335
|
+
warn "Unsupported responders type: #{responders_dirty.inspect} (expected Array or Hash). Trying work-around.." if responders_dirty.class != Hash and RSence.args[:debug]
|
336
336
|
responders_dirty = [ responders_dirty ]
|
337
337
|
end
|
338
338
|
responders_clean = []
|
@@ -329,7 +329,7 @@ module RSence
|
|
329
329
|
info_yaml.each do |info_key,info_value|
|
330
330
|
info[ info_key.to_sym ] = info_value
|
331
331
|
end
|
332
|
-
|
332
|
+
elsif RSence.args[:debug]
|
333
333
|
warn "Expected info.yaml, using defaults:"
|
334
334
|
warn " #{info_path}"
|
335
335
|
end
|
@@ -616,7 +616,7 @@ module RSence
|
|
616
616
|
end
|
617
617
|
if not (to_load.empty? and to_unload.empty? and to_reload.empty?)
|
618
618
|
@@incr += 1
|
619
|
-
puts "@@incr: #{@@incr}"
|
619
|
+
puts "@@incr: #{@@incr}" if RSence.args[:debug]
|
620
620
|
puts "Plugin bundles:"
|
621
621
|
puts " loaded: #{to_load.join(', ')}" unless to_load.empty?
|
622
622
|
puts " unloaded: #{to_unload.join(', ')}" unless to_unload.empty?
|
data/lib/session/msg.rb
CHANGED
@@ -185,7 +185,7 @@ module RSence
|
|
185
185
|
# @private used for automatic reload of page, when the plugins have been changed.
|
186
186
|
def refresh_page?( plugin_incr )
|
187
187
|
if plugin_incr != @session[:plugin_incr]
|
188
|
-
puts "@session[:plugin_incr] = #{@session[:plugin_incr].inspect} vs plugin_incr = #{plugin_incr.inspect}"
|
188
|
+
puts "@session[:plugin_incr] = #{@session[:plugin_incr].inspect} vs plugin_incr = #{plugin_incr.inspect}" if RSence.args[:debug]
|
189
189
|
@session[:plugin_incr] = plugin_incr
|
190
190
|
return true
|
191
191
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rsence-pre
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 65
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 1
|
9
9
|
- 0
|
10
|
-
-
|
11
|
-
version: 2.1.0.
|
10
|
+
- 19
|
11
|
+
version: 2.1.0.19
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Riassence Inc.
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-11-
|
19
|
+
date: 2010-11-29 00:00:00 +02:00
|
20
20
|
default_executable: rsence-pre
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|