Skip to content

Commit

Permalink
Merge pull request #11 from ruby-passkeys/2023-06-16-bump-devise-requ…
Browse files Browse the repository at this point in the history
…irement

Bump `devise` requirement to `>= 4.7.1`, add `bin/test` helper to streamline running
  • Loading branch information
tcannonfodder committed Jun 16, 2023
2 parents b0f8496 + bebfdcf commit 4e36815
Show file tree
Hide file tree
Showing 4 changed files with 92 additions and 34 deletions.
8 changes: 8 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,20 @@ After checking out the repo, run the following to install both Bundler and Appra
bin/setup
```

# Run tests

To run the test suite for all Appraisal variants, run:

```sh
bundle exec appraisal rake test
```

or

```sh
bin/test
```

## Writing Documentation

Documentation is written using [YARD](http://yardoc.org/).
Expand Down
107 changes: 74 additions & 33 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,31 @@ PATH
remote: .
specs:
devise-passkeys (0.1.0)
devise
devise (>= 4.7.1)
warden-webauthn (>= 0.2.0)

GEM
remote: https://rubygems.org/
specs:
activemodel (7.0.4.2)
activesupport (= 7.0.4.2)
activerecord (7.0.4.2)
activemodel (= 7.0.4.2)
activesupport (= 7.0.4.2)
activesupport (7.0.4.2)
actionpack (7.0.5)
actionview (= 7.0.5)
activesupport (= 7.0.5)
rack (~> 2.0, >= 2.2.4)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
actionview (7.0.5)
activesupport (= 7.0.5)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
activemodel (7.0.5)
activesupport (= 7.0.5)
activerecord (7.0.5)
activemodel (= 7.0.5)
activesupport (= 7.0.5)
activesupport (7.0.5)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
Expand All @@ -26,42 +39,48 @@ GEM
ast (2.4.2)
awrence (1.2.1)
bcrypt (3.1.18)
bcrypt-ruby (3.1.5)
bcrypt (>= 3.1.3)
bindata (2.4.15)
bson (4.15.0)
builder (3.2.4)
cbor (0.5.9.6)
concurrent-ruby (1.2.0)
concurrent-ruby (1.2.2)
cose (1.3.0)
cbor (~> 0.5.9)
openssl-signature_algorithm (~> 1.0)
crass (1.0.6)
database_cleaner-active_record (2.1.0)
activerecord (>= 5.a)
database_cleaner-core (~> 2.0.0)
database_cleaner-core (2.0.1)
database_cleaner-mongoid (2.0.1)
database_cleaner-core (~> 2.0.0)
mongoid
debug (1.7.1)
debug (1.8.0)
irb (>= 1.5.0)
reline (>= 0.3.1)
devise (1.5.4)
bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.0.3)
warden (~> 1.1)
devise (4.9.2)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 4.1.0)
responders
warden (~> 1.2.3)
docile (1.4.0)
i18n (1.12.0)
erubi (1.12.0)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
io-console (0.6.0)
irb (1.6.2)
irb (1.7.0)
reline (>= 0.3.0)
json (2.6.3)
jwt (2.7.0)
jwt (2.7.1)
loofah (2.21.3)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
m (1.6.1)
method_source (>= 0.6.7)
rake (>= 0.9.2.2)
method_source (1.0.0)
minitest (5.17.0)
minitest (5.18.1)
minitest-ci (3.4.0)
minitest (>= 5.0.6)
mongo (2.18.2)
Expand All @@ -70,33 +89,55 @@ GEM
activemodel (>= 5.1, < 7.1, != 7.0.0)
mongo (>= 2.18.0, < 3.0.0)
ruby2_keywords (~> 0.0.5)
nokogiri (1.15.2-arm64-darwin)
racc (~> 1.4)
openssl (3.1.0)
openssl-signature_algorithm (1.3.0)
openssl (> 2.0)
orm_adapter (0.0.7)
parallel (1.22.1)
parser (3.2.1.0)
orm_adapter (0.5.0)
parallel (1.23.0)
parser (3.2.2.3)
ast (~> 2.4.1)
rack (3.0.4.1)
racc
racc (1.7.1)
rack (2.2.7)
rack-test (2.1.0)
rack (>= 1.3)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-html-sanitizer (1.6.0)
loofah (~> 2.21)
nokogiri (~> 1.14)
railties (7.0.5)
actionpack (= 7.0.5)
activesupport (= 7.0.5)
method_source
rake (>= 12.2)
thor (~> 1.0)
zeitwerk (~> 2.5)
rainbow (3.1.1)
rake (13.0.6)
regexp_parser (2.7.0)
reline (0.3.2)
regexp_parser (2.8.1)
reline (0.3.5)
io-console (~> 0.5)
responders (3.1.0)
actionpack (>= 5.2)
railties (>= 5.2)
rexml (3.2.5)
rubocop (1.45.1)
rubocop (1.52.1)
json (~> 2.3)
parallel (~> 1.10)
parser (>= 3.2.0.0)
parser (>= 3.2.2.3)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.24.1, < 2.0)
rubocop-ast (>= 1.28.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.26.0)
rubocop-ast (1.29.0)
parser (>= 3.2.1.0)
ruby-progressbar (1.11.0)
ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5)
safety_net_attestation (0.4.0)
jwt (~> 2.0)
Expand All @@ -106,7 +147,7 @@ GEM
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
thor (1.2.1)
thor (1.2.2)
tpm-key_attestation (0.12.0)
bindata (~> 2.4)
openssl (> 2.0)
Expand All @@ -130,10 +171,10 @@ GEM
tpm-key_attestation (~> 0.12.0)
webrick (1.8.1)
yard (0.9.34)
zeitwerk (2.6.8)

PLATFORMS
arm64-darwin-21
x86_64-linux

DEPENDENCIES
appraisal
Expand All @@ -152,4 +193,4 @@ DEPENDENCIES
yard

BUNDLED WITH
2.3.7
2.4.12
9 changes: 9 additions & 0 deletions bin/test
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'
set -vx

bundle install

# Do any other automated setup that you need to do here
bundle exec appraisal rake test
2 changes: 1 addition & 1 deletion devise-passkeys.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]

# Uncomment to register a new dependency of your gem
spec.add_dependency "devise"
spec.add_dependency "devise", ">= 4.7.1"
spec.add_dependency "warden-webauthn", ">= 0.2.0"

# For more information and examples about making a new gem, check out our
Expand Down

0 comments on commit 4e36815

Please sign in to comment.