string_tools 0.12.1 → 0.12.2

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
  SHA1:
3
- metadata.gz: fe3259c99f5b0ed57b6ca3e87fa96591f4dfa71f
4
- data.tar.gz: 34eff9dac9ff9c60a56fe54b7bc4e9d59a28cca3
3
+ metadata.gz: 7a339d24b41fb7f29bef200f588d11e61b5d26ae
4
+ data.tar.gz: 54d28320f5c4cf534ad57a1038c089dc6cbf084d
5
5
  SHA512:
6
- metadata.gz: c23e3290f516fc558a7eeb5bcee937a77771d8f218f65d348bad7f0931a6697e9ddf3fd8b614edb2b874e939842f1f513aefa3bf20e4019bcdec8387d37246b4
7
- data.tar.gz: 90ff4b04e174729d98a7d64ac27952d3a3a8bf341b492330bcf46ed6d7216a761ee71f33ebd17d4e3984aa4953ad116c3599c4d94ffc2e768f9881e514118516
6
+ metadata.gz: '0832233c7f3148e36e0f5391ac61ecb6087a663cbdc530d641ec980ab102af5050fec128da0d8a3fdd811819d384bd750f5efe1ecef95c440c3df9f604515ddc'
7
+ data.tar.gz: e884f70a841ed19d2a5e5e9f7998f0b4c99f5bb4baa29e716b12fd288e81dd995bd58177cd11a030e1a48f4b0376e95b1f7c12d050d6d2da297021fe3aaa0177
data/.drone.yml CHANGED
@@ -1,21 +1,32 @@
1
1
  build:
2
- image: abakpress/dind-testing
3
- pull: true
4
- privileged: true
5
- volumes:
6
- - /home/data/drone/images:/images
7
- - /home/data/drone/gems:/bundle
8
- - /home/data/drone/key_cache:/ssh_keys
9
- environment:
10
- - COMPOSE_FILE_EXT=drone
11
- - RUBY_IMAGE_TAG=2.2-latest
12
- commands:
13
- - wrapdocker docker -v
2
+ test:
3
+ image: abakpress/dind-testing
4
+ pull: true
5
+ privileged: true
6
+ volumes:
7
+ - /home/data/drone/images:/images
8
+ - /home/data/drone/gems:/bundle
9
+ - /home/data/drone/key_cache:/ssh_keys
10
+ environment:
11
+ - COMPOSE_FILE_EXT=drone
12
+ - RUBY_IMAGE_TAG=2.2-latest
13
+ commands:
14
+ - wrapdocker docker -v
14
15
 
15
- - fetch-images
16
- --image whilp/ssh-agent
17
- --image abakpress/ruby-app:$RUBY_IMAGE_TAG
16
+ - fetch-images
17
+ --image whilp/ssh-agent
18
+ --image abakpress/ruby-app:$RUBY_IMAGE_TAG
18
19
 
19
- - dip ssh add -T -v /ssh_keys -k /ssh_keys/id_rsa
20
- - dip provision
21
- - dip rspec
20
+ - dip ssh add -T -v /ssh_keys -k /ssh_keys/id_rsa
21
+ - dip provision
22
+ - dip rspec
23
+
24
+ release:
25
+ image: abakpress/gem-publication:edge
26
+ pull: true
27
+ when:
28
+ event: push
29
+ volumes:
30
+ - /home/data/drone/rubygems:/root/.gem
31
+ commands:
32
+ - release-gem --public
data/CHANGELOG.md CHANGED
@@ -1,45 +1,209 @@
1
+ # v0.12.2
1
2
 
