console_tweet 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/console_tweet/cli.rb +1 -1
- data/lib/console_tweet/version.rb +1 -1
- metadata +3 -3
data/lib/console_tweet/cli.rb
CHANGED
@@ -62,7 +62,7 @@ module ConsoleTweet
|
|
62
62
|
load_default_token
|
63
63
|
tweet_text = args.join(' ')
|
64
64
|
return failtown("Empty Tweet") if tweet_text.empty?
|
65
|
-
return failtown("Tweet
|
65
|
+
return failtown("Tweet is too long!") if tweet_text.size > 140
|
66
66
|
return failtown("Unauthorized, re-run setup!") unless @client.authorized?
|
67
67
|
@client.update(args.join(' '))
|
68
68
|
puts "Tweet Posted!"
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: console_tweet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 5
|
10
|
+
version: 0.0.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- John Crepezzi
|