yellowscorpion 0.0.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 4d34d1b03770896ba3693d27f86bc509734e5ad500e96431ce8ccbc9f0384e42
4
+ data.tar.gz: a9e0911e3f73d46e1facd40597f06247ed17f9bd33fd3bcae8d72045cd69f767
5
+ SHA512:
6
+ metadata.gz: bdf23411418b5cc36e38e21be7940f7053e8ac70f46661d45df24cc405f030f5cb3f94aace59c11135d51971d3c785a56a0075be477cd8fd03aef6c0dbdd4178
7
+ data.tar.gz: 1c53cbdef42970c712a1c7829651696c1ebe169039451452c717e3bf897a5334d27b357f29df46066878ffb564dbf44c3d0b77926bed87a4e1039ce49994dcd6
@@ -0,0 +1,12 @@
1
+ module Yellowscorpion
2
+ module Assert
3
+ def assert(expression)
4
+ return if expression == true
5
+
6
+ backlocation = caller_locations(1, 1)[0].to_s
7
+ printf "\e[31m#{backlocation}\e[0m \n"
8
+ abort
9
+ end
10
+ end
11
+ end
12
+
@@ -0,0 +1,3 @@
1
+ module Yellowscorpion
2
+ VERSION = "0.0.0"
3
+ end
@@ -0,0 +1,4 @@
1
+ module Yellowscorpion
2
+ end
3
+
4
+ require_relative "yellowscorpion/assert"
metadata ADDED
@@ -0,0 +1,45 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: yellowscorpion
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Kaíque Kandy Koga
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2023-06-04 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: ''
14
+ email:
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/yellowscorpion.rb
20
+ - lib/yellowscorpion/assert.rb
21
+ - lib/yellowscorpion/version.rb
22
+ homepage: https://github.com/kaiquekandykoga/yellowscorpion
23
+ licenses:
24
+ - BSD
25
+ metadata: {}
26
+ post_install_message:
27
+ rdoc_options: []
28
+ require_paths:
29
+ - lib
30
+ required_ruby_version: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ required_rubygems_version: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ requirements: []
41
+ rubygems_version: 3.4.13
42
+ signing_key:
43
+ specification_version: 4
44
+ summary: yellowscorpion
45
+ test_files: []