tumblr-game 2.0.3 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tumblr-game.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: 0f38390c77f9369b4c6b9e9341069da1b5c91a4c
|
4
|
+
data.tar.gz: 318849ea403c65ad4b5963c465decdf7095f0fb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 228361fc27885cc06d632a4ef4c76f3f249310e5f7123441d843767d4469515608947f27609f8c86171e7c021f60d2aafcaf5b83dcb3b4984707e252835d3547
|
7
|
+
data.tar.gz: 50ec07676601139de9493233196f84b315696207f72cea2b5baeeb64825df986cfce55d911db8db4aca07145224041734eb35e77569b422f33bd46fcb9b82b23
|
data/lib/tumblr-game.rb
CHANGED
@@ -21,7 +21,7 @@ class Game
|
|
21
21
|
puts "Enter the name of the blog: "
|
22
22
|
blogName = gets.chop
|
23
23
|
|
24
|
-
if blogName.strip.empty? then
|
24
|
+
if blogName.strip.empty? || !(blogName.include? "com") then
|
25
25
|
puts "Error: Please enter a Tumblr blog name."
|
26
26
|
else
|
27
27
|
## create a new TumblrAPIObject so we can issue calls to the tumblr api for data
|