revs-utils 2.1.1 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/Gemfile.lock +1 -1
- data/lib/revs-utils/version.rb +1 -1
- data/lib/revs-utils.rb +6 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
ZjI1NzNiMGUzMzFjNjU2OTY2MWNlYzZhZjMwYzM3NDg2ZTQ2ZGUyNg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
MWMzNGNjMjViZTcyZjJiMjdkMDgyMDQzODNlZWZhM2I5ZGJjZWQwMQ==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
MThlOTJiMmNiOGNiMWFlMDBjYmRiMjBmNTljNDQ3OTFiYjJiZTVmM2U1OTNh
|
|
10
|
+
ZjdjOWI5YmFhZWVlMDUwZGE4ZmI1ZTAxNDg3ZTg0ZmYzMzJjODI2Nzg2ZWRm
|
|
11
|
+
NzBlZGM2NDMzZTFkZTQzZTE1MDZlM2ZiYTk3ZTU0YWQ1YzU5ODI=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
OGEwYjg2MTY1ZjY2OTAwMmY1MTgzZjcxYWE2NTZlN2Q3NzE3MGM1OGUyNzNi
|
|
14
|
+
YzE5MzU2MWJlMDlkMmRiMzRiYWNkMGNiOTE2NmVlNTZiZjUxMmI1YzM3NjMx
|
|
15
|
+
YTFiODdmZmI0N2Q2OWMzZWM1YjliNDQ0YWRhZDg5NDM2YmJiZDk=
|
data/Gemfile.lock
CHANGED
data/lib/revs-utils/version.rb
CHANGED
data/lib/revs-utils.rb
CHANGED
|
@@ -96,7 +96,12 @@ module Revs
|
|
|
96
96
|
return ((total_score/total_weights)*100).ceil
|
|
97
97
|
|
|
98
98
|
end
|
|
99
|
-
|
|
99
|
+
|
|
100
|
+
# tells you if have a blank value or an array that has just blank values
|
|
101
|
+
def blank_value?(value)
|
|
102
|
+
value.class == Array ? !value.delete_if(&:blank?).any? : value.blank?
|
|
103
|
+
end
|
|
104
|
+
|
|
100
105
|
def revs_known_formats
|
|
101
106
|
get_manifest_section(FORMATS)
|
|
102
107
|
end
|