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

Corrected some RuboCop glitches. #30

Merged
merged 1 commit into from
Feb 25, 2025
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
2 changes: 2 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
require:
- rubocop-rspec

plugins:
- rubocop-rails

Rails:
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### next

* TODO: Replace this bullet point with an actual description of a change.
* Corrected some RuboCop glitches (#30)

### 1.5.0 (30 January 2025)

Expand Down
4 changes: 2 additions & 2 deletions lib/billomat/models/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def self.where(hash = {})
# @param data [Hash] the attributes of the object
# @return [Billomat::Models::Base] the record as an object
#
# rubocop:disable Style/OpenStructUse because of the convenient
# rubocop:disable Style/OpenStructUse -- because of the convenient
# dynamic data access
def initialize(data = {})
@data = OpenStruct.new(data)
Expand All @@ -51,7 +51,7 @@ def save

# @return [TrueClass]
#
# rubocop:disable Style/OpenStructUse because of the convenient
# rubocop:disable Style/OpenStructUse -- because of the convenient
# dynamic data access
def create
resp = Billomat::Gateway.new(
Expand Down