gman 4.4.2 → 4.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/gman +1 -1
- data/gman.gemspec +1 -1
- data/test/test_gman_bin.rb +11 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99d4f1edc2e2e2e463e445d24620e9fe2be2ba73
|
4
|
+
data.tar.gz: 1d72f716a432b6351dc635e171c0526c29f7b6eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 649a0450105a4de7d913684677bf20211169cc68989fb35951fd6945508d8d243b1cccebb035802af66cdde4f25e39307d5006f32c3f01cd7b2f9323d6deba17
|
7
|
+
data.tar.gz: fb87052259126e43790f40e235cc5ff4cdc63f16c2ae3166fd8c2036d553fb3fee27a9bf1d8a269664e9434533e2986c7d9b034b156e3c7b0be1bb7c5a8c285b
|
data/bin/gman
CHANGED
data/gman.gemspec
CHANGED
@@ -2,7 +2,7 @@ Gem::Specification.new do |s|
|
|
2
2
|
s.name = "gman"
|
3
3
|
s.summary = "Check if a given domain or email address belong to a governemnt entity"
|
4
4
|
s.description = "A ruby gem to check if the owner of a given email address is working for THE MAN."
|
5
|
-
s.version = '4.4.
|
5
|
+
s.version = '4.4.3'
|
6
6
|
s.authors = ["Ben Balter"]
|
7
7
|
s.email = "ben.balter@github.com"
|
8
8
|
s.homepage = "https://github.com/benbalter/gman"
|
data/test/test_gman_bin.rb
CHANGED
@@ -62,4 +62,15 @@ class TestGmanBin < Minitest::Test
|
|
62
62
|
should "color by default" do
|
63
63
|
assert_match /\[0;32;49m/, @output
|
64
64
|
end
|
65
|
+
|
66
|
+
should "show help text" do
|
67
|
+
output, status = test_bin
|
68
|
+
assert_match /Usage/i, output
|
69
|
+
|
70
|
+
output, status = test_bin("")
|
71
|
+
assert_match /Usage/i, output
|
72
|
+
|
73
|
+
output, status = test_bin("--no-color")
|
74
|
+
assert_match /Usage/i, output
|
75
|
+
end
|
65
76
|
end
|