earch 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Dockerfile +4 -1
- data/exe/earch +6 -2
- data/lib/earch/version.rb +1 -1
- 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: c3da2e32ad40ac9a94fa4d9defd4b94446bf8b3c
|
4
|
+
data.tar.gz: e553d5989da87fbae6d32b4ba2429f08e8a50775
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f68a3ee99f17dc9e366493a0a4b0bc870ea0541f4064db1444a913940e0040e4e888df7936f7470b11aa4ca83463e0ca86eff0608fce21b6366768ad0b10a87
|
7
|
+
data.tar.gz: dd9f3e2730f88267bacc36ca3002615006dd7c1a28becca31c5e046852b646b1deb3d387f0b86c547616f7440d94117922d9889d1b7ef6a12575405a182f08bb
|
data/Dockerfile
CHANGED
data/exe/earch
CHANGED
@@ -20,5 +20,9 @@ rescue OptionParser::InvalidOption, OptionParser::MissingArgument => e
|
|
20
20
|
end
|
21
21
|
|
22
22
|
optparse
|
23
|
-
|
24
|
-
|
23
|
+
if Parameter[:file]
|
24
|
+
earch = Earch.new(Parameter[:file])
|
25
|
+
Parameter[:debug] ? earch.debug(File.read(Parameter[:debug])) : earch.start
|
26
|
+
else
|
27
|
+
STDERR.puts "missing argument: -s"
|
28
|
+
end
|
data/lib/earch/version.rb
CHANGED