textecho 0.1.9 → 0.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 +8 -8
- data/Gemfile.lock +2 -2
- data/lib/textecho/base.rb +3 -0
- data/test/test_echo.rb +15 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OWYxYWU4NTY5ZGJhZGUxNThjZjQzNzhlY2E3M2M2ZTI1MzVlZmFlNA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ODE2ZDEzMDRhZGRhOTRjOGQzOTZhYWY5N2NmNmZhYmYwOTQ0ZjFiNg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YTJhYjNlZmE1MjY1MzEwZDNiYjQzNGEzYWViYTUyZTNjMzZmOTc5ODc2YzNi
|
10
|
+
NWMzOTRjYzU3MjYwZWZiMDdkOTM5Mzk3OGVhMWE5ZmNlYTJhZjI3N2NjODQx
|
11
|
+
ZDY4ZTVjNWE5M2ExYzFhOWNhM2Y1YTg4YTdhOTg5ZGE3NzBjNTY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
Mzc1MmYyMDFjNjQzNzAzZmZmMzFmNDViNmQ3NTc5ZWJmMTk5MzBiZWJmZTVl
|
14
|
+
MDAyOGExZjk1NjQ1ODhjZjVmN2QwNTBiYTQzMTZmYmEzNTBkYThkNGU1MWU5
|
15
|
+
MTgxN2M4Njg3NGYwN2Y2ZDhmMzUwMDA3M2MxYmU3MzQzZjQwOGE=
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
textecho (0.1.
|
4
|
+
textecho (0.1.9)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
@@ -9,7 +9,7 @@ GEM
|
|
9
9
|
codeclimate-test-reporter (0.1.1)
|
10
10
|
simplecov (>= 0.7.1, < 1.0.0)
|
11
11
|
minitest (5.0.8)
|
12
|
-
multi_json (1.8.
|
12
|
+
multi_json (1.8.1)
|
13
13
|
simplecov (0.7.1)
|
14
14
|
multi_json (~> 1.0)
|
15
15
|
simplecov-html (~> 0.7.1)
|
data/lib/textecho/base.rb
CHANGED
data/test/test_echo.rb
CHANGED
@@ -29,6 +29,21 @@ class TestEcho < Minitest::Test #Test::Unit::TestCase
|
|
29
29
|
assert msgs=@f.output_list, "messages and list not same"
|
30
30
|
assert @f.msgs.first != @myMsg, "message echoed"
|
31
31
|
end
|
32
|
+
def test_disabled
|
33
|
+
@f=Textecho::Randgen.new
|
34
|
+
msgs=@f.disabled_message
|
35
|
+
assert msgs.first.include?('later'), "message should be disabled #{msgs.inspect}"
|
36
|
+
msgs=@f.disabled_message('en')
|
37
|
+
assert msgs.first.include?('later'), "message should be disabled #{msgs.inspect}"
|
38
|
+
end
|
39
|
+
def test_disabled_classname
|
40
|
+
@f=Textecho::Randgen.new
|
41
|
+
msgs=@f.disabled_message
|
42
|
+
assert msgs.first.include?('Randgen'), "message should be disabled #{msgs.inspect}"
|
43
|
+
@f=Textecho::Base.new
|
44
|
+
msgs=@f.disabled_message
|
45
|
+
assert msgs.first.include?('Base'), "message should be disabled #{msgs.inspect}"
|
46
|
+
end
|
32
47
|
|
33
48
|
def test_time
|
34
49
|
@f=Textecho::Timecheck.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.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scott Sproule
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-28 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
|