Skip to content

Add missing require time in check.rb#3

Merged
jarthod merged 1 commit intoaskehansen:masterfrom
Intrepidd:patch-2
May 19, 2015
Merged

Add missing require time in check.rb#3
jarthod merged 1 commit intoaskehansen:masterfrom
Intrepidd:patch-2

Conversation

@Intrepidd
Copy link
Copy Markdown
Contributor

I got the following error when running updown status without this fix :

~ ❯❯❯ updown status                                                                                                                                                                                                                                                           ⏎
/Users/adrien/.gem/ruby/2.1.5/gems/updown-0.2.0/lib/updown/check.rb:27:in `initialize': undefined method `parse' for Time:Class (NoMethodError)
    from /Users/adrien/.gem/ruby/2.1.5/gems/updown-0.2.0/lib/updown/check.rb:7:in `new'
    from /Users/adrien/.gem/ruby/2.1.5/gems/updown-0.2.0/lib/updown/check.rb:7:in `block in all'
    from /Users/adrien/.gem/ruby/2.1.5/gems/updown-0.2.0/lib/updown/check.rb:6:in `map'
    from /Users/adrien/.gem/ruby/2.1.5/gems/updown-0.2.0/lib/updown/check.rb:6:in `all'
    from /Users/adrien/.gem/ruby/2.1.5/gems/updown-0.2.0/lib/updown/cli.rb:12:in `status'
    from /Users/adrien/.gem/ruby/2.1.5/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
    from /Users/adrien/.gem/ruby/2.1.5/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
    from /Users/adrien/.gem/ruby/2.1.5/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
    from /Users/adrien/.gem/ruby/2.1.5/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
    from /Users/adrien/.gem/ruby/2.1.5/gems/updown-0.2.0/bin/updown:8:in `<top (required)>'
    from /Users/adrien/.gem/ruby/2.1.5/bin/updown:23:in `load'
    from /Users/adrien/.gem/ruby/2.1.5/bin/updown:23:in `<main>'

@jarthod
Copy link
Copy Markdown
Collaborator

jarthod commented May 19, 2015

Thanks. we'll need to add some tests ;)

jarthod added a commit that referenced this pull request May 19, 2015
Add missing require time in check.rb
@jarthod jarthod merged commit b05d4d3 into askehansen:master May 19, 2015
@jarthod
Copy link
Copy Markdown
Collaborator

jarthod commented May 20, 2015

0.2.1 released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants