onlyoffice_rspec_parser 0.5.0 → 0.6.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: 73dabe721557a00cbb116eba94a60b08193a53f13a4c661dba8e1b73d6edd2ed
4
- data.tar.gz: 22b3cc26a9d9fb4be2d83bae3716dcb8ee7b5ad590333330b6c4dca7d2921c33
3
+ metadata.gz: 9f71b860647850f60ed148a8144adb364a4f8689e72588360f9cbc0345a8d66c
4
+ data.tar.gz: 9183df8ada63f9a8fc201a3d5994d1844d112cedc2239c29dbbe7899f033dab0
5
5
  SHA512:
6
- metadata.gz: dd6ea64100b8b246ad20189470726b07f9af206675f9f660ba3926176ad63b390357cba233981fe703ebad373c3e67cb6e7724f6b5d0909fb6df85dd78ed5902
7
- data.tar.gz: 8ed79ca3775a0d1eec460f3130e1cfea44a34ec649b9ba31af1f666cc1e272ce47c23d7d1bfee756f50319105f73aa0c49d7b8562081c8b771883bee0aa721c8
6
+ metadata.gz: 99916c412f203d74b4121549cf028eab94f3f01ea406828b61e1fc1c3f4c178df440d460ddeee555377967710bde633894e3511426eba6023a508705f37f7051
7
+ data.tar.gz: 4a4f8f9f6444110e7c9dba72e0df7cc4f77df874eb689e877d71f26196233ce0392ecb11fde1ce758d4d209369158c84a11e1930555d1e32d4a92a9d00a23f28
@@ -49,12 +49,14 @@ module OnlyofficeRspecParser
49
49
 
50
50
  # Check if path with a lot of specs contains doubles
51
51
  # @param [String] folder path
52
- # @return [Array<String>] list of duplicates
52
+ # @return [Boolean] is there some files with doubles
53
53
  def self.check_folder_for_spec_doubles(folder)
54
+ doubles_found = false
54
55
  files = Dir.glob("#{folder}/**/*_spec.*")
55
56
  files.each do |cur_file|
56
- check_for_doubles(cur_file)
57
+ doubles_found = true if check_for_doubles(cur_file).length.positive?
57
58
  end
59
+ doubles_found
58
60
  end
59
61
  end
60
62
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  module OnlyofficeRspecParser
4
4
  # @return [String] version of gem
5
- VERSION = '0.5.0'
5
+ VERSION = '0.6.0'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onlyoffice_rspec_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ONLYOFFICE
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-08-10 00:00:00.000000000 Z
12
+ date: 2022-09-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: onlyoffice_file_helper
@@ -229,7 +229,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
229
229
  - !ruby/object:Gem::Version
230
230
  version: '0'
231
231
  requirements: []
232
- rubygems_version: 3.3.20
232
+ rubygems_version: 3.3.21
233
233
  signing_key:
234
234
  specification_version: 4
235
235
  summary: Parse rspec