roomorama-validates_email 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 896b72ce22bae5c9c9c5d594f8db80c2052e2fcf
4
- data.tar.gz: aca05fbd0ba5b8b65d553277da91c0e823a465b4
3
+ metadata.gz: d5801aced312e207f9f56aedd4a4dcfc2fa7ad07
4
+ data.tar.gz: fd00a557f953cbcb4d1b6c6cbe625b02f107db53
5
5
  SHA512:
6
- metadata.gz: a530b00be582bbb125255bb0ac3457cbc416f8f2220c6eb4bc08cbf2809df08b90c6fe2430da7af902acedfbee52d158a5109ad72be552f4eb671a52d8e87543
7
- data.tar.gz: d4af74a0306f0cb9f1d7a4c98964a16d80d995da1f4da6a7f489e9655f77d63526d7ba8ed631bfdcaf5735dcd4060ca8cc454749989cc7c74f2a95c0e2a12c55
6
+ metadata.gz: 8af7390de00af9fa02806d95ade37b07303dedb8fafc2f0f3f451ae3dd233527b1bf6003726997668525ba1a4ad18427be793990146539020cbf53e5e7a2986e
7
+ data.tar.gz: 83bb1913f023b9352fae69bc069a22fe3122a63188ad87dcda2c1775783d87b85ac6b6fc01b89666136ccc1a97acb89c9c265e82472579dd7292671f9726de28
@@ -7,7 +7,7 @@ class EmailValidator < ActiveModel::EachValidator
7
7
  end if RUBY_VERSION.to_f < 1.9
8
8
 
9
9
  LocalPartSpecialChars = Regexp.escape('!#$%&\'*-/=?+-^_`{|}~')
10
- LocalPartUnquoted = '([a-z0-9' + LocalPartSpecialChars + '])?([a-z0-9]+([' + LocalPartSpecialChars + '\.\+])?)*[a-z0-9-_]'
10
+ LocalPartUnquoted = '([a-z0-9' + LocalPartSpecialChars + '])?([a-z0-9]+([' + LocalPartSpecialChars + '\.\+])?)*[a-z0-9\-_]'
11
11
  LocalPartQuoted = '\"(([[:alnum:]' + LocalPartSpecialChars + '\.\+]*|(\\\\[\x00-\xFF]))*)\"'
12
12
  Regex = Regexp.new('^((' + LocalPartUnquoted + ')|(' + LocalPartQuoted + ')+)@(((\w+\-+[^_])|(\w+\.[^_]))*([a-z0-9-]{1,63})\.[a-z]{2,6}(?:\.[a-z]{2,6})?$)', Regexp::EXTENDED | Regexp::IGNORECASE, 'n')
13
13
 
@@ -1,3 +1,3 @@
1
1
  module ValidatesEmail
2
- VERSION = "0.2.0"
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roomorama-validates_email
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Donald Piret
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-20 00:00:00.000000000 Z
11
+ date: 2014-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel