knapsack_pro 0.42.0 → 0.43.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c7638b4708729dc6be2aa59b875845f46957879
|
4
|
+
data.tar.gz: 785bb208759c0ba84cc9e3021a5711806b09db1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4612de6330fccc174eda587022a3a473fcda794b359ef7a8a312b4b69108c2ae3187fe1ddbb236281ba35a10d4f41b46ecb2d70a9f0fba9016be970585d56304
|
7
|
+
data.tar.gz: 67cd9aca589ff47089ed931cfde1adef6a6080036cc207ecbff3c4ee5fee7363dac49de29b2fac5471dbbb71b4409e1ab22989bab9611c5bb5f4df6aa389888b
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,14 @@
|
|
2
2
|
|
3
3
|
* TODO
|
4
4
|
|
5
|
+
### 0.43.0
|
6
|
+
|
7
|
+
* Extract correct test directory from test file pattern that has multiple patterns.
|
8
|
+
|
9
|
+
https://github.com/KnapsackPro/knapsack_pro-ruby/pull/43
|
10
|
+
|
11
|
+
https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v0.42.0...v0.43.0
|
12
|
+
|
5
13
|
### 0.42.0
|
6
14
|
|
7
15
|
* Clear RSpec examples without shared examples in similar way as in RSpec 3.6.0
|
data/lib/knapsack_pro/version.rb
CHANGED
@@ -14,9 +14,19 @@ describe KnapsackPro::BaseAllocatorBuilder do
|
|
14
14
|
subject { allocator_builder.test_dir }
|
15
15
|
|
16
16
|
before do
|
17
|
-
expect(KnapsackPro::TestFilePattern).to receive(:call).with(adapter_class).and_return(
|
17
|
+
expect(KnapsackPro::TestFilePattern).to receive(:call).with(adapter_class).and_return(test_file_pattern)
|
18
18
|
end
|
19
19
|
|
20
|
-
|
20
|
+
context 'when single pattern' do
|
21
|
+
let(:test_file_pattern) { 'spec/**{,/*/**}/*_spec.rb' }
|
22
|
+
|
23
|
+
it { should eq 'spec' }
|
24
|
+
end
|
25
|
+
|
26
|
+
context 'when multiple patterns' do
|
27
|
+
let(:test_file_pattern) { '{spec/controllers/**/*.rb,spec/decorators/**/*.rb}' }
|
28
|
+
|
29
|
+
it { should eq 'spec' }
|
30
|
+
end
|
21
31
|
end
|
22
32
|
end
|
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.43.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-06-
|
11
|
+
date: 2017-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|