textecho 0.2.1 → 0.2.2
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/Gemfile.lock +9 -7
- data/lib/textecho/base.rb +1 -1
- data/test/test_echo.rb +7 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7a51a8cfe4dcfd4ad7994670dfd6081959d84d64
|
|
4
|
+
data.tar.gz: 6cf3e85026837625b087aeab3eba887b63ef266d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 996cb32b4f0980ae03455eeb4c488a57a674c899b99a0184ae8be7e1b1fb2c1f48d2f16df0a3936fe5a259a3c3591c794821d7e417b0e83b458197985a363546
|
|
7
|
+
data.tar.gz: dc155a978f6d294dfc02f04341e40e78067b216f921c7e37cd09be4c027cd26d97e93d88b8006a63968c6cc71cb7e762446d4f4ae03fe5b780e334b398d9282b
|
data/Gemfile.lock
CHANGED
|
@@ -6,14 +6,16 @@ PATH
|
|
|
6
6
|
GEM
|
|
7
7
|
remote: https://rubygems.org/
|
|
8
8
|
specs:
|
|
9
|
-
codeclimate-test-reporter (0.
|
|
9
|
+
codeclimate-test-reporter (0.3.0)
|
|
10
10
|
simplecov (>= 0.7.1, < 1.0.0)
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
docile (1.1.3)
|
|
12
|
+
minitest (5.2.3)
|
|
13
|
+
multi_json (1.8.4)
|
|
14
|
+
simplecov (0.8.2)
|
|
15
|
+
docile (~> 1.1.0)
|
|
16
|
+
multi_json
|
|
17
|
+
simplecov-html (~> 0.8.0)
|
|
18
|
+
simplecov-html (0.8.0)
|
|
17
19
|
|
|
18
20
|
PLATFORMS
|
|
19
21
|
ruby
|
data/lib/textecho/base.rb
CHANGED
data/test/test_echo.rb
CHANGED
|
@@ -22,6 +22,13 @@ class TestEcho < Minitest::Test #Test::Unit::TestCase
|
|
|
22
22
|
assert !@f.msgs.first.include?(@myMsg2), "message should be downcase"
|
|
23
23
|
assert @f.msgs.first.include?(@myMsg2.downcase), "message should be downcase"
|
|
24
24
|
end
|
|
25
|
+
def test_params
|
|
26
|
+
|
|
27
|
+
msgs=@f.handle_message(@source,@myMsg2,@f.shortcode,{"test"=> true})
|
|
28
|
+
assert msgs=@f.msgs, "messages and list not same"
|
|
29
|
+
assert !@f.msgs.first.include?(@myMsg2), "message should be downcase"
|
|
30
|
+
assert @f.params['test'], "params not correct #{@f.params.inspect}"
|
|
31
|
+
end
|
|
25
32
|
|
|
26
33
|
def test_rand
|
|
27
34
|
@f=Textecho::Randgen.new
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: textecho
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Scott Sproule
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-02-
|
|
11
|
+
date: 2014-02-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Common application format for telkcomcel in Timor Leste.
|
|
14
14
|
email: scott.sproule@estormtech.com
|