miss_cleo 0.3.2 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/miss_cleo +1 -1
- data/lib/miss_cleo/coverage_map_helper.rb +3 -3
- data/lib/miss_cleo/version.rb +1 -1
- data/lib/miss_cleo.rb +2 -0
- data/miss_cleo.gemspec +1 -0
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb548a7fe1a3d67044f2b6f8d0a99a70f8d37f30
|
4
|
+
data.tar.gz: b67b5e3e012594c6411d33e9f5fb6df6c43eb913
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad577f4f1cf88ca9853b96308eb8b4d32ab8eca43a4e25b48f65a4b6333b427cd3e42cf8d246a737e96e24fcc5bfa236b9a237f6fd745432279ff9fb3d45aac1
|
7
|
+
data.tar.gz: 3cc9b2f6cdd858a2e191f01c3e05952507ed22b59eb320d21b99faab2be8da9e8cace8bc3c06a9fb0e0232559d008e022fc411d0239ec2bdca3d3adea80f531d
|
data/bin/miss_cleo
CHANGED
@@ -15,8 +15,8 @@ module MissCleo
|
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
18
|
-
File.open("total_coverage_map.json", "w") do |f|
|
19
|
-
f.write(JSON.dump(cov_map))
|
18
|
+
File.open("total_coverage_map.json.gz", "w") do |f|
|
19
|
+
f.write(JSON.dump(cov_map).gzip)
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
@@ -41,7 +41,7 @@ module MissCleo
|
|
41
41
|
end
|
42
42
|
end
|
43
43
|
|
44
|
-
coverage_map = JSON.parse(File.open("total_coverage_map.json").read)
|
44
|
+
coverage_map = JSON.parse(File.open("total_coverage_map.json.gz").read.gunzip)
|
45
45
|
tests_to_run = []
|
46
46
|
lines_changed.each do |file, line|
|
47
47
|
coverage_map && coverage_map[file] && coverage_map[file].fetch(line.to_s, []).uniq.each do |desc|
|
data/lib/miss_cleo/version.rb
CHANGED
data/lib/miss_cleo.rb
CHANGED
@@ -4,11 +4,13 @@ require 'coverage'
|
|
4
4
|
require 'shellwords'
|
5
5
|
require 'rugged'
|
6
6
|
require 'set'
|
7
|
+
require 'gzip'
|
7
8
|
|
8
9
|
require "miss_cleo/version"
|
9
10
|
require 'miss_cleo/coverage_filter'
|
10
11
|
require 'miss_cleo/test_configurations/cucumber_config'
|
11
12
|
require 'miss_cleo/test_configurations/rspec_config'
|
13
|
+
require 'miss_cleo/coverage_map_helper.rb'
|
12
14
|
|
13
15
|
module MissCleo
|
14
16
|
end
|
data/miss_cleo.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: miss_cleo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dean Hu
|
@@ -40,6 +40,20 @@ dependencies:
|
|
40
40
|
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: '10.0'
|
43
|
+
- !ruby/object:Gem::Dependency
|
44
|
+
name: gzip
|
45
|
+
requirement: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '0'
|
50
|
+
type: :runtime
|
51
|
+
prerelease: false
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '0'
|
43
57
|
description: Miss Cleo frees you from having to run your full test suite to be confident
|
44
58
|
in your recent code changes. Call me now!
|
45
59
|
email:
|