Sha256: 57ee60ad20d0a7f31f4adca47e3c5232bb4654a2db4b9589a5751ad06c6e3e21

Contents?: true

Size: 471 Bytes

Versions: 17

Compression:

Stored size: 471 Bytes

Contents

module Vcloud
  module EdgeGateway
    class FirewallConfigurationDiffer < ConfigurationDiffer

        def strip_fields_for_differ_to_ignore(config)
          deep_cloned_config = Marshal.load( Marshal.dump(config) )
          if deep_cloned_config.key?(:FirewallRule)
            deep_cloned_config[:FirewallRule].each do |firewall_rule|
              firewall_rule.delete(:Id)
            end
          end
          deep_cloned_config
        end

    end
  end

end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
vcloud-edge_gateway-2.1.1 lib/vcloud/edge_gateway/firewall_configuration_differ.rb
vcloud-edge_gateway-2.1.0 lib/vcloud/edge_gateway/firewall_configuration_differ.rb
vcloud-edge_gateway-1.5.2 lib/vcloud/edge_gateway/firewall_configuration_differ.rb
vcloud-edge_gateway-1.5.0 lib/vcloud/edge_gateway/firewall_configuration_differ.rb
vcloud-edge_gateway-1.4.1 lib/vcloud/edge_gateway/firewall_configuration_differ.rb
vcloud-edge_gateway-1.4.0 lib/vcloud/edge_gateway/firewall_configuration_differ.rb
vcloud-edge_gateway-1.3.0 lib/vcloud/edge_gateway/firewall_configuration_differ.rb
vcloud-edge_gateway-1.2.0 lib/vcloud/edge_gateway/firewall_configuration_differ.rb
vcloud-edge_gateway-1.1.0 lib/vcloud/edge_gateway/firewall_configuration_differ.rb
vcloud-edge_gateway-1.0.2 lib/vcloud/edge_gateway/firewall_configuration_differ.rb
vcloud-edge_gateway-1.0.1 lib/vcloud/edge_gateway/firewall_configuration_differ.rb
vcloud-edge_gateway-1.0.0 lib/vcloud/edge_gateway/firewall_configuration_differ.rb
vcloud-edge_gateway-0.5.0 lib/vcloud/edge_gateway/firewall_configuration_differ.rb
vcloud-edge_gateway-0.4.0 lib/vcloud/edge_gateway/firewall_configuration_differ.rb
vcloud-edge_gateway-0.3.0 lib/vcloud/edge_gateway/firewall_configuration_differ.rb
vcloud-edge_gateway-0.2.4 lib/vcloud/edge_gateway/firewall_configuration_differ.rb
vcloud-edge_gateway-0.2.3 lib/vcloud/edge_gateway/firewall_configuration_differ.rb