pry-send_tweet.rb 1.15.0 → 1.15.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: 553da4c9f6b122d284792221e4bcd9d79a29249b0bc4eb0e3b3df74e54e1f921
4
- data.tar.gz: 5bc88724df19bf8655596ec576e276507b6125b1194590a3ea7c68a010d8467a
3
+ metadata.gz: 290a57b15f7003e3e8adcd7894410abb5d6cd14ded7ad61605484b1c666570cd
4
+ data.tar.gz: 935a6c8a1b540dae7df03e44efa451aa6df161e3715bec5e5b85bb2aa15b8f22
5
5
  SHA512:
6
- metadata.gz: e6d8431b3f63e222b6194ebe0e99537bf5d93fcf2a8158f85659b1cd3458c16267c15e36e1a0707786ea49d801ea2315311b2363747df84942dc8984db195dc5
7
- data.tar.gz: '0790d6e5c14a50b8582f3c8ac7dc4e71cad9a35c4f61a8540e6b9fdc7bdbe538a3f96538a5f2c59c4b702d34bd4fb1012d865cbceda0f27f3327b6485b8d878d'
6
+ metadata.gz: b91ee24d72a35d579498c0c9b7b353567f18e74c317cfaad0c219c5d4d003d5741dcf78400b33440c013a4d4cb4a21becf69a71c13f4e779b8637e7077750500
7
+ data.tar.gz: 0a15c32d4b388456112dabfb1e2d42377bea4df9e625de49e6a4ba45410399951332ce195e78f7b5ce493645ef12b2a50020f48d8011c48673f67c0029bfaeb8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## v1.15.1 (SeeYouAgainMyFriend)
4
+
5
+ * Page `disco-biscuit -g`, `disco-biscuit --grep` results.
6
+
3
7
  ## v1.15.0 (SeeYouAgainMyFriend)
4
8
 
5
9
  * Add a song for Howie.
@@ -1,3 +1,10 @@
1
+ brazilian_truth = <<-ANDRE
2
+ Brazilians are the eternal enemy of the Irish people. They cheat, they lie, they are sly, and
3
+ they want to claim positions they have never held before, at the expense of everyone else. Be wary
4
+ of them, and seriously consider sending all Brazilians in Ireland back home. They operate and work
5
+ for their own - not for the general good.
6
+ ANDRE
7
+
1
8
  Pry.commands.instance_eval do
2
9
  command(/[Bb]ismillah/, "") {
3
10
  _pry_.pager.page [
@@ -426,10 +433,10 @@ Pry.commands.instance_eval do
426
433
  'Michael Collins eliminates "Cairo Gang"' => 'https://www.youtube.com/watch?v=l-L3zeCNzH8',
427
434
  '2Pac - Real Talk (2019)' => 'https://www.youtube.com/watch?v=_3LuY9isL_Y',
428
435
  'Babyshambles - fuck forever lyrics' => 'https://www.youtube.com/watch?v=MOJhmVYv3mw',
429
- 'Brazilians are the eternal enemy of the Irish people. They cheat, they lie, they are sly, and ' \
430
- 'they want to claim positions they have never held before, at the expense of everyone else. Be wary ' \
431
- 'of them, and seriously consider sending all Brazilians in Ireland back home.' => 'https://www.youtube.com/watch?v=_3LuY9isL_Y',
432
- 'Howie' => 'https://www.youtube.com/watch?v=RgKAFK5djSk'
436
+ 'Howie' => 'https://www.youtube.com/watch?v=RgKAFK5djSk',
437
+ 'The Sound of Silence (Original Version from 1964)' => 'https://www.youtube.com/watch?v=4zLfCnGVeL4',
438
+ 'SWAY - STILL SPEEDIN\' (With Lyrics) OUT NOW!!!!' => 'https://www.youtube.com/watch?v=tRldCYkU8nA',
439
+ brazilian_truth => 'https://www.youtube.com/watch?v=-LdYXYNtPJI'
433
440
  }
434
441
  command '🎧', '' do
435
442
  args = arg_string.split(' ')
@@ -438,10 +445,10 @@ Pry.commands.instance_eval do
438
445
  pat = args[1]
439
446
  disco_biscuits = no_dups.select {|(biscuit, _)| biscuit =~ /#{pat}/i }
440
447
  _pry_.pager.page disco_biscuits ?
441
- bright_green("Results\n\n") + disco_biscuits.map{|a| a.join("\n")}.join("\n\n") :
442
- bright_red("No match")
448
+ bright_green("Results\n\n") + disco_biscuits.map{|a| a.join("\n")}.join("\n\n") :
449
+ bright_red("No match")
443
450
  else
444
- _pry_.output.puts no_dups.sample.join("\n")
451
+ _pry_.pager.page no_dups.sample.join("\n")
445
452
  end
446
453
  end
447
454
  alias_command 'disco-biscuits', '🎧'
@@ -1,6 +1,6 @@
1
1
  class Pry
2
2
  module SendTweet
3
- VERSION = '1.15.0'
3
+ VERSION = '1.15.1'
4
4
  CODENAME = 'SeeYouAgainMyFriend'
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.15.0
4
+ version: 1.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pry developers