Commit graph

154 commits

Author SHA1 Message Date
48ab8c414b
Merge pull request #94 from leoarnold/leoarnold/ostruct
Remove OpenStruct
2025-12-11 17:46:07 -08:00
Leo Arnold
a8290d3522 Remove OpenStruct 2025-12-12 00:36:10 +01:00
d97750a318
Update README.md 2025-08-21 07:35:44 -07:00
ffdd1a617c
Bump version to 3.0.1 2025-08-07 12:07:16 -07:00
39f6a064f1
Preparing for release, 3.0.0 2025-08-07 12:04:58 -07:00
ed25898685
Add support for Grape 2.4 (#93)
* Fix RequestLogger middleware to handle Grape 2.4 breaking chnage

* Make RequestLogger#initialize signature match Grape 2.4

* Update changelog

* Require grape >= 2.4 in gemspec

---------

Co-authored-by: Cedric Darricau <cedricdarricau@gmail.com>
2025-08-07 12:03:04 -07:00
5a9ef5d801
Add rubocop with a todo list (#90)
* Add rubocop with a todo list

* Run rubocop as part of the CI workflow

* Autofix for RuboCop: Layout/ElseAlignment

* Regen autogen, removing all claude-scratchpad/*

* Autofix RuboCop Layout/EmptyLine

* AutoFix RuboCop Style/ZeroLengthPredicate

* AutoFix RuboCop Layout/EmptyLinesAroundAccessModifier

* AutoFix RuboCop Layout/EmptyLinesAroundMethodBody

* AutoFix RuboCop Layout/EmptyLinesAroundBlockBody

* AutoFix RuboCop Layout/EmptyLinesAroundClassBody

* AutoFix RuboCop Layout/EndAlignment

* AutoFix RuboCop Layout/ExtraSpacing

* AutoFix RuboCop Layout/FirstHashElementIndentation

* AutoFix RuboCop Layout/HashAlignment

* AutoFix RuboCop Layout/IndentationWidth

* Regenerate todo

* AutoFix RuboCop Layout/SpaceBeforeBlockBraces

* AutoFix RuboCop Layout/SpaceBeforeComma

* AutoFix RuboCop Layout/SpaceInsideBlockBraces

* AutoFix RuboCop Layout/SpaceInsideHashLiteralBraces

* AutoFix RuboCop Layout/TrailingEmptyLines

* Update ci.yml

Co-authored-by: Pieter Oliver <68863060+pieterocp@users.noreply.github.com>

* WIP: Remove claude-scratchpad cruft from rubocop todo

* Specify files explicity in rubocop rake task

* Pin rubocop version to 1.77.0

* AutoFix RuboCop Style/TrailingCommaInHashLiteral

* AutoFix RuboCop Style/StringLiteralsInInterpolation

* AutoFix RuboCop Style/StringLiterals

* AutoFix RuboCop Style/RescueStandardError

* AutoFix RuboCop Style/RedundantPercentQ

* AutoFix RuboCop Style/RedundantConstantBase

* AutoFix RuboCop Style/QuotedSymbols

* AutoFix RuboCop Style/PercentLiteralDelimiters

* AutoFix RuboCop Style/ParallelAssignment

* AutoFix RuboCop Style/MultilineIfModifier

* AutoFix RuboCop Style/Lambda

* AutoFix RuboCop Style/IfUnlessModifier

* AutoFix RuboCop Style/HashSyntax

* AutoFix RuboCop Style/GuardClause

* AutoFix RuboCop Style/ExpandPathArguments

* AutoFix RuboCop Style/BlockDelimiters

* AutoFix RuboCop Style/BlockComments

* AutoFix RuboCop Lint/UnusedMethodArgument

* AutoFix RuboCop Lint/SymbolConversion

* Fix auto-gen formatting + RuboCop AutoFix Style/ModuleFunction

* Code style

---------

Co-authored-by: Pieter Oliver <pieter.oliver@nourishcare.com>
Co-authored-by: Pieter Oliver <68863060+pieterocp@users.noreply.github.com>
2025-07-14 15:20:17 -07:00
ca80cfef6c
Bump version to 2.1.2 2025-07-09 18:17:44 -07:00
08823ae0d1
Merge pull request #92 from 1SecondEveryday/fix/filter-param-symbol-keys
Handle symbol param keys during filtering
2025-07-09 18:16:34 -07:00
586dc239dc
Prepare for release, 2.1.1 2025-07-09 18:15:04 -07:00
7e15b97cb4
Handle symbol param keys during filtering
In testing these keys can be symbols, so when we're working with
encodings make sure we have strings before trying to force any encodings
on keys.
2025-07-09 18:11:05 -07:00
a17c5f52e4
Add me to authors in gemspec, fix formatting of text 2025-07-09 17:54:16 -07:00
dbba26bc2c
Bump version to 2.1.1 2025-07-09 17:46:03 -07:00
31d46bc8f8
Bump version to 2.1.0 2025-07-09 17:44:19 -07:00
4fabe1aa37
Merge pull request #91 from 1SecondEveryday/add-request-id
Add ActionDispatch request ID to logger arguments hash
2025-07-09 17:43:57 -07:00
b8452343f0
Preparing for release, 2.1.0 2025-07-09 17:43:10 -07:00
71c1adf3eb
Add ActionDispatch request ID to logger arguments hash 2025-07-09 17:40:48 -07:00
a4f6088a17
Remove remote name from releasing doc 2025-07-09 16:58:44 -07:00
c19b1d3732
Bump version to 2.0.1 2025-07-09 16:57:51 -07:00
362dd0a92e
Bump version to 2.0.0 2025-07-09 16:55:57 -07:00
0d738e4e7e
Prepare for 2.0.0 release (#89)
* Add a changelog

* Add release and contributor docs based on grape-active_model_serializers (needs more work)

* Rename changelog to look like it's the 80s

* Tweak releasing doc

* Automate and document github releases

* RIP hash rocket
2025-07-09 16:54:59 -07:00
9e4fb8266b
Add gem version badge to readme 2025-06-28 07:44:35 -04:00
f35dc1e9d6
Code style 2025-06-28 07:37:22 -04:00
585cd29a7d
Merge pull request #88 from 1SecondEveryday/fix/specs
Fix the specs
2025-06-28 07:16:33 -04:00
d8d3f3ca1e
Fix the specs 2025-06-28 07:14:06 -04:00
16062114b1
Merge pull request #87 from pieterocp/misc-typoes
[Misc] Nitpick typoes
2025-06-27 15:19:19 -04:00
Pieter Oliver
fe2d196494 Fix some small, non breaking changes typoes 2025-06-27 16:44:21 +01:00
Dhruv Paranjape
b94fcb3046
LoggerReporter: clone the logger parameter (#77) 2025-06-27 05:47:15 -07:00
f7341032d5
Merge pull request #75 from thedarkside/master
Replaced all 'use' examples in README.md with 'insert_before'
2025-06-27 08:45:59 -04:00
59813dedbc
Merge pull request #70 from oslivan/master
fix view time precise issue
2025-06-27 08:44:33 -04:00
0d70063ae5
Merge pull request #54 from abicky/scrub-invalid-byte-sequence-keys
Convert parameter keys to ASCII-8BIT before filtering
2025-06-27 08:42:15 -04:00
ce103dad5a
Get specs running again, but they still fail (#86)
* Get specs running again, but they still fail on Ruby 3.4

* Add Ruby 3.4 to test matrix

* Remove bundler from dev dependencies
2025-06-27 05:16:48 -07:00
Eshton Robateau
cc29dc7868
Implement GitHub actions ci (#85)
* setup github actions ci

* add ruby 3.0 in versions to test

* Drop really old EOL Ruby versions, remove DISABLE_SPRING

---------

Co-authored-by: Sami Samhuri <sami@samhuri.net>
2025-06-27 04:34:33 -07:00
thedarkside
01846a40ef
Replaced all 'use' examples in README.md with 'insert_before' 2021-10-08 22:04:12 +02:00
Luong Vo
6e562a2788
doc: update how grape logging middleware should be placed (#74) 2021-07-12 09:02:43 +02:00
Adrian Serafin
8afa893a69 bump version to 1.8.4 2020-08-26 11:12:37 +02:00
David Shaffer
36d23146a0
Bugfix: Require ActiveSupport::ParameterFilter before inheriting from it (#72) 2020-08-26 11:10:14 +02:00
yanpz
ea6afd1d0f fix view time precise issue 2020-04-04 20:49:13 +08:00
aserafin
fd8d2d457f bump version to 1.8.3 2019-09-12 09:29:44 +02:00
aserafin
4bced793a9 for rails < 6.0.0 still use ActionDispatch::Http::ParameterFilter 2019-09-10 17:08:04 +02:00
aserafin
3eef054935 bump version to 1.8.2 2019-09-05 17:01:17 +02:00
Elie
38b3edf2de Add new line to logstash formatter (#58) 2019-09-05 16:58:45 +02:00
Joshua Sierles
f89177ff53 fix deprecation warning from Rails 6 (#63) 2019-09-05 16:58:32 +02:00
aserafin
c2b29ebf8a bump version to 1.8.1 2019-01-31 08:54:05 +01:00
motoki-shun
051636d873 Add new line on json formatter (#52) 2018-11-16 18:01:17 +01:00
abicky
58e7475b64 Convert parameter keys to ASCII-8BIT before filtering
This commit resolves https://github.com/aserafin/grape_logging/issues/53.
2018-09-26 00:15:27 +09:00
aserafin
f4502d6723 bump version to 1.8.0 2018-04-19 10:47:33 +02:00
Dave Harris
7ae51d30d8 Add GrapeLogging::Formatters::RailsFormatter.new. Updates to README (#47) 2018-04-19 10:41:11 +02:00
Kun Liu
83117bc7e1 add spec for request_headers (#42)
* log for request headers

* add specification

* fix spec

* optimize readme

* add spec for request_headers
2017-10-13 08:46:51 +02:00
aserafin
54f3fa84e0 bump version to 1.7.0 2017-09-10 20:55:58 +02:00