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 +4 -4
- data/lib/learn_test/strategies/python_unittest.rb +5 -1
- data/lib/learn_test/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe6bf93302286117f667a4a13e13b30091dd6276
|
4
|
+
data.tar.gz: ec99bebcb1a15014eac0dfad7c78138231af0c95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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,
|
data/lib/learn_test/version.rb
CHANGED
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.
|
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-
|
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.
|
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
|