hello-ebola 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/bin/hello-ebola +4 -0
- data/lib/hello-ebola.rb +19 -0
- data/lib/hello-ebola/translator.rb +15 -0
- metadata +48 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: cdfcd96b4ecf7d7ea668843cdccc546a225128a4
|
4
|
+
data.tar.gz: 915bc0e04ed426f77b6e467e7d53df948db5989d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 46d2e28abc638d2499d64fb951d65942f5b8a3eb1f5a4ba849c01236df773d06c779ca471248218eed2854bbc7d42889389bf74c1a9b61b67c0958e4f06531c6
|
7
|
+
data.tar.gz: 110b01868aba3731ade1229d1448a39c0d16a3560925670915c4ba3c29357675b3cd5b97283d1a37d47feeac5ddfbee5c1784d1f677046478bba2ceeb5f22971
|
data/bin/hello-ebola
ADDED
data/lib/hello-ebola.rb
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# The main Hello driver
|
2
|
+
# @author Ivan Eremin
|
3
|
+
# @return [String] hello string
|
4
|
+
class Hello
|
5
|
+
# Say hi to the world!
|
6
|
+
#
|
7
|
+
# Example:
|
8
|
+
# >> Hello.hi("english")
|
9
|
+
# => Hello ebola world!
|
10
|
+
#
|
11
|
+
# Arguments:
|
12
|
+
# language: (String)
|
13
|
+
def self.hi(language = 'english')
|
14
|
+
translator = Translator.new(language)
|
15
|
+
translator.hi
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
require 'hello-ebola/translator'
|
metadata
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: hello-ebola
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ivan Eremin
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-01-22 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: My first gem
|
14
|
+
email: conding.ebola@gmail.com
|
15
|
+
executables:
|
16
|
+
- hello-ebola
|
17
|
+
extensions: []
|
18
|
+
extra_rdoc_files: []
|
19
|
+
files:
|
20
|
+
- bin/hello-ebola
|
21
|
+
- lib/hello-ebola.rb
|
22
|
+
- lib/hello-ebola/translator.rb
|
23
|
+
homepage: http://google.com
|
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: Hello-ebola!
|
47
|
+
test_files: []
|
48
|
+
has_rdoc:
|