firephruby 0.2.1 → 0.2.2
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/Changelog +3 -0
- data/lib/firephruby.rb +1 -1
- metadata +1 -1
data/Changelog
CHANGED
data/lib/firephruby.rb
CHANGED
@@ -30,7 +30,7 @@ module FirePHRuby
|
|
30
30
|
msg_meta = { 'Type' => kind, 'File' => file, 'Line' => line }
|
31
31
|
msg_meta['Label'] = label if label
|
32
32
|
@fire_msg_index = 0 unless instance_variables.member? '@fire_msg_index'
|
33
|
-
msg = _firephruby_mask_ruby_types msg if ( @firephruby_options.has_key? :mask_ruby_types && :mask_ruby_types )
|
33
|
+
msg = _firephruby_mask_ruby_types( Marshal.load(Marshal.dump(msg)) ) if ( @firephruby_options.has_key? :mask_ruby_types && :mask_ruby_types )
|
34
34
|
msg = kind == 'DUMP' ? "{#{label.to_json}:#{msg.to_json}}" : "[#{msg_meta.to_json},#{msg.to_json}]"
|
35
35
|
#puts msg.to_json
|
36
36
|
(msg.gsub /.{#{MAX_LENGTH}}/ do |m| "#{m}\n" end).split( "\n" ).each_with_index do |msg_part,ind|
|