Skip to content

Commit d5fa7c6

Browse files
authored
Merge pull request #631 from yashkohli88/yk/increment-tool-version-cd
Update Tool Version for mavenExtract and nugetExtract
2 parents 4765843 + ac41662 commit d5fa7c6

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

providers/process/mavenExtract.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class MavenExtract extends AbstractClearlyDefinedProcessor {
1313
}
1414

1515
get toolVersion() {
16-
return '1.3.0'
16+
return '1.3.1'
1717
}
1818

1919
canHandle(request) {

providers/process/nugetExtract.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class NuGetExtract extends AbstractClearlyDefinedProcessor {
1616
}
1717

1818
get toolVersion() {
19-
return '1.2.2'
19+
return '1.2.3'
2020
}
2121

2222
canHandle(request) {

test/unit/providers/process/mavenExtractTests.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ const SourceSpec = require('../../../../lib/sourceSpec')
77
const EntitySpec = require('../../../../lib/entitySpec')
88

99
describe('mavenExtract source discovery', () => {
10+
it('verifies the version of the nuget extract', () => {
11+
const extractor = extract({}, () => {})
12+
expect(extractor._schemaVersion).to.equal('1.5.1')
13+
})
14+
1015
it('handles no tags in GitHub and falls back to made up sourcearchive', async () => {
1116
const spec = createSpec('test')
1217
const extractor = extract({}, () => null)

test/unit/providers/process/nugetExtractTests.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,12 @@ function createRequest() {
9595
}
9696

9797
describe('nugetExtract source discovery', () => {
98+
it('verifies the version of the nuget extract', () => {
99+
const finder = sinon.stub().callsFake(sourceDiscovery())
100+
const extractor = extract({}, finder)
101+
expect(extractor._schemaVersion).to.equal('1.4.3')
102+
})
103+
98104
it('handles no tags in GitHub', async () => {
99105
const finder = sinon.stub().callsFake(() => null)
100106
const extractor = extract({}, finder)

0 commit comments

Comments
 (0)