rage_flip 1.0.1 → 1.2.0
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 +21 -0
- data/Gemfile +2 -1
- data/README.md +620 -98
- data/Rakefile +23 -23
- data/exe/chaos +4 -5
- data/exe/chaos_level +4 -4
- data/exe/disapproval +17 -0
- data/exe/doubleunderline +4 -5
- data/exe/emote +31 -0
- data/exe/flip +17 -0
- data/exe/flip_text +20 -0
- data/exe/rage_flip +4 -5
- data/exe/sarcasm +4 -5
- data/exe/strikethrough +4 -5
- data/exe/table_flip +20 -0
- data/exe/underline +4 -5
- data/lib/rage_flip/chaos.rb +13 -13
- data/lib/rage_flip/clipboard.rb +1 -1
- data/lib/rage_flip/emote.rb +69 -0
- data/lib/rage_flip/flipper.rb +19 -8
- data/lib/rage_flip/sarcasm.rb +1 -1
- data/lib/rage_flip/strikethrough.rb +3 -3
- data/lib/rage_flip/text_substitution.rb +61 -0
- data/lib/rage_flip/underline.rb +5 -5
- data/lib/rage_flip/version.rb +2 -2
- data/lib/rage_flip.rb +4 -2
- data/spec/rage_flip_spec.rb +128 -60
- data/spec/spec_helper.rb +3 -3
- metadata +13 -1
data/README.md
CHANGED
@@ -1,222 +1,744 @@
|
|
1
|
-
# RageFlip
|
1
|
+
# RageFlip# RageFlip
|
2
2
|
|
3
|
-
`rage_flip` is a Ruby gem that provides text manipulation utilities with clipboard integration. It flips text upside down with rage table flip emoticons and includes several other text formatting tools.
|
4
3
|
|
5
|
-
## Installation
|
6
4
|
|
7
|
-
|
5
|
+
`rage_flip` is a comprehensive Ruby gem that provides text manipulation utilities with clipboard integration. It flips text upside down with rage table flip emoticons, includes extensive text formatting tools, and features a rich collection of emotes and text substitutions for enhanced communication.`rage_flip` is a Ruby gem that provides text manipulati### emote
|
8
6
|
|
9
|
-
```ruby
|
10
|
-
gem 'rage_flip'
|
11
|
-
```
|
12
7
|
|
13
|
-
And then execute:
|
14
8
|
|
15
|
-
|
16
|
-
|
9
|
+
## InstallationThe emote system provides a comprehensive collection of emoticons, text substitutions, and emoji sequences:
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
Add this line to your application's Gemfile:```bash
|
14
|
+
|
15
|
+
emote # List all available emotes
|
16
|
+
|
17
|
+
```rubyemote list # List all available emotes
|
18
|
+
|
19
|
+
gem 'rage_flip'emote disapproval # Output: (ಠ_ಠ)
|
20
|
+
|
21
|
+
```emote rage # Output: ಠ益ಠ
|
22
|
+
|
23
|
+
emote flip # Output: (╯°□°)╯︵ ┻━┻
|
24
|
+
|
25
|
+
And then execute:emote rageflip # Output: (ノಠ益ಠ)ノ彡┻━┻
|
26
|
+
|
27
|
+
emote shrug # Output: ¯\_(ツ)_/¯
|
28
|
+
|
29
|
+
```bashemote fu # Output: t(-__-t)
|
30
|
+
|
31
|
+
bundle installemote facepalm # Output: (-‸ლ)
|
32
|
+
|
33
|
+
```emote rock # Output: \m/ (>_<) \m/
|
34
|
+
|
17
35
|
```
|
18
36
|
|
19
37
|
Or install it yourself as:
|
20
38
|
|
21
|
-
|
22
|
-
gem install rage_flip
|
23
|
-
```
|
39
|
+
#### Shit Emotes
|
24
40
|
|
25
|
-
|
41
|
+
```bashVarious poop emoji combinations:
|
26
42
|
|
27
|
-
|
43
|
+
gem install rage_flip```bash
|
44
|
+
|
45
|
+
```emote bullshit # Output: 🐄💩
|
46
|
+
|
47
|
+
emote catshit # Output: 🐱💩
|
48
|
+
|
49
|
+
## Usageemote dogshit # Output: 🐶💩
|
50
|
+
|
51
|
+
emote pandashit # Output: 🐼💩
|
52
|
+
|
53
|
+
The gem provides several command-line utilities for text manipulation:emote horseshit # Output: 🐴💩
|
54
|
+
|
55
|
+
emote koalashit # Output: 🐨💩
|
28
56
|
|
29
|
-
###
|
57
|
+
### rage_flipemote batshit # Output: 🦇💩
|
58
|
+
|
59
|
+
```
|
30
60
|
|
31
61
|
The main command flips text upside down and adds rage table flip emoticons:
|
32
62
|
|
63
|
+
#### Text Substitutions
|
64
|
+
|
65
|
+
```bashKeyboard shortcuts and symbols:
|
66
|
+
|
67
|
+
rage_flip "Hello World"```bash
|
68
|
+
|
69
|
+
# Output: (ノಠ益ಠ)ノ彡┻plɹoM ollǝH┻ emote cmd # Output: ⌘
|
70
|
+
|
71
|
+
# Result is automatically copied to clipboardemote command # Output: ⌘
|
72
|
+
|
73
|
+
```emote cmd- # Output: ⌘-
|
74
|
+
|
75
|
+
emote optn # Output: ⌥
|
76
|
+
|
77
|
+
The flip transformation:emote option # Output: ⌥
|
78
|
+
|
79
|
+
- Reverses the text orderemote cntl # Output: ⌃
|
80
|
+
|
81
|
+
- Maps characters to their upside-down equivalentsemote shft # Output: ⇧
|
82
|
+
|
83
|
+
- Wraps the result with `(ノಠ益ಠ)ノ彡┻` and `┻`emote shift # Output: ⇧
|
84
|
+
|
85
|
+
```
|
86
|
+
|
87
|
+
### table_flip
|
88
|
+
|
89
|
+
#### Special Emotes
|
90
|
+
|
91
|
+
The classic table flip command flips text upside down with the iconic table flip emoticons:Multi-line and unique expressions:
|
92
|
+
|
33
93
|
```bash
|
34
|
-
|
35
|
-
# Output:
|
94
|
+
|
95
|
+
```bashemote kungfuhamster # Output: Multi-line ASCII hamster
|
96
|
+
|
97
|
+
table_flip "Hello World"emote noevil # Output: 🙈🙉🙊
|
98
|
+
|
99
|
+
# Output: (╯°□°)╯︵ plɹoM ollǝH ┻━┻emote omw # Output: On my way!
|
100
|
+
|
101
|
+
# Result is automatically copied to clipboardemote bugeyes # Output: (⊙_◎)
|
102
|
+
|
103
|
+
```emote dogshrug # Output: ¯\_🐶_/¯
|
104
|
+
|
105
|
+
emote javaflip # Output: (╯°□°)╯︵ ┻ɐʌɐɾ┻
|
106
|
+
|
107
|
+
Uses the classic `(╯°□°)╯︵` and `┻━┻` emoticons for a more traditional table flip style.emote heresatable # Output: ┬─┬ ノ( ゜-゜ノ)
|
108
|
+
|
109
|
+
emote shrugtable # Output: ┻━┻ ︵ ¯\(ツ)/¯ ︵ ┻━┻
|
110
|
+
|
111
|
+
### flip_textemote unsee # Output: ♨_♨
|
112
|
+
|
113
|
+
emote yuno # Output: ლ(ಠ益ಠლ)
|
114
|
+
|
115
|
+
Flips text upside down without any emoticons:```
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
```bashAll emotes are accessed through the `emote` command followed by the emote name. Use `emote list` to see the complete collection of available emotes. clipboard integration. It flips text upside down with rage table flip emoticons and includes several other text formatting tools.
|
120
|
+
|
121
|
+
flip_text "Hello World"
|
122
|
+
|
123
|
+
# Output: plɹoM ollǝH## Installation
|
124
|
+
|
36
125
|
# Result is automatically copied to clipboard
|
126
|
+
|
127
|
+
```Add this line to your application's Gemfile:
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
Just the pure flipped text without any rage or table flip decorations.```ruby
|
132
|
+
|
133
|
+
gem 'rage_flip'
|
134
|
+
|
135
|
+
### emote```
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
The emote system provides a comprehensive collection of emoticons, text substitutions, and emoji sequences:And then execute:
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
```bash```bash
|
144
|
+
|
145
|
+
emote # List all available emotesbundle install
|
146
|
+
|
147
|
+
emote list # List all available emotes ```
|
148
|
+
|
149
|
+
emote disapproval # Output: (ಠ_ಠ)
|
150
|
+
|
151
|
+
emote rage # Output: ಠ益ಠOr install it yourself as:
|
152
|
+
|
153
|
+
emote flip # Output: (╯°□°)╯︵ ┻━┻
|
154
|
+
|
155
|
+
emote rageflip # Output: (ノಠ益ಠ)ノ彡┻━┻```bash
|
156
|
+
|
157
|
+
emote shrug # Output: ¯\_(ツ)_/¯gem install rage_flip
|
158
|
+
|
159
|
+
emote fu # Output: t(-__-t)```
|
160
|
+
|
161
|
+
emote facepalm # Output: (-‸ლ)
|
162
|
+
|
163
|
+
emote rock # Output: \m/ (>_<) \m/## Usage
|
164
|
+
|
37
165
|
```
|
38
166
|
|
39
|
-
The
|
40
|
-
- Reverses the text order
|
41
|
-
- Maps characters to their upside-down equivalents
|
42
|
-
- Wraps the result with `(ノಠ益ಠ)ノ彡┻` and `┻`
|
167
|
+
The gem provides several command-line utilities for text manipulation:
|
43
168
|
|
44
|
-
|
169
|
+
#### Shit Emotes
|
45
170
|
|
46
|
-
|
171
|
+
Various poop emoji combinations:### rage_flip
|
47
172
|
|
48
173
|
```bash
|
49
|
-
|
50
|
-
# Output:
|
174
|
+
|
175
|
+
emote bullshit # Output: 🐄💩The main command flips text upside down and adds rage table flip emoticons:
|
176
|
+
|
177
|
+
emote catshit # Output: 🐱💩
|
178
|
+
|
179
|
+
emote dogshit # Output: 🐶💩```bash
|
180
|
+
|
181
|
+
emote pandashit # Output: 🐼💩rage_flip "Hello World"
|
182
|
+
|
183
|
+
emote horseshit # Output: 🐴💩# Output: (ノಠ益ಠ)ノ彡┻plɹoM ollǝH┻
|
184
|
+
|
185
|
+
emote koalashit # Output: 🐨💩# Result is automatically copied to clipboard
|
186
|
+
|
187
|
+
emote batshit # Output: 🦇💩```
|
188
|
+
|
51
189
|
```
|
52
190
|
|
53
|
-
|
191
|
+
The flip transformation:
|
54
192
|
|
55
|
-
|
193
|
+
#### Text Substitutions- Reverses the text order
|
194
|
+
|
195
|
+
Keyboard shortcuts and symbols:- Maps characters to their upside-down equivalents
|
196
|
+
|
197
|
+
```bash- Wraps the result with `(ノಠ益ಠ)ノ彡┻` and `┻`
|
198
|
+
|
199
|
+
emote cmd # Output: ⌘
|
200
|
+
|
201
|
+
emote command # Output: ⌘### table_flip
|
202
|
+
|
203
|
+
emote cmd- # Output: ⌘-
|
204
|
+
|
205
|
+
emote optn # Output: ⌥The classic table flip command flips text upside down with the iconic table flip emoticons:
|
206
|
+
|
207
|
+
emote option # Output: ⌥
|
208
|
+
|
209
|
+
emote cntl # Output: ⌃```bash
|
210
|
+
|
211
|
+
emote shft # Output: ⇧table_flip "Hello World"
|
212
|
+
|
213
|
+
emote shift # Output: ⇧# Output: (╯°□°)╯︵ plɹoM ollǝH ┻━┻
|
214
|
+
|
215
|
+
```# Result is automatically copied to clipboard
|
56
216
|
|
57
|
-
```bash
|
58
|
-
strikethrough "crossed out text"
|
59
|
-
# Output: c̶r̶o̶s̶s̶e̶d̶ ̶o̶u̶t̶ ̶t̶e̶x̶t̶
|
60
217
|
```
|
61
218
|
|
62
|
-
|
219
|
+
#### Special Emotes
|
63
220
|
|
64
|
-
|
221
|
+
Multi-line and unique expressions:Uses the classic `(╯°□°)╯︵` and `┻━┻` emoticons for a more traditional table flip style.
|
65
222
|
|
66
223
|
```bash
|
67
|
-
underline "underlined text"
|
68
|
-
# Output: u̲n̲d̲e̲r̲l̲i̲n̲e̲d̲ ̲t̲e̲x̲t̲
|
69
|
-
```
|
70
224
|
|
71
|
-
###
|
225
|
+
emote kungfuhamster # Output: Multi-line ASCII hamster### flip_text
|
226
|
+
|
227
|
+
emote noevil # Output: 🙈🙉🙊
|
228
|
+
|
229
|
+
emote omw # Output: On my way!Flips text upside down without any emoticons:
|
230
|
+
|
231
|
+
emote bugeyes # Output: (⊙_◎)
|
232
|
+
|
233
|
+
emote dogshrug # Output: ¯\_🐶_/¯```bash
|
234
|
+
|
235
|
+
emote javaflip # Output: (╯°□°)╯︵ ┻ɐʌɐɾ┻flip_text "Hello World"
|
236
|
+
|
237
|
+
emote heresatable # Output: ┬─┬ ノ( ゜-゜ノ)# Output: plɹoM ollǝH
|
238
|
+
|
239
|
+
emote shrugtable # Output: ┻━┻ ︵ ¯\(ツ)/¯ ︵ ┻━┻# Result is automatically copied to clipboard
|
240
|
+
|
241
|
+
emote unsee # Output: ♨_♨```
|
242
|
+
|
243
|
+
emote yuno # Output: ლ(ಠ益ಠლ)
|
244
|
+
|
245
|
+
```Just the pure flipped text without any rage or table flip decorations.
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
All emotes are accessed through the `emote` command followed by the emote name. Use `emote list` to see the complete collection of available emotes.### emote
|
250
|
+
|
72
251
|
|
73
|
-
|
252
|
+
|
253
|
+
### sarcasmThe emote system provides various emoticons and emoji sequences:
|
254
|
+
|
255
|
+
|
256
|
+
|
257
|
+
Alternates between uppercase and lowercase characters:```bash
|
258
|
+
|
259
|
+
emote # List all available emotes
|
260
|
+
|
261
|
+
```bashemote list # List all available emotes
|
262
|
+
|
263
|
+
sarcasm "this is sarcastic"emote disapproval # Output: (ಠ_ಠ)
|
264
|
+
|
265
|
+
# Output: ThIs Is SaRcAsTiCemote bullshit # Output: 🐄💩
|
266
|
+
|
267
|
+
```emote catshit # Output: �💩
|
268
|
+
|
269
|
+
emote dogshit # Output: �💩
|
270
|
+
|
271
|
+
### strikethroughemote pandashit # Output: 🐼💩
|
272
|
+
|
273
|
+
emote horseshit # Output: 🐴💩
|
274
|
+
|
275
|
+
Adds strikethrough formatting to text using Unicode combining characters:emote batshit # Output: 🦇💩
|
276
|
+
|
277
|
+
```
|
74
278
|
|
75
279
|
```bash
|
76
|
-
|
280
|
+
|
281
|
+
strikethrough "crossed out text"All emotes are accessed through the `emote` command followed by the emote name.
|
282
|
+
|
283
|
+
# Output: c̶r̶o̶s̶s̶e̶d̶ ̶o̶u̶t̶ ̶t̶e̶x̶t̶
|
284
|
+
|
285
|
+
```### sarcasm
|
286
|
+
|
287
|
+
|
288
|
+
|
289
|
+
### underlineAlternates between uppercase and lowercase characters:
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
Adds single underline formatting:```bash
|
294
|
+
|
295
|
+
sarcasm "this is sarcastic"
|
296
|
+
|
297
|
+
```bash# Output: ThIs Is SaRcAsTiC
|
298
|
+
|
299
|
+
underline "underlined text"```
|
300
|
+
|
301
|
+
# Output: u̲n̲d̲e̲r̲l̲i̲n̲e̲d̲ ̲t̲e̲x̲t̲
|
302
|
+
|
303
|
+
```### strikethrough
|
304
|
+
|
305
|
+
|
306
|
+
|
307
|
+
### doubleunderlineAdds strikethrough formatting to text using Unicode combining characters:
|
308
|
+
|
309
|
+
|
310
|
+
|
311
|
+
Adds double underline formatting:```bash
|
312
|
+
|
313
|
+
strikethrough "crossed out text"
|
314
|
+
|
315
|
+
```bash# Output: c̶r̶o̶s̶s̶e̶d̶ ̶o̶u̶t̶ ̶t̶e̶x̶t̶
|
316
|
+
|
317
|
+
doubleunderline "double underlined"```
|
318
|
+
|
77
319
|
# Output: d̳o̳u̳b̳l̳e̳ ̳u̳n̳d̳e̳r̳l̳i̳n̳e̳d̳
|
78
|
-
```
|
79
320
|
|
80
|
-
|
321
|
+
```### underline
|
81
322
|
|
82
|
-
Adds random Unicode combining characters for a chaotic effect:
|
83
323
|
|
84
|
-
|
85
|
-
|
324
|
+
|
325
|
+
### chaosAdds single underline formatting:
|
326
|
+
|
327
|
+
|
328
|
+
|
329
|
+
Adds random Unicode combining characters for a chaotic effect:```bash
|
330
|
+
|
331
|
+
underline "underlined text"
|
332
|
+
|
333
|
+
```bash# Output: u̲n̲d̲e̲r̲l̲i̲n̲e̲d̲ ̲t̲e̲x̲t̲
|
334
|
+
|
335
|
+
chaos "chaotic text"```
|
336
|
+
|
86
337
|
# Output: c̸̰̈h̴̲̆a̷̰̋ò̶̰ẗ̸̲ḭ̷̋c̶̰̈ ̸̰̈t̷̰̋ĕ̴̲ẍ̸̰t̷̰̋
|
87
|
-
```
|
88
338
|
|
89
|
-
|
339
|
+
```### doubleunderline
|
340
|
+
|
341
|
+
|
90
342
|
|
91
|
-
|
343
|
+
The chaos level is persistently stored in `~/.chaos_level.txt` and can be controlled with the `chaos_level` command.Adds double underline formatting:
|
92
344
|
|
93
|
-
|
345
|
+
|
346
|
+
|
347
|
+
### chaos_level```bash
|
348
|
+
|
349
|
+
doubleunderline "double underlined"
|
350
|
+
|
351
|
+
Controls the chaos level for the chaos command:# Output: d̳o̳u̳b̳l̳e̳ ̳u̳n̳d̳e̳r̳l̳i̳n̳e̳d̳
|
352
|
+
|
353
|
+
```
|
94
354
|
|
95
355
|
```bash
|
96
|
-
|
356
|
+
|
357
|
+
chaos_level # Show current chaos level### chaos
|
358
|
+
|
97
359
|
chaos_level show # Show current chaos level
|
98
|
-
|
360
|
+
|
361
|
+
chaos_level more # Increase chaos level by 1Adds random Unicode combining characters for a chaotic effect:
|
362
|
+
|
99
363
|
chaos_level less # Decrease chaos level by 1
|
364
|
+
|
365
|
+
chaos_level 15 # Set chaos level to 15```bash
|
366
|
+
|
367
|
+
```chaos "chaotic text"
|
368
|
+
|
369
|
+
# Output: c̸̰̈h̴̲̆a̷̰̋ò̶̰ẗ̸̲ḭ̷̋c̶̰̈ ̸̰̈t̷̰̋ĕ̴̲ẍ̸̰t̷̰̋
|
370
|
+
|
371
|
+
The default chaos level is 10. Higher numbers create more chaotic effects.```
|
372
|
+
|
373
|
+
|
374
|
+
|
375
|
+
## Platform-Specific Clipboard SupportThe chaos level is persistently stored in `~/.chaos_level.txt` and can be controlled with the `chaos_level` command.
|
376
|
+
|
377
|
+
|
378
|
+
|
379
|
+
The gem automatically detects your platform and uses the appropriate clipboard command:### chaos_level
|
380
|
+
|
381
|
+
|
382
|
+
|
383
|
+
- **macOS**: Uses `pbcopy`Controls the chaos level for the chaos command:
|
384
|
+
|
385
|
+
- **Linux**: Uses `xclip` or `xsel` (install one of these first)
|
386
|
+
|
387
|
+
- **Windows**: Uses `clip````bash
|
388
|
+
|
389
|
+
chaos_level # Show current chaos level
|
390
|
+
|
391
|
+
All commands automatically copy their output to the clipboard and display the result.chaos_level show # Show current chaos level
|
392
|
+
|
393
|
+
chaos_level more # Increase chaos level by 1
|
394
|
+
|
395
|
+
## Character Mappingschaos_level less # Decrease chaos level by 1
|
396
|
+
|
100
397
|
chaos_level 15 # Set chaos level to 15
|
101
|
-
```
|
102
398
|
|
103
|
-
The
|
399
|
+
The flip functionality uses comprehensive character mappings including:```
|
104
400
|
|
105
|
-
|
401
|
+
|
402
|
+
|
403
|
+
- Regular alphabet (A-Z, a-z)The default chaos level is 10. Higher numbers create more chaotic effects.
|
404
|
+
|
405
|
+
- Numbers (0-9)
|
406
|
+
|
407
|
+
- Common punctuation and symbols## Platform-Specific Clipboard Support
|
408
|
+
|
409
|
+
- Special Unicode characters for upside-down equivalents
|
106
410
|
|
107
411
|
The gem automatically detects your platform and uses the appropriate clipboard command:
|
108
412
|
|
413
|
+
## Comprehensive Emote Collection
|
414
|
+
|
109
415
|
- **macOS**: Uses `pbcopy`
|
110
|
-
|
416
|
+
|
417
|
+
The gem includes an extensive collection of emotes organized into categories:- **Linux**: Uses `xclip` or `xsel` (install one of these first)
|
418
|
+
|
111
419
|
- **Windows**: Uses `clip`
|
112
420
|
|
113
|
-
|
421
|
+
### Rage & Flipping
|
422
|
+
|
423
|
+
- `disapproval`, `rage`, `flip`, `rageflip`, `javaflip`, `shrugtable`All commands automatically copy their output to the clipboard and display the result.
|
424
|
+
|
114
425
|
|
115
|
-
|
426
|
+
|
427
|
+
### Expressions & Gestures ## Character Mappings
|
428
|
+
|
429
|
+
- `shrug`, `fu`, `facepalm`, `rock`, `bugeyes`, `dogshrug`, `yuno`
|
116
430
|
|
117
431
|
The flip functionality uses comprehensive character mappings including:
|
118
432
|
|
119
|
-
|
433
|
+
### Poop Emotes
|
434
|
+
|
435
|
+
- `bullshit`, `catshit`, `dogshit`, `pandashit`, `horseshit`, `koalashit`, `batshit`- Regular alphabet (A-Z, a-z)
|
436
|
+
|
120
437
|
- Numbers (0-9)
|
121
|
-
- Common punctuation and symbols
|
122
|
-
- Special Unicode characters for upside-down equivalents
|
123
438
|
|
124
|
-
|
439
|
+
### Keyboard Symbols- Common punctuation and symbols
|
125
440
|
|
126
|
-
-
|
441
|
+
- `cmd`/`command` (⌘), `optn`/`option` (⌥), `cntl` (⌃), `shft`/`shift` (⇧), `cmd-` (⌘-)- Special Unicode characters for upside-down equivalents
|
442
|
+
|
443
|
+
|
444
|
+
|
445
|
+
### Special Characters## Comprehensive Emote Collection
|
446
|
+
|
447
|
+
- `noevil` (🙈🙉🙊), `omw` ("On my way!"), `heresatable`, `kungfuhamster` (ASCII art), `unsee`
|
448
|
+
|
449
|
+
The gem includes an extensive collection of emotes organized into categories:
|
450
|
+
|
451
|
+
Use `emote list` to see all available emotes with their outputs.
|
452
|
+
|
453
|
+
### Rage & Flipping
|
454
|
+
|
455
|
+
## Persistent Settings- `disapproval`, `rage`, `flip`, `rageflip`, `javaflip`, `shrugtable`
|
456
|
+
|
457
|
+
|
458
|
+
|
459
|
+
- **Chaos Level**: Stored in `~/.chaos_level.txt` and controls the intensity of the chaos effect (default: 10). This setting persists across terminal sessions and system reboots.### Expressions & Gestures
|
460
|
+
|
461
|
+
- `shrug`, `fu`, `facepalm`, `rock`, `bugeyes`, `dogshrug`, `yuno`
|
127
462
|
|
128
463
|
## Library Usage
|
129
464
|
|
130
|
-
|
465
|
+
### Poop Emotes
|
466
|
+
|
467
|
+
You can also use the gem programmatically:- `bullshit`, `catshit`, `dogshit`, `pandashit`, `horseshit`, `koalashit`, `batshit`
|
468
|
+
|
469
|
+
|
470
|
+
|
471
|
+
```ruby### Keyboard Symbols
|
472
|
+
|
473
|
+
require 'rage_flip'- `cmd`/`command` (⌘), `optn`/`option` (⌥), `cntl` (⌃), `shft`/`shift` (⇧), `cmd-` (⌘-)
|
474
|
+
|
131
475
|
|
132
|
-
```ruby
|
133
|
-
require 'rage_flip'
|
134
476
|
|
135
|
-
# Flip text with rage emoticons
|
136
|
-
|
477
|
+
# Flip text with rage emoticons### Special Characters
|
478
|
+
|
479
|
+
RageFlip::Flipper.rage_flip("Hello World")- `noevil` (🙈🙉🙊), `omw` ("On my way!"), `heresatable`, `kungfuhamster` (ASCII art), `unsee`
|
480
|
+
|
137
481
|
# => "(ノಠ益ಠ)ノ彡┻plɹoM ollǝH┻"
|
138
482
|
|
483
|
+
Use `emote list` to see all available emotes with their outputs.
|
484
|
+
|
485
|
+
# Flip text with classic table flip emoticons
|
486
|
+
|
487
|
+
RageFlip::Flipper.table_flip("Hello World")## Persistent Settings
|
488
|
+
|
489
|
+
# => "(╯°□°)╯︵ plɹoM ollǝH ┻━┻"
|
490
|
+
|
491
|
+
- **Chaos Level**: Stored in `~/.chaos_level.txt` and controls the intensity of the chaos effect (default: 10). This setting persists across terminal sessions and system reboots.
|
492
|
+
|
139
493
|
# Just flip without emoticons
|
140
|
-
|
494
|
+
|
495
|
+
RageFlip::Flipper.flip("Hello")## Library Usage
|
496
|
+
|
141
497
|
# => "ollǝH"
|
142
498
|
|
143
|
-
|
144
|
-
|
499
|
+
You can also use the gem programmatically:
|
500
|
+
|
501
|
+
# Flip text (same as flip)
|
502
|
+
|
503
|
+
RageFlip::Flipper.flip_text("Hello")```ruby
|
504
|
+
|
505
|
+
# => "ollǝH"require 'rage_flip'
|
506
|
+
|
507
|
+
|
508
|
+
|
509
|
+
# Sarcastic text# Flip text with rage emoticons
|
510
|
+
|
511
|
+
RageFlip::Sarcasm.process("hello world")RageFlip::Flipper.rage_flip("Hello World")
|
512
|
+
|
513
|
+
# => "HeLlO WoRlD"# => "(ノಠ益ಠ)ノ彡┻plɹoM ollǝH┻"
|
514
|
+
|
515
|
+
|
516
|
+
|
517
|
+
# Strikethrough# Flip text with classic table flip emoticons
|
518
|
+
|
519
|
+
RageFlip::Strikethrough.process("text")RageFlip::Flipper.table_flip("Hello World")
|
520
|
+
|
521
|
+
# => "t̶e̶x̶t̶"# => "(╯°□°)╯︵ plɹoM ollǝH ┻━┻"
|
522
|
+
|
523
|
+
|
524
|
+
|
525
|
+
# Underline (single or double)# Just flip without emoticons
|
526
|
+
|
527
|
+
RageFlip::Underline.single_underline("text")RageFlip::Flipper.flip("Hello")
|
528
|
+
|
529
|
+
# => "t̲e̲x̲t̲"# => "ollǝH"
|
530
|
+
|
531
|
+
|
532
|
+
|
533
|
+
RageFlip::Underline.double_underline("text")# Flip text (same as flip)
|
534
|
+
|
535
|
+
# => "t̳e̳x̳t̳"RageFlip::Flipper.flip_text("Hello")
|
536
|
+
|
537
|
+
# => "ollǝH"
|
538
|
+
|
539
|
+
# Chaos
|
540
|
+
|
541
|
+
RageFlip::Chaos.process("text", 5)# Sarcastic text
|
542
|
+
|
543
|
+
# => "t̸e̷x̸t̷"RageFlip::Sarcasm.process("hello world")
|
544
|
+
|
145
545
|
# => "HeLlO WoRlD"
|
146
546
|
|
147
|
-
#
|
148
|
-
|
547
|
+
# Emotes
|
548
|
+
|
549
|
+
RageFlip::Emote.process("disapproval")# Strikethrough
|
550
|
+
|
551
|
+
# => "(ಠ_ಠ)"RageFlip::Strikethrough.process("text")
|
552
|
+
|
149
553
|
# => "t̶e̶x̶t̶"
|
150
554
|
|
151
|
-
|
555
|
+
RageFlip::Emote.process("bullshit")
|
556
|
+
|
557
|
+
# => "🐄💩"# Underline (single or double)
|
558
|
+
|
152
559
|
RageFlip::Underline.single_underline("text")
|
153
|
-
|
560
|
+
|
561
|
+
RageFlip::Emote.process("cmd")# => "t̲e̲x̲t̲"
|
562
|
+
|
563
|
+
# => "⌘"
|
154
564
|
|
155
565
|
RageFlip::Underline.double_underline("text")
|
156
|
-
|
566
|
+
|
567
|
+
RageFlip::Emote.process("shrug")# => "t̳e̳x̳t̳"
|
568
|
+
|
569
|
+
# => "¯\_(ツ)_/¯"
|
157
570
|
|
158
571
|
# Chaos
|
159
|
-
RageFlip::Chaos.process("text", 5)
|
160
|
-
# => "t̸e̷x̸t̷"
|
161
572
|
|
162
|
-
|
573
|
+
RageFlip::Emote.list_emotesRageFlip::Chaos.process("text", 5)
|
574
|
+
|
575
|
+
# => "Available emotes:\n batshit - 🦇💩\n bugeyes - (⊙_◎)\n bullshit - 🐄💩\n..."# => "t̸e̷x̸t̷"
|
576
|
+
|
577
|
+
|
578
|
+
|
579
|
+
# Check if emote exists# Emotes
|
580
|
+
|
581
|
+
RageFlip::Emote.emote_exists?("rage")RageFlip::Emote.process("disapproval")
|
582
|
+
|
583
|
+
# => true# => "(ಠ_ಠ)"
|
584
|
+
|
585
|
+
|
586
|
+
|
587
|
+
# Get all emote namesRageFlip::Emote.process("bullshit")
|
588
|
+
|
589
|
+
RageFlip::Emote.emote_names# => "🐄💩"
|
590
|
+
|
591
|
+
# => ["disapproval", "bullshit", "catshit", ...]
|
592
|
+
|
593
|
+
RageFlip::Emote.process("cmd")
|
594
|
+
|
595
|
+
# Copy to clipboard# => "⌘"
|
596
|
+
|
163
597
|
RageFlip::Clipboard.copy("text to copy")
|
164
|
-
|
598
|
+
|
599
|
+
```RageFlip::Emote.process("shrug")
|
600
|
+
|
601
|
+
# => "¯\_(ツ)_/¯"
|
165
602
|
|
166
603
|
## Development
|
167
604
|
|
168
|
-
|
605
|
+
RageFlip::Emote.list_emotes
|
169
606
|
|
170
|
-
|
607
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests.# => "Available emotes:\n batshit - 🦇💩\n bugeyes - (⊙_◎)\n bullshit - 🐄💩\n..."
|
171
608
|
|
172
|
-
The gem includes comprehensive version management tools:
|
173
609
|
|
174
|
-
#### Rake Tasks
|
175
610
|
|
176
|
-
|
611
|
+
### Version Management# Check if emote exists
|
612
|
+
|
613
|
+
RageFlip::Emote.emote_exists?("rage")
|
614
|
+
|
615
|
+
The gem includes comprehensive version management tools:# => true
|
616
|
+
|
617
|
+
|
618
|
+
|
619
|
+
#### Rake Tasks# Get all emote names
|
620
|
+
|
621
|
+
RageFlip::Emote.emote_names
|
622
|
+
|
623
|
+
```bash# => ["disapproval", "bullshit", "catshit", ...]
|
624
|
+
|
177
625
|
# Show current version
|
178
|
-
rake version:show
|
179
626
|
|
180
|
-
|
627
|
+
rake version:show# Copy to clipboard
|
628
|
+
|
629
|
+
RageFlip::Clipboard.copy("text to copy")
|
630
|
+
|
631
|
+
# Bump patch version (1.0.0 -> 1.0.1)```
|
632
|
+
|
181
633
|
rake version:bump:patch
|
182
634
|
|
635
|
+
## Development
|
636
|
+
|
183
637
|
# Bump minor version (1.0.0 -> 1.1.0)
|
184
|
-
rake version:bump:minor
|
185
638
|
|
186
|
-
|
639
|
+
rake version:bump:minorAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests.
|
640
|
+
|
641
|
+
|
642
|
+
|
643
|
+
# Bump major version (1.0.0 -> 2.0.0)### Version Management
|
644
|
+
|
187
645
|
rake version:bump:major
|
188
646
|
|
647
|
+
The gem includes comprehensive version management tools:
|
648
|
+
|
189
649
|
# Set specific version
|
190
|
-
|
650
|
+
|
651
|
+
rake version:set[1.2.3]#### Rake Tasks
|
652
|
+
|
191
653
|
```
|
192
654
|
|
193
|
-
|
655
|
+
```bash
|
656
|
+
|
657
|
+
#### Version Script# Show current version
|
658
|
+
|
659
|
+
rake version:show
|
194
660
|
|
195
661
|
```bash
|
196
|
-
# Show current version
|
197
|
-
./bin/version show
|
198
662
|
|
199
|
-
# Bump
|
200
|
-
|
663
|
+
# Show current version# Bump patch version (1.0.0 -> 1.0.1)
|
664
|
+
|
665
|
+
./bin/version showrake version:bump:patch
|
666
|
+
|
667
|
+
|
668
|
+
|
669
|
+
# Bump versions# Bump minor version (1.0.0 -> 1.1.0)
|
670
|
+
|
671
|
+
./bin/version patchrake version:bump:minor
|
672
|
+
|
201
673
|
./bin/version minor
|
202
|
-
|
674
|
+
|
675
|
+
./bin/version major# Bump major version (1.0.0 -> 2.0.0)
|
676
|
+
|
677
|
+
rake version:bump:major
|
203
678
|
|
204
679
|
# Set specific version
|
205
|
-
|
680
|
+
|
681
|
+
./bin/version set 1.2.3# Set specific version
|
682
|
+
|
683
|
+
```rake version:set[1.2.3]
|
684
|
+
|
206
685
|
```
|
207
686
|
|
208
687
|
#### Release Process
|
209
688
|
|
689
|
+
#### Version Script
|
690
|
+
|
210
691
|
```bash
|
211
|
-
|
692
|
+
|
693
|
+
# Complete release workflow```bash
|
694
|
+
|
695
|
+
rake release# Show current version
|
696
|
+
|
697
|
+
# This will: run tests, build gem, create git tag./bin/version show
|
698
|
+
|
699
|
+
```
|
700
|
+
|
701
|
+
# Bump versions
|
702
|
+
|
703
|
+
### Automated CI/CD./bin/version patch
|
704
|
+
|
705
|
+
./bin/version minor
|
706
|
+
|
707
|
+
The project includes GitHub Actions workflows for:./bin/version major
|
708
|
+
|
709
|
+
- **Continuous Integration**: Runs tests on Ruby 3.0, 3.1, and 3.2
|
710
|
+
|
711
|
+
- **Automated Releases**: Creates GitHub releases when commits start with "Release v"# Set specific version
|
712
|
+
|
713
|
+
./bin/version set 1.2.3
|
714
|
+
|
715
|
+
To create a release:```
|
716
|
+
|
717
|
+
1. Bump the version: `./bin/version minor`
|
718
|
+
|
719
|
+
2. Update CHANGELOG.md with changes#### Release Process
|
720
|
+
|
721
|
+
3. Commit: `git commit -am "Release v1.1.0"`
|
722
|
+
|
723
|
+
4. Push: `git push origin main````bash
|
724
|
+
|
725
|
+
5. The CI will automatically create a GitHub release with the built gem# Complete release workflow
|
726
|
+
|
212
727
|
rake release
|
213
|
-
|
728
|
+
|
729
|
+
## Contributing# This will: run tests, build gem, create git tag
|
730
|
+
|
214
731
|
```
|
215
732
|
|
733
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/stringsn88keys/rage_flip_gem.
|
734
|
+
|
216
735
|
### Automated CI/CD
|
217
736
|
|
737
|
+
## License
|
738
|
+
|
218
739
|
The project includes GitHub Actions workflows for:
|
219
|
-
|
740
|
+
|
741
|
+
The gem is available as open source under the terms of the MIT License.- **Continuous Integration**: Runs tests on Ruby 3.0, 3.1, and 3.2
|
220
742
|
- **Automated Releases**: Creates GitHub releases when commits start with "Release v"
|
221
743
|
|
222
744
|
To create a release:
|