itsniluntilyoushipit 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/is_it_nil +1 -1
- data/lib/itsniluntilyoushipit/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: 2edbdc70f68142a3e6ace2d7c414b244d730c9f8
|
4
|
+
data.tar.gz: 9cdbe611f01e99f4f3d67fac65fb322f6711438a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c6ae5add10bddf8266dddbc02dc07d2ce1235f2974292645332d473fd3481bd8159377d187a47245c0b45ac03e126212ea134c9b94accd3bea504fac3ec7690
|
7
|
+
data.tar.gz: 78ae4c8331327223f713d6c19676e29ab7637b146241743ce973cc529aa74720a80be97eac2e9adbecc8504bc1cecf46c80b90bffafc15072d781b6f5195cb3b
|
data/bin/is_it_nil
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
require 'itsniluntilyoushipit'
|
3
3
|
puts "Has it been shipped?"
|
4
|
-
shipped = gets.strip.downcase[0]
|
4
|
+
shipped = gets.strip.downcase[0] == 'y'
|
5
5
|
is_it_nil_processor = Itsniluntilyoushipit::Isitnil.new
|
6
6
|
is_it_nil = is_it_nil_processor.is_it_nil?(:shipped => shipped)
|
7
7
|
if is_it_nil then
|