Skip to content

Commit

Permalink
Update CHANGELOG (and remove step in charge of that from CI for now)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvacca-onfido committed Jun 24, 2024
1 parent 5e43cf1 commit 2fb15bd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## v3.0.0 24th June 2024

- Library has been rebuilt from scratch and automatically generated on [Onfido OpenAPI Spec](https://github.com/onfido/onfido-openapi-spec) (release [v3.0.0](https://github.com/onfido/onfido-openapi-spec/releases/tag/v3.0.0))
- Integration tests have also been implemented

## v2.9.0 24 November 2023

- Added `signed_evidence_file` method for WorkflowRuns
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Configure with your API token, region and optional timeout (default value is 30)
require onfido

Onfido.configure do |config|
config.api_token = ENV["ONFIDO_API_TOKEN"]
config.api_token = ENV["ONFIDO_WEBHOOK_SECRET_TOKEN"]
config.region = config.region[:EU]
config.timeout = 30
end
Expand Down Expand Up @@ -71,7 +71,7 @@ Webhook events payload needs to be verified before it can be accessed. Library a
require 'onfido/webhook_event_verifier'

def webhook_verifier()
verifier = Onfido::WebhookEventVerifier.new(ENV["ONFIDO_WEBHOOK_SECRET_TOKEN"])
verifier = Onfido::WebhookEventVerifier.new("_ABC123abc...3ABC123_")

signature = "a0...760e"

Expand Down
2 changes: 1 addition & 1 deletion spec/integrations/id_photo_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
id_photos = onfido_api.list_id_photos(applicant_id)

expect(id_photos.id_photos.length).to be > 0
expect(id_photos).to be_an_instance_of Onfido::IdPhotosList
expect(id_photos).to be_an_instance_of Onfido::IDPhotosList
end

it 'retrieves id photo' do
Expand Down
4 changes: 0 additions & 4 deletions spec/integrations/report_schema_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@
) { onfido_api.find_report(document_report_id) }

expect(document_report).to be_an_instance_of Onfido::DocumentReport

expect(document_report.name).to eq("document")
expect(document_report.breakdown.data_comparison.breakdown.issuing_country.result).to eq("clear")
expect(document_report.properties.date_of_birth).to eq(Date.parse("1990-01-01"))
end

it 'schema of Facial Similarity report is valid' do
Expand Down

0 comments on commit 2fb15bd

Please sign in to comment.