Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
bbdf0599
Commit
bbdf0599
authored
Feb 15, 2016
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update fixtures/emojis/aliases.json
Also adds a script to re-generate them from the index.
parent
26228693
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
153 additions
and
3 deletions
+153
-3
fixtures/emojis/aliases.json
fixtures/emojis/aliases.json
+135
-3
fixtures/emojis/generate_aliases.rb
fixtures/emojis/generate_aliases.rb
+18
-0
No files found.
fixtures/emojis/aliases.json
View file @
bbdf0599
This diff is collapsed.
Click to expand it.
fixtures/emojis/generate_aliases.rb
0 → 100755
View file @
bbdf0599
#!/usr/bin/env ruby
require
'json'
aliases
=
{}
index_file
=
File
.
expand_path
(
"./index.json"
)
index
=
JSON
.
parse
(
File
.
read
(
index_file
))
index
.
each_pair
do
|
key
,
data
|
data
[
'aliases'
].
each
do
|
a
|
a
.
tr!
(
':'
,
''
)
aliases
[
a
]
=
key
end
end
puts
JSON
.
pretty_generate
(
aliases
,
indent:
' '
,
space:
''
,
space_before:
''
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment