storazzo 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/storazzo/colors.rb +19 -0
- data/lib/storazzo/translator.rb +17 -0
- data/lib/storazzo.rb +15 -2
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2104959f979d81e93afba43a3487ef3fa2750bb2122fc3e0d9eebf62b02cd483
|
4
|
+
data.tar.gz: 38b969cecbdcc6238f26684c52cc06217e4c1603f9b9cd2bfa6e1fcf1d2ad17a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 065243d722ee11269fa97dd12b41041233fe4d0bb8bd25e8d570c65d560213c7ac02dbe7c6695a55e208db046048e17600e48e3dfba8730426aa9db2bb090454
|
7
|
+
data.tar.gz: c0a6e3096a6d4b98d2bfdab33d3c97e30032b5f0d2d23a757d725a7eb9ed7719b3186321fd917a365dc6efbf45383255cbf3482b4e5440e9ab832c2af245227c
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# TODO
|
2
|
+
|
3
|
+
# class Storazzo::Colors
|
4
|
+
|
5
|
+
# def deb(s); puts "#DEB #{s}" if $DEBUG; end
|
6
|
+
# # colors 16
|
7
|
+
# def gray(s) "\033[1;30m#{s}\033[0m" ; end
|
8
|
+
# def green(s) "\033[1;32m#{s}\033[0m" ; end
|
9
|
+
# def red(s) "\033[1;31m#{s}\033[0m" ; end
|
10
|
+
# def yellow(s) "\033[1;33m#{s}\033[0m" ; end
|
11
|
+
# def blue(s) "\033[1;34m#{s}\033[0m" ; end
|
12
|
+
# def purple(s) "\033[1;35m#{s}\033[0m" ; end
|
13
|
+
# def azure(s) "\033[1;36m#{s}\033[0m" ; end
|
14
|
+
# def white(s) "\033[1;37m#{s}\033[0m" ; end
|
15
|
+
|
16
|
+
# # colors 64k
|
17
|
+
# def orange(s) "\033[38;5;208m#{s}\033[0m" ; end
|
18
|
+
|
19
|
+
# end
|
data/lib/storazzo.rb
CHANGED
@@ -1,8 +1,21 @@
|
|
1
1
|
# copied from https://guides.rubygems.org/make-your-own-gem/#introduction
|
2
2
|
|
3
|
+
#require 'storazzo/colors'
|
4
|
+
|
5
|
+
module StorazzoMod
|
6
|
+
VERSION = File.read('./VERSION').chomp # "10.0.0"
|
7
|
+
#require 'storazzo/translator'
|
8
|
+
|
9
|
+
def latest_version
|
10
|
+
"1.2"
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
3
14
|
class Storazzo
|
4
15
|
# version 1.2
|
5
16
|
def self.hi
|
6
|
-
puts "Hello
|
17
|
+
puts "Hello from Storazzo v#{StorazzoMod::VERSION rescue :ERROR}!"
|
7
18
|
end
|
8
|
-
end
|
19
|
+
end
|
20
|
+
|
21
|
+
require 'storazzo/translator'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: storazzo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Riccardo Carlesso
|
@@ -17,6 +17,8 @@ extensions: []
|
|
17
17
|
extra_rdoc_files: []
|
18
18
|
files:
|
19
19
|
- lib/storazzo.rb
|
20
|
+
- lib/storazzo/colors.rb
|
21
|
+
- lib/storazzo/translator.rb
|
20
22
|
homepage: https://rubygems.org/gems/storazzo
|
21
23
|
licenses:
|
22
24
|
- MIT
|