dieb/gemstrap

View on GitHub

Showing 2 of 2 total issues

Method read has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def self.read(arguments = ARGV)
      options = Hash.new
      optparse = OptionParser.new do |opts|
        opts.on('-h', '--help', 'Display this message') do
          puts opts
Severity: Minor
Found in lib/gemstrap/cli.rb - About 1 hr to fix

    Method run_interactive_mode has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        def self.run_interactive_mode
          options = Hash.new
          puts "gemstrap: starting interactive mode"
          puts 'gemstrap: please type in the required fields:'
          options[:gem_name] = prompt('  gem name: ')
    Severity: Minor
    Found in lib/gemstrap/cli.rb - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language