fog/fog-azure-rm

View on GitHub

Showing 528 of 528 total issues

%w-literals should be delimited by [ and ].
Open

attribute :etag, aliases: %w(Etag ETag)

Use a guard clause instead of wrapping the code inside a conditional expression.
Open

if frontend_ip_configurations.is_a?(Array)

Use a guard clause instead of wrapping the code inside a conditional expression.
Open

if backend_address_pools.is_a?(Array)

Use a guard clause instead of wrapping the code inside a conditional expression.
Open

if http_listener.is_a?(Hash)

Method Fog::Storage::AzureRM::Directory#acl= is defined at both lib/fog/azurerm/models/storage/directory.rb:8 and lib/fog/azurerm/models/storage/directory.rb:37.
Open

def acl=(new_acl)

Variable new_public used in void context.
Open

new_public

%w-literals should be delimited by [ and ].
Open

attribute :etag, aliases: %w(Etag ETag)

%w-literals should be delimited by [ and ].
Open

attribute :lease_duration, aliases: %w(Lease-Duration LeaseDuration)

Use a guard clause instead of wrapping the code inside a conditional expression.
Open

if missing.length == 1

Use a guard clause instead of wrapping the code inside a conditional expression.
Open

if backend_http_settings.is_a?(Hash)

Use SCREAMING_SNAKE_CASE for constants.
Open

StandardLRS = 'Standard_LRS'.freeze

%w-literals should be delimited by [ and ].
Open

attribute :lease_state, aliases: %w(Lease-State LeaseState)

Use a guard clause instead of wrapping the code inside a conditional expression.
Open

if gateway_ip_configurations.is_a?(Array)

Use a guard clause instead of wrapping the code inside a conditional expression.
Open

if missing.length == 1

Use a guard clause instead of wrapping the code inside a conditional expression.
Open

if url_path_maps.any?

%w-literals should be delimited by [ and ].
Open

attribute :lease_state, aliases: %w(Lease-State LeaseState)

%w-literals should be delimited by [ and ].
Open

attribute :max_results, aliases: %w(max-results MaxResults max_keys MaxKeys max-keys)

%w-literals should be delimited by [ and ].
Open

attribute :content_length, aliases: %w(Content-Length Size), type: :integer

%w-literals should be delimited by [ and ].
Open

attribute :last_modified, aliases: %w(Last-Modified LastModified), type: 'time'

%w-literals should be delimited by [ and ].
Open

attribute :lease_status, aliases: %w(Lease-Status LeaseStatus)
Severity
Category
Status
Source
Language