phccorehelpers 5.0.0 → 5.1.0

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
  SHA256:
3
- metadata.gz: '08dc04f5cfd9454d75634a5fdc0adc2ab4efae031f4605d9bb5bb3ddffdacea3'
4
- data.tar.gz: 5cf967e78125b55b0c46f1cdb511e56b94c6bee239040e12dac456835a8e7337
3
+ metadata.gz: 6b7bb7ddb1ea1e9841ddd536d364a37d4720dc30f3c532d5927f5d06ea98e96a
4
+ data.tar.gz: 54288fc449ae334f70e1580157a80fc4f00d0af02876fedbf49b230bb650e9fe
5
5
  SHA512:
6
- metadata.gz: f3f2b9e79e564804504784e8fa4e79c5343129df442d130f5627f9b88a7933aebbb0bbe2e8f832154677c95ef4a408aa1ac95cc6977e5b56067a0f8f6755a381
7
- data.tar.gz: e411fa3a606d7b4822157293a34352a5d2a703d9004826d5d0d47444b740d65ee61f7d90cc1b71b75ac0804fd9c78d315e58d7831f73ab5dbc7247187c358ad6
6
+ metadata.gz: 30a3e750dbb4e624b42c8b705c308a7b9fd009d26bb11a681506365110602440e229fc4527a9134b279e3b25bb14e0a746beedcddfa755156c694fa8b6c368f2
7
+ data.tar.gz: eec5efe2e13a5fc57eee4ff6dcaa91dcb456ceb4793e3f6554562bc5d22557375ef8fc62b1280eda8b28eb5e66a15837c400d487f5fe91b8fbf71f178e94b693
@@ -1,4 +1,11 @@
1
1
  module Phccorehelpers
2
2
  module ApplicationHelper
3
+
4
+ # Field Validation URLs
5
+ phc_domain_regx = URI::regexp(%w(http https))
6
+
7
+ # Field Validation Email
8
+ phc_email_regx = /\A[^@\s]+@([^@\s]+\.)+[^@\s]+\z/
9
+
3
10
  end
4
11
  end
@@ -1,3 +1,3 @@
1
1
  module Phccorehelpers
2
- VERSION = '5.0.0'
2
+ VERSION = '5.1.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phccorehelpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 5.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-11 00:00:00.000000000 Z
11
+ date: 2019-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails