crazy_validators 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/crazy_validators.gemspec +1 -1
- data/lib/crazy_validators/o_embed_url_validator.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.2
|
data/crazy_validators.gemspec
CHANGED
@@ -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.
|
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.
|
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:
|
196
|
+
hash: -356205767451867531
|
197
197
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
198
198
|
none: false
|
199
199
|
requirements:
|