pry-send_tweet.rb 1.10.6 → 1.11.0

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: 5bab97d2a6c1551e22b98334ca3040ee50e5af8c591e48cc11b1328162005659
4
- data.tar.gz: 410a40dcebddcdf99c2a4911615879c6f6ead14650ea2f3cb311df46a640a71d
3
+ metadata.gz: ad214a885bb207c0852d333eb75c5af73f5987576dd8145d70c91572214ffadb
4
+ data.tar.gz: 92db1569863d0fc92628781b2b3a9efc37da117f5a2d261da3875345f66b5992
5
5
  SHA512:
6
- metadata.gz: f5f965682b51989702578fddf8b88540064281fe9465427df90a4c71bc71858f958c17eace049ebb9bec9492063501ca3ed0eb8e2eab6cdcbe5f3675b88d7c27
7
- data.tar.gz: c94062f66b64931a40a489539e75bac84388aeb8ccd557b1db6056ae6e9be47d291beb4beef629e729aba15b1c5b861828a3828bfdbefe2a00d70322146a4934
6
+ metadata.gz: 3e26ff0bdcdf9f58fdf09e3c65caf5bbd09b70dfa9e85484a3365aab48db7245f32c54cb1f2fdd541c8f91cf5dd5d8157158e058f28c09eec3557a2703891d23
7
+ data.tar.gz: 1a61caefdc18d596b12b5ee024eb28e7c32e5e6c185dd47fbbf1fa202edba725c041244709289b1a1ff7410475e9372a7231fce1d3c9f281c1b97c574b17055e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## v1.11.0 (ChairmanKim)
4
+
5
+ * Add disco biscuit(s)
6
+
7
+ * Change codename for the v1.11 series to `ChairmanKim`.
8
+
3
9
  ## v1.10.6 (PresidentReagan)
4
10
 
5
11
  * Add disco biscuit(s)
@@ -393,9 +393,25 @@ Pry.commands.instance_eval do
393
393
  'CRuby' => 'https://www.youtube.com/watch?v=H4YRPdRXKFs',
394
394
  'CRuby' => 'https://www.youtube.com/watch?v=H4YRPdRXKFs',
395
395
  'To write in C, is to think in C, the Unix way. Go away Java.' => 'https://www.youtube.com/watch?v=DiSgkXDhSg8',
396
- 'To write in C, is to think in C, the Unix way. Go away Java.' => 'https://www.youtube.com/watch?v=DiSgkXDhSg8'
396
+ 'To write in C, is to think in C, the Unix way. Go away Java.' => 'https://www.youtube.com/watch?v=DiSgkXDhSg8',
397
+ 'Reagan - Peace Through Strength' => 'https://www.youtube.com/watch?v=DWYrcnehito',
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'
397
400
  }
398
401
  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")
413
+ next
414
+ end
399
415
  key = DISCO_BISCUITS.keys.uniq.sample
400
416
  _pry_.output.puts [key, DISCO_BISCUITS[key]].join("\n")
401
417
  end
@@ -1,6 +1,6 @@
1
1
  class Pry
2
2
  module SendTweet
3
- VERSION = '1.10.6'
4
- CODENAME = 'PresidentReagan'
3
+ VERSION = '1.11.0'
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.10.6
4
+ version: 1.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pry developers