rage_flip 1.1.0 → 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/Gemfile +2 -1
- data/README.md +593 -131
- 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 +4 -5
- data/exe/flip +17 -0
- data/exe/flip_text +4 -5
- data/exe/rage_flip +4 -5
- data/exe/sarcasm +4 -5
- data/exe/strikethrough +4 -5
- data/exe/table_flip +4 -5
- 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 +47 -17
- data/lib/rage_flip/flipper.rb +11 -11
- 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 +3 -2
- data/spec/rage_flip_spec.rb +99 -99
- data/spec/spec_helper.rb +3 -3
- metadata +6 -1
data/README.md
CHANGED
@@ -1,282 +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
|
28
44
|
|
29
|
-
|
45
|
+
```emote bullshit # Output: 🐄💩
|
30
46
|
|
31
|
-
|
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: 🐨💩
|
56
|
+
|
57
|
+
### rage_flipemote batshit # Output: 🦇💩
|
32
58
|
|
33
|
-
```bash
|
34
|
-
rage_flip "Hello World"
|
35
|
-
# Output: (ノಠ益ಠ)ノ彡┻plɹoM ollǝH┻
|
36
|
-
# Result is automatically copied to clipboard
|
37
59
|
```
|
38
60
|
|
39
|
-
The flip
|
40
|
-
|
41
|
-
|
42
|
-
|
61
|
+
The main command flips text upside down and adds rage table flip emoticons:
|
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
|
+
```
|
43
86
|
|
44
87
|
### table_flip
|
45
88
|
|
46
|
-
|
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:
|
47
92
|
|
48
93
|
```bash
|
49
|
-
|
50
|
-
# 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
|
+
|
51
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
|
+
|
52
165
|
```
|
53
166
|
|
54
|
-
|
167
|
+
The gem provides several command-line utilities for text manipulation:
|
55
168
|
|
56
|
-
|
169
|
+
#### Shit Emotes
|
57
170
|
|
58
|
-
|
171
|
+
Various poop emoji combinations:### rage_flip
|
59
172
|
|
60
173
|
```bash
|
61
|
-
|
62
|
-
# Output:
|
63
|
-
|
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
|
+
|
64
189
|
```
|
65
190
|
|
66
|
-
|
191
|
+
The flip transformation:
|
192
|
+
|
193
|
+
#### Text Substitutions- Reverses the text order
|
67
194
|
|
68
|
-
|
195
|
+
Keyboard shortcuts and symbols:- Maps characters to their upside-down equivalents
|
69
196
|
|
70
|
-
|
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
|
216
|
+
|
217
|
+
```
|
218
|
+
|
219
|
+
#### Special Emotes
|
220
|
+
|
221
|
+
Multi-line and unique expressions:Uses the classic `(╯°□°)╯︵` and `┻━┻` emoticons for a more traditional table flip style.
|
71
222
|
|
72
223
|
```bash
|
224
|
+
|
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
|
+
|
251
|
+
|
252
|
+
|
253
|
+
### sarcasmThe emote system provides various emoticons and emoji sequences:
|
254
|
+
|
255
|
+
|
256
|
+
|
257
|
+
Alternates between uppercase and lowercase characters:```bash
|
258
|
+
|
73
259
|
emote # List all available emotes
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
emote
|
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
|
+
|
78
269
|
emote dogshit # Output: �💩
|
79
|
-
|
270
|
+
|
271
|
+
### strikethroughemote pandashit # Output: 🐼💩
|
272
|
+
|
80
273
|
emote horseshit # Output: 🐴💩
|
81
|
-
|
274
|
+
|
275
|
+
Adds strikethrough formatting to text using Unicode combining characters:emote batshit # Output: 🦇💩
|
276
|
+
|
82
277
|
```
|
83
278
|
|
84
|
-
|
279
|
+
```bash
|
85
280
|
|
86
|
-
|
281
|
+
strikethrough "crossed out text"All emotes are accessed through the `emote` command followed by the emote name.
|
87
282
|
|
88
|
-
|
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
|
89
294
|
|
90
|
-
```bash
|
91
295
|
sarcasm "this is sarcastic"
|
92
|
-
# Output: ThIs Is SaRcAsTiC
|
93
|
-
```
|
94
296
|
|
95
|
-
|
297
|
+
```bash# Output: ThIs Is SaRcAsTiC
|
96
298
|
|
97
|
-
|
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
|
98
312
|
|
99
|
-
```bash
|
100
313
|
strikethrough "crossed out text"
|
101
|
-
# Output: c̶r̶o̶s̶s̶e̶d̶ ̶o̶u̶t̶ ̶t̶e̶x̶t̶
|
102
|
-
```
|
103
314
|
|
104
|
-
|
315
|
+
```bash# Output: c̶r̶o̶s̶s̶e̶d̶ ̶o̶u̶t̶ ̶t̶e̶x̶t̶
|
105
316
|
|
106
|
-
|
317
|
+
doubleunderline "double underlined"```
|
318
|
+
|
319
|
+
# Output: d̳o̳u̳b̳l̳e̳ ̳u̳n̳d̳e̳r̳l̳i̳n̳e̳d̳
|
320
|
+
|
321
|
+
```### underline
|
322
|
+
|
323
|
+
|
324
|
+
|
325
|
+
### chaosAdds single underline formatting:
|
326
|
+
|
327
|
+
|
328
|
+
|
329
|
+
Adds random Unicode combining characters for a chaotic effect:```bash
|
107
330
|
|
108
|
-
```bash
|
109
331
|
underline "underlined text"
|
110
|
-
# Output: u̲n̲d̲e̲r̲l̲i̲n̲e̲d̲ ̲t̲e̲x̲t̲
|
111
|
-
```
|
112
332
|
|
113
|
-
|
333
|
+
```bash# Output: u̲n̲d̲e̲r̲l̲i̲n̲e̲d̲ ̲t̲e̲x̲t̲
|
114
334
|
|
115
|
-
|
335
|
+
chaos "chaotic text"```
|
336
|
+
|
337
|
+
# Output: c̸̰̈h̴̲̆a̷̰̋ò̶̰ẗ̸̲ḭ̷̋c̶̰̈ ̸̰̈t̷̰̋ĕ̴̲ẍ̸̰t̷̰̋
|
338
|
+
|
339
|
+
```### doubleunderline
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
The chaos level is persistently stored in `~/.chaos_level.txt` and can be controlled with the `chaos_level` command.Adds double underline formatting:
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
### chaos_level```bash
|
116
348
|
|
117
|
-
```bash
|
118
349
|
doubleunderline "double underlined"
|
119
|
-
# Output: d̳o̳u̳b̳l̳e̳ ̳u̳n̳d̳e̳r̳l̳i̳n̳e̳d̳
|
120
|
-
```
|
121
350
|
|
122
|
-
|
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̳
|
123
352
|
|
124
|
-
|
353
|
+
```
|
125
354
|
|
126
355
|
```bash
|
127
|
-
|
356
|
+
|
357
|
+
chaos_level # Show current chaos level### chaos
|
358
|
+
|
359
|
+
chaos_level show # Show current chaos level
|
360
|
+
|
361
|
+
chaos_level more # Increase chaos level by 1Adds random Unicode combining characters for a chaotic effect:
|
362
|
+
|
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
|
+
|
128
369
|
# Output: c̸̰̈h̴̲̆a̷̰̋ò̶̰ẗ̸̲ḭ̷̋c̶̰̈ ̸̰̈t̷̰̋ĕ̴̲ẍ̸̰t̷̰̋
|
129
|
-
```
|
130
370
|
|
131
|
-
The chaos level is
|
371
|
+
The default chaos level is 10. Higher numbers create more chaotic effects.```
|
132
372
|
|
133
|
-
### chaos_level
|
134
373
|
|
135
|
-
Controls the chaos level for the chaos command:
|
136
374
|
|
137
|
-
|
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
|
+
|
138
389
|
chaos_level # Show current chaos level
|
139
|
-
|
390
|
+
|
391
|
+
All commands automatically copy their output to the clipboard and display the result.chaos_level show # Show current chaos level
|
392
|
+
|
140
393
|
chaos_level more # Increase chaos level by 1
|
141
|
-
|
394
|
+
|
395
|
+
## Character Mappingschaos_level less # Decrease chaos level by 1
|
396
|
+
|
142
397
|
chaos_level 15 # Set chaos level to 15
|
143
|
-
```
|
144
398
|
|
145
|
-
The
|
399
|
+
The flip functionality uses comprehensive character mappings including:```
|
400
|
+
|
146
401
|
|
147
|
-
|
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
|
148
410
|
|
149
411
|
The gem automatically detects your platform and uses the appropriate clipboard command:
|
150
412
|
|
413
|
+
## Comprehensive Emote Collection
|
414
|
+
|
151
415
|
- **macOS**: Uses `pbcopy`
|
152
|
-
|
416
|
+
|
417
|
+
The gem includes an extensive collection of emotes organized into categories:- **Linux**: Uses `xclip` or `xsel` (install one of these first)
|
418
|
+
|
153
419
|
- **Windows**: Uses `clip`
|
154
420
|
|
155
|
-
|
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
|
+
|
425
|
+
|
156
426
|
|
157
|
-
## Character Mappings
|
427
|
+
### Expressions & Gestures ## Character Mappings
|
428
|
+
|
429
|
+
- `shrug`, `fu`, `facepalm`, `rock`, `bugeyes`, `dogshrug`, `yuno`
|
158
430
|
|
159
431
|
The flip functionality uses comprehensive character mappings including:
|
160
432
|
|
161
|
-
|
433
|
+
### Poop Emotes
|
434
|
+
|
435
|
+
- `bullshit`, `catshit`, `dogshit`, `pandashit`, `horseshit`, `koalashit`, `batshit`- Regular alphabet (A-Z, a-z)
|
436
|
+
|
162
437
|
- Numbers (0-9)
|
163
|
-
- Common punctuation and symbols
|
164
|
-
- Special Unicode characters for upside-down equivalents
|
165
438
|
|
166
|
-
|
439
|
+
### Keyboard Symbols- Common punctuation and symbols
|
440
|
+
|
441
|
+
- `cmd`/`command` (⌘), `optn`/`option` (⌥), `cntl` (⌃), `shft`/`shift` (⇧), `cmd-` (⌘-)- Special Unicode characters for upside-down equivalents
|
167
442
|
|
168
|
-
|
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`
|
169
462
|
|
170
463
|
## Library Usage
|
171
464
|
|
172
|
-
|
465
|
+
### Poop Emotes
|
173
466
|
|
174
|
-
|
175
|
-
|
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
|
+
|
475
|
+
|
476
|
+
|
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`
|
176
480
|
|
177
|
-
# Flip text with rage emoticons
|
178
|
-
RageFlip::Flipper.rage_flip("Hello World")
|
179
481
|
# => "(ノಠ益ಠ)ノ彡┻plɹoM ollǝH┻"
|
180
482
|
|
483
|
+
Use `emote list` to see all available emotes with their outputs.
|
484
|
+
|
181
485
|
# Flip text with classic table flip emoticons
|
182
|
-
|
486
|
+
|
487
|
+
RageFlip::Flipper.table_flip("Hello World")## Persistent Settings
|
488
|
+
|
183
489
|
# => "(╯°□°)╯︵ plɹoM ollǝH ┻━┻"
|
184
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
|
+
|
185
493
|
# Just flip without emoticons
|
186
|
-
|
494
|
+
|
495
|
+
RageFlip::Flipper.flip("Hello")## Library Usage
|
496
|
+
|
187
497
|
# => "ollǝH"
|
188
498
|
|
499
|
+
You can also use the gem programmatically:
|
500
|
+
|
189
501
|
# Flip text (same as flip)
|
190
|
-
|
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
|
+
|
191
537
|
# => "ollǝH"
|
192
538
|
|
193
|
-
#
|
194
|
-
|
539
|
+
# Chaos
|
540
|
+
|
541
|
+
RageFlip::Chaos.process("text", 5)# Sarcastic text
|
542
|
+
|
543
|
+
# => "t̸e̷x̸t̷"RageFlip::Sarcasm.process("hello world")
|
544
|
+
|
195
545
|
# => "HeLlO WoRlD"
|
196
546
|
|
197
|
-
#
|
198
|
-
|
547
|
+
# Emotes
|
548
|
+
|
549
|
+
RageFlip::Emote.process("disapproval")# Strikethrough
|
550
|
+
|
551
|
+
# => "(ಠ_ಠ)"RageFlip::Strikethrough.process("text")
|
552
|
+
|
199
553
|
# => "t̶e̶x̶t̶"
|
200
554
|
|
201
|
-
|
555
|
+
RageFlip::Emote.process("bullshit")
|
556
|
+
|
557
|
+
# => "🐄💩"# Underline (single or double)
|
558
|
+
|
202
559
|
RageFlip::Underline.single_underline("text")
|
203
|
-
|
560
|
+
|
561
|
+
RageFlip::Emote.process("cmd")# => "t̲e̲x̲t̲"
|
562
|
+
|
563
|
+
# => "⌘"
|
204
564
|
|
205
565
|
RageFlip::Underline.double_underline("text")
|
206
|
-
|
566
|
+
|
567
|
+
RageFlip::Emote.process("shrug")# => "t̳e̳x̳t̳"
|
568
|
+
|
569
|
+
# => "¯\_(ツ)_/¯"
|
207
570
|
|
208
571
|
# Chaos
|
209
|
-
RageFlip::Chaos.process("text", 5)
|
210
|
-
# => "t̸e̷x̸t̷"
|
211
572
|
|
212
|
-
|
213
|
-
RageFlip::Emote.process("disapproval")
|
214
|
-
# => "(ಠ_ಠ)"
|
573
|
+
RageFlip::Emote.list_emotesRageFlip::Chaos.process("text", 5)
|
215
574
|
|
216
|
-
|
217
|
-
# => "🐄💩"
|
575
|
+
# => "Available emotes:\n batshit - 🦇💩\n bugeyes - (⊙_◎)\n bullshit - 🐄💩\n..."# => "t̸e̷x̸t̷"
|
218
576
|
|
219
|
-
RageFlip::Emote.list_emotes
|
220
|
-
# => "Available emotes:\n disapproval - (ಠ_ಠ)\n bullshit - 🐄💩\n..."
|
221
577
|
|
222
|
-
|
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
|
+
|
223
597
|
RageFlip::Clipboard.copy("text to copy")
|
224
|
-
|
598
|
+
|
599
|
+
```RageFlip::Emote.process("shrug")
|
600
|
+
|
601
|
+
# => "¯\_(ツ)_/¯"
|
225
602
|
|
226
603
|
## Development
|
227
604
|
|
228
|
-
|
605
|
+
RageFlip::Emote.list_emotes
|
229
606
|
|
230
|
-
|
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..."
|
231
608
|
|
232
|
-
The gem includes comprehensive version management tools:
|
233
609
|
|
234
|
-
#### Rake Tasks
|
235
610
|
|
236
|
-
|
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
|
+
|
237
625
|
# Show current version
|
238
|
-
rake version:show
|
239
626
|
|
240
|
-
|
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
|
+
|
241
633
|
rake version:bump:patch
|
242
634
|
|
635
|
+
## Development
|
636
|
+
|
243
637
|
# Bump minor version (1.0.0 -> 1.1.0)
|
244
|
-
rake version:bump:minor
|
245
638
|
|
246
|
-
|
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
|
+
|
247
645
|
rake version:bump:major
|
248
646
|
|
647
|
+
The gem includes comprehensive version management tools:
|
648
|
+
|
249
649
|
# Set specific version
|
250
|
-
|
650
|
+
|
651
|
+
rake version:set[1.2.3]#### Rake Tasks
|
652
|
+
|
251
653
|
```
|
252
654
|
|
253
|
-
|
655
|
+
```bash
|
656
|
+
|
657
|
+
#### Version Script# Show current version
|
658
|
+
|
659
|
+
rake version:show
|
254
660
|
|
255
661
|
```bash
|
256
|
-
# Show current version
|
257
|
-
./bin/version show
|
258
662
|
|
259
|
-
# Bump
|
260
|
-
|
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
|
+
|
261
673
|
./bin/version minor
|
262
|
-
|
674
|
+
|
675
|
+
./bin/version major# Bump major version (1.0.0 -> 2.0.0)
|
676
|
+
|
677
|
+
rake version:bump:major
|
263
678
|
|
264
679
|
# Set specific version
|
265
|
-
|
680
|
+
|
681
|
+
./bin/version set 1.2.3# Set specific version
|
682
|
+
|
683
|
+
```rake version:set[1.2.3]
|
684
|
+
|
266
685
|
```
|
267
686
|
|
268
687
|
#### Release Process
|
269
688
|
|
689
|
+
#### Version Script
|
690
|
+
|
270
691
|
```bash
|
271
|
-
|
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
|
+
|
272
727
|
rake release
|
273
|
-
|
728
|
+
|
729
|
+
## Contributing# This will: run tests, build gem, create git tag
|
730
|
+
|
274
731
|
```
|
275
732
|
|
733
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/stringsn88keys/rage_flip_gem.
|
734
|
+
|
276
735
|
### Automated CI/CD
|
277
736
|
|
737
|
+
## License
|
738
|
+
|
278
739
|
The project includes GitHub Actions workflows for:
|
279
|
-
|
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
|
280
742
|
- **Automated Releases**: Creates GitHub releases when commits start with "Release v"
|
281
743
|
|
282
744
|
To create a release:
|