what_error 0.1.0.1 β†’ 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 +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '019ddb6dbc64c2e93396533e2f293d80a29d300a3afc50919290366c7ecf2eff'
4
- data.tar.gz: d812f0f79e9ccf2deaa419612bbe95395d51a333dfcd8d8e5ff67559e901a188
3
+ metadata.gz: adb30cb1ddd47c1a0e0b02599298e0e7b7ec9116d0f308072379fccc53707b64
4
+ data.tar.gz: 267ece92562a9415b3ce6f4dff3f36254b1fdc6c2c09985bfb41446784e0d144
5
5
  SHA512:
6
- metadata.gz: fd3dc606d4eda217a7301d9bf60f355333a845cd65c3aa5d45fdfde2b537cb692249bbfd0fef9ac6857b84a153704cbec180b3f0625811a4f095eb065200401b
7
- data.tar.gz: 54efd3d16aa9a34ddc9485bb1eb5e4a637521735eba9fe2b3e7a6daa2fc3372fe6bddd36c7407c1008d564e1c6cf72ef88d1d7a23a463468a9d36f77f974298b
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.1"
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,22 +1,22 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: what_error
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.1
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
14
- error messages filled with emojis and made-up file paths.\n\n\U0001F6A8 WARNING:\nβ€’
14
+ error messages filled with emojis and made-up file paths.\n\U0001F6A8 WARNING:\nβ€’
15
15
  This gem is for PRANKS and APRIL FOOLS' only!\nβ€’ It is currently EXPERIMENTAL, so
16
16
  some features may NOT work as expected.\nβ€’ DO NOT use in production, serious projects,
17
17
  or anywhere it might cause actual distress.\nβ€’ Using it with other gems may cause
18
- something unexpected.\n\nFeatures:\nβ€’ Random success/failure decisions\nβ€’ Emoji-filled
19
- error messages\nβ€’ Completely fabricated backtraces"
18
+ something unexpected.\n\nFeatures:\nβ€’ Random success/failure decisions\nβ€’ WHY DO
19
+ YOU EXPECT THIS\nβ€’ Completely fabricated backtraces"
20
20
  email:
21
21
  - Wgpooi@outlook.com
22
22
  executables: []