negarmoji 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Emoji
4
- VERSION = "0.1.8"
4
+ VERSION = "0.1.9"
5
5
  end
@@ -4,7 +4,7 @@
4
4
  require "negarmoji"
5
5
  require "json"
6
6
 
7
- file_names = Emoji.all.map(&:image_filename).flatten
7
+ file_names = Emoji.all.map(&:image_filename).flatten.sort
8
8
 
9
9
  File.open(ARGV[0], "w") do |file|
10
10
  file.write(JSON.pretty_generate(file_names))
@@ -63,7 +63,7 @@ def create_alias(annotation, category):
63
63
  # handle openmoji extra emojis.
64
64
  if category == "Extras & Openmoji":
65
65
  alias = list(alias)
66
- alias.append("-extra")
66
+ alias.append("_extra")
67
67
  alias = "".join(alias)
68
68
  # lowercase characters.
69
69
  alias = alias.lower()
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: negarmoji
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mohammad Mahdi Baghbani Pourvahid
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-02 00:00:00.000000000 Z
11
+ date: 2020-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler