validates_email_whitelist_of 1.1.0 → 1.1.1
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/Gemfile.lock +1 -1
- data/lib/validates_email_whitelist_of.rb +3 -1
- data/validates_email_whitelist_of.gemspec +1 -1
- metadata +4 -4
data/Gemfile.lock
CHANGED
|
@@ -4,7 +4,9 @@ module SimplesIdeias
|
|
|
4
4
|
end
|
|
5
5
|
end
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Dir[File.dirname(__FILE__) + "/../config/locales/*.yml"].each do |file|
|
|
8
|
+
I18n.load_path.unshift file
|
|
9
|
+
end
|
|
8
10
|
|
|
9
11
|
if ActiveRecord::VERSION::STRING >= "3.0"
|
|
10
12
|
require "rails3/validates_email_whitelist_of"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
spec = Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'validates_email_whitelist_of'
|
|
3
3
|
|
|
4
|
-
s.version = '1.1.
|
|
4
|
+
s.version = '1.1.1'
|
|
5
5
|
s.summary = 'Validates e-mail address format (RFC2822 and RFC3696) and whitelist/blacklist the domain part.'
|
|
6
6
|
s.description = "Rails 2 and Rails 3 plugin. #{s.summary}"
|
|
7
7
|
s.homepage = 'https://github.com/rubenfonseca/validates_email_whitelist_of'
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: validates_email_whitelist_of
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 17
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 1.1.
|
|
9
|
+
- 1
|
|
10
|
+
version: 1.1.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Ruben Fonseca
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-05-
|
|
18
|
+
date: 2011-05-04 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
name: rspec
|