mongoid-forums 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: dd0212413749f87b908dceb892b298518e46b042
4
- data.tar.gz: 54860ded042b3e8508a6e8a5ee28e5aa60c61a31
3
+ metadata.gz: 243af6e97248d38122aae5ba9036ef7ef94d44f5
4
+ data.tar.gz: 0feee48082b86bbb9730d459301f669520751efc
5
5
  SHA512:
6
- metadata.gz: 09a6255546a1adda9c0a43522ce1f708bad0ba93ce0cebb9ea072cfab2de482794b162e5483ff2ce13bf54daeac94f8271497820d8b86d956ef249d6d556a5e3
7
- data.tar.gz: 70c0fb8146db43ea7832fd1b3b1d58b8f28c6666e5472db65588f04a5e5b4eb29d8f9564ed16d769ef38f5fd3b069969656c0e6130bb40667e77f08c7222093a
6
+ metadata.gz: 4686f8eeb4c9ddd0f05010ae9a3127ebf0965850f36f9a00c8d3b7af24cdb412bb8a1b065a3961159ef4f61d3a94cfd69e0b9f57d0b9ac8a78740c27fbda9183
7
+ data.tar.gz: 5aa7774cb887003c7926bb888f1f3c22cda854c1ed3ef2e8a8da517cab5fce93427e778c5de846195445a686828f6445e3c60059c0a43f5ac614d72454926e01
@@ -10,7 +10,7 @@ module MongoidForums
10
10
  end
11
11
 
12
12
  def as_quoted_text(text)
13
- if MongoidForums.formatter && Forem.formatter.respond_to?(:blockquote)
13
+ if MongoidForums.formatter && MongoidForums.formatter.respond_to?(:blockquote)
14
14
  MongoidForums.formatter.blockquote(as_sanitized_text(text)).html_safe
15
15
  else
16
16
  "<blockquote>#{(h(text))}</blockquote>\n\n".html_safe
@@ -21,7 +21,7 @@ module MongoidForums
21
21
  if MongoidForums.formatter.respond_to?(:sanitize)
22
22
  MongoidForums.formatter.sanitize(text)
23
23
  else
24
- Forem::Sanitizer.sanitize(text)
24
+ MongoidForums::Sanitizer.sanitize(text)
25
25
  end
26
26
  end
27
27
  end
@@ -1,3 +1,3 @@
1
1
  module MongoidForums
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid-forums
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
  - skipperguy12