hola_hangbo 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +8 -0
- data/bin/hola_hangbo +4 -0
- data/lib/hola_hangbo.rb +8 -0
- data/lib/hola_hangbo/translator.rb +16 -0
- data/test/test_hola_hangbo.rb +16 -0
- metadata +48 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 39eb51253a4201aeda789469c65dbaa361eefed8
|
4
|
+
data.tar.gz: 0bf11938503b3cabd55d8b235956e6e9442c9551
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 49f532d076ad3fa037d6df426bfa8db8fb2d67ca69fe753bfbf41fbb35726c17548fb415820990862c92822ed6fe35d10ce467edfc5981317eb46a58829b8df2
|
7
|
+
data.tar.gz: 92914632f93154d90f1594cfe0759e06b531fd7637b432fd59803fcb08d5571e3e9a5f3bc749a8d8b8c333784484e776d9b51a8bc2a03dfba4f66f7f7220fba3
|
data/Rakefile
ADDED
data/bin/hola_hangbo
ADDED
data/lib/hola_hangbo.rb
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'test/unit'
|
2
|
+
require 'hola'
|
3
|
+
|
4
|
+
class HolaTest < Test::Unit::TestCase
|
5
|
+
def test_english_hello
|
6
|
+
assert_equal "hello world", Hola.hi("english")
|
7
|
+
end
|
8
|
+
|
9
|
+
def test_any_hello
|
10
|
+
assert_equal "hello world", Hola.hi("ruby")
|
11
|
+
end
|
12
|
+
|
13
|
+
def test_spanish_hello
|
14
|
+
assert_equal "hola mundo", Hola.hi("spanish")
|
15
|
+
end
|
16
|
+
end
|
metadata
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: hola_hangbo
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Nick Quaranto
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2010-04-03 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: A simple hello world gem
|
14
|
+
email: nick@quaran.to
|
15
|
+
executables: []
|
16
|
+
extensions: []
|
17
|
+
extra_rdoc_files: []
|
18
|
+
files:
|
19
|
+
- Rakefile
|
20
|
+
- lib/hola_hangbo.rb
|
21
|
+
- lib/hola_hangbo/translator.rb
|
22
|
+
- bin/hola_hangbo
|
23
|
+
- test/test_hola_hangbo.rb
|
24
|
+
homepage: http://rubygems.org/gems/hola_hangbo
|
25
|
+
licenses: []
|
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.0.14
|
44
|
+
signing_key:
|
45
|
+
specification_version: 3
|
46
|
+
summary: hola_hangbo!
|
47
|
+
test_files:
|
48
|
+
- test/test_hola_hangbo.rb
|