knapsack_pro 0.38.0 → 0.39.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 +8 -0
- data/README.md +2 -0
- data/knapsack_pro.gemspec +1 -1
- data/lib/knapsack_pro.rb +1 -1
- data/lib/knapsack_pro/extensions/time.rb +7 -0
- data/lib/knapsack_pro/tracker.rb +5 -1
- data/lib/knapsack_pro/version.rb +1 -1
- data/spec/knapsack_pro/extensions/time_spec.rb +5 -0
- metadata +19 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: edaac63877b452e0ced9674b15c70e2b6cdd7a23
|
4
|
+
data.tar.gz: 4f3758d26a0de86ce21db7b410a98a59c5d3fe33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0fd7cc1022087c4d508c3ef2d8ec2589626cf724f9689cdc3d9f0bf366b9583145fb901dde61ca9defb67929e00bdbf93931e9b8b516bedd0e74ce9e05e3e62c
|
7
|
+
data.tar.gz: a04c3a24dfebb12475dd2d6aeedb06532df428b831c84eff157bb1187089fd2ef9d8f4d90ea72edf3a008066bde89db3411cd7498e4bfb4a498b6fea26fa36bb
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,14 @@
|
|
2
2
|
|
3
3
|
* TODO
|
4
4
|
|
5
|
+
### 0.39.0
|
6
|
+
|
7
|
+
* Remove timecop gem from required dependencies list.
|
8
|
+
|
9
|
+
https://github.com/KnapsackPro/knapsack_pro-ruby/pull/38
|
10
|
+
|
11
|
+
https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v0.38.0...v0.39.0
|
12
|
+
|
5
13
|
### 0.38.0
|
6
14
|
|
7
15
|
* Add support for Gitlab CI.
|
data/README.md
CHANGED
@@ -1008,6 +1008,8 @@ A lot of small test files will give you better test suite split results.
|
|
1008
1008
|
|
1009
1009
|
Another way is to use tags to mark subset of tests in particular test file and then split tests based on tags.
|
1010
1010
|
|
1011
|
+
This example is for knapack_pro Regular Mode. I don't recommend to user this approach with Queue Mode.
|
1012
|
+
|
1011
1013
|
Here is example of test file with specified tags for describe groups:
|
1012
1014
|
|
1013
1015
|
```ruby
|
data/knapsack_pro.gemspec
CHANGED
@@ -19,7 +19,6 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
21
|
spec.add_dependency 'rake', '>= 0'
|
22
|
-
spec.add_dependency 'timecop', '>= 0.1.0'
|
23
22
|
spec.add_dependency 'tty-prompt', '~> 0.7'
|
24
23
|
|
25
24
|
spec.add_development_dependency 'bundler', '~> 1.6'
|
@@ -32,4 +31,5 @@ Gem::Specification.new do |spec|
|
|
32
31
|
spec.add_development_dependency 'pry', '~> 0'
|
33
32
|
spec.add_development_dependency 'vcr', '~> 2.9'
|
34
33
|
spec.add_development_dependency 'webmock', '~> 1.21'
|
34
|
+
spec.add_development_dependency 'timecop', '>= 0.1.0'
|
35
35
|
end
|
data/lib/knapsack_pro.rb
CHANGED
@@ -4,10 +4,10 @@ require 'net/http'
|
|
4
4
|
require 'json'
|
5
5
|
require 'uri'
|
6
6
|
require 'rake/testtask'
|
7
|
-
require 'timecop'
|
8
7
|
require 'digest'
|
9
8
|
require 'securerandom'
|
10
9
|
require_relative 'knapsack_pro/version'
|
10
|
+
require_relative 'knapsack_pro/extensions/time'
|
11
11
|
require_relative 'knapsack_pro/utils'
|
12
12
|
require_relative 'knapsack_pro/logger_wrapper'
|
13
13
|
require_relative 'knapsack_pro/config/ci/base'
|
data/lib/knapsack_pro/tracker.rb
CHANGED
data/lib/knapsack_pro/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knapsack_pro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.39.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ArturT
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -24,20 +24,6 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: timecop
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 0.1.0
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: 0.1.0
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: tty-prompt
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -198,6 +184,20 @@ dependencies:
|
|
198
184
|
- - "~>"
|
199
185
|
- !ruby/object:Gem::Version
|
200
186
|
version: '1.21'
|
187
|
+
- !ruby/object:Gem::Dependency
|
188
|
+
name: timecop
|
189
|
+
requirement: !ruby/object:Gem::Requirement
|
190
|
+
requirements:
|
191
|
+
- - ">="
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: 0.1.0
|
194
|
+
type: :development
|
195
|
+
prerelease: false
|
196
|
+
version_requirements: !ruby/object:Gem::Requirement
|
197
|
+
requirements:
|
198
|
+
- - ">="
|
199
|
+
- !ruby/object:Gem::Version
|
200
|
+
version: 0.1.0
|
201
201
|
description: Parallel tests across CI server nodes based on each test file's time
|
202
202
|
execution. It uses KnapsackPro.com API.
|
203
203
|
email:
|
@@ -245,6 +245,7 @@ files:
|
|
245
245
|
- lib/knapsack_pro/crypto/decryptor.rb
|
246
246
|
- lib/knapsack_pro/crypto/digestor.rb
|
247
247
|
- lib/knapsack_pro/crypto/encryptor.rb
|
248
|
+
- lib/knapsack_pro/extensions/time.rb
|
248
249
|
- lib/knapsack_pro/formatters/rspec_queue_profile_formatter_extension.rb
|
249
250
|
- lib/knapsack_pro/formatters/rspec_queue_summary_formatter.rb
|
250
251
|
- lib/knapsack_pro/logger_wrapper.rb
|
@@ -314,6 +315,7 @@ files:
|
|
314
315
|
- spec/knapsack_pro/crypto/decryptor_spec.rb
|
315
316
|
- spec/knapsack_pro/crypto/digestor_spec.rb
|
316
317
|
- spec/knapsack_pro/crypto/encryptor_spec.rb
|
318
|
+
- spec/knapsack_pro/extensions/time_spec.rb
|
317
319
|
- spec/knapsack_pro/logger_wrapper_spec.rb
|
318
320
|
- spec/knapsack_pro/presenter_spec.rb
|
319
321
|
- spec/knapsack_pro/queue_allocator_builder_spec.rb
|
@@ -409,6 +411,7 @@ test_files:
|
|
409
411
|
- spec/knapsack_pro/crypto/decryptor_spec.rb
|
410
412
|
- spec/knapsack_pro/crypto/digestor_spec.rb
|
411
413
|
- spec/knapsack_pro/crypto/encryptor_spec.rb
|
414
|
+
- spec/knapsack_pro/extensions/time_spec.rb
|
412
415
|
- spec/knapsack_pro/logger_wrapper_spec.rb
|
413
416
|
- spec/knapsack_pro/presenter_spec.rb
|
414
417
|
- spec/knapsack_pro/queue_allocator_builder_spec.rb
|