Skip to content

Instantly share code, notes, and snippets.

View ghaydarov's full-sized avatar
🎯
Focusing

Gurban Haydarov ghaydarov

🎯
Focusing
View GitHub Profile
cd /var/folders/6d/mv86bqc94d77432__xp708qh0000gq/T/ruby-build.20240109182759.78646.Ye02u5
==> Downloading ruby-3.2.2.tar.gz...
-> curl -q -fL -o ruby-3.2.2.tar.gz https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.2.tar.gz
-> tar xzf ruby-3.2.2.tar.gz
cd /var/folders/6d/mv86bqc94d77432__xp708qh0000gq/T/ruby-build.20240109182759.78646.Ye02u5/ruby-3.2.2
==> Installing ruby-3.2.2...
-> ./configure "--prefix=$HOME/.asdf/installs/ruby/3.2.2" --with-openssl-dir=/opt/homebrew/opt/openssl@3 --enable-shared --with-readline-dir=/opt/homebrew/opt/readline --with-gmp-dir=/opt/homebrew/opt/gmp --with-ext=openssl,psych,+
checking for ruby... /Users/gurban.haydarov/.asdf/shims/ruby
tool/config.guess already exists
tool/config.sub already exists
@ghaydarov
ghaydarov / whereable.rb
Created September 22, 2022 03:48 — forked from searls/whereable.rb
The initial implementation of a Whereable query filter for KameSame.
class Whereable
def initialize(where:, model: Item, ranking_conditions: [], valid: true, data_source: nil)
@model = model
@where = where
@data_source = data_source
@ranking_conditions = ranking_conditions
@valid = valid
end
def valid?