thaitoan 0.0.2 → 0.0.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f0d4a6bc945f9c261335247f4813d7512f50a255
4
- data.tar.gz: 2bd8f4e1d174a53da4e181c1476f0a745a7169b6
3
+ metadata.gz: 33ab027311600f06e6c00f9387fc5c61cbe7b6cd
4
+ data.tar.gz: a084527e7ed4bd9d0e6cb41177a3d629f535bc53
5
5
  SHA512:
6
- metadata.gz: 05292364ef4129e625c2a8acce5d8dbbe641e1ae829a6899ff98fbb1953f6fcffa265b20597e3ab2b85b5785e64829d3e924a801433db389b86d9ad355fbc89e
7
- data.tar.gz: 7f97f3a4abc0ccf43fddd86e3d7f729530c7cbebb3404dfe966d863c889423cc1e06fd8f5dec84ceb27153a3a2cd7571e87efc21671affc7ee0cc168b439eb39
6
+ metadata.gz: 0cae61179cc1e971cbc5006223823072fe014f8c2e48f540b79d31530cb4f2c14a10a9c9fd2fb880a8d4b47e48801017473ae89033300c12c018b0a035e9bd17
7
+ data.tar.gz: dd814ae1a9e0da178cab89cc6f2f4501c59a9c0eb3f0cf54003bbed028046201011d8d68398188a1539f7bad39db1e90e62b85ed3a187fb3f0d6c0fbe66647f8
@@ -1,7 +1,10 @@
1
1
  class Thaitoan
2
- def self.hi(language)
3
- translator = Translator.new(language)
4
- translator.hi
2
+ def self.hello
3
+ "hola mundo"
4
+ end
5
+
6
+ def self.hi
7
+ "hi everyone"
5
8
  end
6
9
  end
7
10
 
@@ -3,14 +3,14 @@ require 'thaitoan'
3
3
 
4
4
  class ThaitoanTest < Test::Unit::TestCase
5
5
  def test_english_hello
6
- assert_equal "hello world", Hola.hi("english")
6
+ assert_equal "hello world", Thaitoan.hi("english")
7
7
  end
8
8
 
9
9
  def test_any_hello
10
- assert_equal "hello world", Hola.hi("ruby")
10
+ assert_equal "hello world", Thaitoan.hi("ruby")
11
11
  end
12
12
 
13
13
  def test_spanish_hello
14
- assert_equal "hola mundo", Hola.hi("spanish")
14
+ assert_equal "hola mundo", Thaitoan.hi("spanish")
15
15
  end
16
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thaitoan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thai Toan