-
- Downloads
Use the same emoji data on the frontend and backend (#4284)
* Use the same emoji data on the frontend and backend * Move emoji.json to repository, add tests This way you don't need to install node dependencies if you only want to run Ruby code
Showing
- Gemfile 0 additions, 1 deletionGemfile
- app/helpers/emoji_helper.rb 10 additions, 5 deletionsapp/helpers/emoji_helper.rb
- app/lib/emoji.rb 40 additions, 0 deletionsapp/lib/emoji.rb
- lib/assets/emoji.json 1 addition, 0 deletionslib/assets/emoji.json
- spec/lib/emoji_spec.rb 15 additions, 0 deletionsspec/lib/emoji_spec.rb
... | ... | @@ -28,7 +28,6 @@ gem 'devise', '~> 4.2' |
gem 'devise-two-factor', '~> 3.0' | ||
gem 'doorkeeper', '~> 4.2' | ||
gem 'fast_blank', '~> 1.0' | ||
gem 'gemoji', '~> 3.0' | ||
gem 'goldfinger', '~> 1.2' | ||
gem 'hiredis', '~> 0.6' | ||
gem 'redis-namespace', '~> 1.5' | ||
... | ... |
app/lib/emoji.rb
0 → 100644
lib/assets/emoji.json
0 → 100644
Source diff could not be displayed: it is too large. Options to address this: view the blob.
spec/lib/emoji_spec.rb
0 → 100644
Please register or sign in to comment