cartocss_helper 5.1.0 → 5.2.0

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: c4b353be50dfd2f899e2b2917a5f221f6046dcb451ca3a98257b10fb776862fe
4
- data.tar.gz: f612f883bdbe64b93b2da32ba76cc2301744d6c5d222f024eb8c78b68c2850c1
3
+ metadata.gz: de353ff0f5a1fe946a3e7e782c185570587fdf097afce030a352909772195b79
4
+ data.tar.gz: 0327dbf4cdbabc8671292766f120c83468d24334fa16475410e82a2cef3f8900
5
5
  SHA512:
6
- metadata.gz: 1b4ae1b202698be4c2ad64ca22bf7976f68d7f4cf4d0621a1904978388163ea28e6b1418ca91ccddbd4433160078386a94641bd2d5c8c5c50d76acff78b2d115
7
- data.tar.gz: 1338085a9c2ffe1aa86aef7b977bb84bb71865e59095fb581801cdddce44c4f4e016ee0d410004ffc60008c8599c282062d983f35f8c51273c0860ef57025e21
6
+ metadata.gz: c1d4815aac6fe77f2735f1b106d8318794f6d8e705768207b902b73666cabbfc4ed9f4a953fb92a54d3d0d091ad162f79309f884f51aae6fb880741b0ac28f1d
7
+ data.tar.gz: d7240dd1d35eccac5151b576dea66f86483b0944b12c508fce3f87725cde37029eaaaf2c60dab11e43b097f42c39bcf89b9ed9fe54653d5f3d134630f808b2c1
@@ -72,8 +72,9 @@ module CartoCSSHelper
72
72
  #query = URI.escape(query) # no escaping for / [add require 'uri' to use it]
73
73
  #query = URI.escape(query, "/") # escapes only / [add require 'uri' to use it]
74
74
  #query = CGI.escape(query) # escapes spaces to + sign
75
+
75
76
  query = Addressable::URI.encode_component(query, Addressable::URI::CharacterClasses::QUERY)
76
- query = query.gsub("/", "%2F") # escape slashes manually
77
+ query = query.gsub("/", "%2F") # escape slashes manually
77
78
 
78
79
  # inside query also & and + must be escaped (entire query is an url parameter)
79
80
  query = query.gsub("&", "%26")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cartocss_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.0
4
+ version: 5.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mateusz Konieczny
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-28 00:00:00.000000000 Z
11
+ date: 2020-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -30,7 +30,7 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.1'
33
+ version: '1.3'
34
34
  - - ">="
35
35
  - !ruby/object:Gem::Version
36
36
  version: 1.1.0
@@ -40,7 +40,7 @@ dependencies:
40
40
  requirements:
41
41
  - - "~>"
42
42
  - !ruby/object:Gem::Version
43
- version: '1.1'
43
+ version: '1.3'
44
44
  - - ">="
45
45
  - !ruby/object:Gem::Version
46
46
  version: 1.1.0
@@ -72,6 +72,20 @@ dependencies:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
74
  version: '1.8'
75
+ - !ruby/object:Gem::Dependency
76
+ name: addressable
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '2.7'
82
+ type: :runtime
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: '2.7'
75
89
  - !ruby/object:Gem::Dependency
76
90
  name: rspec
77
91
  requirement: !ruby/object:Gem::Requirement
@@ -188,8 +202,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
188
202
  - !ruby/object:Gem::Version
189
203
  version: 1.8.23
190
204
  requirements: []
191
- rubyforge_project:
192
- rubygems_version: 2.7.6.2
205
+ rubygems_version: 3.1.2
193
206
  signing_key:
194
207
  specification_version: 4
195
208
  summary: Tool to make development of CartoCSS styles more efficient.