rspec-tracer 0.6.2 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +1 -1
- data/lib/rspec_tracer/html_reporter/Rakefile +18 -0
- data/lib/rspec_tracer/remote_cache/Rakefile +38 -0
- data/lib/rspec_tracer/version.rb +1 -1
- metadata +18 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4825c225fdac05b09d4c56c5b6b191d0b32ad4198fc39b72a215bef3d066f7bd
|
4
|
+
data.tar.gz: 4bdcb243ed2cf200f6dae4b00b4dfd50fbc8bb70b9f59552056059ec3be643b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80dff35e9e15e2b28bd5c0658fdc027b659a9a1cf4265e17d7207ce0327bc975b05890d9e23fd9b22faa81b6a471d9a3d68d5bec0e501314907534796ff6088c
|
7
|
+
data.tar.gz: 77d1e9a4a9c4fe26713da06d594e7c6088655a2bc84c7e38ccd145c27f60247a9554043631c526c4a262637304c730c59ae767b3d4e8462ebc4e7e397e330055
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -71,7 +71,7 @@ integrating the gem into your project to better understand what is happening.
|
|
71
71
|
|
72
72
|
Add this line to your `Gemfile` and `bundle install`:
|
73
73
|
```ruby
|
74
|
-
gem 'rspec-tracer',
|
74
|
+
gem 'rspec-tracer', '~> 0.6', group: :test, require: false
|
75
75
|
```
|
76
76
|
|
77
77
|
And, add the followings to your `.gitignore`:
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
namespace :assets do
|
4
|
+
desc 'Compiles all assets'
|
5
|
+
task :precompile do
|
6
|
+
require 'sprockets'
|
7
|
+
|
8
|
+
assets = Sprockets::Environment.new do |env|
|
9
|
+
env.append_path 'assets/javascripts'
|
10
|
+
env.append_path 'assets/stylesheets'
|
11
|
+
env.js_compressor = :uglifier
|
12
|
+
env.css_compressor = :yui
|
13
|
+
end
|
14
|
+
|
15
|
+
assets['application.js'].write_to('public/application.js')
|
16
|
+
assets['application.css'].write_to('public/application.css')
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
namespace :rspec_tracer do
|
4
|
+
namespace :remote_cache do
|
5
|
+
desc 'Download cache'
|
6
|
+
task :download do
|
7
|
+
unless system('git', 'rev-parse', 'HEAD', out: File::NULL, err: File::NULL)
|
8
|
+
puts 'Not a git repository'
|
9
|
+
|
10
|
+
exit
|
11
|
+
end
|
12
|
+
|
13
|
+
require 'rspec_tracer'
|
14
|
+
|
15
|
+
RSpecTracer::RemoteCache::Cache.new.download
|
16
|
+
end
|
17
|
+
|
18
|
+
desc 'Upload cache'
|
19
|
+
task :upload do
|
20
|
+
unless system('git', 'rev-parse', 'HEAD', out: File::NULL, err: File::NULL)
|
21
|
+
puts 'Not a git repository'
|
22
|
+
|
23
|
+
exit
|
24
|
+
end
|
25
|
+
|
26
|
+
unless ENV.fetch('CI', 'false') == 'true' || ENV.fetch('RSPEC_TRACER_UPLOAD_LOCAL_CACHE', 'false') == 'true'
|
27
|
+
puts 'Skipping upload from local development environment'
|
28
|
+
puts 'Use RSPEC_TRACER_UPLOAD_LOCAL_CACHE=true to upload local cache'
|
29
|
+
|
30
|
+
exit
|
31
|
+
end
|
32
|
+
|
33
|
+
require 'rspec_tracer'
|
34
|
+
|
35
|
+
RSpecTracer::RemoteCache::Cache.new.upload
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
data/lib/rspec_tracer/version.rb
CHANGED
metadata
CHANGED
@@ -1,55 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-tracer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Abhimanyu Singh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-09-
|
11
|
+
date: 2021-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: docile
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 1.1.0
|
20
17
|
- - "~>"
|
21
18
|
- !ruby/object:Gem::Version
|
22
19
|
version: '1.1'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 1.1.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- - ">="
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 1.1.0
|
30
27
|
- - "~>"
|
31
28
|
- !ruby/object:Gem::Version
|
32
29
|
version: '1.1'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.1.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: rspec-core
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- - ">="
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: 3.6.0
|
40
37
|
- - "~>"
|
41
38
|
- !ruby/object:Gem::Version
|
42
39
|
version: '3.6'
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 3.6.0
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- - ">="
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: 3.6.0
|
50
47
|
- - "~>"
|
51
48
|
- !ruby/object:Gem::Version
|
52
49
|
version: '3.6'
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 3.6.0
|
53
53
|
description: RSpec Tracer is a specs dependency analysis tool and a test skipper for
|
54
54
|
RSpec. It maintains a list of files for each test, enabling itself to skip tests
|
55
55
|
in the subsequent runs if none of the dependent files are changed.
|
@@ -69,6 +69,7 @@ files:
|
|
69
69
|
- lib/rspec_tracer/defaults.rb
|
70
70
|
- lib/rspec_tracer/example.rb
|
71
71
|
- lib/rspec_tracer/filter.rb
|
72
|
+
- lib/rspec_tracer/html_reporter/Rakefile
|
72
73
|
- lib/rspec_tracer/html_reporter/assets/javascripts/application.js
|
73
74
|
- lib/rspec_tracer/html_reporter/assets/javascripts/libraries/jquery.js
|
74
75
|
- lib/rspec_tracer/html_reporter/assets/javascripts/plugins/datatables.js
|
@@ -92,6 +93,7 @@ files:
|
|
92
93
|
- lib/rspec_tracer/html_reporter/views/files_dependency.erb
|
93
94
|
- lib/rspec_tracer/html_reporter/views/flaky_examples.erb
|
94
95
|
- lib/rspec_tracer/html_reporter/views/layout.erb
|
96
|
+
- lib/rspec_tracer/remote_cache/Rakefile
|
95
97
|
- lib/rspec_tracer/remote_cache/cache.rb
|
96
98
|
- lib/rspec_tracer/remote_cache/git.rb
|
97
99
|
- lib/rspec_tracer/reporter.rb
|
@@ -107,7 +109,7 @@ licenses:
|
|
107
109
|
- MIT
|
108
110
|
metadata:
|
109
111
|
homepage_uri: https://github.com/avmnu-sng/rspec-tracer
|
110
|
-
source_code_uri: https://github.com/avmnu-sng/rspec-tracer/tree/v0.
|
112
|
+
source_code_uri: https://github.com/avmnu-sng/rspec-tracer/tree/v0.7.0
|
111
113
|
changelog_uri: https://github.com/avmnu-sng/rspec-tracer/blob/main/CHANGELOG.md
|
112
114
|
bug_tracker_uri: https://github.com/avmnu-sng/rspec-tracer/issues
|
113
115
|
post_install_message:
|
@@ -125,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
127
|
- !ruby/object:Gem::Version
|
126
128
|
version: '0'
|
127
129
|
requirements: []
|
128
|
-
rubygems_version: 3.
|
130
|
+
rubygems_version: 3.2.26
|
129
131
|
signing_key:
|
130
132
|
specification_version: 4
|
131
133
|
summary: RSpec Tracer is a specs dependency analysis tool and a test skipper for RSpec
|