home.social

#rubygem — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #rubygem, aggregated by home.social.

fetched live
  1. It's nice to see @elenatanasoiu and Emma teaching #BrightonRuby's crowd about @john's #vernier #RubyGem.
    Some people still don't know how to capture data to generate a #flamegraph of it.

    #Rails #RubyOnRails #GitHub

  2. It's nice to see @elenatanasoiu and Emma teaching #BrightonRuby's crowd about @john's #vernier #RubyGem.
    Some people still don't know how to capture data to generate a #flamegraph of it.

    #Rails #RubyOnRails #GitHub

  3. 🕰 Just released yard-timekeeper v0.1.0, a small RubyGem for quieter YARD docs workflows. :ruby:

    For projects that check in generated YARD HTML under docs/.

    After rake yard, it detects tracked HTML files where the only change is YARD’s generated footer timestamp and restores those files from git. Actual documentation changes are preserved, including their fresh timestamp.

    Install:

    gem install yard-timekeeper

    Source:
    github.com/galtzo-floss/yard-t

    #Ruby #RubyGem #YARD #OpenSource #Documentation

  4. 🕰 Just released yard-timekeeper v0.1.0, a small RubyGem for quieter YARD docs workflows. :ruby:

    For projects that check in generated YARD HTML under docs/.

    After rake yard, it detects tracked HTML files where the only change is YARD’s generated footer timestamp and restores those files from git. Actual documentation changes are preserved, including their fresh timestamp.

    Install:

    gem install yard-timekeeper

    Source:
    github.com/galtzo-floss/yard-t

    #Ruby #RubyGem #YARD #OpenSource #Documentation

  5. Recently I learned you can use #RDoc in your #RubyGem description, and rubygems.org will render it as HTML!

    Unfortunately, their CSS reset gets the better of it. But not for long, if this PR gets merged: github.com/rubygems/rubygems.o (before/after screenshots included)

    Here's to @st0012 and his fabulous work on Aliki that made this easy!

    #Ruby #UX #WebDesign #Design #Typography

  6. Recently I learned you can use #RDoc in your #RubyGem description, and rubygems.org will render it as HTML!

    Unfortunately, their CSS reset gets the better of it. But not for long, if this PR gets merged: github.com/rubygems/rubygems.o (before/after screenshots included)

    Here's to @st0012 and his fabulous work on Aliki that made this easy!

    #Ruby #UX #WebDesign #Design #Typography

  7. :ruby: QUESTION:
    Is anyone aware of a tool that generates gems, such that it can generate 100 or 1000 gems, with predictable names, namespaces, and contents, so they can be used for testing the behavior of a library when another library with specific attributes is loaded? Just wondering if there is prior art before I release my take on it.
    #Ruby #RubyGem

  8. :ruby: QUESTION:
    Is anyone aware of a tool that generates gems, such that it can generate 100 or 1000 gems, with predictable names, namespaces, and contents, so they can be used for testing the behavior of a library when another library with specific attributes is loaded? Just wondering if there is prior art before I release my take on it.
    #Ruby #RubyGem

  9. I hate package manager that do not have proper version based dependency management. Currently complaining about RubyGem.
    I mean it tells me which gem is not compatible with my Ruby version and even tells me which is the last supported version. How about gem does install that version instead of failing?
    #Ruby #RubyLang #Gem #RubyGem

  10. :ruby: ANN: New version of rspec-pending_for, v1.0.18. Now accepts a *Range* of versions to mark a spec `pending` (or skipped), with various ways to specify.

    Please sponsor me!

    - liberapay.com/pboling/donate
    - github.com/sponsors/pboling
    - paypal.com/paypalme/peterboling
    - buymeacoffee.com/pboling

    #Ruby #RubyGem #Toolbox

  11. :ruby: ANN: New version of rspec-pending_for, v1.0.18. Now accepts a *Range* of versions to mark a spec `pending` (or skipped), with various ways to specify.

    Please sponsor me!

    - liberapay.com/pboling/donate
    - github.com/sponsors/pboling
    - paypal.com/paypalme/peterboling
    - buymeacoffee.com/pboling

    #Ruby #RubyGem #Toolbox

  12. :ruby: Just finished wrapping up a huge chunk of my gem development process into automation scripts in a new gem (#94): kettle-dev. It does *a lot*; going to use it to speed run updates to my gems.
    A bag full of goodies awaits you. Full docs & code coverage.

    A taste of the scripts it bundles:
    kettle-commit-msg
    kettle-readme-backers (automation of adding Open Source Collective backers to readme)
    kettle-release (entire gem release process)

    #Ruby #RubyGem #Toolbox

    github.com/kettle-rb/kettle-dev

  13. :ruby: Just finished wrapping up a huge chunk of my gem development process into automation scripts in a new gem (#94): kettle-dev. It does *a lot*; going to use it to speed run updates to my gems.
    A bag full of goodies awaits you. Full docs & code coverage.

    A taste of the scripts it bundles:
    kettle-commit-msg
    kettle-readme-backers (automation of adding Open Source Collective backers to readme)
    kettle-release (entire gem release process)

    #Ruby #RubyGem #Toolbox

    github.com/kettle-rb/kettle-dev

  14. :ruby: ANN: kettle-test v1.0.0 - I've distilled widely applicable parts of my standard test harness into a gem. Now I have much less to set up on each project.
    Time travel, silence for the dot parade, but captured output for testing logs & STDOUT/STERR, and much more.

    Full docs, 100% tested lines & branches, < 70 lines of code.

    #Ruby
    #CountdownTo100 - My 93rd #RubyGem

    github.com/kettle-rb/kettle-te

  15. :ruby: ANN: kettle-test v1.0.0 - I've distilled widely applicable parts of my standard test harness into a gem. Now I have much less to set up on each project.
    Time travel, silence for the dot parade, but captured output for testing logs & STDOUT/STERR, and much more.

    Full docs, 100% tested lines & branches, < 70 lines of code.

    #Ruby
    #CountdownTo100 - My 93rd #RubyGem

    github.com/kettle-rb/kettle-te

  16. I've been building this new tool for awhile, and I ended up with something I am proud of.
    Shields.io has never had a full :ruby: badger. Now it does. This initial release ships with 6 of my favorite badges, and makes it supremely simple to add more. DSL FTW. I'll add more soon, and I hope you will too.

    If you 💓 📛 as much as I do (high information density) then I hope you'll give me a star/follow/toot/skeet.
    shields-badge.galtzo.com/
    #Ruby #RubyGem #Badge

  17. I've been building this new tool for awhile, and I ended up with something I am proud of.
    Shields.io has never had a full :ruby: badger. Now it does. This initial release ships with 6 of my favorite badges, and makes it supremely simple to add more. DSL FTW. I'll add more soon, and I hope you will too.

    If you 💓 📛 as much as I do (high information density) then I hope you'll give me a star/follow/toot/skeet.
    shields-badge.galtzo.com/
    #Ruby #RubyGem #Badge

  18. We’re excited to share that free #RubyGem analytics are now available to the community! 🙌

    Through our partnership with ClickHouse, developers and security researchers can now query over 200 billion RubyGem download events since 2017, with new data added every hour. 👀

    Check it out: buff.ly/mKEXcKt

  19. We’re excited to share that free #RubyGem analytics are now available to the community! 🙌

    Through our partnership with ClickHouse, developers and security researchers can now query over 200 billion RubyGem download events since 2017, with new data added every hour. 👀

    Check it out: buff.ly/mKEXcKt

  20. The #ruby gem for taglib has been updatet to work with taglib 2.0!
    Time to update and test :D

    Link to changelog:
    https://github.com/robinst/taglib-ruby/releases/tag/v2.0.0

    #rubygem #taglib #music
  21. I’ve made a little something, so I thought I'd share.

    Gort is a robots.txt parser and evaluator. It implements RFC 9309.

    More details in the ReadMe: github.com/pointlessone/gort

    #Ruby #rubygem #release #robotstxt #robots_txt #rfc9309

  22. We chat with Marcelo Dominguez about the "Blend" library, aiding #Elixir devs supporting multiple versions of a dep. Inspired by the #Rubygem "appraisal", it fits into CI systems making library maintenance manageable. https://podcast.thinkingelixir.com/204
  23. We chat with Marcelo Dominguez about the "Blend" library, aiding #Elixir devs supporting multiple versions of a dep. Inspired by the #Rubygem "appraisal", it fits into CI systems making library maintenance manageable. https://podcast.thinkingelixir.com/204
  24. HeyHey! Some 12 years later we've release 1.20 of my nexus_parser #rubygem so that we can use it in @TaxonWorks. Thanks to kleintom for the contributions pushing this forward.

    github.com/mjy/nexus_parser

    Can't imagine how much longer the update would have taken without unit-tests.

    #phylogeny #data

  25. I couldn't find a guide that explains how to configure a #rubygem so you can #importmap JS files into your #rails app, when the JS is in a gem.

    So I wrote a blogpost on it!
    eirvandelden.com/developing/20

    Credit goes to Alex on Stack overflow stackoverflow.com/users/207090
    If anyone knows who he is on, please mention him, because I could not have figured this out without his awesome and very complete answers!

  26. I couldn't find a guide that explains how to configure a #rubygem so you can #importmap JS files into your #rails app, when the JS is in a gem.

    So I wrote a blogpost on it!
    eirvandelden.com/developing/20

    Credit goes to Alex on Stack overflow stackoverflow.com/users/207090
    If anyone knows who he is on, please mention him, because I could not have figured this out without his awesome and very complete answers!

  27. Am I back? I'm back!

    My #mastoson instance was completely inoperable for 3 days due to the world's most frustrating #rubyGem #charLockHolmes which refused to compile with reference to the correct #icu directory.

    What fixed it was me compiling the thing on another machine, and manually copying the compiled .so to the right places.

    That was a good fight.

  28. Am I back? I'm back!

    My #mastoson instance was completely inoperable for 3 days due to the world's most frustrating #rubyGem #charLockHolmes which refused to compile with reference to the correct #icu directory.

    What fixed it was me compiling the thing on another machine, and manually copying the compiled .so to the right places.

    That was a good fight.

  29. I'm curious to know what other people do. I know I've asked before, and QT or GTK have been suggested, but are there better options especially for #macOS? I don't think #RubyMotion is still maintained, and even if I switch to #CrystalLang I still have a #UI issue to solve for.

    I'm also curious to know if anyone knows of a better #xxHash #RubyGem or wrapper than digest-xxhash-ruby, which is a relatively new project that doesn't seem to have wide adoption.

    What says the #RubyHiveMind on this?

  30. I'm curious to know what other people do. I know I've asked before, and QT or GTK have been suggested, but are there better options especially for #macOS? I don't think #RubyMotion is still maintained, and even if I switch to #CrystalLang I still have a #UI issue to solve for.

    I'm also curious to know if anyone knows of a better #xxHash #RubyGem or wrapper than digest-xxhash-ruby, which is a relatively new project that doesn't seem to have wide adoption.

    What says the #RubyHiveMind on this?

  31. Had my first successful playtest of #GemWarrior for the web, my text adventure #RubyGem that is now being created as a web app.

    Got good feedback, fixed some bugs, and got inspired to add more visual Zazz(TM).

    I’d love to get more feedback, so if you want to play the one-room Proof of Concept, check out gw.neb.host and play it! There’s a form to submit feedback, too!

  32. I’m adding a bunch more sound FX and music to my text adventure web app, #GemWarrior.

    Why? It’s not because it needs it, but it’s because I don’t want to figure out how to port in the actual world rooms and battle system from the original #rubygem. It’s annoying and not super stimulating.

    So, #bikeshedding the audio it is, then.

  33. I've been manually generating checksums for polyfill-data by following this guide guides.rubygems.org/security/#

    Does bundler or rubygems have a built-in way of managing this?
    #ruby #rubygem

  34. 📣 dry-schema 1.13.0 was just released which ships with upgraded dry-logic to 1.5.0 - it fixes compatibility with `eql?` and `respond_to?` predicates which previously were conflicting with the default implementation in Object.

    See full changelog 👇

    github.com/dry-rb/dry-schema/r

    #ruby #dry_rb #rubygem #validation #oss #opensource #library

  35. OK final touch! I restored `colorized: true` option from Hanami 1.x so that we can have severity colorized in dev/test logs 🙂 🎨

    Now I just need to update YARD, push another RC and if everything works as expected on the Hanami side, dry-logger 1.0.0 will be ready. w00t!

    #ruby #rubygem #logging