onlyoffice_rspec_result_parser 0.2.0 → 1.0.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: 8d885c4e0248f1afb7c57271b777bb16aafff6aeee5fe5c046f7a8b8b2942de4
4
- data.tar.gz: 52889a4bb7ac730a6296728619201f613fbf1a23fe9925d7122ed84307fdd1f3
3
+ metadata.gz: fca51873554ec893514f458b6b5efbf163208383283601dee566dffe10b8204e
4
+ data.tar.gz: d3941700b839dd7e52d6d1e6f5614c3d002739189db734fcc8e614ab718ec024
5
5
  SHA512:
6
- metadata.gz: bcdf309e8c2550bcd18cab6941c3437ec7277c8bc8395f819d8a051a0f84b15114670b4122dc727abcf668cbe3383a8bbd3cb32ab283f2186966c287fd631fa9
7
- data.tar.gz: 799ce17c0b4c4ab38136d83e3a4e12fc7d429a8e8ecd19a6a271616e07168bab0cb4721433f74048c0f4b75a85597fbe73d53d4438151e9bd0dddaff3840cd3b
6
+ metadata.gz: 9d3f5b9169f457d29eb9fa2d94a6aea725f41b95eea798d6218faa41fed472095713e4cd739500d31d1337c38b2af90acf9254087d1cacb3b2ecbfadcea832a1
7
+ data.tar.gz: f7f2309be7ae1e2ee1a00721fb00518e7a0c5a3b895a9aec87fd374ee5ac9802a9fa039a867411e59e370d3b348d7cba25c44716dda265f97767a7e97c23f075
@@ -51,7 +51,7 @@ module OnlyofficeRspecResultParser
51
51
  # @return [String] text with clickable link
52
52
  def format_link(text)
53
53
  links = URI.extract(text)
54
- links.each do |current_link|
54
+ links.uniq.each do |current_link|
55
55
  if current_link.end_with?('png', 'jpg')
56
56
  text.gsub!(current_link, link_url_50_percent(current_link))
57
57
  elsif current_link.start_with?('http')
@@ -3,7 +3,7 @@
3
3
  # Main namespace of gem
4
4
  module OnlyofficeRspecResultParser
5
5
  # @return [String] gem version
6
- VERSION = '0.2.0'
6
+ VERSION = '1.0.0'
7
7
  # @return [String] gem name
8
8
  NAME = 'onlyoffice_rspec_result_parser'
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onlyoffice_rspec_result_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ONLYOFFICE
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2020-12-29 00:00:00.000000000 Z
13
+ date: 2022-02-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: nokogiri
@@ -176,6 +176,7 @@ metadata:
176
176
  documentation_uri: https://www.rubydoc.info/gems/onlyoffice_rspec_result_parser
177
177
  homepage_uri: https://github.com/ONLYOFFICE-QA/onlyoffice_rspec_result_parser
178
178
  source_code_uri: https://github.com/ONLYOFFICE-QA/onlyoffice_rspec_result_parser
179
+ rubygems_mfa_required: 'true'
179
180
  post_install_message:
180
181
  rdoc_options: []
181
182
  require_paths:
@@ -191,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
191
192
  - !ruby/object:Gem::Version
192
193
  version: '0'
193
194
  requirements: []
194
- rubygems_version: 3.1.4
195
+ rubygems_version: 3.3.7
195
196
  signing_key:
196
197
  specification_version: 4
197
198
  summary: Gem to parse rspec results