ige_isb_api 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -1
- data/ige_isb_api.gemspec +1 -0
- data/lib/ige_isb_api/validation.rb +2 -3
- data/lib/ige_isb_api/version.rb +1 -1
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 299873ceac662d947ddcceb491ef8923864d821b
|
4
|
+
data.tar.gz: bbdc6d208261b855dd1c51bd031c006be3562e9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6686acbc0d83641cb2fa1a0ca7a5ba04a4006ee6cf38439050dcf09c7f9e2206f0cbf29c1817ed37c7c15af28d4ef136b41f2612796b976d28af517306e4439
|
7
|
+
data.tar.gz: 0bf2535b3e823bee02c2398c96fa3e2a52288a7bd6549fca595f43a48ae3272c9b6aa08b8c3317a143a2f89537ecf59111b18963498c03f28487ee5e17e600ca
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ige_isb_api (1.1.
|
4
|
+
ige_isb_api (1.1.1)
|
5
5
|
nokogiri
|
6
|
+
rfc-822
|
6
7
|
|
7
8
|
GEM
|
8
9
|
remote: https://rubygems.org/
|
@@ -13,6 +14,7 @@ GEM
|
|
13
14
|
nokogiri (1.6.0)
|
14
15
|
mini_portile (~> 0.5.0)
|
15
16
|
rake (10.1.0)
|
17
|
+
rfc-822 (0.3.0)
|
16
18
|
rspec (2.14.1)
|
17
19
|
rspec-core (~> 2.14.0)
|
18
20
|
rspec-expectations (~> 2.14.0)
|
data/ige_isb_api.gemspec
CHANGED
@@ -3,6 +3,7 @@
|
|
3
3
|
|
4
4
|
require 'ige_isb_api'
|
5
5
|
require 'ige_isb_api/constants'
|
6
|
+
require 'rfc-822'
|
6
7
|
|
7
8
|
module IGE_ISB_API
|
8
9
|
class Validation
|
@@ -20,10 +21,8 @@ module IGE_ISB_API
|
|
20
21
|
end
|
21
22
|
|
22
23
|
def self.is_valid_email?(an_email)
|
23
|
-
# see http://stackoverflow.com/questions/703060/valid-email-address-regular-expression
|
24
24
|
return false if an_email.empty?
|
25
|
-
|
26
|
-
return !an_email.match(email_regex).nil?
|
25
|
+
return !an_email.match(RFC822::EMAIL).nil?
|
27
26
|
end
|
28
27
|
|
29
28
|
def self.is_valid_name?(a_name)
|
data/lib/ige_isb_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ige_isb_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dave Sag
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rfc-822
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: bundler
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|