kigster/dnsmadeeasy

View on GitHub

Showing 52 of 53 total issues

unexpected token kIN (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

    The gem additionally supports storing credentials in the ~/.dnsmadeeasy/credentials.yml
Severity: Minor
Found in dnsmadeeasy.gemspec by rubocop

unexpected token error (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

                  credentials_from_array(mash.accounts, account&.to_s)

unexpected token kEND (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

end
Severity: Minor
Found in dnsmadeeasy.gemspec by rubocop

unexpected token kAND (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

    file, supports multiple accounts, encryption, and more.
Severity: Minor
Found in dnsmadeeasy.gemspec by rubocop

unexpected token tLSHFT (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

DnsMadeEasy::DESCRIPTION = <<~eof
Severity: Minor
Found in dnsmadeeasy.gemspec by rubocop

unexpected token tCONSTANT (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

    This is an authoratative and fully-featured API client for the DNS Provider "DnsMadeEasy.com".
Severity: Minor
Found in dnsmadeeasy.gemspec by rubocop

unexpected token tCONSTANT (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

    This is an authoratative and fully-featured API client for the DNS Provider "DnsMadeEasy.com".
Severity: Minor
Found in dnsmadeeasy.gemspec by rubocop

unexpected token tCONSTANT (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

    If you are using Chef consider using the "dnsmadeeasy" Chef Cookbook, while uses this gem behind
Severity: Minor
Found in dnsmadeeasy.gemspec by rubocop

unknown regexp options: prarkt (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

    the scenes: https://supermarket.chef.io/cookbooks/dnsmadeeasy<br />
Severity: Minor
Found in dnsmadeeasy.gemspec by rubocop

unexpected token tCOLON (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

        api_key: XXXX
Severity: Minor
Found in lib/dnsmadeeasy/runner.rb by rubocop

unexpected token tCOLON (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

        api_secret: YYYY'.cyan}
Severity: Minor
Found in lib/dnsmadeeasy/runner.rb by rubocop

unexpected token tCOLON (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

        api_secret: YYYY
Severity: Minor
Found in lib/dnsmadeeasy/runner.rb by rubocop

unexpected token tIDENTIFIER (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

    file, supports multiple accounts, encryption, and more.
Severity: Minor
Found in dnsmadeeasy.gemspec by rubocop

ambiguous first argument; put parentheses or a space even after the operator (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

    the scenes: https://supermarket.chef.io/cookbooks/dnsmadeeasy<br />
Severity: Minor
Found in dnsmadeeasy.gemspec by rubocop

unexpected token tCOLON (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

        api_secret: WWWW'.cyan}
Severity: Minor
Found in lib/dnsmadeeasy/runner.rb by rubocop

Freeze mutable objects assigned to constants.
Open

  VERSION = '0.4.0'
Severity: Minor
Found in lib/dnsmadeeasy/version.rb by rubocop

This cop checks whether some constant value isn't a mutable literal (e.g. array or hash).

Example:

# bad
CONST = [1, 2, 3]

# good
CONST = [1, 2, 3].freeze

unexpected token tCOLON (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

      default_account: true
Severity: Minor
Found in lib/dnsmadeeasy/runner.rb by rubocop

Use options['mxLevel'] = priority instead of options.merge!('mxLevel' => priority).
Open

        options.merge!('mxLevel' => priority)
Severity: Minor
Found in lib/dnsmadeeasy/api/client.rb by rubocop

This cop identifies places where Hash#merge! can be replaced by Hash#[]=.

Example:

hash.merge!(a: 1)
hash.merge!({'key' => 'value'})
hash.merge!(a: 1, b: 2)

unexpected token tCONSTANT (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

      puts header 'Examples:'
Severity: Minor
Found in lib/dnsmadeeasy/runner.rb by rubocop

unexpected token kIN (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

          Store your credentials in a YAML file #{DnsMadeEasy::Credentials.default_credentials_path(user: ENV['USER']).blue}
Severity: Minor
Found in lib/dnsmadeeasy/runner.rb by rubocop
Severity
Category
Status
Source
Language