miniric 0.3 → 0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eb72678204be2683c825b4df00d406554a391ab59b66d1669845444b754335b1
4
- data.tar.gz: c928d7bffadc4c1b9321beb7c9d91b35fd3e2f432db27bcbe3aa0c6f0aad6fda
3
+ metadata.gz: 3678f437a870d5efb3ee877b234eff318aefac9069d799c550a8b3fd4dfdf7a2
4
+ data.tar.gz: 58fdfa86d268e9e77f021c365de4e5463fc2ffed42e0ed2e4c8f4b44bd761b1c
5
5
  SHA512:
6
- metadata.gz: 51546e7f64d26f4ac4d218ed480c2f0aab9eb0029840e90ee8b10b88695e812d200e6ff450136ba2cb740005c05ccefa91a78b73af7b7c298cb3fcdf24dadaf3
7
- data.tar.gz: 8adcf70d54c7418c1525ce85544b1040cb9f59f22651f49a2cb48b0615b7c33ab717c7c379e5a3d46cb04241a22b976ac3109f1642937d457fe4243bab199b6e
6
+ metadata.gz: 0a5de0d1bfb7123bbe4eb7fb51cad8a35d59c37aa9f965cdb302aca797d4ed39f59b3a8dc5fff9467b5287d2dcd4225e5f4d62756049dbdffe48393843dfc77c
7
+ data.tar.gz: b83b4d56b1566a51e1b7b7f4331a7ec142073fb0d33e441d7c43d9b3ccbc358e00ac9297e3942be65b3e0d0b65525cbed8c346ca2f094fb320d4c8d6ffb1ebe0
data/bin/camerlengize ADDED
File without changes
data/bin/camerlengo ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'miniric'
4
+ #puts Miniric.hi(ARGV[0])
5
+ puts Miniric.camerlengo()
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#{str}\033[0m"
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.3'
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