string_tools 0.13.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aacc7b6fad14a8c6972725fe7fc740893b3a24f3
4
- data.tar.gz: 6055322c6803fb896c76290fe61c20d1b3202458
3
+ metadata.gz: 57e1acbe7d6ac7dc94cd9aa2fd1112b0042baa99
4
+ data.tar.gz: 59da0ec6fef5008a41f46905a820838973bcd3d3
5
5
  SHA512:
6
- metadata.gz: 56d07342c5b225ce65eece9dae4b89fdee2a335df7f6663c1b6231bdbf24573777f1b3f69a86a43d96079a05cabafde6bb0ceff373c6326f23fd672bada2549b
7
- data.tar.gz: 9141388d89966dff07e3f8645142faf00759e9f824fed8ed585d387d0b84f3abc59fb90aef244603de0fb937c9242a42d5f7941a3f516f0640d95e6fbc8123e2
6
+ metadata.gz: 7dfffb81afe9dbe38d25555210a901208fafeda2db42218267b7a03a2be7f543ecb35a2e8d06db2ea25ab25e06a5f8902545da90994205b3943082f8fc7eda8a
7
+ data.tar.gz: ca70542c948527a82529703d4a872bfc9bfd8cfd45f6088fba469213676ddc920dd33f09706e27e60689e781ebfb7325f1a623a0c48ef7c432f4e0318cd90272
data/Appraisals CHANGED
@@ -1,10 +1,14 @@
1
- appraise 'rails3.2' do
2
- gem 'actionpack', '~> 3.2.0'
3
- gem 'activesupport', '~> 3.2.0'
4
- end
5
-
6
1
  appraise 'rails4.0' do
7
2
  gem 'actionpack', '~> 4.0.0'
8
3
  gem 'activesupport', '~> 4.0.0'
9
4
  end
10
5
 
6
+ appraise 'rails4.1' do
7
+ gem 'actionpack', '~> 4.1.0'
8
+ gem 'activesupport', '~> 4.1.0'
9
+ end
10
+
11
+ appraise 'rails4.2' do
12
+ gem 'actionpack', '~> 4.2.0'
13
+ gem 'activesupport', '~> 4.2.0'
14
+ end
data/CHANGELOG.md CHANGED
@@ -1,10 +1,13 @@
1
- # v0.13.0
1
+ # v0.14.0
2
2
 
3
+ * 2019-10-10 [770ed2b](../../commit/770ed2b) - __(TamarinEA)__ Release 0.14.0
3
4
  * 2019-10-08 [b182709](../../commit/b182709) - __(Ilya Zhidkov)__ Release 0.13.0
4
5
  * 2019-09-24 [87d134d](../../commit/87d134d) - __(evseevleo)__ chore(transliteration): add examples to README
5
6
  * 2019-09-23 [4effcb9](../../commit/4effcb9) - __(evseevleo)__ feat(translit): add keyboard layout switch&transliteration
6
7
  https://jira.railsc.ru/browse/BPC-15151
7
8
 
9
+ * 2019-09-23 [f495195](../../commit/f495195) - __(TamarinEA)__ feature: use nokogiri for strip tags
10
+ * 2019-09-23 [2054e2a](../../commit/2054e2a) - __(TamarinEA)__ chore: test rails 4.0 - 4.2
8
11
  * 2018-06-29 [f5213df](../../commit/f5213df) - __(bibendi)__ chore: User latest gem-publication
9
12
  * 2018-06-29 [7dfb4d8](../../commit/7dfb4d8) - __(bibendi)__ chore: Fix mounting rubygems in drone.yml
10
13
  * 2018-06-29 [238a46f](../../commit/238a46f) - __(bibendi)__ chore: Set readonly gem/credentials on drone.yml
@@ -80,6 +83,14 @@ https://jira.railsc.ru/browse/PC4-16353
80
83
  # v3.0.1
81
84
 
82
85
 
86
+ # v0.13.0
87
+
88
+ * 2019-09-24 [87d134d](../../commit/87d134d) - __(evseevleo)__ chore(transliteration): add examples to README
89
+ * 2019-09-23 [4effcb9](../../commit/4effcb9) - __(evseevleo)__ feat(translit): add keyboard layout switch&transliteration
90
+ https://jira.railsc.ru/browse/BPC-15151
91
+
92
+ * 2018-06-29 [f5213df](../../commit/f5213df) - __(bibendi)__ chore: User latest gem-publication
93
+
83
94
  # v0.12.2
84
95
 
85
96
  * 2018-06-29 [7dfb4d8](../../commit/7dfb4d8) - __(bibendi)__ chore: Fix mounting rubygems in drone.yml
@@ -18,7 +18,7 @@ class String
18
18
  # возвращает строку из которой удалены HTML-теги
19
19
  # символы <>&" остаются без изменения
20
20
  def strip_tags
21
- ActionController::Base.helpers.strip_tags(self).to_str.gsub(/<!--/, '<--')
21
+ Nokogiri::HTML5.parse(self).content
22
22
  end
23
23
 
24
24
  # '11,3'.to_f
@@ -1,3 +1,3 @@
1
1
  module StringTools
2
- VERSION = '0.13.0'.freeze
2
+ VERSION = '0.14.0'.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.13.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey D.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-08 00:00:00.000000000 Z
11
+ date: 2019-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack