hola-sergio 0.0.2 → 0.1.1

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: fc2545ac0da03acf9d46810860847bd0780f8d386fc82c960f9a45f7366f899c
4
- data.tar.gz: 8b8595b33fdfcf4e84142a95cdf3227598cab26417a57f8181f3fadd48102aac
3
+ metadata.gz: fc18fc6c39c66b8195622b724747798a3665c92929206993e53bc03c22a12fc4
4
+ data.tar.gz: a0ddc124c3877c69980d2bb57eeabf6cf058a6f3ed012f480bbcc22afc72ec6b
5
5
  SHA512:
6
- metadata.gz: 836106b16cb518a1371ea468d88df5156fd82b140c46d20aa6adafc5b6e41beed132d408bcfb8c313b026a96d99a87d87f44501c87011443613d089db692fa6e
7
- data.tar.gz: a83e871a6199c2d21fff69b2a7a7b05430bb202f7d2b98609263c6ec7117937200356ec0d28b01f5351d78c283a4137b8fbaed48c41718bcc6697828cfc3bd7f
6
+ metadata.gz: b019eeb8ac849256f957df1c000345a170456912cadddb2f440a944513114fdd3cc485025df1df374c245728b1d0d505285d80bac842c1cf1c4f875ba8dd11aa
7
+ data.tar.gz: 7ad7c333789f2000cad5f2a3f5028b8dbfb6af7ee65cd9634dabbed9d60b3883a6562f1b493c3da55bb56e9301d5745471ec37d9e71df02a7f2cf0d2fa49abd3
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 a
4
- copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a 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 included
12
- in all copies or substantial portions of the Software.
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
13
 
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.
14
+ THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -143,3 +143,6 @@ add this to ~/.irbrc
143
143
  https://til.hashrocket.com/posts/09139e5206-enable-commands-history-on-rails-console-and-irb
144
144
  IRB.conf[:SAVE_HISTORY]=200
145
145
  IRB.conf[:HISTORY_FILE]='~/.irb_history'
146
+
147
+
148
+
data/lib/hola-sergio.rb CHANGED
@@ -1,8 +1,11 @@
1
- class Hola
1
+ require "hola-sergio/version"
2
+ require "hola-sergio/translator"
3
+
4
+ module Hola
5
+ class Hola
2
6
  def self.hi(language="english")
3
- translator=Translator.new(language)
4
- translator.hi
7
+ translator=Translator.new(language)
8
+ translator.hi
5
9
  end
10
+ end
6
11
  end
7
-
8
- require 'hola-sergio/translator'
@@ -0,0 +1,3 @@
1
+ module Hola
2
+ VERSION = "0.1.1"
3
+ end
metadata CHANGED
@@ -1,21 +1,22 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hola-sergio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergio Romero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-27 00:00:00.000000000 Z
11
+ date: 2010-04-28 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: []
18
+ executables:
19
+ - hola
19
20
  extensions: []
20
21
  extra_rdoc_files: []
21
22
  files:
@@ -25,12 +26,11 @@ files:
25
26
  - bin/hola
26
27
  - lib/hola-sergio.rb
27
28
  - lib/hola-sergio/translator.rb
28
- - man/hola-sergioro.1
29
+ - lib/hola-sergio/version.rb
29
30
  - man/hola-sergioro.1.ronn
30
- - test/test_hola-sergio.rb
31
- homepage: https://rubygems.org/gems/hola-sergio
31
+ homepage: https://github.com/sergioro9/hola-sergio
32
32
  licenses:
33
- - MIT
33
+ - wtfpl
34
34
  metadata: {}
35
35
  post_install_message:
36
36
  rdoc_options: []
@@ -47,8 +47,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
47
47
  - !ruby/object:Gem::Version
48
48
  version: '0'
49
49
  requirements: []
50
- rubyforge_project:
51
- rubygems_version: 2.7.6
50
+ rubygems_version: 3.0.3
52
51
  signing_key:
53
52
  specification_version: 4
54
53
  summary: A simple hello world gem, from a very special man
data/man/hola-sergioro.1 DELETED
@@ -1,51 +0,0 @@
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
@@ -1,18 +0,0 @@
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