rails_emoji 1.2 → 1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -3
- data/lib/rails_emoji/render.rb +1 -1
- data/lib/rails_emoji/version.rb +1 -1
- metadata +3 -3
data/README.md
CHANGED
@@ -9,14 +9,14 @@
|
|
9
9
|
|
10
10
|
## Installation
|
11
11
|
|
12
|
-
* Add to your Gemfile: `gem 'rails_emoji', '~> 1.
|
12
|
+
* Add to your Gemfile: `gem 'rails_emoji', '~> 1.3'`, then: `$ bundle`.
|
13
13
|
|
14
|
-
* Or, download the [rails_emoji-1.
|
14
|
+
* Or, download the [rails_emoji-1.3.gem](https://github.com/jsw0528/rails_emoji/raw/master/rails_emoji-1.3.gem), then `$ gem install ./rails_emoji-1.3.gem --no-ri --no-rdoc`.
|
15
15
|
|
16
16
|
## Usage
|
17
17
|
|
18
18
|
```ruby
|
19
|
-
":smile:".
|
19
|
+
":smile:".emojify
|
20
20
|
# output: "<img src="/assets/emojis/smile.png" width="20" height="20" title=":smile:" alt=":smile:" class="emoji" />"
|
21
21
|
|
22
22
|
RailsEmoji.render ":smile:", :host => "http://MrZhang.me", :size => 64, :class => "emoji-smile"
|
data/lib/rails_emoji/render.rb
CHANGED
data/lib/rails_emoji/version.rb
CHANGED
metadata
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_emoji
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 9
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: "1.
|
8
|
+
- 3
|
9
|
+
version: "1.3"
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Jay-Jay.Zhang (http://MrZhang.me/)
|