hola_z15021sn 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 +7 -0
- data/bin/hola +4 -0
- data/lib/hola_z15021sn/translator.rb +16 -0
- data/lib/hola_z15021sn.rb +17 -0
- metadata +47 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 1b10ec3f63793a78edfa95e57fb8836ebcb28bc7
|
|
4
|
+
data.tar.gz: cf4bdd43949f2471f8e78f4270b0d5aa39802e6d
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: e842cacd2f82738c5141b3fb93b678ee143eac00788854649234132e41a24b017f621be5229f773c81e250e73846fb1d7392b6802bbf6f9acd6146036534b4d8
|
|
7
|
+
data.tar.gz: cc98edc169acf989f0f43a57442d897855b327957b9b573313fc5051833eab2c008d809fe7bf2de77bc40a4beb101ebd07074b69b514a3139bed242d1eceba9d
|
data/bin/hola
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# The main Hola driver
|
|
2
|
+
class HolaZ15021sn
|
|
3
|
+
# Say hi to the world!
|
|
4
|
+
#
|
|
5
|
+
# Example:
|
|
6
|
+
# >> AiitZ15021snHola.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 'hola_z15021sn/translator'
|
metadata
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: hola_z15021sn
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.2
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- z15021sn
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2015-06-27 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description: A simple hello world gem
|
|
14
|
+
email: z15021sn@aiit.ac.jp
|
|
15
|
+
executables:
|
|
16
|
+
- hola
|
|
17
|
+
extensions: []
|
|
18
|
+
extra_rdoc_files: []
|
|
19
|
+
files:
|
|
20
|
+
- bin/hola
|
|
21
|
+
- lib/hola_z15021sn.rb
|
|
22
|
+
- lib/hola_z15021sn/translator.rb
|
|
23
|
+
homepage: http://rubygems.org/gems/hola_z15021sn
|
|
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.7
|
|
44
|
+
signing_key:
|
|
45
|
+
specification_version: 4
|
|
46
|
+
summary: Hola!
|
|
47
|
+
test_files: []
|