miniric 0.5 → 0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/miniric.rb +6 -2
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3678f437a870d5efb3ee877b234eff318aefac9069d799c550a8b3fd4dfdf7a2
4
- data.tar.gz: 58fdfa86d268e9e77f021c365de4e5463fc2ffed42e0ed2e4c8f4b44bd761b1c
3
+ metadata.gz: fe69fd7b848f44211bcce2a2c0bac63d5ea39c011b6234e11687a9dd42d1cd40
4
+ data.tar.gz: 5284f58014f7bc17586dd4cd262b8f5eb8caab8e64c6a05cef28264396c4ebd1
5
5
  SHA512:
6
- metadata.gz: 0a5de0d1bfb7123bbe4eb7fb51cad8a35d59c37aa9f965cdb302aca797d4ed39f59b3a8dc5fff9467b5287d2dcd4225e5f4d62756049dbdffe48393843dfc77c
7
- data.tar.gz: b83b4d56b1566a51e1b7b7f4331a7ec142073fb0d33e441d7c43d9b3ccbc358e00ac9297e3942be65b3e0d0b65525cbed8c346ca2f094fb320d4c8d6ffb1ebe0
6
+ metadata.gz: 33ca8ccd331f16010de5dcfe5c04a287cbed02d2d1a44c2f58dadc129ef62e695f1427a6cfa1df3329b7c444e88a980e5f0c3cb043158f932cda8d2387024778
7
+ data.tar.gz: 35c1f90967f8e5be5f130fc51c6c7b42a7e278d253cae97cc300243acc00c8ee1293e80d47f8c09aaa75f31e5de851aabeae8cff42631dff0b07ee4e07c46e12
data/lib/miniric.rb CHANGED
@@ -1,12 +1,12 @@
1
1
  class Miniric
2
- VERSION = File.read('../VERSION')
2
+ VERSION = File.expand_path(File.dirname(__FILE__) + '../VERSION') rescue $!
3
3
 
4
4
  def self.hi
5
5
  puts "Hello world!"
6
6
  end
7
7
 
8
8
  # yellow
9
- def self.camerlengize(str)
9
+ def self.camerlengize(str=:no_word_given)
10
10
  "\033[1;33m🪶#{str}\033[0m"
11
11
  end
12
12
  def self.camerlengo()
@@ -22,4 +22,8 @@ class Miniric
22
22
  ].join('\n')
23
23
  end
24
24
 
25
+ def self.version()
26
+ return VERSION
27
+ end
28
+
25
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: '0.5'
4
+ version: '0.6'
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
@@ -29,7 +29,7 @@ homepage: https://rubygems.org/gems/miniric
29
29
  licenses:
30
30
  - MIT
31
31
  metadata: {}
32
- post_install_message:
32
+ post_install_message:
33
33
  rdoc_options: []
34
34
  require_paths:
35
35
  - lib
@@ -45,7 +45,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
45
45
  version: '0'
46
46
  requirements: []
47
47
  rubygems_version: 3.1.4
48
- signing_key:
48
+ signing_key:
49
49
  specification_version: 4
50
50
  summary: MiniRic - Colors as a Service!
51
51
  test_files: []