Skip to content

Commit

Permalink
Merge pull request #68 from aristotelesbr/development
Browse files Browse the repository at this point in the history
Main < Development
  • Loading branch information
aristotelesbr authored Nov 22, 2024
2 parents 55fa216 + e9eeee1 commit 3c8e380
Show file tree
Hide file tree
Showing 28 changed files with 1,693 additions and 1,432 deletions.
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

0 comments on commit 3c8e380

Please sign in to comment.