Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main < Development #68

Merged
merged 10 commits into from
Nov 22, 2024
Merged
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
6 changes: 0 additions & 6 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ Naming/RescuedExceptionsVariableName:
Layout/LineLength:
Max: 120

Layout/IndentationStyle:
EnforcedStyle: tabs

Layout/IndentationWidth:
Width: 1

Layout/MultilineMethodCallIndentation:
Enabled: false

Expand Down
6 changes: 3 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
require 'rake/testtask'

Rake::TestTask.new do |t|
t.libs << 'test'
t.test_files = FileList['test/**/test_*.rb']
t.verbose = true
t.libs << 'test'
t.test_files = FileList['test/**/test_*.rb']
t.verbose = true
end

task default: :test
10 changes: 5 additions & 5 deletions bake/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
#
# @parameter test [String] the path to file
def test(test: nil)
test_dir = 'test'
test_dir = 'test'

all_tests_command = "Dir.glob(\"./#{test_dir}/**/test_*.rb\").each { require _1 }"
test_command = test ? "ruby -I#{test_dir} #{test}" : "ruby -I#{test_dir} -e '#{all_tests_command}'"
all_tests_command = "Dir.glob(\"./#{test_dir}/**/test_*.rb\").each { require _1 }"
test_command = test ? "ruby -I#{test_dir} #{test}" : "ruby -I#{test_dir} -e '#{all_tests_command}'"

stdout, _stderr, _status = Open3.capture3(test_command)
stdout, _stderr, _status = Open3.capture3(test_command)

puts stdout.green
puts stdout.green
end
20 changes: 20 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.3.0] - 2024-11-21

### Added

- Add `Lennarb::Plugin` module to manage the plugins in the project. Now, the `Lennarb` class is the main class of the project.

- Automatically loads plugins from the default directory

- Supports custom plugin directories via `LENNARB_PLUGINS_PATH`

- Configurable through environment variables

### Changed

- Change the `finish` method from `Lennarb` class to call `halt(@res.finish)` method to finish the response.

### Removed

- Remove `Lennarb::ApplicationBase` class from the project. Now, the `Lennarb` class is the main class of the project.

## [0.6.1] - 2024-05-17

### Added
Expand Down
Loading
Loading