gemojione 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +11 -5
- data/config/index.json +3 -1
- data/lib/gemojione/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8150906ece913264db2a47553885b45ba873dac6
|
4
|
+
data.tar.gz: 1c26c57b7d093362df38431aa71121d3a12132d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bb8bfe80041c8ed147a2dd982ed0b2df8c5ad319138b6b0477f3a70de25f5460c32127ced22a6f0360d71b84cdd8db7ec69f2a2ecc1f68a7e27e7eb616d4e3e
|
7
|
+
data.tar.gz: 71f3fe2e2f9c16361e742cd858b44884210ad48191af54397355e9fcb07edfa35dc3df0524f89c9a440363727129b2ec96289004e7650de8292b1e0360e7e56e
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
A gem for EmojiOne
|
4
4
|
|
5
|
-
[![Build Status]
|
5
|
+
[![Build Status][travisUrl]][travisProject] [![Downloads][downs]][rubyUrl] [![Version][version]][rubyUrl]
|
6
6
|
|
7
7
|
This gem exposes the [emojione](http://emojione.com/) unicode/image assets and APIs for working with them.
|
8
8
|
|
@@ -42,20 +42,20 @@ You can use this gem to replace unicode emoji characters with img tags linking t
|
|
42
42
|
Image Replacement APIs:
|
43
43
|
|
44
44
|
```ruby
|
45
|
-
>
|
45
|
+
> Gemojione.replace_unicode_moji_with_images('I ❤ Emoji')
|
46
46
|
=> "I <img alt=\"❤\" class=\"emoji\" src=\"http://localhost:3000/assets/emoji/2764.png\"> Emoji"
|
47
47
|
|
48
|
-
>
|
48
|
+
> Gemojione.image_url_for_unicode_moji('❤')
|
49
49
|
=> "http://localhost:3000/assets/emoji/2764.png"
|
50
50
|
|
51
|
-
>
|
51
|
+
> Gemojione.image_url_for_name('heart')
|
52
52
|
=> "http://localhost:3000/assets/emoji/2764.png"
|
53
53
|
```
|
54
54
|
|
55
55
|
Emoji Library Index APIs:
|
56
56
|
|
57
57
|
```ruby
|
58
|
-
> index =
|
58
|
+
> index = Gemojione::Index.new
|
59
59
|
|
60
60
|
> index.find_by_name('heart')
|
61
61
|
|
@@ -124,3 +124,9 @@ gem 'escape_utils'
|
|
124
124
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
125
125
|
4. Push to the branch (`git push origin my-new-feature`)
|
126
126
|
5. Create new Pull Request
|
127
|
+
|
128
|
+
[travisUrl]: https://travis-ci.org/jonathanwiesel/gemojione.svg?branch=master
|
129
|
+
[travisProject]: https://travis-ci.org/jonathanwiesel/gemojione
|
130
|
+
[downs]: https://img.shields.io/gem/dt/gemojione.svg
|
131
|
+
[version]: https://img.shields.io/gem/v/gemojione.svg
|
132
|
+
[rubyUrl]: https://rubygems.org/gems/gemojione
|
data/config/index.json
CHANGED
data/lib/gemojione/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gemojione
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Klabnik
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-03-
|
13
|
+
date: 2015-03-18 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: json
|