pry-send_tweet.rb 0.12.0 → 0.12.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a65d075513181fef778a672154cadddb8bdbc243336f131635c08d3a0445b66e
4
- data.tar.gz: eb3dfe2556e35b33840ec9188837a08b7d48b327f38e677a1c215d78f293be72
3
+ metadata.gz: 537e0e6e65fc0bed50a05e83610b69f28f1cf85880aff4a9dbbab09bba3387f0
4
+ data.tar.gz: 2f60bc834dc6791358b98c293e24c55c0b97a81518cfaa9ad10b6e12d3f62627
5
5
  SHA512:
6
- metadata.gz: 8ae97c222b10d2690e3c532d8b78212d46e424684ea53fd1b476747cdee0aa56383d06e3a38d55724488852567ef68265e1617bd607dbc6426121b4b9ca997a1
7
- data.tar.gz: 6ff8ea1c4d2f531ffc1029e111a0515c354978f55a3350dc5a472a1a2820043cefd2d053dda0d9a7105685761a3dfb140356066a414e2159104521d1bdfea26d
6
+ metadata.gz: 10f2f3f901c2abee29dcbcb6afa4ad4ed576a8ba555b54b63eef3490b6985555106c52b379e1728e3fde52379b25987c153ad6f0f20b91225e1dacaf2596d556
7
+ data.tar.gz: b284f42bdbd27f5717164e868f565c7a3a8d2720a5770096d0c8475c76f7cce9fc16e6a7434d37e55123b2bb7a1361da32511df400410e2a7e7e681e1ccd610a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## v0.12.1
4
+
5
+ * Correct multiple grammar errors found in the help output of all commands.
6
+
3
7
  ## v0.12.0
4
8
 
5
9
  * Add `Vagrantfile` & related files to spawn a VirtualBox VM running
@@ -1,9 +1,9 @@
1
1
  class Pry::SendTweet::ReadTweets < Pry::SendTweet::BaseCommand
2
2
  require_relative 'read_tweets/translate_actions'
3
3
  include TranslateActions
4
-
4
+
5
5
  match 'read-tweets'
6
- description 'A command for reading tweets.'
6
+ description 'Read tweets.'
7
7
  banner <<-BANNER
8
8
  read-tweets [OPTIONS]
9
9
 
@@ -19,9 +19,9 @@ class Pry::SendTweet::ReadTweets < Pry::SendTweet::BaseCommand
19
19
  o.on 'l=', 'likes=',
20
20
  'Read tweets you or another user have liked.',
21
21
  argument: :optional
22
- o.on 'r=', 'replies=', 'A username whose replies you want to read'
22
+ o.on 'r=', 'replies=', 'A username whose replies you want to read.'
23
23
  o.on 'm', 'mentions', 'Read tweets that @mention you.'
24
- o.on 'x=', 'translate=', 'Translate a tweet'
24
+ o.on 'x=', 'translate=', 'Translate a tweet.'
25
25
  o.on 'w', 'with-retweets', 'Include retweets.'
26
26
  end
27
27
 
@@ -2,7 +2,7 @@ class Pry::SendTweet::SendTweet < Pry::SendTweet::BaseCommand
2
2
  MAX_TWEET_SIZE = 280
3
3
 
4
4
  match 'send-tweet'
5
- description 'Send a tweet'
5
+ description 'Send a tweet.'
6
6
  command_options argument_required: false
7
7
  banner <<-BANNER
8
8
  send-tweet [options]
@@ -12,19 +12,19 @@ class Pry::SendTweet::SendTweet < Pry::SendTweet::BaseCommand
12
12
 
13
13
  def options(o)
14
14
  o.on 'f=', 'file=',
15
- 'One or more paths to image(s) to attach to a tweet',
15
+ 'One or more paths to file(s) to attach to a tweet.',
16
16
  as: Array
17
17
  o.on 'r=', 'reply-to=',
