hola-sergio 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.
- checksums.yaml +5 -5
- data/LICENSE +12 -12
- data/README.md +0 -3
- data/man/hola-sergioro.1 +51 -0
- data/test/test_hola-sergio.rb +18 -0
- metadata +14 -13
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: fc2545ac0da03acf9d46810860847bd0780f8d386fc82c960f9a45f7366f899c
|
|
4
|
+
data.tar.gz: 8b8595b33fdfcf4e84142a95cdf3227598cab26417a57f8181f3fadd48102aac
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 836106b16cb518a1371ea468d88df5156fd82b140c46d20aa6adafc5b6e41beed132d408bcfb8c313b026a96d99a87d87f44501c87011443613d089db692fa6e
|
|
7
|
+
data.tar.gz: a83e871a6199c2d21fff69b2a7a7b05430bb202f7d2b98609263c6ec7117937200356ec0d28b01f5351d78c283a4137b8fbaed48c41718bcc6697828cfc3bd7f
|
data/LICENSE
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
Copyright (c) 2019 Sergio Romero
|
|
2
2
|
|
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
|
-
|
|
5
|
-
Software), to deal in the Software without restriction, including
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a
|
|
4
|
+
copy of this software and associated documentation files (the
|
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
|
6
6
|
without limitation the rights to use, copy, modify, merge, publish,
|
|
7
7
|
distribute, sublicense, and/or sell copies of the Software, and to
|
|
8
8
|
permit persons to whom the Software is furnished to do so, subject to
|
|
9
9
|
the following conditions:
|
|
10
10
|
|
|
11
|
-
The above copyright notice and this permission notice shall be
|
|
12
|
-
|
|
11
|
+
The above copyright notice and this permission notice shall be included
|
|
12
|
+
in all copies or substantial portions of the Software.
|
|
13
13
|
|
|
14
|
-
THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND,
|
|
15
|
-
|
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
15
|
+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
17
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
18
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
19
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
20
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
data/man/hola-sergioro.1
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
.\" generated with Ronn/v0.7.3
|
|
2
|
+
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
|
3
|
+
.
|
|
4
|
+
.TH "HOLA\-SERGIO" "1" "March 2019" "" ""
|
|
5
|
+
.
|
|
6
|
+
.SH "NAME"
|
|
7
|
+
\fBhola\-sergio\fR \- the first gem of s\-e\-r\-g\-i\-o
|
|
8
|
+
.
|
|
9
|
+
.SH "SYNOPSIS"
|
|
10
|
+
.
|
|
11
|
+
.nf
|
|
12
|
+
|
|
13
|
+
gem hola
|
|
14
|
+
.
|
|
15
|
+
.fi
|
|
16
|
+
.
|
|
17
|
+
.SH "DESCRIPTION"
|
|
18
|
+
.
|
|
19
|
+
.nf
|
|
20
|
+
|
|
21
|
+
A simple hello world gem, from a very special man
|
|
22
|
+
|
|
23
|
+
If you would be a real seeker after truth,
|
|
24
|
+
it is necessary that at least once in your life you doubt,
|
|
25
|
+
as far as possible, all things
|
|
26
|
+
.
|
|
27
|
+
.fi
|
|
28
|
+
.
|
|
29
|
+
.SH "INSTALL"
|
|
30
|
+
gem install hola\-sergio
|
|
31
|
+
.
|
|
32
|
+
.SH "QUICKSTART"
|
|
33
|
+
.
|
|
34
|
+
.nf
|
|
35
|
+
|
|
36
|
+
gem hola
|
|
37
|
+
.
|
|
38
|
+
.fi
|
|
39
|
+
.
|
|
40
|
+
.SH "THANKS"
|
|
41
|
+
.
|
|
42
|
+
.IP "\(bu" 4
|
|
43
|
+
God
|
|
44
|
+
.
|
|
45
|
+
.IP "" 0
|
|
46
|
+
.
|
|
47
|
+
.SH "COPYRIGHT"
|
|
48
|
+
hola\-sergio is Copyright (C) 2019 Sergio Romero
|
|
49
|
+
.
|
|
50
|
+
.SH "SEE ALSO"
|
|
51
|
+
\fIhttps://guides\.rubygems\.org/make\-your\-own\-gem/\fR
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
require 'minitest/autorun'
|
|
4
|
+
require 'hola-sergio'
|
|
5
|
+
|
|
6
|
+
class Holatest < Minitest::Test
|
|
7
|
+
def test_english_hello
|
|
8
|
+
assert_equal "hello world", Hola.hi("english")
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
def test_any_hello
|
|
12
|
+
assert_equal "hello world", Hola.hi("ruby")
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
def test_spanish_hello
|
|
16
|
+
assert_equal "hola mundo", Hola.hi("spanish")
|
|
17
|
+
end
|
|
18
|
+
end
|
metadata
CHANGED
|
@@ -1,35 +1,36 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hola-sergio
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sergio Romero
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-03-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: |2
|
|
14
14
|
If you would be a real seeker after truth,
|
|
15
15
|
it is necessary that at least once in your life you doubt,
|
|
16
16
|
as far as possible, all things
|
|
17
17
|
email: sergioro@nmsu.edu
|
|
18
|
-
executables:
|
|
19
|
-
- hola
|
|
18
|
+
executables: []
|
|
20
19
|
extensions: []
|
|
21
20
|
extra_rdoc_files: []
|
|
22
21
|
files:
|
|
22
|
+
- LICENSE
|
|
23
|
+
- README.md
|
|
24
|
+
- Rakefile
|
|
23
25
|
- bin/hola
|
|
24
|
-
- lib/hola-sergio/translator.rb
|
|
25
26
|
- lib/hola-sergio.rb
|
|
27
|
+
- lib/hola-sergio/translator.rb
|
|
28
|
+
- man/hola-sergioro.1
|
|
26
29
|
- man/hola-sergioro.1.ronn
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
- LICENSE
|
|
30
|
-
homepage: http://rubygems.org/gem/hola-sergio
|
|
30
|
+
- test/test_hola-sergio.rb
|
|
31
|
+
homepage: https://rubygems.org/gems/hola-sergio
|
|
31
32
|
licenses:
|
|
32
|
-
-
|
|
33
|
+
- MIT
|
|
33
34
|
metadata: {}
|
|
34
35
|
post_install_message:
|
|
35
36
|
rdoc_options: []
|
|
@@ -37,17 +38,17 @@ require_paths:
|
|
|
37
38
|
- lib
|
|
38
39
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
39
40
|
requirements:
|
|
40
|
-
- -
|
|
41
|
+
- - ">="
|
|
41
42
|
- !ruby/object:Gem::Version
|
|
42
43
|
version: '0'
|
|
43
44
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
44
45
|
requirements:
|
|
45
|
-
- -
|
|
46
|
+
- - ">="
|
|
46
47
|
- !ruby/object:Gem::Version
|
|
47
48
|
version: '0'
|
|
48
49
|
requirements: []
|
|
49
50
|
rubyforge_project:
|
|
50
|
-
rubygems_version: 2.
|
|
51
|
+
rubygems_version: 2.7.6
|
|
51
52
|
signing_key:
|
|
52
53
|
specification_version: 4
|
|
53
54
|
summary: A simple hello world gem, from a very special man
|