Skip to content

Commit b41a3df

Browse files
committed
[DATALAD RUNCMD] run codespell throughout fixing typos automagically (but ignoring overall fail due to ambigous ones)
=== Do not change lines below === { "chain": [], "cmd": "codespell -w || :", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
1 parent 2afe8bb commit b41a3df

File tree

69 files changed

+89
-89
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+89
-89
lines changed

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Metrics/MethodLength:
131131
Max: 20
132132

133133
# mnicholson Oct. 6th 2021
134-
# Default lenght for block is 25 lines, which it would be very restrictive for
134+
# Default length for block is 25 lines, which it would be very restrictive for
135135
# the Rspec views methods. So I'll just exclude some files.
136136
Metrics/BlockLength:
137137
Exclude:

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ As Webpacker is no longer maintained by the Rails community, we have replaced it
233233
- Removed `font-awesome-sass` gem and used `@fortawesome/fontawesome-free` npm package
234234
- Issue with `@import 'font-awesome-sprockets';` line in `app/assets/stylesheets/application.scss`. Removed that line after referring to the latest font-awesome install/setup guide which no longer includes it.
235235

236-
With the removal of Webpacker, the Javascript/SASS code is no longer automaticaly compiled when using the `rails server` command. It has been replaced by the `bin/dev` command that launch the rails server and the processes that watch for changes in the SASS and Javascript code.
236+
With the removal of Webpacker, the Javascript/SASS code is no longer automatically compiled when using the `rails server` command. It has been replaced by the `bin/dev` command that launch the rails server and the processes that watch for changes in the SASS and Javascript code.
237237

238238
#### SASS update : removal of the `@import` keyword
239239

@@ -287,7 +287,7 @@ For more detailed explanation, please refer to this video : https://www.youtube.
287287
- Froze mail gem version [#3254](https://github.com/DMPRoadmap/roadmap/issues/3254)
288288
- Updated the CSV export so that it now includes research outputs
289289
- Updated sans-serif font used in PDF downloads to Roboto since Google API no longer offers Helvetica
290-
- Fixed discrepencies with default/max per_page values for API and UI pagination
290+
- Fixed discrepancies with default/max per_page values for API and UI pagination
291291
- Updated JS that used to call the TinyMCE `setMode()` function so that it now calls `mode.set()` because the former is now deprecated.
292292
- Patched an issue that was causing a template's visibility to change to 'organizationally_visible' when saving on the template details page.
293293
- Fixed an issue with the Rails 6 keyword arguments change that was causing the `paginable_sort_link` to fail

app/assets/stylesheets/blocks/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# CSS Blocks
22

3-
Blocks refer to reusable units within the CSS files. Where practicable, we should always try to define a general block or UX concept, rather than styling indivudual elements.
3+
Blocks refer to reusable units within the CSS files. Where practicable, we should always try to define a general block or UX concept, rather than styling individual elements.
44

55
Example:
66

app/assets/stylesheets/blocks/_cards.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
color: $color-secondary-text;
3434
}
3535

36-
// Classes from Boostrap 3 panels (renamed card) - interim solution
36+
// Classes from Bootstrap 3 panels (renamed card) - interim solution
3737
.card-default {
3838
border-color: #ddd;
3939
border-radius: 0rem;

app/assets/stylesheets/blocks/_labels.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@import "../../../../node_modules/bootstrap/scss/functions";
22
@import "../../../../node_modules/bootstrap/scss/variables";
33

4-
/* label stlying */
4+
/* label styling */
55
label {
66
font-weight: 700;
77
}

app/controllers/api/v1/base_api_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def paginate_response(results:)
109109
end
110110

111111
# =========================
112-
# PERMIITTED PARAMS HEPERS
112+
# PERMIITTED PARAMS HELPERS
113113
# =========================
114114
def plan_permitted_params
115115
%i[created title description language ethical_issues_exist

app/controllers/concerns/conditional_user_mailer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module ConditionalUserMailer
88
#
99
# recipients - User or Enumerable object or any object that includes Enumerable class
1010
# key - A key (dot notation) whose value is true/false and belongs to
11-
# prefences.email (see dmproadmap.rb initializer)
11+
# preferences.email (see dmproadmap.rb initializer)
1212
#
1313
# Returns Boolean
1414
def deliver_if(key:, recipients: [], &block)

app/controllers/concerns/paginable.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def refine_query(scope)
137137

138138
# Can raise ActiveRecord::StatementInvalid (e.g. column does not
139139
# exist, ambiguity on column, etc)
140-
# how we contruct scope depends on whether sort field is in the
140+
# how we construct scope depends on whether sort field is in the
141141
# main table or in a related table
142142
scope_table = scope.klass.name.underscore
143143
parts = @args[:sort_field].partition('.')

app/controllers/concerns/versionable.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
module Versionable
55
private
66

7-
# Takes in a Template, phase, Section, Question, or Annotaion
7+
# Takes in a Template, phase, Section, Question, or Annotation
88
# IF the template is published, generates a new template
99
# finds the passed object in the new template
1010
#

app/controllers/org_admin/template_customization_transfers_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
module OrgAdmin
4-
# Controller that handles transfering parent template changes to a customized template
4+
# Controller that handles transferring parent template changes to a customized template
55
class TemplateCustomizationTransfersController < ApplicationController
66
include Versionable
77

0 commit comments

Comments
 (0)