profile
viewpoint

leejarvis/hound 121

Track model activity

leejarvis/gridhook 104

A Rails engine that provides an endpoint for SendGrid webhooks

efatsi/block-travel 31

Move through blocks in Atom

jduff/numerizer 31

Parse numbers in natural language from strings (ex forty two).

leejarvis/questionable 19

Question your objects

leejarvis/irc-socket 18

An IRC wrapper around TCPSocket

leejarvis/filetype 17

Find a file type according to a filename or extension

leejarvis/albeano 9

BBCode style wrapper for Pygments

leejarvis/metanym 6

Query thesaurus.com for synonyms/antonyms

issue commentleejarvis/slop

Practical example

@nomasprime No problem, appreciate the response!

nomasprime

comment created time in 5 days

issue commentleejarvis/slop

Practical example

As noted on #170, the issue of dealing with unknown flags is not a straightforward resolution. I'm open to discuss options to improve this situation.

Taking far too long to figure out how to use this from the readme. A practical real world example would be really helpful.

The readme includes a few examples. I believe the main example at the top is "real world", but again if you have ideas for improving this I'd love to hear them.

nomasprime

comment created time in 5 days

pull request commentleejarvis/slop

changed str << to str +=

I think we should fix this but we should also enable frozen strings in Slop using the # frozen_string_literal: true pragma

MadBomber

comment created time in 2 months

pull request commentleejarvis/slop

changed str << to str +=

Ah I've just read the issue. You must be running with frozen string literals. I'm up for fixing this but I'm still interested in how/why you received this error message. Do you have # frozen_string_literal: true at the top of your Ruby files or something else?

MadBomber

comment created time in 2 months

issue commentleejarvis/slop

Attempt to modify frozen string litterals

Moving discussion to that PR

MadBomber

comment created time in 2 months

issue closedleejarvis/slop

Attempt to modify frozen string litterals

I just ran into a problem in the to_s method of Slop::Options. The lines where where << is used on the local variable 'str' are raising the error ...

/Users/dewayne/.rvm/gems/ruby-2.7.1/gems/slop-4.8.2/lib/slop/options.rb:108:in `block in to_s': can't modify frozen String: "Install stuff from the directory common_debug into the current project\n" (FrozenError)

Looks like replacing the "str <<" with "str +=" fixes it. I will work up a PR.

closed time in 2 months

MadBomber

pull request commentleejarvis/slop

changed str << to str +=

What version of Ruby are you using, @MadBomber? We have specs that run against all of these versions and they're currently all passing, so if there's a version the tests are failing on I'd want to add that to the matrix.

MadBomber

comment created time in 2 months

push eventleejarvis/dotfiles

Lee Jarvis

commit sha 8634c50efbdf7f7997c56a564ba274fb7e0e01a5

Add bin/humanize

view details

Lee Jarvis

commit sha c708960eb2a4e868ea8cd99b4cd0aae9854a606e

Merge branch 'master' of github.com:leejarvis/dotfiles

view details

Lee Jarvis

commit sha 375cd094f0f7307f9cff563826c416130f0218b7

Teach myself to stop typing ag

view details

push time in 2 months

startedvmanot/SwiftDB

started time in 3 months

more