matheus 0.6.3 → 0.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f8b7ae705faac28863e66c70a5c908c53a2fe180aa14c0878aef57ae82ca8421
4
- data.tar.gz: e89436cbe02bbc48261114ff617a39d42f52f0d2aae1b178ddd55036ace7d92d
3
+ metadata.gz: 3242a48a3b7fe938a403c8e5585e3b1fa1e8c5ba444d0bd9d504410c1fb66d40
4
+ data.tar.gz: d0687724e54eb42d206c41b9d22960249b8aef9adb30538c206950fdb0fc30a3
5
5
  SHA512:
6
- metadata.gz: d8dd9bbb999502ef1689a75115844a32eaa131b92e41c665f00f9d9337e1d9a80669ad1c475ca5ddcb1313c4bfdd53bcfe31763a99b823a00bac96e4de46a49a
7
- data.tar.gz: fe9f27e3980c294dbb6e06b17f9f66c214432fceae199725caf33de20e1998037d2716266238465c90567996ddae14fd88820c7f2e90672b442120af92a0000d
6
+ metadata.gz: b5adab4e860c1a9948419654f467a0d7b3cace6c63d427f22906fe5c7bd63ed50944653cf0d1e63fc729ed36ca424b84252ac87694e2fb04d09372e6eb8b8ea3
7
+ data.tar.gz: 43d1385804ba40942a75aaa4bf533f77beb920bb88f67568a9cc7cb230db609680869610096c0c198a44693849afd398e0a4d62e76fd1a26f20b2410bc2cb3fe
@@ -8,7 +8,7 @@ module Matheus
8
8
  # $ alert-me "sleep 1 && echo 'Done!'"
9
9
  # Runs the command and plays a sound based on its success or failure after it finishes.
10
10
  def call(*args)
11
- if system(args.join(" "))
11
+ if system(args.join(" ").presence || "true")
12
12
  system("afplay /System/Library/Sounds/Glass.aiff")
13
13
  else
14
14
  system("afplay /System/Library/Sounds/Sosumi.aiff")
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Matheus
4
- VERSION = "0.6.3"
4
+ VERSION = "0.6.4"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: matheus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matheus Richard
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-01-21 00:00:00.000000000 Z
11
+ date: 2025-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: zeitwerk