Skip to content

Simplify things#6

Merged
entpiske merged 4 commits into
mainfrom
ap/simplify
Jul 21, 2026
Merged

Simplify things#6
entpiske merged 4 commits into
mainfrom
ap/simplify

Conversation

@entpiske

@entpiske entpiske commented Jul 21, 2026

Copy link
Copy Markdown
Member

This PR essentially addresses a few comments from Adam (this gem's original author) in adamniedzielski#103 -- which simplifies things a bit.

Comment thread spec/support/backend.rb
)

::ActiveRecord::MigrationContext.new(path, schema_migration).migrate
ActiveRecord::MigrationContext.new(path).migrate

@entpiske entpiske Jul 21, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bringing adamniedzielski#102 (comment) over here.

Co-authored-by: Arek W <arek01@gmail.com>
Comment thread lib/tiddle/strategy.rb

def authentication_keys
mapping.to.authentication_keys
if mapping.to.authentication_keys.is_a?(Hash)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This and the corresponding spec: I copy & pasted from adamniedzielski#102 (added co-authorship to the original author).

@entpiske
entpiske marked this pull request as ready for review July 21, 2026 21:41
@entpiske
entpiske requested a review from mhfs July 21, 2026 21:42
@entpiske
entpiske merged commit 93652d0 into main Jul 21, 2026
18 checks passed
entpiske added a commit that referenced this pull request Jul 22, 2026
* fix(security): relax devise constraint to allow devise 5.x

Relaxes the devise dependency from `< 5` to `< 6` to allow
consumers to upgrade to devise 5.0.3 which fixes CVE-2026-32700
(confirmable race condition).

Tiddle uses only stable Devise APIs (Devise.add_module,
Devise::Strategies::Authenticatable, Devise.token_generator)
that are unchanged in devise 5.x.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* chore(ci): drop Rails 6.1 from test matrix

Rails 6.1 is EOL and incompatible with Ruby 3.x (LoggerThreadSafeLevel
errors). All consumers use Rails 7.2+.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Bump dependencies (#5)

* bump dependencies

* remove not needed deps

* Add a changelog entry

* update GHA

* fix mongoid

---------

Co-authored-by: André Diego Piske <andrepiske@gmail.com>

* Simplify things (#6)

* Simplify things

* Adds support for `config.authentication_keys` in hash format

Co-authored-by: Arek W <arek01@gmail.com>

* remove appraisals

* database_cleaner not needed here explicitly

---------

Co-authored-by: André Diego Piske <andrepiske@gmail.com>
Co-authored-by: Arek W <arek01@gmail.com>

* Nitpicking: Remove comments (#7)

* remove comment

* there is no gemfile

---------

Co-authored-by: André Diego Piske <andrepiske@gmail.com>

---------

Co-authored-by: Mateus Bittencourt <mateus.bittencourt@trustedhealth.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Mateus Bittencourt <mateus.lbittencourt@gmail.com>
Co-authored-by: André Diego Piske <andrepiske@gmail.com>
Co-authored-by: Arek W <arek01@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants