remove warning of previously defined constant when running the specs

This commit is contained in:
Régis Hanol 2017-02-05 19:07:18 +01:00
parent 27fb9c8804
commit ceee2a509a
1 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
EMOJI_LIST_URL = "http://unicode.org/emoji/charts/full-emoji-list.html"
EMOJI_KEYWORDS_URL = "https://raw.githubusercontent.com/muan/emojilib/master/emojis.json"
EMOJI_LIST_URL ||= "http://unicode.org/emoji/charts/full-emoji-list.html"
EMOJI_KEYWORDS_URL ||= "https://raw.githubusercontent.com/muan/emojilib/master/emojis.json"
# until MS release the emoji flags, we'll use custom made flags
WINDOWS_FLAGS = Set.new ["1f1e8_1f1f3", "1f1e9_1f1ea", "1f1ea_1f1f8", "1f1eb_1f1f7", "1f1ec_1f1e7", "1f1ee_1f1f9", "1f1ef_1f1f5", "1f1f0_1f1f7", "1f1f7_1f1fa", "1f1fa_1f1f8"]
WINDOWS_FLAGS ||= Set.new ["1f1e8_1f1f3", "1f1e9_1f1ea", "1f1ea_1f1f8", "1f1eb_1f1f7", "1f1ec_1f1e7", "1f1ee_1f1f9", "1f1ef_1f1f5", "1f1f0_1f1f7", "1f1f7_1f1fa", "1f1fa_1f1f8"]
desc "update emoji images"
task "emoji:update" => :environment do