gemojione 2.2.0 → 2.2.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 +8 -0
- data/lib/gemojione/index.rb +4 -0
- data/lib/gemojione/version.rb +1 -1
- data/test/index_test.rb +8 -0
- metadata +1 -1
data/README.md
CHANGED
@@ -72,6 +72,14 @@ Gemojione.asset_host = "emoji.cdn.com"
|
|
72
72
|
Gemojione.asset_path = '/assets/emoji'
|
73
73
|
```
|
74
74
|
|
75
|
+
You can also serve the assets directly from the gem in your rails app:
|
76
|
+
|
77
|
+
```ruby
|
78
|
+
# config/application.rb
|
79
|
+
config.assets.paths << Gemojione::Index.images_path
|
80
|
+
config.assets.precompile << "emoji/*.png"
|
81
|
+
```
|
82
|
+
|
75
83
|
String Helper Methods:
|
76
84
|
|
77
85
|
You can also
|
data/lib/gemojione/index.rb
CHANGED
data/lib/gemojione/version.rb
CHANGED
data/test/index_test.rb
CHANGED