8000 Tags · rubiojr/rugo · GitHub
[go: up one dir, main page]

Skip to content

Tags

Tags

v0.30.4

Toggle v0.30.4's commit message
bump version

v0.30.3

Toggle v0.30.3's commit message
fix: explain missing callbacks in collection methods

Calling a collection method without its callback now gives a clear error.

    items = [1, 2, 3]
    items.filter()

Before: index 0 out of bounds (length 0)
After: .filter() requires a function argument

Works for arrays and hashes, including empty collections.

v0.30.2

Toggle v0.30.2's commit message
Pin egg v2.0.1 and make parser regeneration reproducible

v0.30.1

Toggle v0.30.1's commit message
Fix rugo version

v0.30.0

Toggle v0.30.0's commit message
add signal module for graceful OS signal handling

New stdlib module: use "signal"

  signal.on("INT", fn()
    puts "shutting down"
    exit(0)
  end)
  signal.wait()

Supports INT, TERM, HUP, QUIT, USR1, USR2, WINCH, PIPE, and ALRM.
Handlers are race-free — they run on the goroutine that calls
signal.wait(), so they never conflict with the rest of your program.

Functions:
  signal.on(name, handler) — register a handler
  signal.wait()            — block and dispatch handlers as signals arrive
  signal.reset(name)       — stop invoking a handler
  signal.ignore(name)      — ignore a signal entirely

v0.29.10

Toggle v0.29.10's commit message
bump version

v0.29.9

Toggle v0.29.9's commit message
Bump version

v0.29.8

Toggle v0.29.8's commit message
missed version bump

v0.29.7

Toggle v0.29.7's commit message
fix: cli module separates -- passthrough from positional args

cli.args() now returns only the arguments before a "--" separator, and
a new cli.passthrough() returns everything after it. This keeps a
command's own arguments from being mixed up with arguments meant to be
forwarded to another command.

v0.29.6

Toggle v0.29.6's commit message
Bump version

0