linkhum-url 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -1
  3. data/lib/linkhum/url.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0c251fcc7514218a2f17c1023f2051953351d4a5
4
- data.tar.gz: 02ee39be06f0864e8bfa584a8e0e94ddc57b584b
3
+ metadata.gz: d75eb0eef3cf30a9b8df8a935e0e1e0db89c6ff7
4
+ data.tar.gz: 1c7c728598f547d25a267ce373345b40330961dc
5
5
  SHA512:
6
- metadata.gz: eee6fcde6e2e2f99fcec2773cb9cc67c034b9ca47bcab86a847abcb7bbacff649e7e9dce2fe4792fa4dbf7b3c806a1ec24d63e428bfa9f1ea95fa3f3cabb659e
7
- data.tar.gz: '058f93cbd65497f8db1ef620462f05aecb9877e35bb43c032b0fd2cf84428311902b1ea8a35ea89f5886703ddd78a89c8332ff4bd1081c228b91e859deacc498'
6
+ metadata.gz: 3e8e4aa24fd9ffef8145ffc652b3b2a951d8f4287c884823a942afa83f746b37ccb3d7e6ea086a611175cb6752eac71b335c0c3ea4db07bf2b33eaf33b733f12
7
+ data.tar.gz: e1cd13372e68449e7d4c6a5ab19a6324a7aa35d9ef3be3fb51364a9ec0efac95916ba22f65cb9e7aa77810fe78077e7299213e40e173f229dad34de02b1ceae7
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ 0.1.6:
2
+
3
+ * square brackets are also special strings, because of HTTParty;
4
+
1
5
  0.1.5:
2
6
 
3
7
  * More fixes to URLs with special symbols in query strings (tnx @markiz);
@@ -8,7 +12,7 @@
8
12
 
9
13
  0.1.3:
10
14
 
11
- * Handle IDNs which begin with ASCII;
15
+ * Handle IDNs that begin with ASCII;
12
16
 
13
17
  0.1.2:
14
18
 
data/lib/linkhum/url.rb CHANGED
@@ -71,7 +71,7 @@ module Linkhum
71
71
  end
72
72
 
73
73
  def self.unencode_component(string, skip_special_chars = true)
74
- chars_to_keep_encoded = skip_special_chars ? "%#&?+" : ""
74
+ chars_to_keep_encoded = skip_special_chars ? "%#&?+[]" : ""
75
75
  Addressable::URI.unencode_component(string, String, chars_to_keep_encoded)
76
76
  end
77
77
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linkhum-url
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexey Makhotkin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-14 00:00:00.000000000 Z
11
+ date: 2017-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable