source stringclasses 1
value | repo stringlengths 5 63 | repo_url stringlengths 24 82 | path stringlengths 5 167 | language stringclasses 1
value | license stringclasses 5
values | stars int64 10 51.4k | ref stringclasses 23
values | size_bytes int64 200 258k | text stringlengths 137 258k |
|---|---|---|---|---|---|---|---|---|---|
github | Shopify/ess | https://github.com/Shopify/ess | tests/regression/206069.rb | Ruby | mit | 97 | main | 242 | for i in (1..4)
print i," "
end
print "\n"
for i in (1...4)
print i," "
end
print "\n"
items = [ 'Mark', 12, 'goobers', 18.45 ]
for it in items
print it, " "
end
print "\n"
for i in (0...items.length)
print items[0..i].join(" "), "\n"
end |
github | Shopify/ess | https://github.com/Shopify/ess | tests/regression/235744-2.rb | Ruby | mit | 97 | main | 390 | b = Array.new(1, Hash.new)
q = g = GC.interval_ratio= 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
GC.start
p.join
x{}
z = q.join[0]
q = Class.new{}
i = Struct.new.prepend_features {}
a = Time.new p = g.initialize
r = b.to_r
x
... |
github | Shopify/ess | https://github.com/Shopify/ess | tests/regression/181319.rb | Ruby | mit | 97 | main | 249 | 10.times do
@a = []
N = 1000
$a = ("a"*0xf + "\n") * N
$a.lines do |l|
$a.clear
foo = "UUUUUUUU" * 1000
@a << l
end
unless @a == (["a"*0xf + "\n"] * N) || @a == ["a"*0xf + "\n"]
raise "regression test failed"
end
end |
github | Shopify/ess | https://github.com/Shopify/ess | tests/regression/234742.rb | Ruby | mit | 97 | main | 290 | def a
yield
ensure
Array.new.uniq {}
end
def b
yield
ensure
lambda { a { a a { return proc{} } } }.call
end
GC.start
lambda { b { b { b { b { b { b { b { b { b { b { b { b { b { b { b { b { b { b { b { b { b { b { return proc{} } } } } } } } } } } } } } } } } } } } } } } }.call |
github | Shopify/ess | https://github.com/Shopify/ess | tests/regression/201897-rce.rb | Ruby | mit | 97 | main | 2,250 | def f(n)
return 32766 + 24239 # 0xdead
ensure
if n==0
else
$a = "AAABAACAADAAEAAFAAGAAHAAIAAJAAKAALAAMAANAAOAAPAAQAARAASAATAAUAAVAAWAAXAAYAAZAAaAAbAAcAAdAAeAAfAAgAAhAAiAAjAAkAAlAAmAAnAAoAApAAqAArAAsAAtAAuAAvAAwAAxAAyAAzAA1AA2AA3AA4AA5AA6AA7AA8AA9AA0ABBABCABDABEABFABGABHABIABJABKABLABMABNABOABPAB... |
github | Shopify/ess | https://github.com/Shopify/ess | tests/regression/210671-2.rb | Ruby | mit | 97 | main | 3,775 | def a
yield
ensure
lambda { return }.call
end
lambda { a { a { a { a { a {X a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a { a... |
github | Shopify/ess | https://github.com/Shopify/ess | tests/regression/244899.rb | Ruby | mit | 97 | main | 304 | def assert
yield end
assert do begin
ensure begin
ensure begin
ensure begin
ensure begin{:a=>0}end
assert do begin ensure begin ensure begin
ensure begin{:a=>0}end
assert do begin ensure begin
ensure begin ensure
assert do begin
t
ensure yield end
end
end
end
end end
end
end end
end
end
end
end
end
end |
github | Shopify/ess | https://github.com/Shopify/ess | tests/regression/216351.rb | Ruby | mit | 97 | main | 260 | [][0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]=%
a |
github | Shopify/ess | https://github.com/Shopify/ess | tests/regression/243891.rb | Ruby | mit | 97 | main | 244 | module A module A
ensure
module A module A module A module A
ensure
module A module A module A module A module A module A
a
ensure
1.times do
super
end
end end end end end end
end end end end
end end |
github | Shopify/ess | https://github.com/Shopify/ess | tests/regression/221512.rb | Ruby | mit | 97 | main | 253 | r()
o()
p0
e
a
w
o
a
d
t('')
a
a
d
w
w
o
o
0.o
o
t
a
n
s
e
i
b def method_missing()""end
n
l""
a
e""
e
y
''
begin[0].each do[0].each do
³ [].each do end end end
rescue=>e0ception
GC.start
e()end
a
K
r
d
T
e
d
t('')do""end
n
e0ception.backtrace.m |
github | Shopify/ess | https://github.com/Shopify/ess | tests/regression/244899-2.rb | Ruby | mit | 97 | main | 1,012 | def a
yield
end
a do
begin
ensure
begin
ensure
begin
ensure
begin
ensure
begin
{ b: 0 }
end
a do
begin
ensure
begin
ensure
begin
ensure
... |
github | Shopify/ess | https://github.com/Shopify/ess | tests/regression/241133-2.rb | Ruby | mit | 97 | main | 281 | def aa(n)
if n >= 0
instance_exec(x)
end
rescue
aa(n-1)
end
x = GC.interval_ratio = 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2.times{x.to_s}
aa(200)
y = Class.new.dup
1.times{y.to_s} |
github | Shopify/ess | https://github.com/Shopify/ess | tests/regression/235744-3.rb | Ruby | mit | 97 | main | 379 | b = Array.new(1, Hash.new)
q = g = GC.interval_ratio= 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
GC.start
p.join
x{}
z = q.join[0]
q = Class.new{}
i = Struct.new.prepend_features {}
a = Time.new p = g.initialize
r = b.to_r
x
m = q... |
github | Shopify/ess | https://github.com/Shopify/ess | tests/regression/232748.rb | Ruby | mit | 97 | main | 237 | class P < Array <
def method_missing(a,*b)
c = Array.new(128) {Array.new}
1.times{
Array.new{}
x
}
end
end
m = Fiber.new do
x
end
GC.start
m.resume
def x()
x end x
x
e
end |
github | Shopify/ess | https://github.com/Shopify/ess | tests/regression/249951.rb | Ruby | mit | 97 | main | 1,408 | #000000000000000000000000000000000
tr0 = a.rindex a = [ "a", "0", "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000... |
github | Shopify/ess | https://github.com/Shopify/ess | tests/regression/185957.rb | Ruby | mit | 97 | main | 368 | class AssertionError < StandardError
end
def assert_raise(type)
begin
yield
raise AssertionError, "Didn't raise #{type}"
rescue type
end
end
class << Object
alias_method :new_, :new
end
[Symbol, Integer, Float, NilClass, TrueClass, FalseClass].each do |klass|
assert_raise(NoMethodError) { klass.new... |
github | Shopify/ess | https://github.com/Shopify/ess | tests/regression/241863.rb | Ruby | mit | 97 | main | 218 | def a
x
ensure
e
end
k = Numeric.new
def z;e;end
def e
h {}
end
def h
a
ensure
x
end
Symbol.all_symbols []
t = Fiber.new do
u = k.to_s
end
z.instance_exec {}
z.instance_exec {}
t.resume
z[0]
GC.start |
github | Shopify/ess | https://github.com/Shopify/ess | tests/regression/204274.rb | Ruby | mit | 97 | main | 2,062 | def b
def c
a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>>=a>... |
github | Shopify/ess | https://github.com/Shopify/ess | tests/regression/181609.rb | Ruby | mit | 97 | main | 508 | begin
10.times do
class A
def ==(o)
Struct.new("Test", :a,:b,:c,:d,:e,:f,:g,:h,:i,:j)
$a.initialize_copy(Struct::Test.new("A","B","C","D","E","F","G","H","I","J"))
500.times { a = "\x33\x22\x11\x44\x45\x46\x47\x48\x88\x77\x66\x55\x44"*2 }
true
end
end
Struct.ne... |
github | Shopify/ess | https://github.com/Shopify/ess | tests/regression/228044.rb | Ruby | mit | 97 | main | 225 | * = 0
* = 0
begin
ensure
msg = 0
* =
* @@num=thing = 0
begin
ensure
msg = 0
* =
* @@nu = ""
end
* =
* @@num=thing , 0
* = 0
end
* = 0
0 |
github | Shopify/ess | https://github.com/Shopify/ess | tests/regression/218570.rb | Ruby | mit | 97 | main | 291 | def method_missing
end
__send__ :f,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 |
github | Shopify/ess | https://github.com/Shopify/ess | tests/regression/90.rb | Ruby | mit | 97 | main | 3,490 | def a0; end
def a1; end
def a2; end
def a3; end
def a4; end
def a5; end
def a6; end
def a7; end
def a8; end
def a9; end
def a10; end
def a11; end
def a12; end
def a13; end
def a14; end
def a15; end
def a16; end
def a17; end
def a18; end
def a19; end
def a20; end
def a21; end
def a22; end
def a23; end
def a24; end
def a... |
github | Shopify/ess | https://github.com/Shopify/ess | tests/regression/206833.rb | Ruby | mit | 97 | main | 217 | DELEGATE = [:puts, :p]
def method_missing(name, *args, &block)
super unless DELEGATE.include? name
end
�� def respond_to_missing?(name, include_private = false)
DELGATE.include?(name) or super
end |
github | fbonetti/method_hooks | https://github.com/fbonetti/method_hooks | method_hooks.gemspec | Ruby | mit | 97 | master | 1,051 | # coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'method_hooks/version'
Gem::Specification.new do |spec|
spec.name = "method_hooks"
spec.version = MethodHooks::VERSION
spec.authors = ["Frank Bonetti"]
spec.email ... |
github | fbonetti/method_hooks | https://github.com/fbonetti/method_hooks | lib/method_hooks.rb | Ruby | mit | 97 | master | 3,360 | require "method_hooks/version"
require "active_support/core_ext/class/subclasses"
require "active_support/core_ext/object/deep_dup"
module MethodHooks
@new_method = true
def self.extended(base)
base.send :include, InstanceMethods
end
private
def inherited(child_class)
child_class.instance_variable... |
github | fbonetti/method_hooks | https://github.com/fbonetti/method_hooks | spec/spec_helper.rb | Ruby | mit | 97 | master | 4,249 | require 'method_hooks'
# This file was generated by the `rspec --init` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# The generated `.rspec` file contains `--require spec_helper` which will cause this
# file to always be loaded, without a need to explicitly ... |
github | fbonetti/method_hooks | https://github.com/fbonetti/method_hooks | spec/lib/method_hooks_spec.rb | Ruby | mit | 97 | master | 5,169 | require 'spec_helper'
describe MethodHooks do
before do
Object.send(:remove_const, :Base) if Object.const_defined?(:Base)
module AnotherModuleWIthMethodAddedHook
def method_added(method_name)
_methods << method_name
super
end
def _methods
@_methods ||= []
en... |
github | fbonetti/method_hooks | https://github.com/fbonetti/method_hooks | examples/model.rb | Ruby | mit | 97 | master | 426 | class Model
extend MethodHooks
before :save do
puts 'before'
end
around :save do |method|
puts 'before_around'
method.call
puts 'after_around'
end
after :save, :foo do
puts 'after'
end
def save
puts 'save'
end
def foo
puts 'foo'
end
end
model = Model.new
model.sa... |
github | jamesgolick/always_verify_ssl_certificates | https://github.com/jamesgolick/always_verify_ssl_certificates | always_verify_ssl_certificates.gemspec | Ruby | mit | 97 | master | 1,720 | # Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in rakefile, and run the gemspec command
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = %q{always_verify_ssl_certificates}
s.version = "0.3.0"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.... |
github | jamesgolick/always_verify_ssl_certificates | https://github.com/jamesgolick/always_verify_ssl_certificates | Rakefile | Ruby | mit | 97 | master | 1,693 | require 'rubygems'
require 'rake'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "always_verify_ssl_certificates"
gem.summary = %Q{Force net/http to always verify SSL certificates.}
gem.description = %Q{Ruby’s net/http is setup to never verify SSL certificates by default. Most ruby libr... |
github | jamesgolick/always_verify_ssl_certificates | https://github.com/jamesgolick/always_verify_ssl_certificates | lib/always_verify_ssl_certificates.rb | Ruby | mit | 97 | master | 1,421 | require 'resolv'
require 'resolv-replace'
require "net/http"
require "net/https"
module Net
class HTTP
private
def connect
D "opening connection to #{conn_address()}..."
s = timeout(@open_timeout) { TCPSocket.open(conn_address(), conn_port()) }
D "opened"
if use_ssl?
... |
github | jamesgolick/always_verify_ssl_certificates | https://github.com/jamesgolick/always_verify_ssl_certificates | test/helper.rb | Ruby | mit | 97 | master | 241 | require 'rubygems'
require 'test/unit'
require 'shoulda'
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'always_verify_ssl_certificates'
class Test::Unit::TestCase
end |
github | jamesgolick/always_verify_ssl_certificates | https://github.com/jamesgolick/always_verify_ssl_certificates | test/test_always_verify_ssl_certificates.rb | Ruby | mit | 97 | master | 243 | require 'helper'
class TestAlwaysVerifySslCertificates < Test::Unit::TestCase
should "probably rename this file and start testing for real" do
flunk "hey buddy, you should probably rename this file and start testing for real"
end
end |
github | leastbad/all_futures | https://github.com/leastbad/all_futures | Rakefile | Ruby | mit | 97 | master | 281 | # frozen_string_literal: true
require "bundler/gem_tasks"
require "rake/testtask"
Rake::TestTask.new(:test) do |t|
t.libs << "test"
t.libs << "lib"
t.test_files = FileList["test/**/*_test.rb"]
end
require "rubocop/rake_task"
RuboCop::RakeTask.new
task default: %i[test] |
github | leastbad/all_futures | https://github.com/leastbad/all_futures | all_futures.gemspec | Ruby | mit | 97 | master | 1,187 | # frozen_string_literal: true
require File.expand_path("../lib/all_futures/version", __FILE__)
Gem::Specification.new do |gem|
gem.name = "all_futures"
gem.license = "MIT"
gem.version = AllFutures::VERSION
gem.authors = ["leastbad"]
gem.email = ["hello@leastbad.com"]
gem.homepage = "https://allfutures.lea... |
github | leastbad/all_futures | https://github.com/leastbad/all_futures | lib/all_futures.rb | Ruby | mit | 97 | master | 706 | # frozen_string_literal: true
require "active_entity/railtie"
require "active_record/errors"
require "active_record/integration"
require "kredis"
require "ulid"
require "all_futures/attributes"
require "all_futures/callbacks"
require "all_futures/dirty"
require "all_futures/errors"
require "all_futures/finder"
require... |
github | leastbad/all_futures | https://github.com/leastbad/all_futures | lib/all_futures/translation.rb | Ruby | mit | 97 | master | 389 | # frozen_string_literal: true
module AllFutures
module Translation
include ActiveModel::Translation
def lookup_ancestors
klass = self
classes = [klass]
return classes if klass == AllFutures::Base
until klass.base_class?
classes << klass = klass.superclass
end
cla... |
github | leastbad/all_futures | https://github.com/leastbad/all_futures | lib/all_futures/versions.rb | Ruby | mit | 97 | master | 1,729 | # frozen_string_literal: true
module AllFutures
module Versions
extend ActiveSupport::Concern
Version = Struct.new(:attributes, :updated_at) do
def to_h
attributes
end
def inspect
attributes
end
def reject
attributes
end
end
included do
... |
github | leastbad/all_futures | https://github.com/leastbad/all_futures | lib/all_futures/attributes.rb | Ruby | mit | 97 | master | 922 | # frozen_string_literal: true
module AllFutures
module Attributes
extend ActiveSupport::Concern
class_methods do
def has_future(name, klass, **options)
ivar_symbol = :"@#{name}_all_futures"
define_method(name) do
if instance_variable_defined?(ivar_symbol)
instanc... |
github | leastbad/all_futures | https://github.com/leastbad/all_futures | lib/all_futures/callbacks.rb | Ruby | mit | 97 | master | 1,690 | # frozen_string_literal: true
require "active_support/callbacks"
module AllFutures
module Callbacks
extend ActiveSupport::Concern
CALLBACKS = [:before_save, :after_save, :before_update, :after_update, :before_destroy, :after_destroy]
def self.prepended(base)
base.include(ActiveSupport::Callbacks... |
github | leastbad/all_futures | https://github.com/leastbad/all_futures | lib/all_futures/dirty.rb | Ruby | mit | 97 | master | 3,655 | # frozen_string_literal: true
module AllFutures
module Dirty
extend ActiveSupport::Concern
def attribute_change(attribute)
_raise_unknown_attribute_error(attribute) unless attributes.key?(attribute.to_s)
attribute_was(attribute) == self[attribute] ? nil : [attribute_was(attribute), self[attribut... |
github | leastbad/all_futures | https://github.com/leastbad/all_futures | lib/all_futures/presenter.rb | Ruby | mit | 97 | master | 573 | # frozen_string_literal: true
module AllFutures
module Presenter
extend ActiveSupport::Concern
attr_reader :updated_at
def max_updated_column_timestamp
@updated_at&.to_time
end
def reject
attributes
end
def to_dom_id
[self.class.name.underscore.dasherize.gsub("/", "-... |
github | leastbad/all_futures | https://github.com/leastbad/all_futures | lib/all_futures/errors.rb | Ruby | mit | 97 | master | 475 | # frozen_string_literal: true
module AllFutures
class InvalidAttribute < StandardError; end
class ParentModelNotSavedYet < StandardError; end
class ReadOnlyRecord < StandardError; end
class RecordInvalid < StandardError; end
class RecordNotFound < StandardError; end
class RecordNotDestroyed < Standard... |
github | leastbad/all_futures | https://github.com/leastbad/all_futures | lib/all_futures/base.rb | Ruby | mit | 97 | master | 2,331 | # frozen_string_literal: true
module AllFutures
class Base < ActiveEntity::Base
prepend ::AllFutures::Callbacks
extend ::ActiveModel::Naming
extend ::AllFutures::Translation
include ::AllFutures::Persistence
include ::AllFutures::Dirty
include ::AllFutures::Validations
include ::AllFuture... |
github | leastbad/all_futures | https://github.com/leastbad/all_futures | lib/all_futures/railtie.rb | Ruby | mit | 97 | master | 346 | # frozen_string_literal: true
class AllFutures::Railtie < ::Rails::Railtie
initializer "all_futures.attributes" do
config.after_initialize do
ActiveModel::Model.include AllFutures::Attributes if defined?(ActiveModel::Model)
end
ActiveSupport.on_load(:active_record) do
include AllFutures::Att... |
github | leastbad/all_futures | https://github.com/leastbad/all_futures | lib/all_futures/finder.rb | Ruby | mit | 97 | master | 6,013 | # frozen_string_literal: true
module AllFutures
module Finder
extend ActiveSupport::Concern
module ClassMethods
def all
Kredis.redis.scan_each(match: "#{name}:*").map do |key|
find(key.delete_prefix("#{name}:"))
end.sort_by(&:created_at)
end
def any?(&block)
... |
github | leastbad/all_futures | https://github.com/leastbad/all_futures | lib/all_futures/persistence.rb | Ruby | mit | 97 | master | 5,948 | # frozen_string_literal: true
module AllFutures
module Persistence
extend ActiveSupport::Concern
def decrement(attribute, by = 1)
increment attribute, -by
end
def decrement!(attribute, by = 1)
increment! attribute, -by
end
def delete
_delete_record if persisted?
@de... |
github | leastbad/all_futures | https://github.com/leastbad/all_futures | test/test_helper.rb | Ruby | mit | 97 | master | 458 | # frozen_string_literal: true
$LOAD_PATH.unshift File.expand_path("../lib", __dir__)
require "bundler/setup"
require "all_futures"
require "minitest/autorun"
require "minitest/spec"
require "active_record"
Time.zone = "UTC"
# Configure Kredis to allow for testing without Redis in order to avoid exception:
# NoMetho... |
github | leastbad/all_futures | https://github.com/leastbad/all_futures | test/all_futures/cache_key_test.rb | Ruby | mit | 97 | master | 716 | # frozen_string_literal: true
require "test_helper"
class ExampleModel < AllFutures::Base
end
describe AllFutures::Base do
it "returns a valid cache key for a new record" do
example = ExampleModel.new
assert_equal "example_models/new", example.cache_key
end
it "returns a valid cache key for a persist... |
github | leastbad/all_futures | https://github.com/leastbad/all_futures | test/all_futures/conversion_test.rb | Ruby | mit | 97 | master | 1,348 | # frozen_string_literal: true
require "test_helper"
class ConversionModel < AllFutures::Base
end
# largely copied from ActiveModel:Test::Cases::ConversionTest
describe AllFutures::Base do
it "to_model default implementation returns self" do
example = ConversionModel.new
assert_equal example, example.to_mod... |
github | leastbad/all_futures | https://github.com/leastbad/all_futures | test/all_futures/callbacks_test.rb | Ruby | mit | 97 | master | 4,017 | # frozen_string_literal: true
require "test_helper"
# rubocop:disable Lint/ConstantDefinitionInBlock:
describe AllFutures::Callbacks do
# save callbacks
it "basic before_save works" do
class BeforeSaveCallback < AllFutures::Base
before_save :init_counter
private
def init_counter
@... |
github | leastbad/all_futures | https://github.com/leastbad/all_futures | test/all_futures/base_test.rb | Ruby | mit | 97 | master | 974 | # frozen_string_literal: true
require "test_helper"
class ExampleModel < AllFutures::Base
attribute :name, :string
attribute :age, :integer, default: 21
@count = nil
end
describe AllFutures::Base do
it "can be initialized" do
assert ExampleModel.new
end
it "presents new records" do
example = Exa... |
github | aws-samples/opsworks-example-cookbooks | https://github.com/aws-samples/opsworks-example-cookbooks | tomcat/recipes/setup.rb | Ruby | apache-2.0 | 97 | master | 986 | # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You may not
# use this file except in compliance with the License. A copy of the License is
# located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file acc... |
github | aws-samples/opsworks-example-cookbooks | https://github.com/aws-samples/opsworks-example-cookbooks | tomcat/recipes/install.rb | Ruby | apache-2.0 | 97 | master | 1,312 | # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You may not
# use this file except in compliance with the License. A copy of the License is
# located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file acc... |
github | aws-samples/opsworks-example-cookbooks | https://github.com/aws-samples/opsworks-example-cookbooks | tomcat/recipes/configure.rb | Ruby | apache-2.0 | 97 | master | 788 | # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You may not
# use this file except in compliance with the License. A copy of the License is
# located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file acc... |
github | aws-samples/opsworks-example-cookbooks | https://github.com/aws-samples/opsworks-example-cookbooks | tomcat/recipes/apache_tomcat_bind.rb | Ruby | apache-2.0 | 97 | master | 1,414 | # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You may not
# use this file except in compliance with the License. A copy of the License is
# located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file acc... |
github | aws-samples/opsworks-example-cookbooks | https://github.com/aws-samples/opsworks-example-cookbooks | tomcat/recipes/remove_root_webapp.rb | Ruby | apache-2.0 | 97 | master | 885 | # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You may not
# use this file except in compliance with the License. A copy of the License is
# located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file acc... |
github | aws-samples/opsworks-example-cookbooks | https://github.com/aws-samples/opsworks-example-cookbooks | tomcat/recipes/service.rb | Ruby | apache-2.0 | 97 | master | 897 | # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You may not
# use this file except in compliance with the License. A copy of the License is
# located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file acc... |
github | aws-samples/opsworks-example-cookbooks | https://github.com/aws-samples/opsworks-example-cookbooks | tomcat/recipes/context.rb | Ruby | apache-2.0 | 97 | master | 1,262 | # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You may not
# use this file except in compliance with the License. A copy of the License is
# located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file acc... |
github | aws-samples/opsworks-example-cookbooks | https://github.com/aws-samples/opsworks-example-cookbooks | tomcat/recipes/container_config.rb | Ruby | apache-2.0 | 97 | master | 1,143 | # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You may not
# use this file except in compliance with the License. A copy of the License is
# located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file acc... |
github | aws-samples/opsworks-example-cookbooks | https://github.com/aws-samples/opsworks-example-cookbooks | tomcat/recipes/deploy.rb | Ruby | apache-2.0 | 97 | master | 1,688 | # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You may not
# use this file except in compliance with the License. A copy of the License is
# located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file acc... |
github | aws-samples/opsworks-example-cookbooks | https://github.com/aws-samples/opsworks-example-cookbooks | tomcat/attributes/default.rb | Ruby | apache-2.0 | 97 | master | 2,236 | # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You may not
# use this file except in compliance with the License. A copy of the License is
# located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file acc... |
github | aws-samples/opsworks-example-cookbooks | https://github.com/aws-samples/opsworks-example-cookbooks | alb_support/attributes/default.rb | Ruby | apache-2.0 | 97 | master | 741 | #
# Cookbook Name:: alb_support
# Attributes:: default
#
# Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http://a... |
github | aws-samples/opsworks-example-cookbooks | https://github.com/aws-samples/opsworks-example-cookbooks | alb_support/recipes/attach_to_alb.rb | Ruby | apache-2.0 | 97 | master | 1,642 | #
# Cookbook Name:: alb_support
# Recipe:: attach_to_alb
#
# Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http:/... |
github | aws-samples/opsworks-example-cookbooks | https://github.com/aws-samples/opsworks-example-cookbooks | alb_support/recipes/uninstall_http_server.rb | Ruby | apache-2.0 | 97 | master | 765 | #
# Cookbook Name:: alb_support
# Recipe:: uninstall_http_server
#
# Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# ... |
github | aws-samples/opsworks-example-cookbooks | https://github.com/aws-samples/opsworks-example-cookbooks | alb_support/recipes/detach_from_alb.rb | Ruby | apache-2.0 | 97 | master | 2,867 | #
# Cookbook Name:: alb_support
# Recipe:: detach_from_alb
#
# Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http... |
github | aws-samples/opsworks-example-cookbooks | https://github.com/aws-samples/opsworks-example-cookbooks | alb_support/recipes/install_http_server.rb | Ruby | apache-2.0 | 97 | master | 815 | #
# Cookbook Name:: alb_support
# Recipe:: install_http_server
#
# Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# ... |
github | aws-samples/opsworks-example-cookbooks | https://github.com/aws-samples/opsworks-example-cookbooks | phpapp/recipes/dbsetup.rb | Ruby | apache-2.0 | 97 | master | 573 | node[:deploy].each do |app_name, deploy|
execute "mysql-create-table" do
command "/usr/bin/mysql -u#{deploy[:database][:username]} -p#{deploy[:database][:password]} #{deploy[:database][:database]} -e'CREATE TABLE #{node[:phpapp][:dbtable]}(
id INT UNSIGNED NOT NULL AUTO_INCREMENT,
author VARCHAR(63) NOT N... |
github | aws-samples/opsworks-example-cookbooks | https://github.com/aws-samples/opsworks-example-cookbooks | phpapp/recipes/appsetup.rb | Ruby | apache-2.0 | 97 | master | 928 | node[:deploy].each do |app_name, deploy|
script "install_composer" do
interpreter "bash"
user "root"
cwd "#{deploy[:deploy_to]}/current"
code <<-EOH
curl -sS https://getcomposer.org/installer | php
php composer.phar install --no-dev
EOH
end
template "#{deploy[:deploy_to]}/current/db-... |
github | aws-samples/opsworks-example-cookbooks | https://github.com/aws-samples/opsworks-example-cookbooks | photoapp/recipes/dbsetup.rb | Ruby | apache-2.0 | 97 | master | 583 | node[:deploy].each do |app_name, deploy|
execute "mysql-create-table" do
command "/usr/bin/mysql -u#{deploy[:database][:username]} -p#{deploy[:database][:password]} #{deploy[:database][:database]} -e'CREATE TABLE #{node[:photoapp][:dbtable]}(
id INT UNSIGNED NOT NULL AUTO_INCREMENT,
url VARCHAR(255) NOT N... |
github | aws-samples/opsworks-example-cookbooks | https://github.com/aws-samples/opsworks-example-cookbooks | photoapp/recipes/appsetup.rb | Ruby | apache-2.0 | 97 | master | 970 | node[:deploy].each do |app_name, deploy|
script "install_composer" do
interpreter "bash"
user "root"
cwd "#{deploy[:deploy_to]}/current"
code <<-EOH
curl -s https://getcomposer.org/installer | php
php composer.phar install
EOH
end
template "#{deploy[:deploy_to]}/current/db-connect.php... |
github | busyloop/vj | https://github.com/busyloop/vj | vj.gemspec | Ruby | bsd-2-clause | 98 | master | 1,017 | lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'vj/version'
Gem::Specification.new do |spec|
spec.name = 'vj'
spec.version = Vj::VERSION
spec.authors = ['moe']
spec.email = ['moe@busyloop.net']
spec.summary = 'JSO... |
github | busyloop/vj | https://github.com/busyloop/vj | lib/vj.rb | Ruby | bsd-2-clause | 98 | master | 3,379 | require 'vj/version'
require 'oj'
require 'optix'
require 'set'
require 'digest'
require 'paint'
module Vj
class Cli < Optix::Cli
TEMPLATE_OPTS = %i[before_key after_key before_value after_value].freeze
cli_root do
text "vj v#{Vj::VERSION}"
opt :version, 'Print version and exit', short: :none
... |
github | johnewart/gearman-ruby | https://github.com/johnewart/gearman-ruby | gearman-ruby.gemspec | Ruby | mit | 97 | master | 848 | $:.push File.expand_path("../lib", __FILE__)
require "gearman/version"
Gem::Specification.new do |s|
s.name = %q{gearman-ruby}
s.version = Gearman::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["John Ewart"]
s.date = %q{2014-11-29}
s.summary = %q{Ruby Gearma... |
github | johnewart/gearman-ruby | https://github.com/johnewart/gearman-ruby | Rakefile | Ruby | mit | 97 | master | 456 | require 'rubygems'
require 'bundler'
require "rspec/core/rake_task"
Bundler::GemHelper.install_tasks
begin
Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
$stderr.puts e.message
$stderr.puts "Run `bundle install` to install missing gems"
exit e.status_code
end
RSpec::Core::RakeTask.new... |
github | johnewart/gearman-ruby | https://github.com/johnewart/gearman-ruby | lib/gearman.rb | Ruby | mit | 97 | master | 407 | #!/usr/bin/env ruby
require 'logger'
module Gearman
class << self
attr_writer :logger
def logger
@logger ||= Logger.new(STDOUT)
end
end
end
require 'gearman/exceptions'
require 'gearman/logging'
require 'gearman/packet'
require 'gearman/connection'
require 'gearman/connection_pool'
require 'gea... |
github | johnewart/gearman-ruby | https://github.com/johnewart/gearman-ruby | lib/gearman/connection.rb | Ruby | mit | 97 | master | 4,734 | require 'socket'
module Gearman
class Connection
include Logging
def initialize(hostname, port)
@hostname = hostname
@port = port
@real_socket = nil
end
attr_reader :hostname, :port, :state, :socket
##
# Check server health status by sending an ECHO request
# Return t... |
github | johnewart/gearman-ruby | https://github.com/johnewart/gearman-ruby | lib/gearman/task.rb | Ruby | mit | 97 | master | 5,892 | #!/usr/bin/env ruby
require 'digest/sha1'
module Gearman
# = Task
#
# == Description
# A task submitted to a Gearman job server.
class Task
##
# Create a new Task object.
#
# @param func function name
# @param arg argument to the function
# @param opts hash of additional option... |
github | johnewart/gearman-ruby | https://github.com/johnewart/gearman-ruby | lib/gearman/worker.rb | Ruby | mit | 97 | master | 8,184 | #!/usr/bin/env ruby
require 'set'
require 'gearman/worker/callbacks'
require 'gearman/worker/ability'
require 'gearman/worker/job'
module Gearman
class Worker
include Logging
include Callbacks
##
# Create a new worker.
#
# @param job_servers "host:port"; either a single server or an arra... |
github | johnewart/gearman-ruby | https://github.com/johnewart/gearman-ruby | lib/gearman/logging.rb | Ruby | mit | 97 | master | 245 | module Gearman
module Logging
def self.included(target)
target.extend ClassMethods
end
def logger
self.class.logger
end
module ClassMethods
def logger
Gearman.logger
end
end
end
end |
github | johnewart/gearman-ruby | https://github.com/johnewart/gearman-ruby | lib/gearman/exceptions.rb | Ruby | mit | 97 | master | 323 | module Gearman
class InvalidArgsError < Exception
end
class ProtocolError < Exception
end
class NetworkError < Exception
end
class NoJobServersError < Exception
end
class JobQueueError < Exception
end
class SocketTimeoutError < Exception
end
class ServerDownException < Exception
end
... |
github | johnewart/gearman-ruby | https://github.com/johnewart/gearman-ruby | lib/gearman/packet.rb | Ruby | mit | 97 | master | 2,778 | module Gearman
class Packet
# Map from Integer representations of commands used in the network
# protocol to more-convenient symbols.
COMMANDS = {
1 => :can_do, # W->J: FUNC
2 => :cant_do, # W->J: FUNC
3 => :reset_abilities, # W->J: --
4 ... |
github | johnewart/gearman-ruby | https://github.com/johnewart/gearman-ruby | lib/gearman/server.rb | Ruby | mit | 97 | master | 2,204 | #!/usr/bin/env ruby
require 'socket'
require 'gearman'
module Gearman
# = Server
#
# == Description
# A client for managing Gearman job servers.
class Server
##
# Create a new client.
#
# @param job_servers "host:port"; either a single server or an array
# @param prefix function name prefix (namespa... |
github | johnewart/gearman-ruby | https://github.com/johnewart/gearman-ruby | lib/gearman/client.rb | Ruby | mit | 97 | master | 4,989 | require 'time'
module Gearman
class Client
include Logging
attr_accessor :task_create_timeout_sec
##
# Create a new client.
#
# @param job_servers "host:port"; either a single server or an array
def initialize(job_servers=nil)
@coalesce_connections = {} # Unique ID => Connection... |
github | johnewart/gearman-ruby | https://github.com/johnewart/gearman-ruby | lib/gearman/connection_pool.rb | Ruby | mit | 97 | master | 4,038 | require 'thread'
module Gearman
class ConnectionPool
include Logging
DEFAULT_PORT = 4730
TIME_BETWEEN_CHECKS = 60 #seconds
SLEEP_TIME = 30 #seconds
def initialize(servers = [])
@bad_servers = []
@coalesce_connections = {}
@connection_handler = nil
@job_servers... |
github | johnewart/gearman-ruby | https://github.com/johnewart/gearman-ruby | lib/gearman/task_set.rb | Ruby | mit | 97 | master | 1,449 | require 'time'
module Gearman
class TaskSet
include Logging
def initialize(client)
@client = client
@tasks_in_progress = []
@finished_tasks = []
end
##
# Add a new task to this TaskSet.
#
# @param args A Task object
# @return true if the task was created succ... |
github | johnewart/gearman-ruby | https://github.com/johnewart/gearman-ruby | lib/gearman/worker/callbacks.rb | Ruby | mit | 97 | master | 1,057 | # Provides callbacks for internal worker use:
#
# def named_metric(metric)
# "HardWorker.#{Process.pid}.#{metric}"
# end
#
# worker = Gearman::Worker.new
# worker.on_grab_job { StatsD.increment(named_metric('grab_job')) }
# worker.on_job_assign { StatsD.increment(named_metric('job_assign')) }
# worker.on_no_job { Sta... |
github | johnewart/gearman-ruby | https://github.com/johnewart/gearman-ruby | lib/gearman/worker/ability.rb | Ruby | mit | 97 | master | 1,606 | module Gearman
class Worker
class Ability
##
# Create a new ability. Setting timeout means we register with CAN_DO_TIMEOUT
# @param func_name Function name of this ability
# @param block Code to run
# @param timeout Server gives up on us after this many seconds
def in... |
github | johnewart/gearman-ruby | https://github.com/johnewart/gearman-ruby | lib/gearman/worker/job.rb | Ruby | mit | 97 | master | 1,024 | module Gearman
class Worker
class Job
##
# Create a new Job.
#
# @param sock Socket connected to job server
# @param handle job server-supplied job handle
attr_reader :handle
def initialize(connection, handle)
@connection = connection
@handle = handl... |
github | johnewart/gearman-ruby | https://github.com/johnewart/gearman-ruby | test/worker_test.rb | Ruby | mit | 97 | master | 1,516 | #!/usr/bin/env ruby
require 'rubygems'
require 'mocha'
$:.unshift('../lib')
require 'gearman'
require 'gearman/testlib'
require 'test/unit'
class TestClient < Test::Unit::TestCase
##
# Test Gearman::Worker::Ability.
def test_ability
data, job = nil
ability = Gearman::Worker::Ability.new(
Proc.new ... |
github | johnewart/gearman-ruby | https://github.com/johnewart/gearman-ruby | test/util_test.rb | Ruby | mit | 97 | master | 392 | #!/usr/bin/env ruby
$:.unshift('../lib')
require 'gearman'
require 'gearman/testlib'
require 'test/unit'
class TestUtil < Test::Unit::TestCase
def test_ability_prefix_name_builder
assert_equal(Gearman::Util.ability_name_with_prefix("test","a"),"test\ta")
end
def test_ability_name_for_perl
assert_equal... |
github | johnewart/gearman-ruby | https://github.com/johnewart/gearman-ruby | test/mock_worker_test.rb | Ruby | mit | 97 | master | 10,818 | #!/usr/bin/env ruby
$:.unshift('../lib')
require 'gearman'
require 'gearman/testlib'
require 'test/unit'
require 'thread'
Thread.abort_on_exception = true
class TestWorker < Test::Unit::TestCase
def setup
@server = FakeJobServer.new(self)
@server2 = FakeJobServer.new(self)
end
def teardown
@server... |
github | johnewart/gearman-ruby | https://github.com/johnewart/gearman-ruby | test/testlib.rb | Ruby | mit | 97 | master | 1,889 | #!/usr/bin/env ruby
require 'socket'
require 'thread'
class FakeJobServer
def initialize(tester,port=nil)
@tester = tester
@serv = TCPserver.open(0) if port.nil?
@serv = TCPserver.open('localhost',port) unless port.nil?
@port = @serv.addr[1]
end
attr_reader :port
def server_socket
@serv
... |
github | johnewart/gearman-ruby | https://github.com/johnewart/gearman-ruby | test/client_test.rb | Ruby | mit | 97 | master | 4,206 | #!/usr/bin/env ruby
$:.unshift('../lib')
require 'gearman'
require 'gearman/testlib'
require 'test/unit'
class TestClient < Test::Unit::TestCase
def setup
@server = FakeJobServer.new(self)
@server_b = FakeJobServer.new(self)
end
def teardown
@server.stop
end
##
# Test the get_socket, return_... |
github | johnewart/gearman-ruby | https://github.com/johnewart/gearman-ruby | test/mock_client_test.rb | Ruby | mit | 97 | master | 21,227 | #!/usr/bin/env ruby
$:.unshift('../lib')
require 'gearman'
require 'gearman/testlib'
require 'test/unit'
require 'thread'
Thread.abort_on_exception = true
class TestClient < Test::Unit::TestCase
##
# Do a simple test of the functionality of the client code.
def test_client
server = FakeJobServer.new(self)
... |
github | johnewart/gearman-ruby | https://github.com/johnewart/gearman-ruby | examples/client.rb | Ruby | mit | 97 | master | 483 | $LOAD_PATH.unshift("../lib")
require 'rubygems'
require 'gearman'
# Control logger
l = Logger.new($stdout)
l.level = Logger::DEBUG
Gearman.logger=l
servers = ['localhost:4730']
client = Gearman::Client.new(servers)
taskset = Gearman::TaskSet.new(client)
task = Gearman::Task.new('sleep', 20)
task.on_status {|n,d| ... |
github | johnewart/gearman-ruby | https://github.com/johnewart/gearman-ruby | examples/client_background_jobs.rb | Ruby | mit | 97 | master | 508 | $:.push('../lib')
require 'gearman'
require 'logger'
logger = Logger.new(STDOUT)
logger.level = Logger::ERROR
Gearman.logger = logger
JOB_COUNT=100000
client = Gearman::Client.new('localhost:4730')
start_time = Time.now
(1..JOB_COUNT).each do |jid|
data = rand(36**8).to_s(36)
task = Gearman::BackgroundTask.new(... |
github | johnewart/gearman-ruby | https://github.com/johnewart/gearman-ruby | examples/worker_reverse_string.rb | Ruby | mit | 97 | master | 364 | $:.unshift '../lib'
require 'gearman'
# String reverse worker
servers = ['127.0.0.1:4730']
jobnum = 0
w = Gearman::Worker.new(servers)
w.add_ability('reverse_string') do |data,job|
result = data.reverse
puts "Job: #{job.inspect} Data: #{data.inspect} Reverse: #{result} "
puts "Completed job ##{jobnum}"
j... |
github | johnewart/gearman-ruby | https://github.com/johnewart/gearman-ruby | examples/client_dedupe.rb | Ruby | mit | 97 | master | 582 | $LOAD_PATH.unshift("../lib")
require 'rubygems'
require 'gearman'
# Control logger
l = Logger.new($stdout)
l.level = Logger::DEBUG
Gearman.logger=l
servers = ['localhost:4730']
client = Gearman::Client.new(servers)
# Submitting work with no explicit unique ID will
# cause one to be generated by the client based o... |
github | johnewart/gearman-ruby | https://github.com/johnewart/gearman-ruby | examples/worker.rb | Ruby | mit | 97 | master | 598 | $LOAD_PATH.unshift("../lib")
require 'rubygems'
require 'logger'
require '../lib/gearman'
servers = ['localhost:4730']
w = Gearman::Worker.new(servers)
logger = Logger.new(STDOUT)
# Add a handler for a "sleep" function that takes a single argument, the
# number of seconds to sleep before reporting success.
w.add_abil... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.