morse_active_record_helpers 1.1.6 → 1.1.7

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: b7d267f8e3ad743f02ea028c92bbd4fbc9a45330
4
- data.tar.gz: dddbf7fa6b81209ad2147dc919e7503646a44bda
3
+ metadata.gz: 1486b5967e9f9ef3a8716f9478d118551b808cbb
4
+ data.tar.gz: 3f4b2f63297bc705db6e55d5386e0781b40ea175
5
5
  SHA512:
6
- metadata.gz: 96f0d6a8cb39a3824f7594e0b0fb58a5071f43a6bac5acd2fcc12fa3f4c4f20cd39303e8c8fa01d8e634f5fe41e19ddb52eebabd71127c288665ecfa391c9980
7
- data.tar.gz: e507c11f51e753b7af3f1ff38e5279f9b2bf2f49964deb18b8cd9bef9ce68ccf44d309594d7b663f41927345845b08fc7182e2f1647100277253c24fdb01a4cd
6
+ metadata.gz: 0df9888eb8ab4e518d345578a7c4d15d9265834e9fe45be1afb7a19b272c324416c94621605b1e72479d28576a1613bbe58bd0da7ea1ed493946d5fa216bb466
7
+ data.tar.gz: efc464a4d3c96980a4c4552aee9609058a3bd9294eab630803983678134ef18af8073410329f539327971b00733b07b18fa26339d3c10d6acdf16a6bfeff5d65
@@ -91,7 +91,7 @@ module MorseActiveRecordHelpers
91
91
 
92
92
  def url_compliance(*urls)
93
93
  urls.each do |url|
94
- return if url_compliant?(url)
94
+ return if url_compliant?(send(url))
95
95
  self.errors.add(url, "'#{send(url)}' is not a valid URL.")
96
96
  end
97
97
  end
@@ -1,3 +1,3 @@
1
1
  module MorseActiveRecordHelpers
2
- VERSION = "1.1.6"
2
+ VERSION = "1.1.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: morse_active_record_helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6
4
+ version: 1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Terry S