Top 22 Ruby Rubygem Projects
-
Project mention: Learn what is DSL and build your own parser for Gemfile | reddit.com/r/ruby | 2021-04-08
For anyone wanting to dive even deeper into the topic of writing DSLs, this thoughtbot post does a pretty good job of explaining how the DSL for factorybot works
-
This looks interesting. Am curious to know how it differs from something like MailCatcher? https://mailcatcher.me/
-
Scout APM
Scout APM - Leading-edge performance monitoring starting at $39/month. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
-
Project mention: Ruby on Rails struggles to install SQLite3 when creating new application | reddit.com/r/rails | 2021-04-06
Could not find gem 'sqlite3 (~> 1.4)' in rubygems repository https://rubygems.org/ or installed locally.
-
Karafka
-
Project mention: Researcher hacks over 35 tech firms in novel supply chain attack | news.ycombinator.com | 2021-02-10
remote: https://github.com/thoughtbot/appraisal
-
-
Project mention: MimeMagic versions prior to 0.3.6 have been yanked from RubyGems and it's GPL 2.0 now | reddit.com/r/ruby | 2021-03-24
Sorry to hear. I'd say, never "bundle install" in the init script. If using docker, make "bundle install" an intermediate container. If you have your own servers, try network FS sharing your deps (and see if you're ok with the "require" latencies). Alternatively, use a gem cache proxy. You can use "geminabox" with a rubygems mirror, if you can tolerate the space and long mirroring times, or use a purposed "middleman" proxy, like gemstash, or nexus if your company is multilang.
-
ruby-mqtt
Pure Ruby gem that implements the MQTT protocol, a lightweight protocol for publish/subscribe messaging.
Project mention: Best of (Ruby) Gems Series - What's Next? What's Hot? | reddit.com/r/ruby | 2021-03-12ruby-mqtt
-
> I don’t think I can link Ada libraries into my Ruby or Elixir codebase
Ruby has (among others, I’m certain): https://github.com/olbrich/ruby-units
-
DeepPluck
Allow you to pluck attributes from nested associations without loading a bunch of records.
-
-
bundler-leak
Known-leaky gems verification for bundler: `bundle leak` to check your app and find leaky gems in your Gemfile :gem::droplet:
-
I've not used it, but maybe investigate bashcov which leverages simplecov for generating HTML reports?
-
-
rails_or
Cleaner syntax for writing OR Query in Rails 5, 6. And also add #or support to Rails 3 and 4.
-
pluck_all
A more efficient way to get data from database. Like #pluck method but return array of hashes instead.
-
ActiveModelCachers
Simply cache whatever you want by using cachers which will help you maintain cached objects and expire them when they are changed.
-
Maybe this is not what you want (and could be useful for other folks), but I love the drafting gem. The implementation is similar to other posts - it has a separate table where you can save anything and come back to it later on. Caveat is - it's not a real object yet, and can only work with new records. Possibly can look into it :)
-
FindWithOrder
Provides a simple way to find records in the same order of input array. Has better performance than manually sorting. (Support both PostgreSQL and MySQL)
-
Atomically
An ActiveRecord extension for writing commonly useful atomic SQL statements to avoid race condition.
-
-
SanitizeSqlLike
Backport #sanitize_sql_like method from Rails 4 for Rails 3. Sanitizes a string so that it is safe to use within an SQL LIKE statement.
Index
What are some of the best open-source Rubygem projects in Ruby? This list will help you:
Project | Stars | |
---|---|---|
1 | factory_bot | 7,158 |
2 | MailCatcher | 5,258 |
3 | rubygems | 2,692 |
4 | Karafka | 1,233 |
5 | Appraisal | 1,075 |
6 | Unread | 644 |
7 | gemstash | 643 |
8 | ruby-mqtt | 465 |
9 | Ruby Units | 392 |
10 | DeepPluck | 387 |
11 | Gemsmith | 356 |
12 | bundler-leak | 189 |
13 | bashcov | 114 |
14 | gemdiff | 111 |
15 | rails_or | 91 |
16 | pluck_all | 91 |
17 | ActiveModelCachers | 62 |
18 | drafting | 41 |
19 | FindWithOrder | 31 |
20 | Atomically | 26 |
21 | puppet-module-gems | 4 |
22 | SanitizeSqlLike | 0 |