crazy_validators 0.3.1 → 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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.3.2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "crazy_validators"
8
- s.version = "0.3.1"
8
+ s.version = "0.3.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Cyril Picard"]
@@ -15,7 +15,7 @@ module CrazyValidators
15
15
  type = [options[:type]].flatten.map(&:to_s).keep_if do |e|
16
16
  AUTHORIZED_TYPES.include? e
17
17
  end
18
- oembed_options = options.keep_if do |k,v|
18
+ oembed_options = options.select do |k,v|
19
19
  [:maxwidth, :maxheight].include?(k) && v.is_a?(Fixnum)
20
20
  end
21
21
  if record.send(attribute.to_s + "_changed?")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crazy_validators
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -193,7 +193,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
193
193
  version: '0'
194
194
  segments:
195
195
  - 0
196
- hash: 2892237728348053315
196
+ hash: -356205767451867531
197
197
  required_rubygems_version: !ruby/object:Gem::Requirement
198
198
  none: false
199
199
  requirements: