hola_merma158 0.1.0
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.
- checksums.yaml +7 -0
- data/bin/hola_merma158 +7 -0
- data/lib/hola_merma158.rb +16 -0
- data/lib/hola_merma158/translator.rb +14 -0
- metadata +47 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 20b39f0bf7f77ea6aac099cf22df18ca7a3a82bb
|
|
4
|
+
data.tar.gz: d4783e4da74da1d1b7a94361194b44c0ea900b9d
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 527c6f5b5710c5063e27a15ef058c26454398a10e97d24512e15453adac85f7a62df285d94e02d28d51142f9484f25d87b8b331be0619526e483692f584d13f0
|
|
7
|
+
data.tar.gz: cf09ae12a8afbbda2babc5cf4fda1d735806c0ace1829ea055cf1cfcf7d7c86f4877562cd2e15de39fca48c8179948c18801aefa95909edde127188b4f1e67f3
|
data/bin/hola_merma158
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# cat lib/hola_merma158.rb
|
|
2
|
+
class HolaMerma158
|
|
3
|
+
|
|
4
|
+
%# On the first version
|
|
5
|
+
def self.hi
|
|
6
|
+
puts "Hello world!"
|
|
7
|
+
end
|
|
8
|
+
#
|
|
9
|
+
|
|
10
|
+
def self.hi(language = "english")
|
|
11
|
+
translator = Translator.new(language)
|
|
12
|
+
translator.hi
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
require 'hola_merma158/translator'
|
metadata
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: hola_merma158
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Javier Urbano
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2021-08-11 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description: A simple hello world gem, @see more > https://guides.rubygems.org/make-your-own-gem/
|
|
14
|
+
email: javierurbano11@gmail.com
|
|
15
|
+
executables:
|
|
16
|
+
- hola_merma158
|
|
17
|
+
extensions: []
|
|
18
|
+
extra_rdoc_files: []
|
|
19
|
+
files:
|
|
20
|
+
- bin/hola_merma158
|
|
21
|
+
- lib/hola_merma158.rb
|
|
22
|
+
- lib/hola_merma158/translator.rb
|
|
23
|
+
homepage: https://rubygems.org/gems/hola_merma158
|
|
24
|
+
licenses:
|
|
25
|
+
- MIT
|
|
26
|
+
metadata: {}
|
|
27
|
+
post_install_message:
|
|
28
|
+
rdoc_options: []
|
|
29
|
+
require_paths:
|
|
30
|
+
- lib
|
|
31
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
32
|
+
requirements:
|
|
33
|
+
- - ">="
|
|
34
|
+
- !ruby/object:Gem::Version
|
|
35
|
+
version: '0'
|
|
36
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - ">="
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '0'
|
|
41
|
+
requirements: []
|
|
42
|
+
rubyforge_project:
|
|
43
|
+
rubygems_version: 2.4.5.1
|
|
44
|
+
signing_key:
|
|
45
|
+
specification_version: 4
|
|
46
|
+
summary: Hola Merma158!
|
|
47
|
+
test_files: []
|