addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramlinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

gem.create! (Creating your own gem for authorization)

Jay Morlan wanted to create an authorization framework (like cancancan or pundit) and had super fantastic fun doing so. Now you can also create you a gem!

We'll go over the mechanics or publishing a gem, and some fun instance_exec magic. Magic.jiff

Pizza and drinks provided by The Iron Yard


--- Update ---

We changed the meetup from April 19 to April 25th because of the RainRainRain2016. Stay Safe!

Join or login to comment.

  • John C. Bland I.

    Enjoyed the meetup tonight. A couple notes:

    - `bundle create` was mentioned, but it was `bundle gem [gem name]` (at least in this version)
    - I started my first gem (no tests so not publishing yet). :)

    Question:
    ```
    # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
    # delete this section to allow pushing this gem to any host.
    if spec.respond_to?(:metadata)
    spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'";
    else
    raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.'
    end
    ```

    Is this needed at all?

    April 25

  • Vernon Mingo I.

    Sorry I missed this one guys. I'm usually there, but life happened today. See y'all at the next one.

    April 25

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy