miniric 0.3 → 0.5a
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 +17 -3
- metadata +8 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 183d6ba8b9213e5bd55b06c2020e8bbd6d2e5306f25e5d652b995da5df7265bb
|
4
|
+
data.tar.gz: ff6506298cc9519ffd3b98cf64e9e307334c97d10bfc8e9d911d7d68218934ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17d3104de28ae7a496c0d1fe72b6bca048b5a3c91d610aa063c13583d15ce83f4c99e57c28f29f6b620f4812cccc47a83a2a545934cf7a12647632e1cdccfdb4
|
7
|
+
data.tar.gz: 525b1f22156f7615ea9de7d5cd4a17e1af303d57f397c7a254d6015ae3e652880238bfb30abeebcdb7b1dfaf45ec8f3c83c77e0b48beec01d50dd90d7dc454ce
|
data/bin/camerlengize
ADDED
File without changes
|
data/bin/camerlengo
ADDED
data/lib/miniric.rb
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
class Miniric
|
2
|
+
VERSION = File.expand_path(File.dirname(__FILE__) + '../VERSION') rescue $!
|
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
|
+
|
25
|
+
def self.version()
|
26
|
+
return VERSION
|
27
|
+
end
|
28
|
+
|
15
29
|
end
|
metadata
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: miniric
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.5a
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Riccardo Carlesso
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2022-03-08 00:00:00.000000000 Z
|
@@ -21,13 +21,15 @@ 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
|
27
29
|
licenses:
|
28
30
|
- MIT
|
29
31
|
metadata: {}
|
30
|
-
post_install_message:
|
32
|
+
post_install_message:
|
31
33
|
rdoc_options: []
|
32
34
|
require_paths:
|
33
35
|
- lib
|
@@ -38,12 +40,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
38
40
|
version: '0'
|
39
41
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
40
42
|
requirements:
|
41
|
-
- - "
|
43
|
+
- - ">"
|
42
44
|
- !ruby/object:Gem::Version
|
43
|
-
version:
|
45
|
+
version: 1.3.1
|
44
46
|
requirements: []
|
45
47
|
rubygems_version: 3.1.4
|
46
|
-
signing_key:
|
48
|
+
signing_key:
|
47
49
|
specification_version: 4
|
48
50
|
summary: MiniRic - Colors as a Service!
|
49
51
|
test_files: []
|