Skip to content

Commit

Permalink
Feature: add Ruby Project Management and Linting lessons (#4540)
Browse files Browse the repository at this point in the history
## Because
It'd be cool to have those lessons.


## This PR
- Adds those lessons so they actually show up in the curriculum!


## Issue
Related:
- TheOdinProject/curriculum#27026
- TheOdinProject/curriculum#27091

## Additional Information
Please merge these first:
- TheOdinProject/curriculum#28040
- TheOdinProject/curriculum#28041

Also, for all the poor WSL2 souls that have failing rspec tests:
Do not follow Cliver error output. It won't be happy with a wslpath'd
Chrome on Windows side. At least, it wasn't in my case. Just install
Chrome in WSL2 and it'll be happy.

## Pull Request Requirements
- [x] I have thoroughly read and understand [The Odin Project
Contributing
Guide](https://github.com/TheOdinProject/theodinproject/blob/main/CONTRIBUTING.md)
- [x] The title of this PR follows the `keyword: brief description of
change` format, using one of the following keywords:
    - `Feature` - adds new or amends existing user-facing behavior
- `Chore` - changes that have no user-facing value, refactors,
dependency bumps, etc
    - `Fix` - bug fixes
-   [x] The `Because` section summarizes the reason for this PR
- [x] The `This PR` section has a bullet point list describing the
changes in this PR
- [x] I have verified all tests and linters pass after making these
changes.
- [x] If this PR addresses an open issue, it is linked in the `Issue`
section
-   [ ] If applicable, this PR includes new or updated automated tests
  • Loading branch information
scheals authored May 24, 2024
1 parent c51776e commit c527256
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions db/fixtures/lessons/ruby_lessons.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,20 @@ def ruby_lessons
github_path: '/ruby/object_oriented_programming_basics/object_oriented_programming.md',
identifier_uuid: '15924a5e-c72d-44f9-8546-78b05b903274',
},
'Project Management' => {
title: 'Project Management',
description: 'This lesson goes over managing Ruby projects and installing Gems.',
is_project: false,
github_path: '/ruby/object_oriented_programming_basics/managing_ruby_projects.md',
identifier_uuid: 'edfa2f6a-6534-41e9-bc2d-a1253bcc1c41',
},
'Linting and RuboCop' => {
title: 'Linting and RuboCop',
description: 'This lesson goes over importance of rules and how to follow them with the help of RuboCop.',
is_project: false,
github_path: '/ruby/object_oriented_programming_basics/linting_and_rubocop.md',
identifier_uuid: 'd0fefa97-3201-474c-9636-3592fb9399d8',
},
'Tic Tac Toe' => {
title: 'Tic Tac Toe',
description: "It's time to flex those new muscles a bit by building Tic Tac Toe",
Expand Down
2 changes: 2 additions & 0 deletions db/fixtures/paths/full_stack_rails/courses/ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@

section.add_lessons(
ruby_lessons.fetch('Object Oriented Programming'),
ruby_lessons.fetch('Project Management'),
ruby_lessons.fetch('Linting and RuboCop'),
ruby_lessons.fetch('Tic Tac Toe'),
ruby_lessons.fetch('Mastermind'),
)
Expand Down

0 comments on commit c527256

Please sign in to comment.