nagybence-simple_sanitize 0.1.3 → 0.1.4

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.
@@ -4,7 +4,7 @@ module SimpleSanitize
4
4
  base.send :include, ActionView::Helpers::SanitizeHelper
5
5
  base.extend ActionView::Helpers::SanitizeHelper::ClassMethods
6
6
  base.class_eval do
7
- before_save :sanitize_fields
7
+ before_validation :sanitize_fields
8
8
  class_inheritable_reader :simple_sanitize_options
9
9
  end
10
10
  end
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "simple_sanitize"
3
- s.version = "0.1.3"
4
- s.date = "2009-01-15"
3
+ s.version = "0.1.4"
4
+ s.date = "2009-01-18"
5
5
  s.summary = "SimpleSanitize is a Ruby on Rails plugin that automatically strips tags from input fields."
6
6
  s.email = "nagybence@tipogral.hu"
7
7
  s.homepage = "http://github.com/nagybence/simple_sanitize"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nagybence-simple_sanitize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bence Nagy
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-01-15 00:00:00 -08:00
12
+ date: 2009-01-18 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies: []
15
15