libtest10 0.0.1
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/Rakefile +8 -0
- data/bin/libtest10 +4 -0
- data/lib/libtest10/translator.rb +16 -0
- data/lib/libtest10.rb +8 -0
- data/test/test_libtest10.rb +16 -0
- metadata +48 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: a463b63320db76f55db822b9d7051cf2dd0980ba
|
4
|
+
data.tar.gz: 145228ea23c13a4e268b71651bf60b36d0fcd869
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a871da32b518ac82db1312235d542a0b862c7bba6d903e1a5138451a818d65fc695d29075fd1923cf282e4d2e6326d63c70cca3bfdfd497df78b3e03389a099d
|
7
|
+
data.tar.gz: 2faaa13857bb94c42dc25ac8fb4bebc9452c04226f1c3c1709b1d115c068588be792ee67aaa1dc3e877c68d7536bc89a2ec8f88fb2feb663ff0b7c3cdacd79a7
|
data/Rakefile
ADDED
data/bin/libtest10
ADDED
data/lib/libtest10.rb
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'test/unit'
|
2
|
+
require 'libtest10'
|
3
|
+
|
4
|
+
class Libtest10Test < Test::Unit::TestCase
|
5
|
+
def test_english_hello
|
6
|
+
assert_equal "hello world", Libtest10.hi("english")
|
7
|
+
end
|
8
|
+
|
9
|
+
def test_any_hello
|
10
|
+
assert_equal "hello world", Libtest10.hi("ruby")
|
11
|
+
end
|
12
|
+
|
13
|
+
def test_spanish_hello
|
14
|
+
assert_equal "hola mundo", Libtest10.hi("spanish")
|
15
|
+
end
|
16
|
+
end
|
metadata
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: libtest10
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Libtest10
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-06-24 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: A simple hello world gem
|
14
|
+
email: libtest10@xyz.com
|
15
|
+
executables: []
|
16
|
+
extensions: []
|
17
|
+
extra_rdoc_files: []
|
18
|
+
files:
|
19
|
+
- Rakefile
|
20
|
+
- lib/libtest10.rb
|
21
|
+
- lib/libtest10/translator.rb
|
22
|
+
- bin/libtest10
|
23
|
+
- test/test_libtest10.rb
|
24
|
+
homepage: http://rubygems.org/gems/libtest10
|
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!
|
47
|
+
test_files:
|
48
|
+
- test/test_libtest10.rb
|