Ruby

Ruby was developed by Yukihiro "Matz" Matsumoto in 1995 with the intent of having an easily readable programming language. It is used by the Rails framework to create dynamic web-applications. Ruby's syntax is similar to that of Perl and Python.
Here are 23,949 public repositories matching this topic...
-
Updated
on Mar 16, 2021 - Ruby

-
Updated
on Mar 13, 2021
-
Updated
on Mar 18, 2021 - Ruby
Homebrew/livecheck provides various automated ways of detecting formulae updates.
Repology provides an API that provides details on whether a Homebrew package is outdated e.g. https://repology.org/metapackage/boost/versions
A separate Ruby application that can be trivially deployed on e
We have currently simple GitHub page, but we need to think about it's update with some better design.
-
Updated
on Mar 17, 2021 - Ruby
-
Updated
on Mar 11, 2021 - Ruby
-
Updated
on Mar 18, 2021 - Ruby
Currently register
looks like:
private static <T> void register(Map<T, T> substitutions, T annotated, T original, T target) {
if (annotated != null) {
guarantee(!substitutions.containsKey(annotated) || substitutions.get(annotated) == original || substitutions.get(annotated) == target, "Already registered: %s", annotated);
substitutions.put(annotated,
-
Updated
on Mar 16, 2021 - Ruby
-
Updated
on Mar 4, 2021
The following should not generate an offense:
# shareable_constant_value: literal (or experimental_everything)
MY_CONSTANT = %w[anything here is fine even non-literals]
I am trying to write my own custom route matcher and using the example in the readme, I receive the following error:
AllButPattern can't be coerced into Mustermann::Pattern (TypeError)
Here is my example code:
require 'sinatra'
get '/index' do
'Hello world!'
end
class AllButPattern
Match = Struct.new(:captu
This is the continuation of spree/spree#10849. We still have some jQuery dependant code in the spree_frontend
app/assets/javascript directory which we will need to rewrite to pure JS. There's no rationale for using jQuery anymore as all of the features are available in pure JS.
-
Updated
on Mar 15, 2021 - Ruby
-
Updated
on Mar 8, 2021 - Ruby
Steps to reproduce
Run asdf
. In help output a line is printed for the asdf env
command:
asdf env <command> [executable] Prints or runs an executable under a command environment
I would assume <command>
is an arbitrary command. But from what I can tell needs to be a plugin name or a shim name? I'm also not sure how this differs from executing the shim directly.
FY
-
Updated
on Mar 18, 2021 - Ruby
-
Updated
on Dec 13, 2020 - Shell
I have a Sidekiq customer complaining of a lot of "stuck" threads. He sends a lot of email so I suspected misbehaving SMTP servers.
The
mail
gem has support for timeouts here but they default tonil
:https://github.com/mikel/mail/blob/7b3e100f42f2d7738c3af7bf1909777568270b67/lib/mail/network/delivery_methods/smtp.rb#L91
Rails does not appear to set them by default:
https://github.c