fanforce-validations 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MDY5ZjExODU4MGM3MTk0YmRiYzRjZTYzMjkwOGEzZmY0MjM0OTI3NA==
4
+ MTc1NzViYTE3Y2Y1ZGExYzEzM2M5ZWNmNmVmZjY1YWRiMjNkOTViNw==
5
5
  data.tar.gz: !binary |-
6
- MTA3NDQ5NmI4YzhhMmNiMjczMjkwNTE3YTg0NTgxN2RmNTMzNWQwNw==
6
+ YjRiNGUyMDU3YjczNmIxZDc4MGNhNGFhNzBlMzNiODdkNDQ0NDZmOQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZGM2ODVjMTIxMjcxMzk3ZWFmYTFiODNiMzgyZjcwMDc0ZTBjMTRmMDYyOGY5
10
- NTM4YzllMzg0YzhkZGJkODY3ZmQxODVmMWEyY2MzYTVhZTlhYTRmMGU2ZTA3
11
- MTE1M2U2ODAzMTU2MzMyOTFiYTdjMWM3Y2M0ZTdiNThjOThlOTg=
9
+ YTdjZDU1OTIyYjU2YWZlOWI2Y2I0MDdiZmJkODUyZDc1MDA0OTBjYjUyZGE3
10
+ NzFiYmQxMTkxZWFjM2M3MjBhOGY2OWVhYjQ2NzFiYWQ1ZGY0YjhmZmExOTJh
11
+ MjIzYmJmMDE0NDFkY2M2ZGQ3ZDQ5ZTAwMDk4NmE2MTgxNzgyZGQ=
12
12
  data.tar.gz: !binary |-
13
- NTg3MDNkMTc4OGJjZGRhNjJkY2M0MWU0NmFhYjIxZTcyYjZjZTBlYTlmN2Qz
14
- MDIwNTVhMmYwNDdhOWQwMWVkYjBlNTczZGU5YjE3OTI2YzhkYmY3MWI2NzY3
15
- ZTRlYmJmYzRmNTkxMTc4ZGFlM2ZjYWEwNjY1Zjc5YTY1NDEyMDQ=
13
+ YzIwMDk2OWYzYjMxYzdkZjgwMTJlMDFmZGY5OTFiNGEzZmU1ODFiYWUzNWI1
14
+ OTYxN2Q4ZWJmMTMzMzUyN2RmNzZjMjk5ZDUzMDBlNDJkOTM4M2IyM2QzZWMy
15
+ ZTYxYjllMjc5N2U3ODQ4MzY2OGQ0YzhkYmRlZDdlMWIwOWUxMWE=
@@ -77,7 +77,7 @@ module Fanforce::Validations
77
77
  opts = extract_options!(args).merge(:field => :_external_id)
78
78
  params = extract_validation_params(opts)
79
79
 
80
- if is_present?(_external_id) and _external_id.include?('/')
80
+ if _external_id.to_s.include?('/')
81
81
  opts[:message] = '_external_id contains one or more forward slashes (/), which is not allowed'
82
82
  else
83
83
  return true
@@ -1,5 +1,5 @@
1
1
  class Fanforce
2
2
  module Validations
3
- VERSION = '0.4.1'
3
+ VERSION = '0.4.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fanforce-validations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caleb Clark