miniric 0.3 → 0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/camerlengize +0 -0
- data/bin/camerlengo +5 -0
- data/lib/miniric.rb +13 -3
- 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: 3678f437a870d5efb3ee877b234eff318aefac9069d799c550a8b3fd4dfdf7a2
|
4
|
+
data.tar.gz: 58fdfa86d268e9e77f021c365de4e5463fc2ffed42e0ed2e4c8f4b44bd761b1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a5de0d1bfb7123bbe4eb7fb51cad8a35d59c37aa9f965cdb302aca797d4ed39f59b3a8dc5fff9467b5287d2dcd4225e5f4d62756049dbdffe48393843dfc77c
|
7
|
+
data.tar.gz: b83b4d56b1566a51e1b7b7f4331a7ec142073fb0d33e441d7c43d9b3ccbc358e00ac9297e3942be65b3e0d0b65525cbed8c346ca2f094fb320d4c8d6ffb1ebe0
|
data/bin/camerlengize
ADDED
File without changes
|
data/bin/camerlengo
ADDED
data/lib/miniric.rb
CHANGED
@@ -1,15 +1,25 @@
|
|
1
1
|
class Miniric
|
2
|
+
VERSION = File.read('../VERSION')
|
2
3
|
|
3
4
|
def self.hi
|
4
5
|
puts "Hello world!"
|
5
6
|
end
|
6
7
|
|
7
8
|
# yellow
|
8
|
-
def camerlengize(str)
|
9
|
-
"\033[1;33m
|
9
|
+
def self.camerlengize(str)
|
10
|
+
"\033[1;33m🪶#{str}\033[0m"
|
10
11
|
end
|
11
|
-
def camerlengo()
|
12
|
+
def self.camerlengo()
|
12
13
|
camerlengize(:palladius)
|
13
14
|
end
|
14
15
|
|
16
|
+
def self.about()
|
17
|
+
[
|
18
|
+
"Welcome to MiniRic gem. ",
|
19
|
+
"My version is: #{VERSION rescue $!}",
|
20
|
+
"Try out Miniric.camerlengo() or even camerlengo binary!",
|
21
|
+
"TODO(ricc): add a Module so you just include it and you have yellow, ... available.",
|
22
|
+
].join('\n')
|
23
|
+
end
|
24
|
+
|
15
25
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: miniric
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.5'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Riccardo Carlesso
|
@@ -21,6 +21,8 @@ executables: []
|
|
21
21
|
extensions: []
|
22
22
|
extra_rdoc_files: []
|
23
23
|
files:
|
24
|
+
- bin/camerlengize
|
25
|
+
- bin/camerlengo
|
24
26
|
- lib/hola.rb
|
25
27
|
- lib/miniric.rb
|
26
28
|
homepage: https://rubygems.org/gems/miniric
|