rexy 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/Rakefile +8 -0
- data/bin/rexy +4 -0
- data/lib/rexy.rb +8 -0
- data/lib/rexy/translator.rb +16 -0
- data/test/test_rexy.rb +16 -0
- metadata +48 -0
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
ZmNhYjExMWMxYmM5MDYyZGZmZTJmYTg5OWM0MWIxM2Y0ZWU1OGFiOA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
ODQ1ZDFmYmYyZTc2MWE3YTg1NDNjZTEwNjJkZTkxMWY3OTZlODVkNA==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
NjMzNDMxY2MwMmZhMzJmM2ZiYmI1MGJkZDhjZTQwYzdhYzcyOTA3OGJlNTZi
|
10
|
+
OWNmZTBlMmQ5YzdkNmZhM2EwNzgxZGJkM2IwZWM0YmM1N2ExZDBmODZmOGE4
|
11
|
+
ZjkwNDZjOTI4NTUwZjQ1MmQwZWY0ZjAzMWEzZmMxMTQyNjM5ZWI=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
M2VlYmZhZTA1MDY5YTI2ZTUxN2E5YTlmNThmOTBlYTM2YjMzYThiZTczMDkx
|
14
|
+
ZGVlNmEyYTUzZjkyMThjYjgyZjliYTg4MmVlZDBkMDM2Y2U1NTliNTAzNGI4
|
15
|
+
MDNkNGZlYTQ2ZmJkODc4YmQxMGNkNjExMzVhNTI3NGUyY2U4MjM=
|
data/Rakefile
ADDED
data/bin/rexy
ADDED
data/lib/rexy.rb
ADDED
data/test/test_rexy.rb
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'test/unit'
|
2
|
+
require 'rexy'
|
3
|
+
|
4
|
+
class RexyTest < Test::Unit::TestCase
|
5
|
+
def test_english_hello
|
6
|
+
assert_equal "hello world", Rexy.hi("english")
|
7
|
+
end
|
8
|
+
|
9
|
+
def test_any_hello
|
10
|
+
assert_equal "hello world", Rexy.hi("ruby")
|
11
|
+
end
|
12
|
+
|
13
|
+
def test_spanish_hello
|
14
|
+
assert_equal "rexy mundo", Rexy.hi("spanish")
|
15
|
+
end
|
16
|
+
end
|
metadata
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rexy
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Claudio B
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2010-04-03 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: Rexy makes shit happen
|
14
|
+
email: claudiob@gmail.com
|
15
|
+
executables: []
|
16
|
+
extensions: []
|
17
|
+
extra_rdoc_files: []
|
18
|
+
files:
|
19
|
+
- Rakefile
|
20
|
+
- lib/rexy.rb
|
21
|
+
- lib/rexy/translator.rb
|
22
|
+
- bin/rexy
|
23
|
+
- test/test_rexy.rb
|
24
|
+
homepage: http://rubygems.org/gems/rexy
|
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.2
|
44
|
+
signing_key:
|
45
|
+
specification_version: 3
|
46
|
+
summary: Rexy!
|
47
|
+
test_files:
|
48
|
+
- test/test_rexy.rb
|