pry-send_tweet.rb 1.11.8 → 1.11.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +4 -0
- data/art/51-b90d5dd6a6.jpg +0 -0
- data/lib/pry/send_tweet/commands/easter_eggs.rb +6 -5
- data/lib/pry/send_tweet/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7e84a0954209a500ebaa6e08952a5e9e2cba687f4aa02820a3a35550cd61a04c
|
|
4
|
+
data.tar.gz: bf3975b95f28c520dd2ffd61a3011abe3b14342c2d3dbfb7fd5d31504ef552ac
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4b1632ab058fdaa6e88eeaadbffc02903aa8a64d157ae3f84a048d912299340f1d7b7fc8c54a00a7def6a624bfab39d0b63349d784d9a01729aa2f7de1b8006f
|
|
7
|
+
data.tar.gz: f21c7463736e02111e73c068432e3853f3cc969fde50903782d0777b27cd5457f967d4b6c1fa1944b54c3281bd7feb0cffbd959bffe8bd177e20d5189da96bce
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -467,6 +467,10 @@ __#6__ Matching a pattern - with Vagrant, Tmux on FreeBSD 12.
|
|
|
467
467
|
|
|
468
468
|

|
|
469
469
|
|
|
470
|
+
__#7__ Still speedin' - with Vagrant, Tmux on FreeBSD 12.
|
|
471
|
+
|
|
472
|
+

|
|
473
|
+
|
|
470
474
|
## <a id='license'>License</a>
|
|
471
475
|
|
|
472
476
|
This project uses the MIT license, see [LICENSE.txt](./LICENSE.txt) for details.
|
|
Binary file
|
|
@@ -410,20 +410,21 @@ Pry.commands.instance_eval do
|
|
|
410
410
|
'Rich The Kid - New Freezer ft. Kendrick Lamar (Bass Boosted)' => 'https://www.youtube.com/watch?v=VDJKBueqW3c',
|
|
411
411
|
'Highlights: Liverpool Legends 5-5 FC Bayern Legends | Alonso, Gerrard, Kuyt and more' => 'https://www.youtube.com/watch?v=njiW0R1W8GI',
|
|
412
412
|
'Ronald Regan Patriotic Speech' => 'https://www.youtube.com/watch?v=4hGQ97tCTOs',
|
|
413
|
-
'Kid CuDi Mr Rager Lyrics' => 'https://www.youtube.com/watch?v=PMPC2jY27rw'
|
|
413
|
+
'Kid CuDi Mr Rager Lyrics' => 'https://www.youtube.com/watch?v=PMPC2jY27rw',
|
|
414
|
+
'Mr. Rager-Kid Cudi' => 'https://www.youtube.com/watch?v=rCLBGY0huVE'
|
|
414
415
|
}
|
|
415
416
|
command '🎧', '' do
|
|
416
417
|
args = arg_string.split(' ')
|
|
418
|
+
no_dups = DISCO_BISCUITS.uniq
|
|
417
419
|
if %w(-g --grep).include?(args[0])
|
|
418
420
|
pat = args[1]
|
|
419
|
-
disco_biscuits =
|
|
421
|
+
disco_biscuits = no_dups.select {|(biscuit, _)| biscuit =~ /#{pat}/i }
|
|
420
422
|
_pry_.pager.page disco_biscuits ?
|
|
421
423
|
bright_green("Results\n\n") + disco_biscuits.map{|a| a.join("\n")}.join("\n\n") :
|
|
422
424
|
bright_red("No match")
|
|
423
|
-
|
|
425
|
+
else
|
|
426
|
+
_pry_.output.puts no_dups.sample.join("\n")
|
|
424
427
|
end
|
|
425
|
-
key = DISCO_BISCUITS.keys.uniq.sample
|
|
426
|
-
_pry_.output.puts [key, DISCO_BISCUITS[key]].join("\n")
|
|
427
428
|
end
|
|
428
429
|
alias_command 'disco-biscuits', '🎧'
|
|
429
430
|
|
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.
|
|
4
|
+
version: 1.11.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pry developers
|
|
@@ -69,6 +69,7 @@ files:
|
|
|
69
69
|
- art/44-e44743a5bb.jpg
|
|
70
70
|
- art/51-5e4dc5fd92.jpg
|
|
71
71
|
- art/51-ad821fa377.jpg
|
|
72
|
+
- art/51-b90d5dd6a6.jpg
|
|
72
73
|
- art/51-da43a4ef4f.jpg
|
|
73
74
|
- art/51-e94c3387e1.jpg
|
|
74
75
|
- art/52-eec4df2edf.jpg
|