Coder Social home page Coder Social logo

conway_deathmatch's People

Contributors

rickhull avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

domgetter

conway_deathmatch's Issues

Slop

Hi Rick,

I noticed you asked about Slop 4.0 on #ruby-lang. All v3 Slop code will not work with v4, so it won't be a quick or simple transition. I didn't provide a full changelog for v4 because I never truly maintained the one for v3, at risk of misinforming I decided to just remove it for v4. I believe the new README sums up the difference simply enough, though. Maybe I should add an 'upgrading' section to that.

The main things to consider are:

  • No more instance_eval on the parse block. Which means you need to use a block argument, i.e: Slop.parse do |o| # ...
  • Hyphens are now required. So 'f', 'foo' changes to '-f', '--foo'
  • No more as, instead the type is used in the option method call, so on 'width=', as: Integer becomes o.int '--width'
  • No more trailing = (this is solved by the above point)

You'll probably have noticed that I forked this repo as I was going to convert it to v4 for you. However it really came down to having to make too many decisions that you're better off making. Also, selfishly, letting you update it also helps me find any issues or enhancements you might come across or suggest.

Let me know if you decide to update to v4 and have any questions, I'll be here to help.

That said, I will continue to maintain v3 (bug fixes only) in a separate branch for those who prefer to avoid having to upgrade. So it's entirely up to you.

Thanks for using Slop!

EDIT https://github.com/leejarvis/slop#upgrading-from-version-3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.