learn-test 2.5.3 → 2.5.4

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: 260605aecc6cd362278bee3577b6aca4aa0715ee
4
- data.tar.gz: 87179e294cc294b2851432f2662cacb0a2432cd0
3
+ metadata.gz: fe6bf93302286117f667a4a13e13b30091dd6276
4
+ data.tar.gz: ec99bebcb1a15014eac0dfad7c78138231af0c95
5
5
  SHA512:
6
- metadata.gz: 21f5185875e4200f1c2ac3414dbd7f57e13d8986a271796e19c99e52fcbb91c5f008509c7755d0831998b2f420b1a183a336a7dad1228c1d87014cb76567f520
7
- data.tar.gz: 807f0b1f6f66747f7708f39d3b590400089407c1de5b35e21deee45499a7a6c71b3e7584391520293d06b00b03ac70675d0454c0faa0b70d0975c90eacedc6c4
6
+ metadata.gz: 2ea80e1ab517dc67cd11e1fe420e6179b26ea9638847c94d53dd651227fdf18d84755bbe4cad697ab02b410a3caf27d82d1627ae528ca0c47b704642e7f0b246
7
+ data.tar.gz: f86b526d6d7959913c02bb1ef0629b68f4dfe01fb23069bf4c13c44f277a6b5e6e82ba2465c0bf01e844ef8a8dca8c6fdb64d95bfafde285b423de9e6874a72a
@@ -9,7 +9,7 @@ module LearnTest
9
9
  end
10
10
 
11
11
  def detect
12
- runner.files.any? {|f| f.match(/.*.py$/) }
12
+ test_files.any? {|f| f.match(/.*\.py$/) }
13
13
  end
14
14
 
15
15
  def check_dependencies
@@ -25,6 +25,10 @@ module LearnTest
25
25
  @output ||= Oj.load(File.read('.results.json'), symbol_keys: true)
26
26
  end
27
27
 
28
+ def test_files
29
+ @test_files ||= Dir.glob("**/*_test.py")
30
+ end
31
+
28
32
  def results
29
33
  {
30
34
  username: username,
@@ -1,3 +1,3 @@
1
1
  module LearnTest
2
- VERSION = '2.5.3'
2
+ VERSION = '2.5.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: learn-test
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.3
4
+ version: 2.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Flatiron School
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-09 00:00:00.000000000 Z
11
+ date: 2018-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -336,7 +336,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
336
336
  version: '0'
337
337
  requirements: []
338
338
  rubyforge_project:
339
- rubygems_version: 2.6.13
339
+ rubygems_version: 2.6.14
340
340
  signing_key:
341
341
  specification_version: 4
342
342
  summary: Runs RSpec, Jasmine, Karma, Mocha, and Python Unit Test builds and pushes