pry-send_tweet.rb 1.11.0 → 1.11.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: ad214a885bb207c0852d333eb75c5af73f5987576dd8145d70c91572214ffadb
4
- data.tar.gz: 92db1569863d0fc92628781b2b3a9efc37da117f5a2d261da3875345f66b5992
3
+ metadata.gz: a47f2e4f7317bb27c64d30d16034b432fab5f69a8edabb2ba34216882eeb91c0
4
+ data.tar.gz: ed81d1bdfbbd16d4c9fd4baa6b942b2e2658ee4f3a7eb997c3a70d99c590f71e
5
5
  SHA512:
6
- metadata.gz: 3e26ff0bdcdf9f58fdf09e3c65caf5bbd09b70dfa9e85484a3365aab48db7245f32c54cb1f2fdd541c8f91cf5dd5d8157158e058f28c09eec3557a2703891d23
7
- data.tar.gz: 1a61caefdc18d596b12b5ee024eb28e7c32e5e6c185dd47fbbf1fa202edba725c041244709289b1a1ff7410475e9372a7231fce1d3c9f281c1b97c574b17055e
6
+ metadata.gz: ae46cdf01076e00e09ae0a46a588a4e2b08c62dfb9d7e9d7f26c4ec3eb76b5a24af5ea862f6677fbb928c27ff59ae38733c0835ee1cb2338265901a32f151cf7
7
+ data.tar.gz: bb3ab0dbc0d45821e517a54dcb0bdea600d68d3532c771e15bd35fd9c6831610bde908db0b92f5592b7c99fca9a396c10111cd4d09eb12e5c71c064b1bffeac4
@@ -2,6 +2,16 @@
2
2
 
3
3
  ## v1.11.0 (ChairmanKim)
4
4
 
5
+ * Add warning(s).
6
+
7
+ * Add disco biscuit(s).
8
+
9
+ * Began work to erase `Pry::Slop`, it shall be replaced by `Fry::OParser`.
10
+
11
+ * Enhanced the easter egg feature with `-g`, `--grep` options.
12
+
13
+ ## v1.11.0 (ChairmanKim)
14
+
5
15
  * Add disco biscuit(s)
6
16
 
7
17
  * Change codename for the v1.11 series to `ChairmanKim`.
data/README.md CHANGED
@@ -451,6 +451,14 @@ __#2__ Composing a tweet on FreeBSD 12 - with Vagrant, Tmux.
451
451
 
452
452
  ![FreeBSD-2](/art/52-eec4df2edf.jpg)
453
453
 
454
+ __#3__ The `-g`, `--grep` feature - with Vagrant, Tmux on FreeBSD 12.
455
+
456
+ ![FreeBSD-3](/art/51-da43a4ef4f.jpg)
457
+
458
+ __#4__ Trying to get in touch with @realdonaldtrump on FreeBSD 12.
459
+
460
+ ![FreeBSD-4](/art/51-e94c3387e1.jpg)
461
+
454
462
  ## <a id='license'>License</a>
455
463
 
456
464
  This project uses the MIT license, see [LICENSE.txt](./LICENSE.txt) for details.
Binary file
Binary file
@@ -396,20 +396,15 @@ Pry.commands.instance_eval do
396
396
  'To write in C, is to think in C, the Unix way. Go away Java.' => 'https://www.youtube.com/watch?v=DiSgkXDhSg8',
397
397
  'Reagan - Peace Through Strength' => 'https://www.youtube.com/watch?v=DWYrcnehito',
398
398
  'No Doubt - Don\'t Speak' => 'https://www.youtube.com/watch?v=TR3Vdo5etCQ',
399
- 'Jesse Pinkman\'s Speech - Why Not Self-Acceptance?' => 'https://www.youtube.com/watch?v=njuIKGNcTVE'
399
+ 'Jesse Pinkman\'s Speech - Why Not Self-Acceptance?' => 'https://www.youtube.com/watch?v=njuIKGNcTVE',
400
+ 'Fort Minor - "Remember The Name" (Lyric Video)' => 'https://www.youtube.com/watch?v=bbPNVEB8O7E&t=38s'
400
401
  }
401
402
  command '🎧', '' do
402
- oparser = Pry::Slop.new {|oparser|
403
- oparser.banner 'Wow, Slop sucks as much as TheAlchemist from irc.hack3r.com'
404
- oparser.on 'g=', 'grep=', 'Grep through the easter eggs using a pattern'
405
- }.parse!(arg_string.split(' '))
406
- if oparser.grep?
407
- disco_biscuit = DISCO_BISCUITS.find {|biscuit|
408
- pat = oparser.fetch_option(:g)
409
- puts pat
410
- biscuit =~ /#{pat}/i
411
- }
412
- _pry_.output.puts disco_biscuit.join("\n")
403
+ args = arg_string.split(' ')
404
+ if %w(-g --grep).include?(args[0])
405
+ pat = args[1]
406
+ disco_biscuit = DISCO_BISCUITS.find {|(biscuit, _)| biscuit =~ /#{pat}/i }
407
+ _pry_.pager.page disco_biscuit ? disco_biscuit.join("\n") : "No match"
413
408
  next
414
409
  end
415
410
  key = DISCO_BISCUITS.keys.uniq.sample
@@ -1,6 +1,6 @@
1
1
  class Pry
2
2
  module SendTweet
3
- VERSION = '1.11.0'
3
+ VERSION = '1.11.1'
4
4
  CODENAME = 'ChairmanKim'
5
5
  end
6
6
  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: 1.11.0
4
+ version: 1.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pry developers
@@ -66,6 +66,8 @@ files:
66
66
  - README.md
67
67
  - Vagrantfile
68
68
  - art/44-e44743a5bb.jpg
69
+ - art/51-da43a4ef4f.jpg
70
+ - art/51-e94c3387e1.jpg
69
71
  - art/52-eec4df2edf.jpg
70
72
  - lib/pry-send_tweet.rb
71
73
  - lib/pry/pager/system_pager.rb