rage_flip 2.0.0 → 2.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b86a366479821eab16ac2a748fd125cc50dcad7b569cf6a4cc830d903551905b
4
- data.tar.gz: 2dd1402db10cb5b806ad32b09416ab37571e0557922663986e84d45717735914
3
+ metadata.gz: 0fde40cd0f09c1b29ea4432ed15263337b829700027ece7042ab2b869c83932b
4
+ data.tar.gz: f6092a70d572ee2424c87957ead7d7ca23b26eb0dbc9d32106a368411b2ae90b
5
5
  SHA512:
6
- metadata.gz: f9439a69676fb611cff1f37c5072ded2cf75abdc2ce2a68db7039ec734dac3711e0f92827c9c892dbb15c000c6cdd062127116596defd4d0b6020a919eabf8ef
7
- data.tar.gz: b6900c7339f8cb43cd3196a588a19012871f13fa43e2d9b71ff3cb4a5f99fe5d00b6a69135ce18675e61056780e2c12e54cb52a9b49639d7c671609a1a3ca212
6
+ metadata.gz: fbe2e47df3b6bc470440d21675cf2f1e560a4fff69fb933cde8a2cc825a86ad0a9e007f131daedabaa9c594497ab2eb13198f4a62d5296be5e8b28f14be5ed1a
7
+ data.tar.gz: b72a7d58514b593948f440d600a58e1780774e3d5f29840ee37c7317378914427f5cf63c7dff353b75f0b03fc0218154a83128313de5fcea16760a81fbd30f27
data/README.md CHANGED
@@ -47,7 +47,7 @@ The classic table flip command flips text upside down with the iconic table flip
47
47
 
48
48
  ```bash
49
49
  table_flip "Hello World"
50
- # Output: (╯°□°)╯︵ plɹoM ollǝH ┻━┻
50
+ # Output: (╯°□°)╯︵┻plɹoM ollǝH
51
51
  # Result is automatically copied to clipboard
52
52
  ```
53
53
 
@@ -25,6 +25,7 @@ module RageFlip
25
25
  "heresatable" => "┬─┬ ノ( ゜-゜ノ)",
26
26
  "javaflip" => "(╯°□°)╯︵ ┻ɐʌɐɾ┻",
27
27
  "kungfuhamster" => " ()__()\n / o o\\ ;\n |'=Y=';-/\n { \\ / }\n mmm mmm ",
28
+ "middlefinger" => "🖕",
28
29
  "noevil" => "🙈🙉🙊",
29
30
  "omw" => "On my way!",
30
31
  "optn" => "⌥",
@@ -80,7 +81,7 @@ module RageFlip
80
81
 
81
82
  def self.process(emote_name)
82
83
  emote_name = emote_name.downcase
83
-
84
+
84
85
  if all_emotes.key?(emote_name)
85
86
  all_emotes[emote_name]
86
87
  end
@@ -102,7 +103,7 @@ module RageFlip
102
103
 
103
104
  def self.list_custom_emotes
104
105
  custom_emotes = load_custom_emotes
105
-
106
+
106
107
  if custom_emotes.empty?
107
108
  return "No custom emotes found. Use 'emote init-custom' to create a custom emote config file."
108
109
  end
@@ -117,19 +118,19 @@ module RageFlip
117
118
  sorted_emotes.each do |name, emote|
118
119
  output << " #{name.ljust(max_name_length + 2)} - #{emote}"
119
120
  end
120
-
121
+
121
122
  config_path = custom_config_path
122
123
  if config_path
123
124
  output << ""
124
125
  output << "Config file: #{config_path}"
125
126
  end
126
-
127
+
127
128
  output.join("\n")
128
129
  end
129
130
 
130
131
  def self.init_custom_config
131
132
  FileUtils.mkdir_p(CONFIG_DIR) unless Dir.exist?(CONFIG_DIR)
132
-
133
+
133
134
  if File.exist?(JSON_CONFIG_FILE) || File.exist?(YAML_CONFIG_FILE)
134
135
  existing_file = File.exist?(JSON_CONFIG_FILE) ? JSON_CONFIG_FILE : YAML_CONFIG_FILE
135
136
  return "Custom emote config already exists: #{existing_file}"
@@ -144,7 +145,7 @@ module RageFlip
144
145
 
145
146
  File.write(JSON_CONFIG_FILE, JSON.pretty_generate(sample_config))
146
147
  refresh_emotes
147
-
148
+
148
149
  "Custom emote config initialized: #{JSON_CONFIG_FILE}\n" +
149
150
  "Edit this file to add your custom emotes, then use 'emote list-custom' to see them."
150
151
  end
@@ -31,8 +31,8 @@ module RageFlip
31
31
  end
32
32
 
33
33
  def self.table_flip(text)
34
- table_flip_front = "(╯°□°)╯︵ "
35
- table_flip_back = " ┻━┻"
34
+ table_flip_front = "(╯°□°)╯︵┻"
35
+ table_flip_back = " "
36
36
 
37
37
  "#{table_flip_front}#{flip(text)}#{table_flip_back}"
38
38
  end
@@ -1,3 +1,3 @@
1
1
  module RageFlip
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.2"
3
3
  end
@@ -20,8 +20,8 @@ RSpec.describe RageFlip do
20
20
  describe ".table_flip" do
21
21
  it "adds table flip emoticons to flipped text" do
22
22
  result = RageFlip::Flipper.table_flip("test")
23
- expect(result).to include("(╯°□°)╯︵")
24
- expect(result).to include("┻━┻")
23
+ expect(result).to include("(╯°□°)╯︵┻")
24
+ expect(result).to include("")
25
25
  expect(result).to include("ʇsǝʇ") # flipped version of 'test'
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rage_flip
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Powell
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-10-05 00:00:00.000000000 Z
11
+ date: 2025-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec