pry-send_tweet.rb 1.11.0 → 1.11.1
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 +10 -0
- data/README.md +8 -0
- data/art/51-da43a4ef4f.jpg +0 -0
- data/art/51-e94c3387e1.jpg +0 -0
- data/lib/pry/send_tweet/commands/easter_eggs.rb +7 -12
- data/lib/pry/send_tweet/version.rb +1 -1
- metadata +3 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a47f2e4f7317bb27c64d30d16034b432fab5f69a8edabb2ba34216882eeb91c0
|
|
4
|
+
data.tar.gz: ed81d1bdfbbd16d4c9fd4baa6b942b2e2658ee4f3a7eb997c3a70d99c590f71e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ae46cdf01076e00e09ae0a46a588a4e2b08c62dfb9d7e9d7f26c4ec3eb76b5a24af5ea862f6677fbb928c27ff59ae38733c0835ee1cb2338265901a32f151cf7
|
|
7
|
+
data.tar.gz: bb3ab0dbc0d45821e517a54dcb0bdea600d68d3532c771e15bd35fd9c6831610bde908db0b92f5592b7c99fca9a396c10111cd4d09eb12e5c71c064b1bffeac4
|
data/CHANGELOG.md
CHANGED
|
@@ -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
|

|
|
453
453
|
|
|
454
|
+
__#3__ The `-g`, `--grep` feature - with Vagrant, Tmux on FreeBSD 12.
|
|
455
|
+
|
|
456
|
+

|
|
457
|
+
|
|
458
|
+
__#4__ Trying to get in touch with @realdonaldtrump on FreeBSD 12.
|
|
459
|
+
|
|
460
|
+

|
|
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
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
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
|
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.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
|