ems 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,14 +21,14 @@ module Ems
21
21
  validates_inclusion_of :status, :in => [ :draft, :pending, :live ], :message => "Value is not a valid status"
22
22
 
23
23
 
24
- searchable do
25
- text :title, :stored => true
26
- text :standfirst, :stored => true
27
- text :content, :stored => true, :more_like_this => true do
28
- Sanitize.clean self.content_as_html
29
- end
30
- integer :category_id, :references => Category
31
- end
24
+ # searchable do
25
+ # text :title, :stored => true
26
+ # text :standfirst, :stored => true
27
+ # text :content, :stored => true, :more_like_this => true do
28
+ # Sanitize.clean self.content_as_html
29
+ # end
30
+ # integer :category_id, :references => Category
31
+ # end
32
32
 
33
33
  # after methods
34
34
  after_initialize :init
@@ -4,14 +4,14 @@ module Ems
4
4
  extend FriendlyId
5
5
  friendly_id :title, use: :slugged
6
6
 
7
- searchable do
8
- text :title, :stored => true
9
- text :standfirst, :stored => true
10
- text :content, :stored => true, :more_like_this => true do
11
- Sanitize.clean self.content_as_html
12
- end
13
- integer :category_id, :references => Category
14
- end
7
+ # searchable do
8
+ # text :title, :stored => true
9
+ # text :standfirst, :stored => true
10
+ # text :content, :stored => true, :more_like_this => true do
11
+ # Sanitize.clean self.content_as_html
12
+ # end
13
+ # integer :category_id, :references => Category
14
+ # end
15
15
 
16
16
  # after methods
17
17
  after_initialize :init
@@ -4,14 +4,14 @@ module Ems
4
4
  extend FriendlyId
5
5
  friendly_id :title, use: :slugged
6
6
 
7
- searchable do
8
- text :title, :stored => true
9
- text :standfirst, :stored => true
10
- text :content, :stored => true, :more_like_this => true do
11
- Sanitize.clean self.content_as_html
12
- end
13
- integer :category_id, :references => Category
14
- end
7
+ # searchable do
8
+ # text :title, :stored => true
9
+ # text :standfirst, :stored => true
10
+ # text :content, :stored => true, :more_like_this => true do
11
+ # Sanitize.clean self.content_as_html
12
+ # end
13
+ # integer :category_id, :references => Category
14
+ # end
15
15
 
16
16
  # after methods
17
17
  after_initialize :init
@@ -1,3 +1,3 @@
1
1
  module Ems
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ems
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: