Skip to content

Commit 3b035b8

Browse files
committed
[DATALAD RUNCMD] Do interactive fixing of some ambigous typos
=== Do not change lines below === { "chain": [], "cmd": "codespell -w -i 3 -C 4", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
1 parent b41a3df commit 3b035b8

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

app/services/api/v1/auth/jwt/json_web_token.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module Api
44
module V1
55
module Auth
66
module Jwt
7-
# Class to handle encryption/descryption of the JWT
7+
# Class to handle encryption/decryption of the JWT
88
class JsonWebToken
99
class << self
1010
def encode(payload:, exp: 24.hours.from_now)

app/services/api/v1/deserialization/funding.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module Api
44
module V1
55
module Deserialization
6-
# Logic to deserialize RDA common standard to a Plan funder and grant infor
6+
# Logic to deserialize RDA common standard to a Plan funder and grant info
77
class Funding
88
class << self
99
# Convert the funding information and attach to the Plan

config/initializers/_dmproadmap.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class Application < Rails::Application
2121
# ORGANISATION SETTINGS #
2222
# --------------------- #
2323

24-
# Your organisation name, used in various places throught the application
24+
# Your organisation name, used in various places throughout the application
2525
config.x.organisation.name = 'Curation Center'
2626
# Your organisation's abbreviation
2727
config.x.organisation.abbreviation = 'CC'

config/storage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ local:
1414
# region: us-east-1
1515
# bucket: your_own_bucket
1616

17-
# Remember not to checkin your GCS keyfile to a repository
17+
# Remember not to check in your GCS keyfile to a repository
1818
# google:
1919
# service: GCS
2020
# project: your_project

lib/tasks/data_cleanup.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ namespace :data_cleanup do
209209
ids = []
210210
if filter.options[:with].present?
211211
filter.attributes.each do |attr|
212-
# skip password validaton since the field is encrypted through Devise
212+
# skip password validation since the field is encrypted through Devise
213213
unless attr == :password
214214
# If this is the users.email field send it to the EmailValidator. Devise has its own Regex
215215
# but running a Regex query gets messy between different DB types

lib/tasks/utils/templates.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace :templates do
3030
funder_template.phases.select { |phase| phase.versionable_id.nil? }.each do |phase|
3131
p "Processing Template: #{funder_template.id} - #{funder_template.title}"
3232

33-
# Run all of this within a transation so that it rolls back if there is an issue!
33+
# Run all of this within a transaction so that it rolls back if there is an issue!
3434
phase.transaction do
3535
phase_version = SecureRandom.uuid
3636
p " Updating versionable_id for Phase: #{phase.id} to #{phase_version}"

spec/models/user_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@
464464
end
465465
end
466466

467-
# Test creationg a User from an omniauth callback like Shibboleth
467+
# Test creating a User from an omniauth callback like Shibboleth
468468
describe '.from_omniauth' do
469469
let!(:user) { create(:user) }
470470
let!(:auth) do

spec/presenters/org_selection_presenter_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
it 'return an empty hash if the value does not have a match in crosswalk' do
4242
expect(@presenter.crosswalk_entry_from_org_id(value: '999')).to eql('{}')
4343
end
44-
it 'return ther correct crosswalk entry' do
44+
it 'return the correct crosswalk entry' do
4545
rslt = @presenter.crosswalk_entry_from_org_id(value: @org.id.to_s)
4646
expected = OrgSelection::OrgToHashService.to_hash(org: @org).to_json
4747
expect(rslt).to eql(expected)

0 commit comments

Comments
 (0)