ragefaces 0.0.3.1 → 0.0.3.2

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -1
  3. data/lib/ragefaces/version.rb +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bafae6c9fbde70443529c6bb4de808363229e472
4
- data.tar.gz: e3285d43e8564cf44cd88dc1e87aecb8690c1faf
3
+ metadata.gz: 3aa9773e05c277fbf6aa655bddfdbd4a16f37507
4
+ data.tar.gz: a743c082d9f9e5c41f3b4503b134b07bc623a1e7
5
5
  SHA512:
6
- metadata.gz: f601b2a690e38a68433414fac54edabe29a2dd979bd506810766ade237876da1028fa90a51dc17fb170cbb6c66384939ef30960146f02addb2fe710e1f8758b7
7
- data.tar.gz: 05988eb0d3f7c74dc2196b751352bbf9ca259edb7949593f227b1746e90be008bb83c94a121e2b141cb13f295654a214aa4241e6eb0bc37e828dbe36566bef6f
6
+ metadata.gz: 5caac41fd8757bcd4a92cc2cc3cfbca73252c6322482094457ca803c0522b596537c4564416f9103847bbbf03abca48c00125d3cd90fbbb34e423655e363a481
7
+ data.tar.gz: a866819d846f91cd93432fffd683a81190e737b87f0555b590d737ecc7e98b130e4fb540b1beb6c230127a8b5484a1bd2f6a882e7c403c3bd7e4915e77e547ab
data/README.md CHANGED
@@ -20,7 +20,11 @@ Or install it yourself as:
20
20
 
21
21
  ## Usage
22
22
 
23
- This method should only accept plain text, do not pass it html as it could break links and escape characters e.g. &don't do this - it would break the escape sequence. If you to use it with html or anchors rather remove them first and add them back in. This is sufficient for my use:
23
+ This method has not been tested with html - although it will only be a problem if your html has one of the 850ish markups in the form:
24
+ ```
25
+ /:[-\w]+:/g
26
+ ```
27
+ I use this in conjunction with gemojifyjs which can break anchors and escape sequences:
24
28
  ```
25
29
  ragefaces: (text) ->
26
30
  cache_anchors = text.match(/<a [^<]+<\/a>/g) or []
@@ -30,6 +34,7 @@ ragefaces: (text) ->
30
34
  for escape in cache_escapes
31
35
  text = text.replace(escape, '<e>')
32
36
  text = ragefaces.markup(text)
37
+ text = emojify.markup(text)
33
38
  for escape in cache_escapes
34
39
  text = text.replace('<e>', escape)
35
40
  for anchor in cache_anchors
@@ -1,3 +1,3 @@
1
1
  module Ragefaces
2
- VERSION = "0.0.3.1"
2
+ VERSION = "0.0.3.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ragefaces
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3.1
4
+ version: 0.0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Breyer-Menke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-29 00:00:00.000000000 Z
11
+ date: 2013-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -985,7 +985,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
985
985
  version: '0'
986
986
  requirements: []
987
987
  rubyforge_project:
988
- rubygems_version: 2.0.5
988
+ rubygems_version: 2.0.3
989
989
  signing_key:
990
990
  specification_version: 4
991
991
  summary: Javascript rage face library