Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

emojify 2.2.0 #104498

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions Formula/emojify.rb
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
class Emojify < Formula
desc "Emoji on the command-line :scream:"
homepage "https://github.com/mrowa44/emojify"
url "https://github.com/mrowa44/emojify/archive/v1.0.2.tar.gz"
sha256 "a75d49d623f92974d7852526591d5563c27b7655c20ebdd66a07b8a47dae861c"
url "https://github.com/mrowa44/emojify/archive/refs/tags/2.2.0.tar.gz"
sha256 "340b866c432705989f71a61551c92af55f49f14d8f17b2c63a0db99e2d687e55"
license "MIT"
head "https://github.com/mrowa44/emojify.git", branch: "master"

bottle do
sha256 cellar: :any_skip_relocation, all: "525c599c9e16d63627d5b4afca9f43d22e456d21a8e00a05b5e4a4e2acded629"
end

depends_on "bash"

def install
bin.install "emojify"
end

test do
input = "Hey, I just :raising_hand: you, and this is :scream: , but here's my :calling: , " \
"so :telephone_receiver: me, maybe?"
assert_equal "Hey, I just 🙋 you, and this is 😱 , but here's my 📲 , so 📞 me, maybe?",
shell_output("#{bin}/emojify \"#{input}\"").strip
output = "Hey, I just \\u0001F64B you, and this is \\u0001F631 , " \
"but here's my \\u0001F4F2 , so \\u0001F4DE me, maybe?"
assert_equal output, shell_output("#{bin}/emojify \"#{input}\"").strip
end
end