rage_flip 1.2.0 → 1.2.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/LICENSE +21 -0
- data/README.md +174 -557
- data/lib/rage_flip/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: fa9cda34297e4bfd6fd10db91ca8b3335f95bd627efa60de584885b50d981ba5
|
4
|
+
data.tar.gz: a21987321b127f04a7cf9799d91f87b4892a22579b6c6ee12624e34545360ca6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e2df21e6f7d91375a6d1e44bf02a2b9431d77054e079623c6d3abb83a5d2fd3de7ada309b18285846157a5416da1876fd8f38e22e27348aeee5481822a5d4a7
|
7
|
+
data.tar.gz: 66215a4590a50a2f70000c9f3314813968e19b151bb912e2cf51cb0cdf909816b21cea27d146a14b2632c72ee39649eda0376511d53bea8f4b9360319ccaeb5b
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2025 Thomas Powell
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
CHANGED
@@ -1,744 +1,361 @@
|
|
1
|
-
# RageFlip
|
1
|
+
# RageFlip
|
2
2
|
|
3
|
+
`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.
|
3
4
|
|
5
|
+
## Installation
|
4
6
|
|
5
|
-
|
7
|
+
Add this line to your application's Gemfile:
|
6
8
|
|
9
|
+
```ruby
|
10
|
+
gem 'rage_flip'
|
11
|
+
```
|
7
12
|
|
13
|
+
And then execute:
|
8
14
|
|
9
|
-
|
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
|
-
|
15
|
+
```bash
|
16
|
+
bundle install
|
35
17
|
```
|
36
18
|
|
37
19
|
Or install it yourself as:
|
38
20
|
|
39
|
-
|
40
|
-
|
41
|
-
```bashVarious poop emoji combinations:
|
42
|
-
|
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: 🐨💩
|
56
|
-
|
57
|
-
### rage_flipemote batshit # Output: 🦇💩
|
58
|
-
|
21
|
+
```bash
|
22
|
+
gem install rage_flip
|
59
23
|
```
|
60
24
|
|
61
|
-
|
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: ⌘
|
25
|
+
## Usage
|
70
26
|
|
71
|
-
|
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: ⌃
|
27
|
+
The gem provides several command-line utilities for text manipulation:
|
80
28
|
|
81
|
-
|
29
|
+
### rage_flip
|
82
30
|
|
83
|
-
|
31
|
+
The main command flips text upside down and adds rage table flip emoticons:
|
84
32
|
|
33
|
+
```bash
|
34
|
+
rage_flip "Hello World"
|
35
|
+
# Output: (ノಠ益ಠ)ノ彡┻plɹoM ollǝH┻
|
36
|
+
# Result is automatically copied to clipboard
|
85
37
|
```
|
86
38
|
|
87
|
-
|
39
|
+
The flip transformation:
|
40
|
+
- Reverses the text order
|
41
|
+
- Maps characters to their upside-down equivalents
|
42
|
+
- Wraps the result with `(ノಠ益ಠ)ノ彡┻` and `┻`
|
88
43
|
|
89
|
-
|
44
|
+
### table_flip
|
90
45
|
|
91
|
-
The classic table flip command flips text upside down with the iconic table flip emoticons:
|
46
|
+
The classic table flip command flips text upside down with the iconic table flip emoticons:
|
92
47
|
|
93
48
|
```bash
|
49
|
+
table_flip "Hello World"
|
50
|
+
# Output: (╯°□°)╯︵ plɹoM ollǝH ┻━┻
|
51
|
+
# Result is automatically copied to clipboard
|
52
|
+
```
|
94
53
|
|
95
|
-
|
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
|
-
|
54
|
+
Uses the classic `(╯°□°)╯︵` and `┻━┻` emoticons for a more traditional table flip style.
|
117
55
|
|
56
|
+
### flip_text
|
118
57
|
|
119
|
-
|
58
|
+
Flips text upside down without any emoticons:
|
120
59
|
|
60
|
+
```bash
|
121
61
|
flip_text "Hello World"
|
122
|
-
|
123
|
-
# Output: plɹoM ollǝH## Installation
|
124
|
-
|
62
|
+
# Output: plɹoM ollǝH
|
125
63
|
# Result is automatically copied to clipboard
|
64
|
+
```
|
126
65
|
|
127
|
-
|
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
|
66
|
+
Just the pure flipped text without any rage or table flip decorations.
|
144
67
|
|
145
|
-
emote
|
68
|
+
### emote
|
146
69
|
|
147
|
-
emote
|
70
|
+
The emote system provides a comprehensive collection of emoticons, text substitutions, and emoji sequences:
|
148
71
|
|
72
|
+
```bash
|
73
|
+
emote # List all available emotes
|
74
|
+
emote list # List all available emotes
|
149
75
|
emote disapproval # Output: (ಠ_ಠ)
|
150
|
-
|
151
|
-
emote rage # Output: ಠ益ಠOr install it yourself as:
|
152
|
-
|
76
|
+
emote rage # Output: ಠ益ಠ
|
153
77
|
emote flip # Output: (╯°□°)╯︵ ┻━┻
|
154
|
-
|
155
|
-
emote
|
156
|
-
|
157
|
-
emote shrug # Output: ¯\_(ツ)_/¯gem install rage_flip
|
158
|
-
|
159
|
-
emote fu # Output: t(-__-t)```
|
160
|
-
|
78
|
+
emote rageflip # Output: (ノಠ益ಠ)ノ彡┻━┻
|
79
|
+
emote shrug # Output: ¯\_(ツ)_/¯
|
80
|
+
emote fu # Output: t(-__-t)
|
161
81
|
emote facepalm # Output: (-‸ლ)
|
162
|
-
|
163
|
-
emote rock # Output: \m/ (>_<) \m/## Usage
|
164
|
-
|
82
|
+
emote rock # Output: \m/ (>_<) \m/
|
165
83
|
```
|
166
84
|
|
167
|
-
The gem provides several command-line utilities for text manipulation:
|
168
|
-
|
169
85
|
#### Shit Emotes
|
170
|
-
|
171
|
-
Various poop emoji combinations:### rage_flip
|
86
|
+
Various poop emoji combinations:
|
172
87
|
|
173
88
|
```bash
|
174
|
-
|
175
|
-
emote bullshit # Output: 🐄💩The main command flips text upside down and adds rage table flip emoticons:
|
176
|
-
|
89
|
+
emote bullshit # Output: 🐄💩
|
177
90
|
emote catshit # Output: 🐱💩
|
178
|
-
|
179
|
-
emote
|
180
|
-
|
181
|
-
emote
|
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
|
-
|
91
|
+
emote dogshit # Output: 🐶💩
|
92
|
+
emote pandashit # Output: 🐼💩
|
93
|
+
emote horseshit # Output: 🐴💩
|
94
|
+
emote koalashit # Output: 🐨💩
|
95
|
+
emote batshit # Output: 🦇💩
|
189
96
|
```
|
190
97
|
|
191
|
-
|
192
|
-
|
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 `┻`
|
98
|
+
#### Text Substitutions
|
99
|
+
Keyboard shortcuts and symbols:
|
198
100
|
|
101
|
+
```bash
|
199
102
|
emote cmd # Output: ⌘
|
200
|
-
|
201
|
-
emote command # Output: ⌘### table_flip
|
202
|
-
|
103
|
+
emote command # Output: ⌘
|
203
104
|
emote cmd- # Output: ⌘-
|
204
|
-
|
205
|
-
emote optn # Output: ⌥The classic table flip command flips text upside down with the iconic table flip emoticons:
|
206
|
-
|
105
|
+
emote optn # Output: ⌥
|
207
106
|
emote option # Output: ⌥
|
208
|
-
|
209
|
-
emote
|
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
|
-
|
107
|
+
emote cntl # Output: ⌃
|
108
|
+
emote shft # Output: ⇧
|
109
|
+
emote shift # Output: ⇧
|
217
110
|
```
|
218
111
|
|
219
112
|
#### Special Emotes
|
220
|
-
|
221
|
-
Multi-line and unique expressions:Uses the classic `(╯°□°)╯︵` and `┻━┻` emoticons for a more traditional table flip style.
|
113
|
+
Multi-line and unique expressions:
|
222
114
|
|
223
115
|
```bash
|
224
|
-
|
225
|
-
emote kungfuhamster # Output: Multi-line ASCII hamster### flip_text
|
226
|
-
|
116
|
+
emote kungfuhamster # Output: Multi-line ASCII hamster
|
227
117
|
emote noevil # Output: 🙈🙉🙊
|
228
|
-
|
229
|
-
emote omw # Output: On my way!Flips text upside down without any emoticons:
|
230
|
-
|
118
|
+
emote omw # Output: On my way!
|
231
119
|
emote bugeyes # Output: (⊙_◎)
|
232
|
-
|
233
|
-
emote
|
234
|
-
|
235
|
-
emote
|
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
|
-
|
120
|
+
emote dogshrug # Output: ¯\_🐶_/¯
|
121
|
+
emote javaflip # Output: (╯°□°)╯︵ ┻ɐʌɐɾ┻
|
122
|
+
emote heresatable # Output: ┬─┬ ノ( ゜-゜ノ)
|
123
|
+
emote shrugtable # Output: ┻━┻ ︵ ¯\(ツ)/¯ ︵ ┻━┻
|
124
|
+
emote unsee # Output: ♨_♨
|
243
125
|
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
|
-
|
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
126
|
```
|
278
127
|
|
279
|
-
|
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
|
-
|
128
|
+
All emotes are accessed through the `emote` command followed by the emote name. Use `emote list` to see the complete collection of available emotes.
|
287
129
|
|
130
|
+
### sarcasm
|
288
131
|
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
Adds single underline formatting:```bash
|
132
|
+
Alternates between uppercase and lowercase characters:
|
294
133
|
|
134
|
+
```bash
|
295
135
|
sarcasm "this is sarcastic"
|
136
|
+
# Output: ThIs Is SaRcAsTiC
|
137
|
+
```
|
296
138
|
|
297
|
-
|
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
|
-
|
139
|
+
### strikethrough
|
310
140
|
|
311
|
-
Adds
|
141
|
+
Adds strikethrough formatting to text using Unicode combining characters:
|
312
142
|
|
143
|
+
```bash
|
313
144
|
strikethrough "crossed out text"
|
145
|
+
# Output: c̶r̶o̶s̶s̶e̶d̶ ̶o̶u̶t̶ ̶t̶e̶x̶t̶
|
146
|
+
```
|
314
147
|
|
315
|
-
|
316
|
-
|
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
|
-
|
148
|
+
### underline
|
328
149
|
|
329
|
-
Adds
|
150
|
+
Adds single underline formatting:
|
330
151
|
|
152
|
+
```bash
|
331
153
|
underline "underlined text"
|
154
|
+
# Output: u̲n̲d̲e̲r̲l̲i̲n̲e̲d̲ ̲t̲e̲x̲t̲
|
155
|
+
```
|
332
156
|
|
333
|
-
|
334
|
-
|
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
|
-
|
157
|
+
### doubleunderline
|
346
158
|
|
347
|
-
|
159
|
+
Adds double underline formatting:
|
348
160
|
|
161
|
+
```bash
|
349
162
|
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
|
-
|
163
|
+
# Output: d̳o̳u̳b̳l̳e̳ ̳u̳n̳d̳e̳r̳l̳i̳n̳e̳d̳
|
353
164
|
```
|
354
165
|
|
355
|
-
|
356
|
-
|
357
|
-
chaos_level # Show current chaos level### chaos
|
358
|
-
|
359
|
-
chaos_level show # Show current chaos level
|
166
|
+
### chaos
|
360
167
|
|
361
|
-
|
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"
|
168
|
+
Adds random Unicode combining characters for a chaotic effect:
|
368
169
|
|
170
|
+
```bash
|
171
|
+
chaos "chaotic text"
|
369
172
|
# Output: c̸̰̈h̴̲̆a̷̰̋ò̶̰ẗ̸̲ḭ̷̋c̶̰̈ ̸̰̈t̷̰̋ĕ̴̲ẍ̸̰t̷̰̋
|
173
|
+
```
|
370
174
|
|
371
|
-
The
|
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:
|
175
|
+
The chaos level is persistently stored in `~/.chaos_level.txt` and can be controlled with the `chaos_level` command.
|
384
176
|
|
385
|
-
|
177
|
+
### chaos_level
|
386
178
|
|
387
|
-
|
179
|
+
Controls the chaos level for the chaos command:
|
388
180
|
|
181
|
+
```bash
|
389
182
|
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
|
-
|
183
|
+
chaos_level show # Show current chaos level
|
393
184
|
chaos_level more # Increase chaos level by 1
|
394
|
-
|
395
|
-
## Character Mappingschaos_level less # Decrease chaos level by 1
|
396
|
-
|
185
|
+
chaos_level less # Decrease chaos level by 1
|
397
186
|
chaos_level 15 # Set chaos level to 15
|
187
|
+
```
|
398
188
|
|
399
|
-
The
|
400
|
-
|
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
|
189
|
+
The default chaos level is 10. Higher numbers create more chaotic effects.
|
408
190
|
|
409
|
-
-
|
191
|
+
## Platform-Specific Clipboard Support
|
410
192
|
|
411
193
|
The gem automatically detects your platform and uses the appropriate clipboard command:
|
412
194
|
|
413
|
-
## Comprehensive Emote Collection
|
414
|
-
|
415
195
|
- **macOS**: Uses `pbcopy`
|
416
|
-
|
417
|
-
The gem includes an extensive collection of emotes organized into categories:- **Linux**: Uses `xclip` or `xsel` (install one of these first)
|
418
|
-
|
196
|
+
- **Linux**: Uses `xclip` or `xsel` (install one of these first)
|
419
197
|
- **Windows**: Uses `clip`
|
420
198
|
|
421
|
-
|
422
|
-
|
423
|
-
- `disapproval`, `rage`, `flip`, `rageflip`, `javaflip`, `shrugtable`All commands automatically copy their output to the clipboard and display the result.
|
199
|
+
All commands automatically copy their output to the clipboard and display the result.
|
424
200
|
|
425
|
-
|
426
|
-
|
427
|
-
### Expressions & Gestures ## Character Mappings
|
428
|
-
|
429
|
-
- `shrug`, `fu`, `facepalm`, `rock`, `bugeyes`, `dogshrug`, `yuno`
|
201
|
+
## Character Mappings
|
430
202
|
|
431
203
|
The flip functionality uses comprehensive character mappings including:
|
432
204
|
|
433
|
-
|
434
|
-
|
435
|
-
- `bullshit`, `catshit`, `dogshit`, `pandashit`, `horseshit`, `koalashit`, `batshit`- Regular alphabet (A-Z, a-z)
|
436
|
-
|
205
|
+
- Regular alphabet (A-Z, a-z)
|
437
206
|
- Numbers (0-9)
|
207
|
+
- Common punctuation and symbols
|
208
|
+
- Special Unicode characters for upside-down equivalents
|
438
209
|
|
439
|
-
|
440
|
-
|
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`
|
210
|
+
## Comprehensive Emote Collection
|
448
211
|
|
449
212
|
The gem includes an extensive collection of emotes organized into categories:
|
450
213
|
|
451
|
-
Use `emote list` to see all available emotes with their outputs.
|
452
|
-
|
453
214
|
### Rage & Flipping
|
215
|
+
- `disapproval`, `rage`, `flip`, `rageflip`, `javaflip`, `shrugtable`
|
454
216
|
|
455
|
-
|
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
|
-
|
217
|
+
### Expressions & Gestures
|
461
218
|
- `shrug`, `fu`, `facepalm`, `rock`, `bugeyes`, `dogshrug`, `yuno`
|
462
219
|
|
463
|
-
## Library Usage
|
464
|
-
|
465
220
|
### Poop Emotes
|
221
|
+
- `bullshit`, `catshit`, `dogshit`, `pandashit`, `horseshit`, `koalashit`, `batshit`
|
466
222
|
|
467
|
-
|
468
|
-
|
223
|
+
### Keyboard Symbols
|
224
|
+
- `cmd`/`command` (⌘), `optn`/`option` (⌥), `cntl` (⌃), `shft`/`shift` (⇧), `cmd-` (⌘-)
|
469
225
|
|
226
|
+
### Special Characters
|
227
|
+
- `noevil` (🙈🙉🙊), `omw` ("On my way!"), `heresatable`, `kungfuhamster` (ASCII art), `unsee`
|
470
228
|
|
471
|
-
|
229
|
+
Use `emote list` to see all available emotes with their outputs.
|
472
230
|
|
473
|
-
|
231
|
+
## Persistent Settings
|
474
232
|
|
233
|
+
- **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.
|
475
234
|
|
235
|
+
## Library Usage
|
476
236
|
|
477
|
-
|
237
|
+
You can also use the gem programmatically:
|
478
238
|
|
479
|
-
|
239
|
+
```ruby
|
240
|
+
require 'rage_flip'
|
480
241
|
|
242
|
+
# Flip text with rage emoticons
|
243
|
+
RageFlip::Flipper.rage_flip("Hello World")
|
481
244
|
# => "(ノಠ益ಠ)ノ彡┻plɹoM ollǝH┻"
|
482
245
|
|
483
|
-
Use `emote list` to see all available emotes with their outputs.
|
484
|
-
|
485
246
|
# Flip text with classic table flip emoticons
|
486
|
-
|
487
|
-
RageFlip::Flipper.table_flip("Hello World")## Persistent Settings
|
488
|
-
|
247
|
+
RageFlip::Flipper.table_flip("Hello World")
|
489
248
|
# => "(╯°□°)╯︵ plɹoM ollǝH ┻━┻"
|
490
249
|
|
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
|
-
|
493
250
|
# Just flip without emoticons
|
494
|
-
|
495
|
-
RageFlip::Flipper.flip("Hello")## Library Usage
|
496
|
-
|
251
|
+
RageFlip::Flipper.flip("Hello")
|
497
252
|
# => "ollǝH"
|
498
253
|
|
499
|
-
You can also use the gem programmatically:
|
500
|
-
|
501
254
|
# 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
|
-
|
255
|
+
RageFlip::Flipper.flip_text("Hello")
|
537
256
|
# => "ollǝH"
|
538
257
|
|
539
|
-
#
|
540
|
-
|
541
|
-
RageFlip::Chaos.process("text", 5)# Sarcastic text
|
542
|
-
|
543
|
-
# => "t̸e̷x̸t̷"RageFlip::Sarcasm.process("hello world")
|
544
|
-
|
258
|
+
# Sarcastic text
|
259
|
+
RageFlip::Sarcasm.process("hello world")
|
545
260
|
# => "HeLlO WoRlD"
|
546
261
|
|
547
|
-
#
|
548
|
-
|
549
|
-
RageFlip::Emote.process("disapproval")# Strikethrough
|
550
|
-
|
551
|
-
# => "(ಠ_ಠ)"RageFlip::Strikethrough.process("text")
|
552
|
-
|
262
|
+
# Strikethrough
|
263
|
+
RageFlip::Strikethrough.process("text")
|
553
264
|
# => "t̶e̶x̶t̶"
|
554
265
|
|
555
|
-
|
556
|
-
|
557
|
-
# => "🐄💩"# Underline (single or double)
|
558
|
-
|
266
|
+
# Underline (single or double)
|
559
267
|
RageFlip::Underline.single_underline("text")
|
560
|
-
|
561
|
-
RageFlip::Emote.process("cmd")# => "t̲e̲x̲t̲"
|
562
|
-
|
563
|
-
# => "⌘"
|
268
|
+
# => "t̲e̲x̲t̲"
|
564
269
|
|
565
270
|
RageFlip::Underline.double_underline("text")
|
566
|
-
|
567
|
-
RageFlip::Emote.process("shrug")# => "t̳e̳x̳t̳"
|
568
|
-
|
569
|
-
# => "¯\_(ツ)_/¯"
|
271
|
+
# => "t̳e̳x̳t̳"
|
570
272
|
|
571
273
|
# Chaos
|
274
|
+
RageFlip::Chaos.process("text", 5)
|
275
|
+
# => "t̸e̷x̸t̷"
|
572
276
|
|
573
|
-
|
574
|
-
|
575
|
-
# => "
|
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# => "🐄💩"
|
277
|
+
# Emotes
|
278
|
+
RageFlip::Emote.process("disapproval")
|
279
|
+
# => "(ಠ_ಠ)"
|
590
280
|
|
591
|
-
|
281
|
+
RageFlip::Emote.process("bullshit")
|
282
|
+
# => "🐄💩"
|
592
283
|
|
593
284
|
RageFlip::Emote.process("cmd")
|
285
|
+
# => "⌘"
|
594
286
|
|
595
|
-
|
596
|
-
|
597
|
-
RageFlip::Clipboard.copy("text to copy")
|
598
|
-
|
599
|
-
```RageFlip::Emote.process("shrug")
|
600
|
-
|
287
|
+
RageFlip::Emote.process("shrug")
|
601
288
|
# => "¯\_(ツ)_/¯"
|
602
289
|
|
603
|
-
## Development
|
604
|
-
|
605
290
|
RageFlip::Emote.list_emotes
|
291
|
+
# => "Available emotes:\n batshit - 🦇💩\n bugeyes - (⊙_◎)\n..."
|
606
292
|
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
### Version Management# Check if emote exists
|
612
|
-
|
293
|
+
# Check if emote exists
|
613
294
|
RageFlip::Emote.emote_exists?("rage")
|
295
|
+
# => true
|
614
296
|
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
#### Rake Tasks# Get all emote names
|
620
|
-
|
297
|
+
# Get all emote names
|
621
298
|
RageFlip::Emote.emote_names
|
299
|
+
# => ["disapproval", "bullshit", "catshit", ...]
|
622
300
|
|
623
|
-
|
624
|
-
|
625
|
-
# Show current version
|
626
|
-
|
627
|
-
rake version:show# Copy to clipboard
|
628
|
-
|
301
|
+
# Copy to clipboard
|
629
302
|
RageFlip::Clipboard.copy("text to copy")
|
630
|
-
|
631
|
-
# Bump patch version (1.0.0 -> 1.0.1)```
|
632
|
-
|
633
|
-
rake version:bump:patch
|
303
|
+
```
|
634
304
|
|
635
305
|
## Development
|
636
306
|
|
637
|
-
|
307
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests.
|
638
308
|
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
# Bump major version (1.0.0 -> 2.0.0)### Version Management
|
644
|
-
|
645
|
-
rake version:bump:major
|
309
|
+
### Version Management
|
646
310
|
|
647
311
|
The gem includes comprehensive version management tools:
|
648
312
|
|
649
|
-
|
650
|
-
|
651
|
-
rake version:set[1.2.3]#### Rake Tasks
|
652
|
-
|
653
|
-
```
|
313
|
+
#### Rake Tasks
|
654
314
|
|
655
315
|
```bash
|
656
|
-
|
657
|
-
#### Version Script# Show current version
|
658
|
-
|
316
|
+
# Show current version
|
659
317
|
rake version:show
|
660
318
|
|
661
|
-
|
662
|
-
|
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
|
-
|
673
|
-
./bin/version minor
|
319
|
+
# Bump patch version (1.0.0 -> 1.0.1)
|
320
|
+
rake version:bump:patch
|
674
321
|
|
675
|
-
|
322
|
+
# Bump minor version (1.0.0 -> 1.1.0)
|
323
|
+
rake version:bump:minor
|
676
324
|
|
325
|
+
# Bump major version (1.0.0 -> 2.0.0)
|
677
326
|
rake version:bump:major
|
678
327
|
|
679
328
|
# Set specific version
|
680
|
-
|
681
|
-
./bin/version set 1.2.3# Set specific version
|
682
|
-
|
683
|
-
```rake version:set[1.2.3]
|
684
|
-
|
329
|
+
rake version:set[1.2.3]
|
685
330
|
```
|
686
331
|
|
687
|
-
#### Release Process
|
688
|
-
|
689
332
|
#### Version Script
|
690
333
|
|
691
334
|
```bash
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
rake release# Show current version
|
696
|
-
|
697
|
-
# This will: run tests, build gem, create git tag./bin/version show
|
698
|
-
|
699
|
-
```
|
335
|
+
# Show current version
|
336
|
+
./bin/version show
|
700
337
|
|
701
338
|
# Bump versions
|
702
|
-
|
703
|
-
### Automated CI/CD./bin/version patch
|
704
|
-
|
339
|
+
./bin/version patch
|
705
340
|
./bin/version minor
|
341
|
+
./bin/version major
|
706
342
|
|
707
|
-
|
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
|
-
|
343
|
+
# Set specific version
|
713
344
|
./bin/version set 1.2.3
|
345
|
+
```
|
714
346
|
|
715
|
-
|
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
|
347
|
+
#### Release Process
|
726
348
|
|
349
|
+
```bash
|
350
|
+
# Complete release workflow
|
727
351
|
rake release
|
728
|
-
|
729
|
-
## Contributing# This will: run tests, build gem, create git tag
|
730
|
-
|
352
|
+
# This will: run tests, build gem, create git tag
|
731
353
|
```
|
732
354
|
|
733
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/stringsn88keys/rage_flip_gem.
|
734
|
-
|
735
355
|
### Automated CI/CD
|
736
356
|
|
737
|
-
## License
|
738
|
-
|
739
357
|
The project includes GitHub Actions workflows for:
|
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
|
358
|
+
- **Continuous Integration**: Runs tests on Ruby 3.0, 3.1, and 3.2
|
742
359
|
- **Automated Releases**: Creates GitHub releases when commits start with "Release v"
|
743
360
|
|
744
361
|
To create a release:
|
data/lib/rage_flip/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rage_flip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Powell
|
@@ -60,6 +60,7 @@ extra_rdoc_files: []
|
|
60
60
|
files:
|
61
61
|
- CHANGELOG.md
|
62
62
|
- Gemfile
|
63
|
+
- LICENSE
|
63
64
|
- README.md
|
64
65
|
- Rakefile
|
65
66
|
- bin/console
|