2
- #### [Current]
3
- * 2016-11-07 [90bf503](../../commit/90bf503) - __(Konstantin Lazarev)__ chore: add drone and dip
4
- * 2016-11-07 [27502f5](../../commit/27502f5) - __(Konstantin Lazarev)__ feature: add String#mb_downcase method
5
-
6
- #### v0.6.1
7
- * 2016-06-10 [c6c1931](../../commit/c6c1931) - __(Korotaev Danil)__ Release 0.6.1
8
- * 2016-06-03 [739cdac](../../commit/739cdac) - __(Korotaev Danil)__ fix: rename incorrect named method
9
-
10
- #### v0.6.0
11
- * 2016-06-03 [eb8154b](../../commit/eb8154b) - __(Korotaev Danil)__ Release 0.6.0
12
- * 2016-06-02 [697be2c](../../commit/697be2c) - __(Korotaev Danil)__ feat: add clearing deprecated unicode characters
13
-
14
- #### v0.5.0
15
- * 2016-03-10 [b3cbd16](../../commit/b3cbd16) - __(Dmitry Bochkarev)__ Release 0.5.0
16
- * 2016-03-10 [c23456a](../../commit/c23456a) - __(Dmitry Bochkarev)__ fix(sanitizers): подменять невалидные ссылки своим содержимым
17
-
18
- #### v0.4.0
19
- * 2016-02-25 [184963b](../../commit/184963b) - __(Salahutdinov Dmitry)__ Release 0.4.0
20
- * 2016-02-24 [6444952](../../commit/6444952) - __(Nikita Nyatin)__ chore(gemspec): update ru_propisju version
21
- * 2016-01-14 [84856d8](../../commit/84856d8) - __(GIGrave)__ fix(lib/string_tools) return nil if InvalidURIError
22
-
23
- #### v0.3.1
24
- * 2015-12-21 [384b057](../../commit/384b057) - __(Salahutdinov Dmitry)__ Release 0.3.1
25
-
26
- #### v3.0.1
27
- * 2015-12-21 [ed85f26](../../commit/ed85f26) - __(Salahutdinov Dmitry)__ Release 3.0.1
28
- * 2015-12-16 [d310cbf](../../commit/d310cbf) - __(Maxim Derbenev)__ feature(string_tools): add params concatenation method
29
- * 2015-11-12 [f665c33](../../commit/f665c33) - __(Konstantin Lazarev)__ feature: перенос методов очистки от html-разметки
30
-
31
- #### v0.3.0
32
- * 2015-10-28 [a3ca238](../../commit/a3ca238) - __(Sergey D)__ Release 0.3.0
33
- * 2015-10-26 [62ce841](../../commit/62ce841) - __(Dmitry Bochkarev)__ feature(html): удаление ссылок без хоста по-умолчанию
34
- * 2015-10-23 [8fe4384](../../commit/8fe4384) - __(Dmitry Bochkarev)__ fix(sanitizer): нормализация ссылок в юникоде
35
- * 2015-10-23 [4017e3d](../../commit/4017e3d) - __(Dmitry Bochkarev)__ fix(html): кириллические ссылки в урлах
36
- * 2015-10-23 [e05076f](../../commit/e05076f) - __(Dmitry Bochkarev)__ fix(html): поддержка относительных путей
37
- * 2015-10-14 [24bd113](../../commit/24bd113) - __(Dmitry Bochkarev)__ chore: костанта с минимальным размером строки содержащей ссылки
38
- * 2015-10-12 [e48da9f](../../commit/e48da9f) - __(Dmitry Bochkarev)__ feature: удаление ссылок из текста
39
- * 2015-08-07 [274f820](../../commit/274f820) - __(evseevleo)__ feature(strip_tags): removing open comment tags
40
- * 2015-07-20 [94b855d](../../commit/94b855d) - __(Sergey D)__ Release 0.2.0
41
- * 2015-07-18 [81cb0f1](../../commit/81cb0f1) - __(Sergey D)__ feat: missing String.natcmp & Colorize methods
42
-
43
- #### v0.1.0
44
- * 2015-07-15 [29dd2f8](../../commit/29dd2f8) - __(Sergey D)__ feat: Initial commit
45
- * 2015-07-15 [569f0d6](../../commit/569f0d6) - __(Artem Napolskih)__ Initial commit
3
+ * 2018-06-29 [7dfb4d8](../../commit/7dfb4d8) - __(bibendi)__ chore: Fix mounting rubygems in drone.yml
4
+ * 2018-06-29 [238a46f](../../commit/238a46f) - __(bibendi)__ chore: Set readonly gem/credentials on drone.yml
5
+ * 2018-06-29 [38b862d](../../commit/38b862d) - __(bibendi)__ chore: Add test section into droen.yml
6
+ * 2018-06-29 [3004b9a](../../commit/3004b9a) - __(bibendi)__ chore: Add automatic publication
7
+ * 2018-06-20 [5c14758](../../commit/5c14758) - __(Simeon Movchan)__ Release 0.12.1
8
+ * 2018-06-19 [8f2da34](../../commit/8f2da34) - __(Simeon Movchan)__ fix: exclude \n and \t in nonprintable characters
9
+ https://jira.railsc.ru/browse/GOODS-1352
10
+
11
+ * 2018-06-07 [4ab0e64](../../commit/4ab0e64) - __(korotaev)__ Release 0.12.0
12
+ * 2018-06-01 [a7703c5](../../commit/a7703c5) - __(Mikhail Nelaev)__ feature: removing nonprintable characters
13
+ https://jira.railsc.ru/browse/GOODS-1126
14
+
15
+ * 2018-04-20 [d6198f7](../../commit/d6198f7) - __(Mikhail Nelaev)__ Release 0.11.1
16
+ * 2018-04-20 [ec43631](../../commit/ec43631) - __(Mikhail Nelaev)__ fix: use correct tag for js
17
+ https://jira.railsc.ru/browse/GOODS-1246
18
+
19
+ * 2018-03-28 [65a6556](../../commit/65a6556) - __(Mikhail Nelaev)__ Release 0.11.0
20
+ * 2018-03-14 [42e092d](../../commit/42e092d) - __(terentev)__ feat: adds s tag as allowed
21
+ https://jira.railsc.ru/browse/GOODS-1146
22
+
23
+ * 2018-01-23 [02fe448](../../commit/02fe448) - __(Konstantin Lazarev)__ Release 0.10.1
24
+ * 2018-01-23 [629b9fd](../../commit/629b9fd) - __(Konstantin Lazarev)__ fix: не мутировать дефолтный конфиг при многократном вызове sanitize
25
+ https://jira.railsc.ru/browse/CK-1371
26
+
27
+ * 2017-07-27 [42fae44](../../commit/42fae44) - __(korotaev)__ Release 0.10.0
28
+ * 2017-07-06 [0f1be65](../../commit/0f1be65) - __(Mikhail Nelaev)__ feature: iframe normalizer
29
+ https://jira.railsc.ru/browse/GOODS-638
30
+
31
+ * 2017-04-07 [599dc3f](../../commit/599dc3f) - __(Semyon Pupkov)__ Release 0.9.1
32
+ * 2017-04-06 [b0ef302](../../commit/b0ef302) - __(Semyon Pupkov)__ fix: check String class from std lib
33
+ Closes https://github.com/abak-press/string_tools/issues/23
34
+
35
+ * 2017-04-04 [f82cebd](../../commit/f82cebd) - __(Semyon Pupkov)__ chore: remove unused dev dependencies (#22)
36
+ * remove unused dev dependencies
37
+ * Add coverage
38
+ * 2017-04-04 [6eb63e6](../../commit/6eb63e6) - __(Semyon Pupkov)__ Release 0.9.0
39
+ * 2017-04-03 [334ca54](../../commit/334ca54) - __(Semyon Pupkov)__ fix: allow to use ActiveSupport::Multibyte::Chars in to_b
40
+ * 2017-04-03 [9e75fc0](../../commit/9e75fc0) - __(Semyon Pupkov)__ feature: use native implementation for to_b instead active_record
41
+ * 2017-04-03 [682f2ea](../../commit/682f2ea) - __(Semyon Pupkov)__ chore: remove ruby 1.9.3 and rails 3.1 support
42
+ * 2017-01-18 [5fe9a1f](../../commit/5fe9a1f) - __(Michail Merkushin)__ Release 0.8.0
43
+ * 2017-01-18 [ef8b5f1](../../commit/ef8b5f1) - __(Michail Merkushin)__ chore: Relax version for addressable
44
+ * 2016-11-10 [b01044e](../../commit/b01044e) - __(Dmitry Bochkarev)__ Release 0.7.0
45
+ * 2016-11-07 [90bf503](../../commit/90bf503) - __(Konstantin Lazarev)__ chore: add drone and dip
46
+ * 2016-11-07 [27502f5](../../commit/27502f5) - __(Konstantin Lazarev)__ feature: add String#mb_downcase method
47
+ https://jira.railsc.ru/browse/CK-497
48
+
49
+ fix: fix mb_downcase for rails >= 4.0 and <= 4.2
50
+
51
+ https://github.com/rails/rails/commit/393e19e508a08ede0f5037bccb984e3eb252d579
52
+
53
+ * 2016-06-10 [c6c1931](../../commit/c6c1931) - __(Korotaev Danil)__ Release 0.6.1
54
+ * 2016-06-03 [739cdac](../../commit/739cdac) - __(Korotaev Danil)__ fix: rename incorrect named method
55
+ clear_deprecated_unicode_characters -> clear_unicode_separator_characters
56
+
57
+ https://jira.railsc.ru/browse/SERVICES-1040
58
+
59
+ * 2016-06-03 [eb8154b](../../commit/eb8154b) - __(Korotaev Danil)__ Release 0.6.0
60
+ * 2016-06-02 [697be2c](../../commit/697be2c) - __(Korotaev Danil)__ feat: add clearing deprecated unicode characters
61
+ https://jira.railsc.ru/browse/SERVICES-1040
62
+
63
+ * 2016-03-10 [b3cbd16](../../commit/b3cbd16) - __(Dmitry Bochkarev)__ Release 0.5.0
64
+ * 2016-03-10 [c23456a](../../commit/c23456a) - __(Dmitry Bochkarev)__ fix(sanitizers): подменять невалидные ссылки своим содержимым
65
+ https://jira.railsc.ru/browse/SERVICES-906
66
+
67
+ * 2016-02-25 [184963b](../../commit/184963b) - __(Salahutdinov Dmitry)__ Release 0.4.0
68
+ * 2016-02-24 [6444952](../../commit/6444952) - __(Nikita Nyatin)__ chore(gemspec): update ru_propisju version
69
+ * 2016-01-14 [84856d8](../../commit/84856d8) - __(GIGrave)__ fix(lib/string_tools) return nil if InvalidURIError
70
+ https://jira.railsc.ru/browse/PC4-16353
71
+
72
+ * 2015-12-21 [384b057](../../commit/384b057) - __(Salahutdinov Dmitry)__ Release 0.3.1
73
+
74
+ # v3.0.1
75
+
76
+
77
+ # v0.12.1
78
+
79
+ * 2018-06-19 [8f2da34](../../commit/8f2da34) - __(Simeon Movchan)__ fix: exclude \n and \t in nonprintable characters
80
+ https://jira.railsc.ru/browse/GOODS-1352
81
+
82
+ # v0.12.0
83
+
84
+ * 2018-06-01 [a7703c5](../../commit/a7703c5) - __(Mikhail Nelaev)__ feature: removing nonprintable characters
85
+ https://jira.railsc.ru/browse/GOODS-1126
86
+
87
+ # v0.11.1
88
+
89
+ * 2018-04-20 [ec43631](../../commit/ec43631) - __(Mikhail Nelaev)__ fix: use correct tag for js
90
+ https://jira.railsc.ru/browse/GOODS-1246
91
+
92
+ # v0.11.0
93
+
94
+ * 2018-03-14 [42e092d](../../commit/42e092d) - __(terentev)__ feat: adds s tag as allowed
95
+ https://jira.railsc.ru/browse/GOODS-1146
96
+
97
+ # v0.10.1
98
+
99
+ * 2018-01-23 [629b9fd](../../commit/629b9fd) - __(Konstantin Lazarev)__ fix: не мутировать дефолтный конфиг при многократном вызове sanitize
100
+ https://jira.railsc.ru/browse/CK-1371
101
+
102
+ # v0.10.0
103
+
104
+ * 2017-07-06 [0f1be65](../../commit/0f1be65) - __(Mikhail Nelaev)__ feature: iframe normalizer
105
+ https://jira.railsc.ru/browse/GOODS-638
106
+
107
+ # v0.9.1
108
+
109
+ * 2017-04-06 [b0ef302](../../commit/b0ef302) - __(Semyon Pupkov)__ fix: check String class from std lib
110
+ Closes https://github.com/abak-press/string_tools/issues/23
111
+
112
+ * 2017-04-04 [f82cebd](../../commit/f82cebd) - __(Semyon Pupkov)__ chore: remove unused dev dependencies (#22)
113
+ * remove unused dev dependencies
114
+ * Add coverage
115
+
116
+ # v0.9.0
117
+
118
+ * 2017-04-03 [334ca54](../../commit/334ca54) - __(Semyon Pupkov)__ fix: allow to use ActiveSupport::Multibyte::Chars in to_b
119
+ * 2017-04-03 [9e75fc0](../../commit/9e75fc0) - __(Semyon Pupkov)__ feature: use native implementation for to_b instead active_record
120
+ * 2017-04-03 [682f2ea](../../commit/682f2ea) - __(Semyon Pupkov)__ chore: remove ruby 1.9.3 and rails 3.1 support
121
+
122
+ # v0.8.0
123
+
124
+ * 2017-01-18 [ef8b5f1](../../commit/ef8b5f1) - __(Michail Merkushin)__ chore: Relax version for addressable
125
+
126
+ # v0.7.0
127
+
128
+ * 2016-11-07 [90bf503](../../commit/90bf503) - __(Konstantin Lazarev)__ chore: add drone and dip
129
+ * 2016-11-07 [27502f5](../../commit/27502f5) - __(Konstantin Lazarev)__ feature: add String#mb_downcase method
130
+ https://jira.railsc.ru/browse/CK-497
131
+
132
+ fix: fix mb_downcase for rails >= 4.0 and <= 4.2
133
+
134
+ https://github.com/rails/rails/commit/393e19e508a08ede0f5037bccb984e3eb252d579
135
+
136
+ # v0.6.1
137
+
138
+ * 2016-06-03 [739cdac](../../commit/739cdac) - __(Korotaev Danil)__ fix: rename incorrect named method
139
+ clear_deprecated_unicode_characters -> clear_unicode_separator_characters
140
+
141
+ https://jira.railsc.ru/browse/SERVICES-1040
142
+
143
+ # v0.6.0
144
+
145
+ * 2016-06-02 [697be2c](../../commit/697be2c) - __(Korotaev Danil)__ feat: add clearing deprecated unicode characters
146
+ https://jira.railsc.ru/browse/SERVICES-1040
147
+
148
+ # v0.5.0
149
+
150
+ * 2016-03-10 [c23456a](../../commit/c23456a) - __(Dmitry Bochkarev)__ fix(sanitizers): подменять невалидные ссылки своим содержимым
151
+ https://jira.railsc.ru/browse/SERVICES-906
152
+
153
+ # v0.4.0
154
+
155
+ * 2016-02-24 [6444952](../../commit/6444952) - __(Nikita Nyatin)__ chore(gemspec): update ru_propisju version
156
+ * 2016-01-14 [84856d8](../../commit/84856d8) - __(GIGrave)__ fix(lib/string_tools) return nil if InvalidURIError
157
+ https://jira.railsc.ru/browse/PC4-16353
158
+
159
+ # v0.3.1
160
+
161
+ * 2015-12-16 [d310cbf](../../commit/d310cbf) - __(Maxim Derbenev)__ feature(string_tools): add params concatenation method
162
+ https://jira.railsc.ru/browse/PC4-15878
163
+
164
+ * 2015-11-12 [f665c33](../../commit/f665c33) - __(Konstantin Lazarev)__ feature: перенос методов очистки от html-разметки
165
+ https://jira.railsc.ru/browse/CK-30
166
+
167
+ # v0.3.0
168
+
169
+ * 2015-10-26 [62ce841](../../commit/62ce841) - __(Dmitry Bochkarev)__ feature(html): удаление ссылок без хоста по-умолчанию
170
+ https://jira.railsc.ru/browse/SERVICES-594
171
+
172
+ * 2015-10-23 [8fe4384](../../commit/8fe4384) - __(Dmitry Bochkarev)__ fix(sanitizer): нормализация ссылок в юникоде
173
+ * 2015-10-23 [4017e3d](../../commit/4017e3d) - __(Dmitry Bochkarev)__ fix(html): кириллические ссылки в урлах
174
+ https://jira.railsc.ru/browse/SERVICES-594
175
+
176
+ старая логика заменяла unicode ссылки на представление в URI-encoding:
177
+
178
+ ```
179
+ [97] pry(main)> Nokogiri::HTML::DocumentFragment.parse('<a href="http://www.фермаежей.рф/index.html">ссылка</a>').to_s
180
+ => "<a href=\"http://www.%D1%84%D0%B5%D1%80%D0%BC%D0%B0%D0%B5%D0%B6%D0%B5%D0%B9.%D1%80%D1%84/index.html\">ссылка</a>"
181
+ ```
182
+
183
+ * 2015-10-23 [e05076f](../../commit/e05076f) - __(Dmitry Bochkarev)__ fix(html): поддержка относительных путей
184
+ https://jira.railsc.ru/browse/SERVICES-594
185
+
186
+ * 2015-10-14 [24bd113](../../commit/24bd113) - __(Dmitry Bochkarev)__ chore: костанта с минимальным размером строки содержащей ссылки
187
+ https://jira.railsc.ru/browse/SERVICES-594
188
+
189
+ https://github.com/abak-press/apress-products/pull/66#discussion_r41950430
190
+
191
+ * 2015-10-12 [e48da9f](../../commit/e48da9f) - __(Dmitry Bochkarev)__ feature: удаление ссылок из текста
192
+ https://jira.railsc.ru/browse/SERVICES-597
193
+
194
+ * 2015-08-07 [274f820](../../commit/274f820) - __(evseevleo)__ feature(strip_tags): removing open comment tags
195
+ connected to BPC-6442
196
+ closes BPc-6652
197
+
198
+ # v0.2.0
199
+
200
+ * 2015-07-18 [81cb0f1](../../commit/81cb0f1) - __(Sergey D)__ feat: missing String.natcmp & Colorize methods
201
+
202
+ # v0.1.0
203
+
204
+ * 2015-07-15 [29dd2f8](../../commit/29dd2f8) - __(Sergey D)__ feat: Initial commit
205
+ Code merged from Apress::Utils and Plugin base_class_extensions/string
206
+
207
+ Closes SG-3689
208
+
209
+ * 2015-07-15 [569f0d6](../../commit/569f0d6) - __(Artem Napolskih)__ Initial commit
@@ -1,3 +1,3 @@
1
1
  module StringTools
2
- VERSION = '0.12.1'.freeze
2
+ VERSION = '0.12.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: string_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.1
4
+ version: 0.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey D.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-20 00:00:00.000000000 Z
11
+ date: 2018-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -239,7 +239,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
239
239
  version: '0'
240
240
  requirements: []
241
241
  rubyforge_project:
242
- rubygems_version: 2.6.8
242
+ rubygems_version: 2.6.1
243
243
  signing_key:
244
244
  specification_version: 4
245
245
  summary: String Tools