morse_fields_validator 1.1.5 → 1.1.6

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: d1d0992c09ee33d3d4c63b4cac5657530c8e06ff
4
- data.tar.gz: d849159a25b4aefaf8e98c788af18d631b00eeb8
3
+ metadata.gz: fae7e32bd29a406410a84493323e2b7c68805f99
4
+ data.tar.gz: 170f6a090e9dfffebe2fbc6f5dc0635b400b8b86
5
5
  SHA512:
6
- metadata.gz: 914a4e0ff2384206fe5965cf3e862ddf4c93be7254600bf1bd5962d555a8174a615a8d8fd9e379194d02626e08c1fb8fa9c0689446c65ec2ee6c87cc316d1599
7
- data.tar.gz: e1bb468ea4cf59f7f61d51bdd78be378bf9212d1a8c18a90bc599b1ce60b335cb4e834b86d7c5650ebdb6211c3737deabec52932e75cee6fa52e2ccbb34a0d73
6
+ metadata.gz: 0a870cd37480322eaa46c3e5104178da6fafdbb7a9e9d572c005230606ad62355bd76a695ff7c16be74b834c9e9a1e66ba1b0a47e6582eb4aed7b7e0b6426b4b
7
+ data.tar.gz: 0c054c0b8a55afe2e3a6e7ac84ce517c25838e55b19c7b0fbe284b7415b42b2b38432bd5cc3d1805357504ff6458a631bf28c355bbdf8068cf4fb8740a636450
Binary file
@@ -10,7 +10,7 @@ module FieldsValidator
10
10
  def validate_required_attributes
11
11
  required_attributes.each do |a|
12
12
  validates a.to_sym, presence: true
13
- end if required_attributes.any?
13
+ end if required_attributes and required_attributes.any?
14
14
  end
15
15
 
16
16
  def required_attributes
@@ -1,3 +1,3 @@
1
1
  module MorseFieldsValidator
2
- VERSION = "1.1.5"
2
+ VERSION = "1.1.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: morse_fields_validator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Terry S