holalimon 110.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 +7 -0
- data/bin/holalimon +3 -0
- data/lib/holalimon.rb +17 -0
- data/lib/holalimon/translator.rb +14 -0
- metadata +47 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 9c77997b480dbfe1bf5b652f8e938ccbee89f2bf
|
|
4
|
+
data.tar.gz: fbad25d7377e0adfcc659f9f7b7abf13ffeefb57
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 6b8498776c0ba6a73ac7294e6bca5a919b501b907dd6e3a2d90070e568bc0a817f6f2055f9d84c82bd50a85ae036ce2193d762fad47e6202a79726f10ed6082c
|
|
7
|
+
data.tar.gz: 3e7ebc39d46730ad3462f0aafe83b6ba2c26d407b4fb71af11287d0514246ea3143999f6c5dc73d23c04f6953d299308099b1fe552f29f15bd7a661cf9a3d722
|
data/bin/holalimon
ADDED
data/lib/holalimon.rb
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# The main Hola driver
|
|
2
|
+
class Holalimon
|
|
3
|
+
# Say hi to the world!
|
|
4
|
+
#
|
|
5
|
+
# Example:
|
|
6
|
+
# >> Hola.hi("spanish")
|
|
7
|
+
# => hola mundo
|
|
8
|
+
#
|
|
9
|
+
# Arguments:
|
|
10
|
+
# language: (String)
|
|
11
|
+
def self.hi(language = "english")
|
|
12
|
+
translator = Translator.new(language)
|
|
13
|
+
translator.hi
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
require 'holalimon/translator'
|
metadata
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: holalimon
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 110.0.2
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Limon Lin
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2010-04-28 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description: A simple hello world gem
|
|
14
|
+
email: limon7@gmail.com
|
|
15
|
+
executables:
|
|
16
|
+
- holalimon
|
|
17
|
+
extensions: []
|
|
18
|
+
extra_rdoc_files: []
|
|
19
|
+
files:
|
|
20
|
+
- bin/holalimon
|
|
21
|
+
- lib/holalimon.rb
|
|
22
|
+
- lib/holalimon/translator.rb
|
|
23
|
+
homepage: http://rubygems.org/gems/hola
|
|
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
|
|
44
|
+
signing_key:
|
|
45
|
+
specification_version: 4
|
|
46
|
+
summary: Hola!
|
|
47
|
+
test_files: []
|