quick-rspec 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/quick-rspec.rb +1 -2
- data/quick-rspec.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 609d25aae264835c84b20e216eafe15649f39f2b
|
4
|
+
data.tar.gz: c61ab6e0fc46726ff4ae2bf1e4fe2741a3905e3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bea679b2683a499a81e56b5206d529bcd68bd97e903d5ace6cd638af7749c93a697a25f0dd56ed3df9ba1ee91c05bc5fba09ebd8ef5083415a69c3df36490e89
|
7
|
+
data.tar.gz: 59f96b486bcf2d9200e1fe19923917265db38a9f5ac8a894002e4a29266d3219fd308fce7fddf428e4385f491bd41b836289ca367d4981f6e35b70becbc81688
|
data/lib/quick-rspec.rb
CHANGED
@@ -26,8 +26,7 @@ class QuickRspec < Rails::Railtie
|
|
26
26
|
@@last_cover = cover
|
27
27
|
@@threads << Thread.new do
|
28
28
|
cover.each do |path, coverage|
|
29
|
-
next unless path =~ %r{^#{Regexp.escape(root)}}i
|
30
|
-
next if path =~ %r{^#{Regexp.escape(root)}\/spec\/}i
|
29
|
+
next unless path =~ %r{^#{Regexp.escape(root)}\/(app|lib|config)\/.*\.rb}i
|
31
30
|
last_cover = prev_cover[path]
|
32
31
|
path = QuickRspec.relevant_path(path)
|
33
32
|
coverage = coverage.each_with_index.map.map do |count, index|
|
data/quick-rspec.gemspec
CHANGED
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.required_ruby_version = '>= 2.3'
|
7
7
|
spec.name = "quick-rspec"
|
8
|
-
spec.version = "0.1.
|
8
|
+
spec.version = "0.1.8"
|
9
9
|
spec.authors = ["Dmitry Silchenko"]
|
10
10
|
spec.email = ["dmitry@desofto.com"]
|
11
11
|
|