test_launcher 2.14.1.pre1 → 2.15.0

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: d4a45be4f0446aca788daa527994210037afe9a7
4
- data.tar.gz: 100256d6001d57eca614037a69def2499e86b08a
3
+ metadata.gz: 397d2718bb405d496b8aa7c99c6eeba7fee6318f
4
+ data.tar.gz: 736cfef80c3f2af92ad0ab0a25f1597f185afee9
5
5
  SHA512:
6
- metadata.gz: 80e4ba43679d1e492bf8427113b798f188fa3bb5211c4876a2ab034c09b90cba155f7d55ebac2fd3ce09576546744c97ad05b2edc659a4a9e7adf2ac4e553b92
7
- data.tar.gz: e52381314b0d8136ba4c2937c403440d0517161921466e6ebf2f76097174acfd0c872a58151568c11037ee10ab6c4cde8050ffa37f5df4d9135590c1905d21c9
6
+ metadata.gz: bba3bceaddd6223c8b25de41357d29d8fe0b4d6bd64357d7f6de167f03dbc4dfef596aa98214acff07330d2c24a344dcf0affce3a2d347d783c16249b973c0c5
7
+ data.tar.gz: 26464cab6e33dbab2d6ea93e3c5c967242caee6729b6f59220eb7d09de1ed3a4dd4f1025db2a66e8128dd6acbc331f42a75d827ab8722f864c89d12381309fbe
@@ -47,7 +47,7 @@ module TestLauncher
47
47
  if best_result
48
48
  [{
49
49
  file: best_result[:file],
50
- example_name: best_result[:line].match(/(test_\w+)/)[1],
50
+ example_name: best_result[:line].match(/(test_[\w\?]+)/)[1],
51
51
  line_number: best_result[:line_number]
52
52
  }]
53
53
  else
@@ -1,3 +1,3 @@
1
1
  module TestLauncher
2
- VERSION = "2.14.1.pre1"
2
+ VERSION = "2.15.0"
3
3
  end
@@ -584,7 +584,7 @@ module TestLauncher
584
584
  things
585
585
  end
586
586
 
587
- def test_name_2
587
+ def test_name_2?
588
588
  things
589
589
  end
590
590
  end
@@ -608,13 +608,13 @@ module TestLauncher
608
608
  assert_equal "cd /src && bundle exec ruby -I test /src/test/file_1_test.rb --name='test_name_1'", shell_mock.recall_exec
609
609
 
610
610
  launch("file_1_test.rb:6", searcher: searcher)
611
- assert_equal "cd /src && bundle exec ruby -I test /src/test/file_1_test.rb --name='test_name_2'", shell_mock.recall_exec
611
+ assert_equal "cd /src && bundle exec ruby -I test /src/test/file_1_test.rb --name='test_name_2?'", shell_mock.recall_exec
612
612
 
613
613
  launch("file_1_test.rb:7", searcher: searcher)
614
- assert_equal "cd /src && bundle exec ruby -I test /src/test/file_1_test.rb --name='test_name_2'", shell_mock.recall_exec
614
+ assert_equal "cd /src && bundle exec ruby -I test /src/test/file_1_test.rb --name='test_name_2?'", shell_mock.recall_exec
615
615
 
616
616
  launch("file_1_test.rb:8", searcher: searcher)
617
- assert_equal "cd /src && bundle exec ruby -I test /src/test/file_1_test.rb --name='test_name_2'", shell_mock.recall_exec
617
+ assert_equal "cd /src && bundle exec ruby -I test /src/test/file_1_test.rb --name='test_name_2?'", shell_mock.recall_exec
618
618
  end
619
619
 
620
620
  def test__by_line_number__multiple_files
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test_launcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.14.1.pre1
4
+ version: 2.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pete Kinnecom
@@ -119,9 +119,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
119
119
  version: '0'
120
120
  required_rubygems_version: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ">"
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
- version: 1.3.1
124
+ version: '0'
125
125
  requirements: []
126
126
  rubyforge_project:
127
127
  rubygems_version: 2.5.2