matest 1.7.3 → 1.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a565bf97f7247ca4c2aa4c9e988e1058ac0537aa
4
- data.tar.gz: 34fac83be467cc4850443a3873999e2704497aa5
3
+ metadata.gz: a4d44c52181370ea4fa1e4776fe65bec52237de3
4
+ data.tar.gz: cc0501daa514b3376bee52ca9d8b52f59c4bd7e7
5
5
  SHA512:
6
- metadata.gz: 120180035aea780eca19df7ec7897af3a87f45bb6ba2486c2d5dc23dd5bccb9e173858f59982c553ff075c2db882a4b589466081903b5f5711f063186ce6c7d6
7
- data.tar.gz: f7a6749b03d4553cd8b02aff77d7c0a1b7d65a44652b28e7b2a9806ac77d8b8bfac040124caa7ee8539249d9139c8fe53657d92001f9d246a22e2588eb8455ce
6
+ metadata.gz: 9c40e2f69da5f5f35c1c4a513b2e9411275f1127a2c5413b40eaf2d2d5798f813789b15bf9c979bccd470a52a44221faee0a55fac2a182f1c2752fc5dc350de9
7
+ data.tar.gz: d3fa25d954b9d8bcb9edfc1c06c78bf78391b50a64868e1ddfc7742b4ee129e88ff952524142cef2347470c360eddda366e044dc7c6de6ab751194576f9e7cc9
@@ -1,9 +1,9 @@
1
1
  task :spec do
2
2
  arg_files = (ENV["FILES"] && ENV["FILES"].split(/[\s,]+/)) || [ENV["SPEC"]]
3
- if arg_files
3
+ if arg_files.any?
4
4
  arg_files.map! { |file_name|
5
5
  path = Pathname(file_name.to_s).expand_path
6
- unless Pathname(file_name.to_s.split(":").first.to_s).exist?
6
+ unless Pathname(file_name.to_s.split(":").first).exist?
7
7
  raise "Spec file not found: #{file_name.inspect}"
8
8
  end
9
9
  path.directory? ? path.to_s + "/**/*.rb" : path.to_s
@@ -14,5 +14,5 @@ task :spec do
14
14
  files = arg_files || all_files
15
15
  puts "\nRuning tests for: #{ files.join(" ") }\n\n"
16
16
 
17
- system *["matest"].concat(files)
17
+ system ["matest"].concat(files).join(" ")
18
18
  end
@@ -1,3 +1,3 @@
1
1
  module Matest
2
- VERSION = "1.7.3"
2
+ VERSION = "1.7.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: matest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.3
4
+ version: 1.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Federico Iachetti