Skip to content
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@

- Fix form helpers (`passkey_creation_form_for`, `login_with_passkey_button`, `security_key_creation_form_for`, `login_with_security_key_button`) to accept a `resource_name` instead of requiring the `resource` object from the view context. [#114](https://github.com/cedarcode/devise-webauthn/pull/114) [@RenzoMinelli]

## [v0.3.1](https://github.com/cedarcode/devise-webauthn/compare/v0.3.0...v0.3.1/) - 2026-02-10

### Fixed

- Fix `install_generator` invoking missing `devise:webauthn:javascript` task. [#118](https://github.com/cedarcode/devise-webauthn/pull/118) [@joaquintomas2003]

## [v0.3.0](https://github.com/cedarcode/devise-webauthn/compare/v0.2.2...v0.3.0/) - 2026-01-16

Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
devise-webauthn (0.3.0)
devise-webauthn (0.3.1)
devise (>= 4.9)
webauthn (~> 3.0)

Expand Down
2 changes: 1 addition & 1 deletion lib/devise/webauthn/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module Devise
module Webauthn
VERSION = "0.3.0"
VERSION = "0.3.1"
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def generate_webauthn_id_column
end

def generate_javascript_configuration
invoke "devise:webauthn:javascript"
invoke "devise:webauthn:javascript_configuration"
end

def final_message
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ module Devise
module Webauthn
class JavascriptConfigurationGenerator < Rails::Generators::Base
hide!
namespace "devise:webauthn:javascript"

desc "Configure JavaScript loading for devise-webauthn"

Expand Down
2 changes: 1 addition & 1 deletion spec/generators/devise/webauthn/install_generator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

it "invokes the javascript configuration generator" do
expect(generator).to have_received(:invoke)
.with("devise:webauthn:javascript")
.with("devise:webauthn:javascript_configuration")
end
end

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

require "spec_helper"
require "generators/devise/webauthn/javascript/javascript_configuration_generator"
require "generators/devise/webauthn/javascript_configuration/javascript_configuration_generator"

RSpec.describe Devise::Webauthn::JavascriptConfigurationGenerator, type: :generator do
tests described_class
Expand Down