parliament-ruby 0.5.4 → 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/parliament/response.rb +1 -1
- data/lib/parliament/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3009ed0eef73de64bf7c27995ef8acec43f4640f
|
4
|
+
data.tar.gz: 8364e957358c260a3b8cdc159f87ce30ce4d4f6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7f0cd885df8804281158e873a17e4f7e68aa9bd438bb05fa68aada8a313f14c3c000e91f327be05c4b7211de353b826f745b983bc309238a2dc7aa04e27b38a
|
7
|
+
data.tar.gz: 0b2aa1795951134c7e0657834ce0b7d8e71e960ab529ac43b2384af2b931ca147e1f45aec0223b1473ae8d2f4829c3483d4343b8ca7fecd895c46732f65f74e8
|
data/lib/parliament/response.rb
CHANGED
@@ -41,7 +41,7 @@ module Parliament
|
|
41
41
|
grom_nodes.delete_if { |node| rejected << node unless parameters.all? { |param| node.respond_to?(param) } }
|
42
42
|
grom_nodes.sort_by! do |node|
|
43
43
|
parameters.map do |param|
|
44
|
-
node.send(param).is_a?(String) ? I18n.transliterate(node.send(param).downcase
|
44
|
+
node.send(param).is_a?(String) ? I18n.transliterate(node.send(param)).downcase : node.send(param)
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
data/lib/parliament/version.rb
CHANGED