emojione-rails 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b292b6bef830811709074ed694a86bdc43c17b57
4
- data.tar.gz: d530a6b5325caa91caf5b25ee72e7aa2c8c887d3
3
+ metadata.gz: 5791649d80e8b9752f715647057e35a39662f61d
4
+ data.tar.gz: fa81d56996ff9c6ca44f20c3ea7528df8ae6fbee
5
5
  SHA512:
6
- metadata.gz: 911a14c15fc07906fcb1fa3f37a102e9df332eb33ddc991c46ff28c48c3a330f39d00a834c393d1771684ecb666ead558934a6cd9968c819c5158db6b991fd68
7
- data.tar.gz: 5ceb92f7d0006851baaa1c5c8165722edad6c230e9b39f9251d6edd8f835a27bffe6151fc4ae324938b9e8a20d09edc734ef8185630255c01d7c6a49dd11787c
6
+ metadata.gz: a76953b23125f023a9fd694310c2a3611b9db72323372a64ca20b6526865f1005748805e12e69d2f703df561b4ab24e3ffc50dbddefa7ded085078ac0010be8b
7
+ data.tar.gz: 52d1774bc6d6d4724d746044b57faf7b597d111d792bce8b3817d3844d73d988650d8d6e791869032843af42e9690491e66e15045a59be86cfa101409f3a342b
data/README.md CHANGED
@@ -28,17 +28,29 @@ $ rake emojione
28
28
 
29
29
  ## Usage
30
30
 
31
- In your JavaScript,Css manifest (e.g. `application.js`):
31
+ In your JavaScript manifest (e.g. `application.js`):
32
32
 
33
33
  //= require emojione
34
+
35
+ In your CSS/SCSS manifest (e.g. `application.scss`):
36
+
37
+ @import "emojione";
38
+
39
+ ## Documentation
40
+
41
+ Everything is available at https://github.com/Ranks/emojione
42
+
43
+ ## Gotcha
44
+
45
+ This gem bundle emojione png and svg version but not the sprites (for size purposes mainly). If you need to use the emojione sprites, this gem is not for you.
34
46
 
35
47
  ## Licensing
36
48
 
37
- See LICENCE file
49
+ See [LICENCE](https://github.com/nel/emojione-rails) file
38
50
 
39
51
  ## Contributing
40
52
 
41
- 1. Fork it ( https://github.com/[my-github-username]/emojione-rails/fork )
53
+ 1. Fork it ( https://github.com/nel/emojione-rails/fork )
42
54
  2. Create your feature branch (`git checkout -b my-new-feature`)
43
55
  3. Commit your changes (`git commit -am 'Add some feature'`)
44
56
  4. Push to the branch (`git push origin my-new-feature`)
@@ -328,8 +328,7 @@
328
328
  replaceWith = '<svg class="emojione"><description>'+alt+'</description><use xlink:href="'+ns.imagePathSVGSprites+'#emoji-'+unicode.toUpperCase()+'"></use></svg>';
329
329
  }
330
330
  else {
331
- replaceWith = '<object class="emojione" data="'+ns.imagePathSVG+unicode+'.svg'+ns.cacheBustParam+'" type="image/svg+xml" standby="'+alt+'">'+alt+'</object>';
332
- }
331
+ replaceWith = '<img class="emojione" alt="'+alt+'" src="'+ns.imagePathSVG+unicode+'.svg'+ns.cacheBustParam+'"/>'; }
333
332
  }
334
333
 
335
334
  return replaceWith;
@@ -1,5 +1,5 @@
1
1
  module Emojione
2
2
  module Rails
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: emojione-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Renaud (Nel) Morvan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-15 00:00:00.000000000 Z
11
+ date: 2015-01-23 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Sprocket/Rails emojione package
14
14
  email: