Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion providers/process/mavenExtract.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class MavenExtract extends AbstractClearlyDefinedProcessor {
}

get toolVersion() {
return '1.3.0'
return '1.3.1'
}

canHandle(request) {
Expand Down
2 changes: 1 addition & 1 deletion providers/process/nugetExtract.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class NuGetExtract extends AbstractClearlyDefinedProcessor {
}

get toolVersion() {
return '1.2.2'
return '1.2.3'
}

canHandle(request) {
Expand Down
5 changes: 5 additions & 0 deletions test/unit/providers/process/mavenExtractTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ const SourceSpec = require('../../../../lib/sourceSpec')
const EntitySpec = require('../../../../lib/entitySpec')

describe('mavenExtract source discovery', () => {
it('verifies the version of the nuget extract', () => {
const extractor = extract({}, () => {})
expect(extractor._schemaVersion).to.equal('1.5.1')
})

it('handles no tags in GitHub and falls back to made up sourcearchive', async () => {
const spec = createSpec('test')
const extractor = extract({}, () => null)
Expand Down
6 changes: 6 additions & 0 deletions test/unit/providers/process/nugetExtractTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@ function createRequest() {
}

describe('nugetExtract source discovery', () => {
it('verifies the version of the nuget extract', () => {
const finder = sinon.stub().callsFake(sourceDiscovery())
const extractor = extract({}, finder)
expect(extractor._schemaVersion).to.equal('1.4.3')
})

it('handles no tags in GitHub', async () => {
const finder = sinon.stub().callsFake(() => null)
const extractor = extract({}, finder)
Expand Down