lib/unicode/emoji.rb in unicode-emoji-4.0.0 vs lib/unicode/emoji.rb in unicode-emoji-4.0.1

- old
+ new

@@ -32,10 +32,10 @@ ].each do |const_name| autoload const_name, File.expand_path('emoji/list', __dir__) end generated_constants_dirpath = File.expand_path( - EMOJI_VERSION == Unicode::Version.emoji_version ? "emoji/generated_native/" : "emoji/generated/", + EMOJI_VERSION == RbConfig::CONFIG["UNICODE_EMOJI_VERSION"] ? "emoji/generated_native/" : "emoji/generated/", __dir__ ) %w[ REGEX