ascon 0.0.1
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/ascon +4 -0
- data/lib/ascon/translator.rb +16 -0
- data/lib/ascon.rb +8 -0
- data/test/test_ascon.rb +16 -0
- metadata +47 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7bcc0e2ac4a590c1378e6c2aa39ea37624792a12a4af8ebeeed9855827936bdb
|
4
|
+
data.tar.gz: 866556cfd00dda35e62ce27e0ceb7621e0a49db20aad739afe0c149ac8a335d5
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: e8fda2513e5f734c73f09985fb4e459758ebb8c7af2ea1fca19be88b4bebaa8a630a8f7c9a6834c751297e34febe714090bf16e95192c99cc961ccef20a1c37c
|
7
|
+
data.tar.gz: a7b5d8e725ef61f9b8c611a73cc01cd34374776df800f82266b9c72bd1324e4dab61f8dc460c36136f5f0e308b90ed427a661cbe1a7d0cc8479e2db433dbe745
|
data/Rakefile
ADDED
data/bin/ascon
ADDED
data/lib/ascon.rb
ADDED
data/test/test_ascon.rb
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'test/unit'
|
2
|
+
require 'ascon'
|
3
|
+
|
4
|
+
class AsconTest < Test::Unit::TestCase
|
5
|
+
def test_english_hello
|
6
|
+
assert_equal "hello world", Ascon.hi("english")
|
7
|
+
end
|
8
|
+
|
9
|
+
def test_any_hello
|
10
|
+
assert_equal "hello world", Ascon.hi("ruby")
|
11
|
+
end
|
12
|
+
|
13
|
+
def test_spanish_hello
|
14
|
+
assert_equal "hola mundo", Ascon.hi("spanish")
|
15
|
+
end
|
16
|
+
end
|
metadata
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ascon
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- ascon
|
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: ''
|
15
|
+
executables: []
|
16
|
+
extensions: []
|
17
|
+
extra_rdoc_files: []
|
18
|
+
files:
|
19
|
+
- Rakefile
|
20
|
+
- bin/ascon
|
21
|
+
- lib/ascon.rb
|
22
|
+
- lib/ascon/translator.rb
|
23
|
+
- test/test_ascon.rb
|
24
|
+
homepage: http://rubygems.org/gems/ascon
|
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
|
+
rubygems_version: 3.3.5
|
43
|
+
signing_key:
|
44
|
+
specification_version: 3
|
45
|
+
summary: Hola!
|
46
|
+
test_files:
|
47
|
+
- test/test_ascon.rb
|