mudguard 0.2.1 → 0.2.2

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: d384ee5557f4d0f68677c18a1f2a061162a3fbd3969857fa47da1f7161ef6bec
4
- data.tar.gz: 720c4ef554ddf0caa5dfc7cfe56f442241e5322035a815ccd59695364e2b63af
3
+ metadata.gz: 9eb5bc544f7c9cfd9d472be7531d3dcf0c9f66ef53b30333ffa60fdd09092e6a
4
+ data.tar.gz: 4e3a47b2512035f09678e8b1b3670a90c1f150f995ca57b9b13ce569cadc6eda
5
5
  SHA512:
6
- metadata.gz: dd1cbc4a2923432a5d03ba66a4877a4d929b50c7fda9a5ac96f4ca121c90c6a55f44449f9b8203da316aece3e67dcb9b0280cb4c4274250336157b5c0a99bd59
7
- data.tar.gz: ce566eda69b97597a1b89326717bf1097644e18dea052f6a776a0536e814e3942bfb7932cfb3499541cacf1a69437fdb8d2830f30554a89be360f66e8232d445
6
+ metadata.gz: 3e0818bd960ef30419b87e98169e7dbfe791ae1c5a9be458100c21a4a2dcc9cb5d615a9449d929ac1d0b45bc23059d4e218950df0fbdc737064f9a8198d0ddd6
7
+ data.tar.gz: d099a3fe5e9f98a7c6cc02882d73177d142dc77bbc39d28d48d550ff1967082f60c0b4afbcdf021c574fa506c581bf28f6b465b74e3d9262411eeedd513f4e57
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mudguard (0.2.1)
4
+ mudguard (0.2.2)
5
5
  parser (~> 2.7)
6
6
  rake (~> 13.0)
7
7
 
data/Guardfile CHANGED
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  rspec_options = {
4
- cmd: "rspec",
4
+ cmd: "bundle exec rspec",
5
5
  notification: false,
6
6
  failed_mode: :focus
7
7
  }
@@ -25,7 +25,7 @@ module Mudguard
25
25
  def enumerate_files(project_path, patterns)
26
26
  project_path_name = Pathname.new(project_path)
27
27
  ruby_files = patterns.map { |p| File.join(project_path, p) }
28
- Dir.glob(ruby_files).map do |f|
28
+ Dir.glob(ruby_files).select { |f| File.file?(f) }.map do |f|
29
29
  file_path_name = Pathname.new(f)
30
30
  diff_path = file_path_name.relative_path_from(project_path_name).to_s
31
31
  Mudguard::Domain::Source.new(location: File.join("./", diff_path),
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Mudguard
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mudguard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jorg Jenni
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-08-24 00:00:00.000000000 Z
11
+ date: 2021-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler