test_launcher 1.0.0 → 1.1.0

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: a5d53997bd88d7bff2231d598664f4a9d2c17534
4
- data.tar.gz: 665cc8fafb6894917dd92c8c788e3312698df4a0
3
+ metadata.gz: 773dc6472aa5d52fda9747f512de8ce5491e7d39
4
+ data.tar.gz: 33b01ebf5203842361c3dbe69715631a86030bb5
5
5
  SHA512:
6
- metadata.gz: 195db1420d9e19aeef576839f018f5a9596f5ef873401ae46e0a695a4fc52de4cf948092e714d627a367e9dcf8d91388c723a06067f9b01eeca9f3c91cce6168
7
- data.tar.gz: a70dd282dcd28bab87961be98c848cb1d5b8a825d89b7befae3c67270f1331c17dd7a473ad6e265ea0875de9214f9db20fcef9a97c784acae0414c14aa45ad01
6
+ metadata.gz: c042bfdebd18edd001ded31cd8d20f1cbc2f88255971a9fe9becd321e7bb24da5941286798e1d2c66da10ce8219edec306ede700219894ae7e33d39bf7ed8661
7
+ data.tar.gz: 0a89feef0f7ed8d1172be53c2e43a46517904ade73502357cb6c9be20fb7f11c288b6e054d29ea28df08ed31b4f7713274a3591f0935e34855f3bd0cba18e871
@@ -26,10 +26,9 @@ module TestLauncher
26
26
  private
27
27
 
28
28
  def files_found_by_absolute_path
29
- return [] unless query.match(/^\//)
29
+ return [] unless File.exist?(query)
30
30
 
31
- relative_file_path = query.sub(Dir.pwd, '').sub(/^\//, '')
32
- [ build_result(file: relative_file_path) ]
31
+ [ build_result(file: query) ]
33
32
  end
34
33
 
35
34
  def examples_found_by_name
@@ -1,3 +1,3 @@
1
1
  module TestLauncher
2
- VERSION = "1.0.0"
2
+ VERSION = "1.1.0"
3
3
  end
data/test/install CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- gem uninstall -Ix test_launcher && gem build test_launcher.gemspec && gem install test_launcher-0.1.0.gem
3
+ gem uninstall -Ix test_launcher && gem build test_launcher.gemspec && gem install test_launcher-1.0.0.gem
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test_launcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pete Kinnecom
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-27 00:00:00.000000000 Z
11
+ date: 2016-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler