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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2333303ea6a663920f810765bbfca80b1e7e833415749852824c3d625107f982
4
- data.tar.gz: be8b5074c6e9db405b995143ded4d9c4b1420219cee2c7a8fe7e1fc3f7e38823
3
+ metadata.gz: e2acb6c03aa3430b0151cf3255631ae84cb19a6fb32809c2faad1fb77f3cd4fd
4
+ data.tar.gz: d1f7736b2cff7900c733d2864c28f04d074afcb33ec9bce8cd928c483b1d1e8c
5
5
  SHA512:
6
- metadata.gz: 74d2dfa791ddf679c42e6dba1229ffa09ef8661b5ce778e517194f6e1af325cbbae1e06205e84beb06fb4e81e119f6bb188892880736c7ac1a52ce84cce49e44
7
- data.tar.gz: 88b3c93ec33fb37f3bdf84fcd1c74facd2a2779eeb472b3043df4a4301f0528519552d3d3037646775de0df2d4c4385ac1bf8566272174ff536864b9062264fd
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
@@ -1,3 +1,3 @@
1
1
  module Apicasso
2
- VERSION = '0.2.15'
2
+ VERSION = '0.2.16'
3
3
  end
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.15
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-07 00:00:00.000000000 Z
11
+ date: 2018-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cancancan