hola_galfus 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/hola_galfus +5 -0
  3. data/lib/hola_galfus.rb +8 -0
  4. metadata +4 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a107ee90543796ce100172e469f9f05e17b44be8
4
- data.tar.gz: 0f68ad323d0cf039fb529723c7c5d9ff1f679319
3
+ metadata.gz: 03b85611dbcdeceb105afeb1ed122134046a887f
4
+ data.tar.gz: f5c9899335b0a3f223b34d3e69fa908030a2505d
5
5
  SHA512:
6
- metadata.gz: 7735942915ba49fff17a882e6e3e6793a2b419410f0050055f19a4d5837894a3cb653156381fe2dbf6b2980afd357e37b8e461fb49a4029cf2d76459f1f713c7
7
- data.tar.gz: d7d42a3fa0d3a3d0fb35fbc5827b126df0d15ede7f7692dfdeb4d7bf4e77f2d60965835fb65b7b6782c832442b74a25954f0b5ab014db1f76b66e1710cbd8dc8
6
+ metadata.gz: 942a4b4205bde6fc148910ede08c3b305ce9bb685048e9ae635798eba31bbcc0724bd47cba419137101e4722d2ac05415bc59f96dd5f8d8b8c9b1d8400c3eaaf
7
+ data.tar.gz: 325cfbecd492323766a4ab6be1c284f6530681d78cc2baa6b41569e8547bee91d5a3f33d8dd6f24f36fae0ff0541fd72baae648be85991506fcfdbbacc896f7a
data/bin/hola_galfus ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ # require 'hola'
4
+ require_relative '../lib/hola_galfus'
5
+ puts Hola.hi(ARGV[0])
data/lib/hola_galfus.rb CHANGED
@@ -1,4 +1,12 @@
1
1
  class Hola
2
+ # Say hi to the world!
3
+ #
4
+ # Example:
5
+ # >> Hola.hi("spanish")
6
+ # => hola mundo
7
+ #
8
+ # Arguments:
9
+ # language: (String)
2
10
  def self.hi(language = "english")
3
11
  translator = Translator.new(language)
4
12
  translator.hi
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hola_galfus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Galfus
@@ -12,10 +12,12 @@ date: 2017-08-06 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A simple hello world gem
14
14
  email: contact@galfus.com
15
- executables: []
15
+ executables:
16
+ - hola_galfus
16
17
  extensions: []
17
18
  extra_rdoc_files: []
18
19
  files:
20
+ - bin/hola_galfus
19
21
  - lib/hola/translator.rb
20
22
  - lib/hola_galfus.rb
21
23
  homepage: http://rubygems.org/gems/hola_galfus