chourey 0.0.1 → 1.2.0
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 +4 -4
- data/bin/chourey +0 -2
- data/lib/chourey.rb +6 -3
- data/lib/chourey/translator.rb +14 -0
- data/test/test_chourey.rb +16 -4
- metadata +6 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb3da647a49cf979a060acd7df527c55cfadddc8
|
4
|
+
data.tar.gz: 220ebafce85d92f2f2ddde5bff4e0e300f30aa06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db8cf8e804901ef22af18300c96c071cbef445934179707c78e7d70b6b07caf9912d6e479865c33cf0a6d40602fc1b58a7f6c4af096f4dad93c4f0f740b0ffdc
|
7
|
+
data.tar.gz: 804505c9009ab8fbec4d78560a015eb18098efc80eb38f5c027352cb33c4492ddd006520432b0d4b3e5548b34f26d7ab5788c07deb67dabf91bba0cd64257e6a
|
data/bin/chourey
CHANGED
data/lib/chourey.rb
CHANGED
data/test/test_chourey.rb
CHANGED
@@ -1,7 +1,19 @@
|
|
1
|
-
require '
|
1
|
+
require 'minitest/autorun'
|
2
2
|
require 'chourey'
|
3
3
|
|
4
|
-
class ChoureyTest < Test
|
4
|
+
class ChoureyTest < Minitest::Test
|
5
5
|
def test_english_hello
|
6
|
-
assert_equal "
|
7
|
-
|
6
|
+
assert_equal "Hello Sandeep",
|
7
|
+
Chourey.hi("english")
|
8
|
+
end
|
9
|
+
|
10
|
+
def test_any_hello
|
11
|
+
assert_equal "Hello Sandeep",
|
12
|
+
Chourey.hi("ruby")
|
13
|
+
end
|
14
|
+
|
15
|
+
def test_spanish_hello
|
16
|
+
assert_equal "Hola Sandeep",
|
17
|
+
Chourey.hi("spanish")
|
18
|
+
end
|
19
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chourey
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sandeep Chourey
|
@@ -10,15 +10,17 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2015-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description:
|
14
|
-
email:
|
15
|
-
executables:
|
13
|
+
description: use translator in gem
|
14
|
+
email: schourey1988@gmail.com
|
15
|
+
executables:
|
16
|
+
- chourey
|
16
17
|
extensions: []
|
17
18
|
extra_rdoc_files: []
|
18
19
|
files:
|
19
20
|
- Rakefile
|
20
21
|
- bin/chourey
|
21
22
|
- lib/chourey.rb
|
23
|
+
- lib/chourey/translator.rb
|
22
24
|
- test/test_chourey.rb
|
23
25
|
homepage: http://rubygems.org/gems/chourey
|
24
26
|
licenses: []
|