sfb_scripts 1.5 → 1.6

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: 4331f2d765b901cc8d384db62ef40894242fdb51
4
- data.tar.gz: 125839c5dad8e1a67f06843fea59984d59144367
3
+ metadata.gz: 5e7279bb5e7fffd4a2b44fad0f7ae8f2b6cf0ce7
4
+ data.tar.gz: 8a1131704ff90b965179f71f41ea62f68de24482
5
5
  SHA512:
6
- metadata.gz: e4723d8f8bae2f59d0227dae4ed102d818d3b8d8e3517cefc18872cb9cee9bde635568c81e3c037e3708f23de9941ce4fdf8132e62a7f6357507bf2f252a25a7
7
- data.tar.gz: c59b89377676bfa2ddc96544009a095844ffc63d6a939c4bdd15ff4b5dc9c316e3400b648969e35139d0ecf650f4fba8deb421937fa04fad5bbafe8afd8da24e
6
+ metadata.gz: 31638c99f1501a7b035bdda11105e69792722269ece7d8ac5add2ce85d1ff85d092a75979df327361e4dfbaf0fa35f67d5644996a910fd9afe55006b9f323da1
7
+ data.tar.gz: 8005900cb970a8725b2e2f97d518485b2ce93fc7f1d89e1a80617fb8045bc7775bf07c60344da99eaf007ceaaf3d70b1530881b411f5dd327892df62eb22c9e1
@@ -4,9 +4,9 @@ class TestCollection
4
4
 
5
5
  attr_reader :tests, :query
6
6
 
7
- def initialize(tests_matches: [], query:)
7
+ def initialize(tests_data=[], query: '')
8
8
  @query = query
9
- @tests = tests_matches.map do |test_data|
9
+ @tests = tests_data.map do |test_data|
10
10
  test_data = {file: test_data} if test_data.is_a?(String)
11
11
  TestCase.new(
12
12
  full_path: test_data[:file],
@@ -47,7 +47,7 @@ class TestFinder
47
47
  # git grep returns 1 if no results found
48
48
  end
49
49
 
50
- TestCollection.new(tests_matches: test_matches, query: query)
50
+ TestCollection.new(test_matches, query: query)
51
51
  end
52
52
  end
53
53
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sfb_scripts
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.5'
4
+ version: '1.6'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pete Kinnecom