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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 26ba1ca59cc42ef0a3c810f956caf515c6bb1bcf
4
- data.tar.gz: dc079e852ca60b29f0180cbd7875597d025beaa4
3
+ metadata.gz: 609d25aae264835c84b20e216eafe15649f39f2b
4
+ data.tar.gz: c61ab6e0fc46726ff4ae2bf1e4fe2741a3905e3d
5
5
  SHA512:
6
- metadata.gz: fda3466dfed24161454fa77e7375df031e35face4dbb8ccab0f462237a69ff3169fa084094c534ff3f86186413741dbf0b8f6085a29631713d99a998ce49db12
7
- data.tar.gz: 17d3af3baccae1098922232189b904054c6bac4d5b2fe98ff971395b41f27658e55b5df3a1d076bd3a08abb43bead779fadc0375205b34f853460a8cf850471b
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.7"
8
+ spec.version = "0.1.8"
9
9
  spec.authors = ["Dmitry Silchenko"]
10
10
  spec.email = ["dmitry@desofto.com"]
11
11
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quick-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Silchenko