Skip to content

Commit

Permalink
Corrected some RuboCop glitches. (#30)
Browse files Browse the repository at this point in the history
Signed-off-by: Hermann Mayer <[email protected]>
  • Loading branch information
Jack12816 authored Feb 25, 2025
1 parent 0c1c41e commit eea2ce7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
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

0 comments on commit eea2ce7

Please sign in to comment.