neocities / neocities-ruby

The Neocities Gem - A CLI and library for using the Neocities web site API.
https://neocities.org
52 stars 14 forks source link

Error with Push #1

Closed redconfetti closed 6 years ago

redconfetti commented 7 years ago

Received an error when trying to establish API key after entering login.

$ neocities push _site
Please login to get your API key:
sitename: mysitename
password: ••••••••••••••••
/Users/redconfetti/.rvm/gems/ruby-2.2.1@com.redconfetti/gems/neocities-0.0.4/lib/neocities/cli.rb:66:in `run': undefined local variable or method `resp' for #<Neocities::CLI:0x007fece52b4f88> (NameError)
    from /Users/redconfetti/.rvm/gems/ruby-2.2.1@com.redconfetti/gems/neocities-0.0.4/bin/neocities:4:in `<top (required)>'
    from /Users/redconfetti/.rvm/gems/ruby-2.2.1@com.redconfetti/bin/neocities:23:in `load'
    from /Users/redconfetti/.rvm/gems/ruby-2.2.1@com.redconfetti/bin/neocities:23:in `<main>'
    from /Users/redconfetti/.rvm/gems/ruby-2.2.1@com.redconfetti/bin/ruby_executable_hooks:15:in `eval'
    from /Users/redconfetti/.rvm/gems/ruby-2.2.1@com.redconfetti/bin/ruby_executable_hooks:15:in `<main>'
kyledrake commented 6 years ago

Resolved with https://github.com/neocities/neocities-ruby/pull/2, thank you.