rails_emoji 1.7.0 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +2 -2
- data/lib/rails_emoji.rb +9 -0
- data/lib/rails_emoji/render.rb +1 -1
- data/lib/rails_emoji/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -9,9 +9,9 @@
|
|
9
9
|
|
10
10
|
## Installation
|
11
11
|
|
12
|
-
* Add to your Gemfile: `gem 'rails_emoji', '~> 1.7.
|
12
|
+
* Add to your Gemfile: `gem 'rails_emoji', '~> 1.7.1'`, then: `$ bundle`.
|
13
13
|
|
14
|
-
* Or, download the [rails_emoji-1.7.
|
14
|
+
* Or, download the [rails_emoji-1.7.1.gem](https://rubygems.org/downloads/rails_emoji-1.7.1.gem), then `$ gem install ./rails_emoji-1.7.1.gem --no-ri --no-rdoc`.
|
15
15
|
|
16
16
|
## Usage
|
17
17
|
|
data/lib/rails_emoji.rb
CHANGED
@@ -3,6 +3,15 @@ require 'rails_emoji/render'
|
|
3
3
|
require 'rails_emoji/version'
|
4
4
|
|
5
5
|
module RailsEmoji
|
6
|
+
|
7
|
+
def self.host=(host)
|
8
|
+
@host = host
|
9
|
+
end
|
10
|
+
|
11
|
+
def self.host
|
12
|
+
@host
|
13
|
+
end
|
14
|
+
|
6
15
|
# People, Nature, Objects, Places, Symbols
|
7
16
|
EMOJI = %w{
|
8
17
|
bowtie smile laughing blush smiley relaxed smirk heart_eyes kissing_heart kissing_closed_eyes flushed relieved satisfied grin wink stuck_out_tongue_winking_eye stuck_out_tongue_closed_eyes grinning kissing kissing_smiling_eyes stuck_out_tongue sleeping worried frowning anguished open_mouth grimacing confused hushed expressionless unamused sweat_smile sweat disappointed_relieved weary pensive disappointed confounded fearful cold_sweat persevere cry sob joy astonished scream neckbeard tired_face angry rage triumph sleepy yum mask sunglasses dizzy_face imp smiling_imp neutral_face no_mouth innocent alien yellow_heart blue_heart purple_heart heart green_heart broken_heart heartbeat heartpulse two_hearts revolving_hearts cupid sparkling_heart sparkles star star2 dizzy boom collision anger exclamation question grey_exclamation grey_question zzz dash sweat_drops notes musical_note fire hankey poop shit +1 thumbsup -1 thumbsdown ok_hand punch facepunch fist v wave hand raised_hand open_hands point_up point_down point_left point_right raised_hands pray point_up_2 clap muscle metal fu walking runner running couple family two_men_holding_hands two_women_holding_hands dancer dancers ok_woman no_good information_desk_person raising_hand bride_with_veil person_with_pouting_face person_frowning bow couplekiss couple_with_heart massage haircut nail_care boy girl woman man baby older_woman older_man person_with_blond_hair man_with_gua_pi_mao man_with_turban construction_worker cop angel princess smiley_cat smile_cat heart_eyes_cat kissing_cat smirk_cat scream_cat crying_cat_face joy_cat pouting_cat japanese_ogre japanese_goblin see_no_evil hear_no_evil speak_no_evil guardsman skull feet lips kiss droplet ear eyes nose tongue love_letter bust_in_silhouette busts_in_silhouette speech_balloon thought_balloon feelsgood finnadie goberserk godmode hurtrealbad rage1 rage2 rage3 rage4 suspect trollface
|
data/lib/rails_emoji/render.rb
CHANGED
data/lib/rails_emoji/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_emoji
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-09
|
12
|
+
date: 2013-12-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|