hola_ali 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/Rakefile +8 -0
- data/test/test_hola_ali.rb +20 -0
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NGNjZDk3YWI4NGM4NzkzNDM5YzI3MzNjM2RhNTUyNmY0OGQ5NjBhNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YjcxNWVmNDQzYzIxMGNjZGExNmI4NzZhMjZiODQ0NTg2ZTE0OGVkNQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZmY2NzlkOTg0YjA2MTA1MmEyNWEzYzA2ZTkxZGNmNjZiOTkwNzNjNWJiYTE0
|
10
|
+
MGYwZDNmMTEwMTlkM2I4ZmQwOTA5Y2Y4OGVhYWU4MzQ5ZDczNTQ3YzcxMTQ4
|
11
|
+
ZjYwOWYxODMxYjdiMDU3ZmViOThlOGM5ZDMxZjk1YmM5YjY1YWM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YWVjMDJhZTZlNDc0MTM1N2NiOTQzM2M2ODAzM2U0NjQ1ZmE5N2VmOGVhNmQ3
|
14
|
+
YmFhMmE4ZDUyYTNhZjlkMmZlNGJmY2VkZDQ3NWM3NGM2Yzg4YTY2MjFiN2Jk
|
15
|
+
ZDdjZjAwZWZkZDJmMDAzY2Y1ZTAwZDQ0N2UwYmIyNmI2YTA0MGI=
|
data/Rakefile
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
require 'hola_ali'
|
2
|
+
require 'minitest'
|
3
|
+
require 'minitest/autorun'
|
4
|
+
|
5
|
+
class HolaAliTest < Minitest::Test
|
6
|
+
def test_english_hello
|
7
|
+
assert_equal "hello world",
|
8
|
+
HolaAli.hi_ali("english")
|
9
|
+
end
|
10
|
+
|
11
|
+
def test_any_hello
|
12
|
+
assert_equal "hello world",
|
13
|
+
HolaAli.hi_ali("ruby")
|
14
|
+
end
|
15
|
+
|
16
|
+
def test_spanish_hello
|
17
|
+
assert_equal "hola mundo",
|
18
|
+
HolaAli.hi_ali("spanish")
|
19
|
+
end
|
20
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hola_ali
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ali Osm
|
@@ -17,9 +17,11 @@ executables:
|
|
17
17
|
extensions: []
|
18
18
|
extra_rdoc_files: []
|
19
19
|
files:
|
20
|
+
- Rakefile
|
20
21
|
- bin/hola_ali
|
21
22
|
- lib/hola_ali.rb
|
22
23
|
- lib/hola_ali/translator.rb
|
24
|
+
- test/test_hola_ali.rb
|
23
25
|
homepage: https://rubygems.org/gems/hola_ali
|
24
26
|
licenses:
|
25
27
|
- MIT
|