apicasso 0.2.15 → 0.2.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/concerns/orderable.rb +2 -1
- data/lib/apicasso/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2acb6c03aa3430b0151cf3255631ae84cb19a6fb32809c2faad1fb77f3cd4fd
|
4
|
+
data.tar.gz: d1f7736b2cff7900c733d2864c28f04d074afcb33ec9bce8cd928c483b1d1e8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00d220fa04e6318e9131c28be0f9442423d88e670d3a4257e7cbed8b9eda4af0459973d46a77449c291e977e0bd5d36e1f30e8ae7808bf6c8b6bf3af555ff232
|
7
|
+
data.tar.gz: 0f7664d1f4dfdcd37c6a0bace4e18b675a4411d4b1fa2a3dca2164787a7304cf7cd875f657b2e4f72b1f1e79838ce4694b53533b4cc1c240b54241be97cfcc57
|
@@ -30,7 +30,8 @@ module Orderable
|
|
30
30
|
# Parsing of attributes to avoid empty starts in case browser passes "+" as " "
|
31
31
|
def parse_attr(attr)
|
32
32
|
return attr.gsub(/^\ (.*)/, '\1') if attr.starts_with?(' ')
|
33
|
-
attr[1..-1]
|
33
|
+
return attr[1..-1] if attr.starts_with?('+') || attr.starts_with?('-')
|
34
|
+
attr
|
34
35
|
end
|
35
36
|
|
36
37
|
# Ordering sign parse, which separates
|
data/lib/apicasso/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apicasso
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fernando Bellincanta
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cancancan
|