18
18
  'An absolute url to a tweet you want to reply to.'
19
19
  o.on 's=', 'self-destruct=',
20
20
  'The number of seconds (represented as a number or a timestamp in the ' \
21
21
  'format of HH:MM:SS) to wait before automatically deleting the tweet ' \
22
- 'asynchronously'
22
+ 'asynchronously.'
23
23
  o.on 'd=', 'delay=',
24
24
  'The number of seconds (represented as a number or a timestamp in the ' \
25
- 'format of HH:MM:SS) to wait before creating the tweet asynchronously'
25
+ 'format of HH:MM:SS) to wait before creating the tweet asynchronously.'
26
26
  o.on 'n', 'no-newline',
27
- "Remove newlines (\\n) from a tweet before sending it"
27
+ "Remove newlines (\\n) from a tweet before sending it."
28
28
  end
29
29
 
30
30
  def process(args)
@@ -14,11 +14,11 @@ class Pry::SendTweet::TwitterAction < Pry::SendTweet::BaseCommand
14
14
  include DeleteTweetActions
15
15
 
16
16
  match 'twitter-action'
17
- description 'Like, unlike, follow, unfollow and more'
17
+ description 'Like, unlike, follow, unfollow and more.'
18
18
  banner <<-B
19
19
  twitter-action OPTIONS
20
20
 
21
- Like, unlike, follow, unfollow and more.
21
+ #{description}
22
22
  B
23
23
 
24
24
  def options(o)
@@ -32,9 +32,9 @@ class Pry::SendTweet::TwitterAction < Pry::SendTweet::BaseCommand
32
32
  #
33
33
  o.on 'follow=', 'Follow one or more users', as: Array
34
34
  o.on 'unfollow=', 'Unfollow one or more users', as: Array
35
- o.on 'show-followers=', 'Show the newest tweeters to have followed you or ' \
35
+ o.on 'show-followers=', 'Show the newest users to have followed you or ' \
36
36
  'another user', argument: :optional
37
- o.on 'show-following', 'Show the newest tweeters you currently follow'
37
+ o.on 'show-following', 'Show the newest users you currently follow'
38
38
  #
39
39
  # Delete tweets and reweets
40
40
  #
@@ -66,7 +66,7 @@ class Pry::SendTweet::TwitterAction < Pry::SendTweet::BaseCommand
66
66
  #
67
67
  # Muting
68
68
  #
69
- o.on 'mute-user=', 'One or more usersname to mute', as: Array
69
+ o.on 'mute-user=', 'One or more usernames to mute', as: Array
70
70
  o.on 'unmute-user=', 'One or more usernames to unmute', as: Array
71
71
  end
72
72
 
@@ -1,6 +1,6 @@
1
1
  class Pry::SendTweet::TwitterSearch < Pry::SendTweet::BaseCommand
2
2
  match 'twitter-search'
3
- description 'Search Twitter for a given query.'
3
+ description 'Search Twitter.'
4
4
  command_options argument_required: true, shellwords: false
5
5
  banner <<-BANNER
6
6
  twitter-search [options] query
@@ -9,7 +9,8 @@ class Pry::SendTweet::TwitterSearch < Pry::SendTweet::BaseCommand
9
9
  BANNER
10
10
 
11
11
  def options(o)
12
- o.on 'c=', 'count=', "The number of tweets to show. Default is #{Pry::SendTweet::DEFAULT_READ_SIZE}."
12
+ o.on 'c=', 'count=', "The number of tweets to show. Default is " \
13
+ "#{Pry::SendTweet::DEFAULT_READ_SIZE}."
13
14
  end
14
15
 
15
16
  def process(query)
@@ -1,5 +1,5 @@
1
1
  class Pry
2
2
  module SendTweet
3
- VERSION = '0.12.0'
3
+ VERSION = '0.12.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry-send_tweet.rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Gleeson