what_error 0.1.0.2 β†’ 0.1.1

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/what_error.rb +8 -4
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd09ecb3fceddc53e5ee970a8aaa1a858e0a7cd5d71a4d36ff3ee062eca5a8e7
4
- data.tar.gz: 8672b9efe0969ab7ac5ca97da220f25d0a4c8d9d1bdc1f0d3546223d8634e85c
3
+ metadata.gz: adb30cb1ddd47c1a0e0b02599298e0e7b7ec9116d0f308072379fccc53707b64
4
+ data.tar.gz: 267ece92562a9415b3ce6f4dff3f36254b1fdc6c2c09985bfb41446784e0d144
5
5
  SHA512:
6
- metadata.gz: 905ef956a4dedcef5dc958be11e0082597de7e49fcd91a781073624b6a383d7be08d1a941e516100fba16b034b17a8a0025f49cb4c15aa9a95acdfe8e36cbe22
7
- data.tar.gz: ad2f39969a3634f4a8b688cbc983bae00e25ee9d26fee3337f2442a452484a8f7731611a734051475417181b1153b17726608404afa3b68374ce48597df34c49
6
+ metadata.gz: e8cc7ab3d831cfb25c3681bdb5754a2b9dc44b9da582e86c706309e0322b18fe3cd1d5dcd6a0f4c42ee523f51c786f4aa852c58939fad42a6be7b34dc6feb72e
7
+ data.tar.gz: 83adf337fe4ea7fcbb26a1f14b49121bc8346c4b353252ba76bafce9dfd7c969efff23c782a806667518d9aae10eaf9d8c502494e762729df99f0542816b40da
data/lib/what_error.rb CHANGED
@@ -1,19 +1,23 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WhatError
4
- VERSION = "0.1.0.2"
4
+ VERSION = "0.1.1"
5
5
  class << self
6
6
  def vykurchhtjtcddhtdxhxbfxbttxjyytsgnxtyxxfudutdutdtxx
7
- # I rolled my face on the keyboard
7
+ # I rolled over my face on the keyboard
8
+
9
+ @cf = Kernel.caller[-1][/^(.+?):/, 1] or raise ArgumentError, "unknown file"
8
10
 
9
11
  # Why?
10
12
  if in_irb? then
11
13
  puts "🚫: Sorry, WhatError is disabled in IRB. Please require in actual ruby files. UwU, im so cuuuuuute."
12
14
  return
15
+ elsif @cf =~ /-/ then
16
+ puts "🚫: UwU, I cannnnont red ths QAQ, SOOOOOOORRRYYYY!!! (Shrink into a ball)"
17
+ return
13
18
  end
14
19
 
15
- @cf = Kernel.caller[-1][/^(.+?):/, 1] or raise ArgumentError, "unknown file"
16
- @emojis = "πŸ˜„πŸ˜†πŸ˜‚πŸ€£πŸ˜­πŸ€”πŸ˜ŒπŸ₯°πŸ˜πŸ˜˜πŸ€πŸ€‘πŸ˜šπŸ˜œπŸ˜·πŸ˜ πŸ˜πŸ˜‘πŸ˜”πŸ™ƒβ˜ΊοΈπŸ˜«πŸ˜πŸ˜‰πŸ˜¨πŸ˜°πŸ™‚πŸ˜πŸ˜±πŸ˜£πŸ₯ΊπŸ€—πŸ˜–πŸ˜₯πŸ€—πŸ˜’πŸ˜ͺπŸ˜žπŸ˜“πŸ˜©πŸ˜€πŸ˜…πŸ₯΅πŸ€‘πŸ€₯🀭🀫🀀πŸ€ͺ🀯🀩πŸ₯ΆπŸ« πŸ˜΅β€πŸ’«πŸ€’".chars
20
+ @emojis = "πŸ’€πŸ’€πŸ’€πŸ˜„πŸ˜†πŸ˜‚πŸ€£πŸ˜­πŸ€”πŸ˜ŒπŸ₯°πŸ˜πŸ˜˜πŸ€πŸ€‘πŸ˜šπŸ˜œπŸ˜·πŸ˜ πŸ˜πŸ˜‘πŸ˜”πŸ™ƒβ˜ΊοΈπŸ˜«πŸ˜πŸ˜‰πŸ˜¨πŸ˜°πŸ™‚πŸ˜πŸ˜±πŸ˜£πŸ₯ΊπŸ€—πŸ˜–πŸ˜₯πŸ€—πŸ˜’πŸ˜ͺπŸ˜žπŸ˜“πŸ˜©πŸ˜€πŸ˜…πŸ₯΅πŸ€‘πŸ€₯🀭🀫🀀πŸ€ͺ🀯🀩πŸ₯ΆπŸ« πŸ˜΅β€πŸ’«πŸ€’πŸ’©πŸ‘ΎπŸ’€".chars
17
21
  @dir = %w[/mnt /usr /home /bin /ruby /etc /shared /var /opt /include]
18
22
  @e_classes = ObjectSpace.each_object(Class).select { |c| c < StandardError }
19
23
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: what_error
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.2
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - tacocat
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-11-15 00:00:00.000000000 Z
10
+ date: 2025-11-16 00:00:00.000000000 Z
11
11
  dependencies: []
12
12
  description: "A mischievous Ruby gem that randomly replaces your code errors with
13
13
  exceptions from the StandardError family and generates completely fake, confusing