Skip to content
This repository was archived by the owner on Mar 28, 2024. It is now read-only.
Open
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
10 changes: 10 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Naming/VariableNumber:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/StringLiterals:
Enabled: false
Layout/LineLength:
Enabled: false
Style/StringConcatenation:
Enabled: false
1 change: 0 additions & 1 deletion .solargraph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ require: []
domains: []
reporters:
- rubocop
- require_not_found
formatter:
rubocop:
cops: safe
Expand Down
2 changes: 2 additions & 0 deletions app/models/induction_period.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ class InductionPeriod < ApplicationRecord
belongs_to :mentorship
belongs_to :appropriate_body
belongs_to :induction_programme

scope :current, -> { where(finished_on: nil) }
end
2 changes: 2 additions & 0 deletions app/models/tenureship.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ class Tenureship < ApplicationRecord
belongs_to :teacher
belongs_to :school
has_many :mentorships

scope :current, -> { where(finished_on: nil) }
end
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": "true",
"dependencies": {
"esbuild": "^0.19.0",
"govuk-frontend": "4.4.1",
"govuk-frontend": "4.7.0",
"sass": "^1.65.1"
},
"scripts": {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,10 @@ glob-parent@~5.1.2:
dependencies:
is-glob "^4.0.1"

govuk-frontend@4.4.1:
version "4.4.1"
resolved "https://registry.yarnpkg.com/govuk-frontend/-/govuk-frontend-4.4.1.tgz#88857c4ad8508255a4e983030a3964d6e1674107"
integrity sha512-Jm1LUWiH9vy47b6HSH/ksSb4ueBrtTTgyLBk+3X2qqAmmFUc1AXWLSYHid07YYu1tvn9RnodWk5Bac5Ywqk6tA==
govuk-frontend@4.7.0:
version "4.7.0"
resolved "https://registry.yarnpkg.com/govuk-frontend/-/govuk-frontend-4.7.0.tgz#69950b6c2e69f435ffe9aa60d8dee232dac977de"
integrity sha512-0OsdCusF5qvLWwKziU8zqxiC0nq6WP0ZQuw51ymZ/1V0tO71oIKMlSLN2S9bm8RcEGSoidPt2A34gKxePrLjvg==

immutable@^4.0.0:
version "4.3.2"
Expand Down