Merge pull request #1 from jedmund/ruby3
Updates to Ruby 3.0.0 and Doorkeeper 5.5
This commit is contained in:
commit
ce50384be5
7 changed files with 182 additions and 168 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -35,3 +35,4 @@
|
||||||
|
|
||||||
/config/credentials/development.key
|
/config/credentials/development.key
|
||||||
*.enc
|
*.enc
|
||||||
|
logfile
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
ruby-2.7.1
|
ruby-3.0.0
|
||||||
|
|
|
||||||
10
Gemfile
10
Gemfile
|
|
@ -1,10 +1,10 @@
|
||||||
source 'https://rubygems.org'
|
source 'https://rubygems.org'
|
||||||
ruby '2.7.1'
|
ruby '3.0.0'
|
||||||
|
|
||||||
gem 'rails', '~> 6.0'
|
gem 'rails'
|
||||||
gem 'pg', '~> 1.2.3'
|
gem 'pg'
|
||||||
gem 'bootsnap', '~> 1.4.8'
|
gem 'bootsnap'
|
||||||
gem 'rack-cors', '1.1.1'
|
gem 'rack-cors'
|
||||||
|
|
||||||
# A Ruby Web Server Built For Concurrency
|
# A Ruby Web Server Built For Concurrency
|
||||||
gem 'puma'
|
gem 'puma'
|
||||||
|
|
|
||||||
330
Gemfile.lock
330
Gemfile.lock
|
|
@ -1,245 +1,258 @@
|
||||||
GEM
|
GEM
|
||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
actioncable (6.0.3.3)
|
actioncable (6.1.4.1)
|
||||||
actionpack (= 6.0.3.3)
|
actionpack (= 6.1.4.1)
|
||||||
|
activesupport (= 6.1.4.1)
|
||||||
nio4r (~> 2.0)
|
nio4r (~> 2.0)
|
||||||
websocket-driver (>= 0.6.1)
|
websocket-driver (>= 0.6.1)
|
||||||
actionmailbox (6.0.3.3)
|
actionmailbox (6.1.4.1)
|
||||||
actionpack (= 6.0.3.3)
|
actionpack (= 6.1.4.1)
|
||||||
activejob (= 6.0.3.3)
|
activejob (= 6.1.4.1)
|
||||||
activerecord (= 6.0.3.3)
|
activerecord (= 6.1.4.1)
|
||||||
activestorage (= 6.0.3.3)
|
activestorage (= 6.1.4.1)
|
||||||
activesupport (= 6.0.3.3)
|
activesupport (= 6.1.4.1)
|
||||||
mail (>= 2.7.1)
|
mail (>= 2.7.1)
|
||||||
actionmailer (6.0.3.3)
|
actionmailer (6.1.4.1)
|
||||||
actionpack (= 6.0.3.3)
|
actionpack (= 6.1.4.1)
|
||||||
actionview (= 6.0.3.3)
|
actionview (= 6.1.4.1)
|
||||||
activejob (= 6.0.3.3)
|
activejob (= 6.1.4.1)
|
||||||
|
activesupport (= 6.1.4.1)
|
||||||
mail (~> 2.5, >= 2.5.4)
|
mail (~> 2.5, >= 2.5.4)
|
||||||
rails-dom-testing (~> 2.0)
|
rails-dom-testing (~> 2.0)
|
||||||
actionpack (6.0.3.3)
|
actionpack (6.1.4.1)
|
||||||
actionview (= 6.0.3.3)
|
actionview (= 6.1.4.1)
|
||||||
activesupport (= 6.0.3.3)
|
activesupport (= 6.1.4.1)
|
||||||
rack (~> 2.0, >= 2.0.8)
|
rack (~> 2.0, >= 2.0.9)
|
||||||
rack-test (>= 0.6.3)
|
rack-test (>= 0.6.3)
|
||||||
rails-dom-testing (~> 2.0)
|
rails-dom-testing (~> 2.0)
|
||||||
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
||||||
actiontext (6.0.3.3)
|
actiontext (6.1.4.1)
|
||||||
actionpack (= 6.0.3.3)
|
actionpack (= 6.1.4.1)
|
||||||
activerecord (= 6.0.3.3)
|
activerecord (= 6.1.4.1)
|
||||||
activestorage (= 6.0.3.3)
|
activestorage (= 6.1.4.1)
|
||||||
activesupport (= 6.0.3.3)
|
activesupport (= 6.1.4.1)
|
||||||
nokogiri (>= 1.8.5)
|
nokogiri (>= 1.8.5)
|
||||||
actionview (6.0.3.3)
|
actionview (6.1.4.1)
|
||||||
activesupport (= 6.0.3.3)
|
activesupport (= 6.1.4.1)
|
||||||
builder (~> 3.1)
|
builder (~> 3.1)
|
||||||
erubi (~> 1.4)
|
erubi (~> 1.4)
|
||||||
rails-dom-testing (~> 2.0)
|
rails-dom-testing (~> 2.0)
|
||||||
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
||||||
activejob (6.0.3.3)
|
activejob (6.1.4.1)
|
||||||
activesupport (= 6.0.3.3)
|
activesupport (= 6.1.4.1)
|
||||||
globalid (>= 0.3.6)
|
globalid (>= 0.3.6)
|
||||||
activemodel (6.0.3.3)
|
activemodel (6.1.4.1)
|
||||||
activesupport (= 6.0.3.3)
|
activesupport (= 6.1.4.1)
|
||||||
activerecord (6.0.3.3)
|
activerecord (6.1.4.1)
|
||||||
activemodel (= 6.0.3.3)
|
activemodel (= 6.1.4.1)
|
||||||
activesupport (= 6.0.3.3)
|
activesupport (= 6.1.4.1)
|
||||||
activestorage (6.0.3.3)
|
activestorage (6.1.4.1)
|
||||||
actionpack (= 6.0.3.3)
|
actionpack (= 6.1.4.1)
|
||||||
activejob (= 6.0.3.3)
|
activejob (= 6.1.4.1)
|
||||||
activerecord (= 6.0.3.3)
|
activerecord (= 6.1.4.1)
|
||||||
marcel (~> 0.3.1)
|
activesupport (= 6.1.4.1)
|
||||||
activesupport (6.0.3.3)
|
marcel (~> 1.0.0)
|
||||||
|
mini_mime (>= 1.1.0)
|
||||||
|
activesupport (6.1.4.1)
|
||||||
concurrent-ruby (~> 1.0, >= 1.0.2)
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
||||||
i18n (>= 0.7, < 2)
|
i18n (>= 1.6, < 2)
|
||||||
minitest (~> 5.1)
|
minitest (>= 5.1)
|
||||||
tzinfo (~> 1.1)
|
tzinfo (~> 2.0)
|
||||||
zeitwerk (~> 2.2, >= 2.2.2)
|
zeitwerk (~> 2.3)
|
||||||
api_matchers (0.6.2)
|
api_matchers (0.6.2)
|
||||||
activesupport (>= 3.2.5)
|
activesupport (>= 3.2.5)
|
||||||
nokogiri (>= 1.5.2)
|
nokogiri (>= 1.5.2)
|
||||||
rspec (>= 3.1)
|
rspec (>= 3.1)
|
||||||
apipie-rails (0.5.18)
|
apipie-rails (0.5.19)
|
||||||
rails (>= 4.1)
|
rails (>= 4.1)
|
||||||
ast (2.4.1)
|
ast (2.4.2)
|
||||||
awesome_nested_set (3.2.1)
|
awesome_nested_set (3.4.0)
|
||||||
activerecord (>= 4.0.0, < 7.0)
|
activerecord (>= 4.0.0, < 7.0)
|
||||||
awesome_print (1.8.0)
|
awesome_print (1.9.2)
|
||||||
backport (1.1.2)
|
backport (1.2.0)
|
||||||
bcrypt (3.1.16)
|
bcrypt (3.1.16)
|
||||||
benchmark (0.1.0)
|
benchmark (0.2.0)
|
||||||
bootsnap (1.4.8)
|
bootsnap (1.9.1)
|
||||||
msgpack (~> 1.0)
|
msgpack (~> 1.0)
|
||||||
builder (3.2.4)
|
builder (3.2.4)
|
||||||
byebug (11.1.3)
|
byebug (11.1.3)
|
||||||
concurrent-ruby (1.1.7)
|
concurrent-ruby (1.1.9)
|
||||||
crass (1.0.6)
|
crass (1.0.6)
|
||||||
database_cleaner (1.8.5)
|
database_cleaner (2.0.1)
|
||||||
|
database_cleaner-active_record (~> 2.0.0)
|
||||||
|
database_cleaner-active_record (2.0.1)
|
||||||
|
activerecord (>= 5.a)
|
||||||
|
database_cleaner-core (~> 2.0.0)
|
||||||
|
database_cleaner-core (2.0.1)
|
||||||
diff-lcs (1.4.4)
|
diff-lcs (1.4.4)
|
||||||
docile (1.3.2)
|
docile (1.4.0)
|
||||||
doorkeeper (5.4.0)
|
doorkeeper (5.5.4)
|
||||||
railties (>= 5)
|
railties (>= 5)
|
||||||
dotenv (2.7.6)
|
dotenv (2.7.6)
|
||||||
dotenv-rails (2.7.6)
|
dotenv-rails (2.7.6)
|
||||||
dotenv (= 2.7.6)
|
dotenv (= 2.7.6)
|
||||||
railties (>= 3.2)
|
railties (>= 3.2)
|
||||||
e2mmap (0.1.0)
|
e2mmap (0.1.0)
|
||||||
email_validator (2.0.1)
|
email_validator (2.2.3)
|
||||||
activemodel
|
activemodel
|
||||||
erubi (1.9.0)
|
erubi (1.10.0)
|
||||||
factory_bot (6.1.0)
|
factory_bot (6.2.0)
|
||||||
activesupport (>= 5.0.0)
|
activesupport (>= 5.0.0)
|
||||||
factory_bot_rails (6.1.0)
|
factory_bot_rails (6.2.0)
|
||||||
factory_bot (~> 6.1.0)
|
factory_bot (~> 6.2.0)
|
||||||
railties (>= 5.0.0)
|
railties (>= 5.0.0)
|
||||||
faker (2.13.0)
|
faker (2.19.0)
|
||||||
i18n (>= 1.6, < 2)
|
i18n (>= 1.6, < 2)
|
||||||
ffi (1.13.1)
|
ffi (1.15.4)
|
||||||
figaro (1.2.0)
|
figaro (1.2.0)
|
||||||
thor (>= 0.14.0, < 2)
|
thor (>= 0.14.0, < 2)
|
||||||
gemoji (3.0.1)
|
gemoji (3.0.1)
|
||||||
gemoji-parser (1.3.1)
|
gemoji-parser (1.3.1)
|
||||||
gemoji (>= 2.1.0)
|
gemoji (>= 2.1.0)
|
||||||
globalid (0.4.2)
|
globalid (0.5.2)
|
||||||
activesupport (>= 4.2.0)
|
activesupport (>= 5.0)
|
||||||
i18n (1.8.5)
|
i18n (1.8.10)
|
||||||
concurrent-ruby (~> 1.0)
|
concurrent-ruby (~> 1.0)
|
||||||
jaro_winkler (1.5.4)
|
jaro_winkler (1.5.4)
|
||||||
listen (3.2.1)
|
kramdown (2.3.1)
|
||||||
|
rexml
|
||||||
|
kramdown-parser-gfm (1.1.0)
|
||||||
|
kramdown (~> 2.0)
|
||||||
|
listen (3.7.0)
|
||||||
rb-fsevent (~> 0.10, >= 0.10.3)
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
||||||
rb-inotify (~> 0.9, >= 0.9.10)
|
rb-inotify (~> 0.9, >= 0.9.10)
|
||||||
loofah (2.7.0)
|
loofah (2.12.0)
|
||||||
crass (~> 1.0.2)
|
crass (~> 1.0.2)
|
||||||
nokogiri (>= 1.5.9)
|
nokogiri (>= 1.5.9)
|
||||||
mail (2.7.1)
|
mail (2.7.1)
|
||||||
mini_mime (>= 0.1.1)
|
mini_mime (>= 0.1.1)
|
||||||
marcel (0.3.3)
|
marcel (1.0.2)
|
||||||
mimemagic (~> 0.3.2)
|
|
||||||
maruku (0.7.3)
|
|
||||||
method_source (1.0.0)
|
method_source (1.0.0)
|
||||||
mimemagic (0.3.5)
|
mini_mime (1.1.2)
|
||||||
mini_mime (1.0.2)
|
minitest (5.14.4)
|
||||||
mini_portile2 (2.4.0)
|
msgpack (1.4.2)
|
||||||
minitest (5.14.2)
|
nio4r (2.5.8)
|
||||||
msgpack (1.3.3)
|
nokogiri (1.12.5-arm64-darwin)
|
||||||
nio4r (2.5.3)
|
racc (~> 1.4)
|
||||||
nokogiri (1.10.10)
|
oj (3.13.9)
|
||||||
mini_portile2 (~> 2.4.0)
|
parallel (1.21.0)
|
||||||
oj (3.10.14)
|
parser (3.0.2.0)
|
||||||
parallel (1.19.2)
|
|
||||||
parser (2.7.1.4)
|
|
||||||
ast (~> 2.4.1)
|
ast (~> 2.4.1)
|
||||||
pg (1.2.3)
|
pg (1.2.3)
|
||||||
pg_search (2.3.2)
|
pg_search (2.3.5)
|
||||||
activerecord (>= 5.2)
|
activerecord (>= 5.2)
|
||||||
activesupport (>= 5.2)
|
activesupport (>= 5.2)
|
||||||
puma (4.3.6)
|
puma (5.5.2)
|
||||||
nio4r (~> 2.0)
|
nio4r (~> 2.0)
|
||||||
rabl (0.14.3)
|
rabl (0.14.5)
|
||||||
activesupport (>= 2.3.14)
|
activesupport (>= 2.3.14)
|
||||||
|
racc (1.6.0)
|
||||||
rack (2.2.3)
|
rack (2.2.3)
|
||||||
rack-cors (1.1.1)
|
rack-cors (1.1.1)
|
||||||
rack (>= 2.0.0)
|
rack (>= 2.0.0)
|
||||||
rack-test (1.1.0)
|
rack-test (1.1.0)
|
||||||
rack (>= 1.0, < 3)
|
rack (>= 1.0, < 3)
|
||||||
rails (6.0.3.3)
|
rails (6.1.4.1)
|
||||||
actioncable (= 6.0.3.3)
|
actioncable (= 6.1.4.1)
|
||||||
actionmailbox (= 6.0.3.3)
|
actionmailbox (= 6.1.4.1)
|
||||||
actionmailer (= 6.0.3.3)
|
actionmailer (= 6.1.4.1)
|
||||||
actionpack (= 6.0.3.3)
|
actionpack (= 6.1.4.1)
|
||||||
actiontext (= 6.0.3.3)
|
actiontext (= 6.1.4.1)
|
||||||
actionview (= 6.0.3.3)
|
actionview (= 6.1.4.1)
|
||||||
activejob (= 6.0.3.3)
|
activejob (= 6.1.4.1)
|
||||||
activemodel (= 6.0.3.3)
|
activemodel (= 6.1.4.1)
|
||||||
activerecord (= 6.0.3.3)
|
activerecord (= 6.1.4.1)
|
||||||
activestorage (= 6.0.3.3)
|
activestorage (= 6.1.4.1)
|
||||||
activesupport (= 6.0.3.3)
|
activesupport (= 6.1.4.1)
|
||||||
bundler (>= 1.3.0)
|
bundler (>= 1.15.0)
|
||||||
railties (= 6.0.3.3)
|
railties (= 6.1.4.1)
|
||||||
sprockets-rails (>= 2.0.0)
|
sprockets-rails (>= 2.0.0)
|
||||||
rails-dom-testing (2.0.3)
|
rails-dom-testing (2.0.3)
|
||||||
activesupport (>= 4.2.0)
|
activesupport (>= 4.2.0)
|
||||||
nokogiri (>= 1.6)
|
nokogiri (>= 1.6)
|
||||||
rails-html-sanitizer (1.3.0)
|
rails-html-sanitizer (1.4.2)
|
||||||
loofah (~> 2.3)
|
loofah (~> 2.3)
|
||||||
railties (6.0.3.3)
|
railties (6.1.4.1)
|
||||||
actionpack (= 6.0.3.3)
|
actionpack (= 6.1.4.1)
|
||||||
activesupport (= 6.0.3.3)
|
activesupport (= 6.1.4.1)
|
||||||
method_source
|
method_source
|
||||||
rake (>= 0.8.7)
|
rake (>= 0.13)
|
||||||
thor (>= 0.20.3, < 2.0)
|
thor (~> 1.0)
|
||||||
rainbow (3.0.0)
|
rainbow (3.0.0)
|
||||||
rake (13.0.1)
|
rake (13.0.6)
|
||||||
rb-fsevent (0.10.4)
|
rb-fsevent (0.11.0)
|
||||||
rb-inotify (0.10.1)
|
rb-inotify (0.10.1)
|
||||||
ffi (~> 1.0)
|
ffi (~> 1.0)
|
||||||
rdoc (6.2.1)
|
rdoc (6.3.2)
|
||||||
regexp_parser (1.8.0)
|
regexp_parser (2.1.1)
|
||||||
responders (3.0.1)
|
responders (3.0.1)
|
||||||
actionpack (>= 5.0)
|
actionpack (>= 5.0)
|
||||||
railties (>= 5.0)
|
railties (>= 5.0)
|
||||||
reverse_markdown (2.0.0)
|
reverse_markdown (2.0.0)
|
||||||
nokogiri
|
nokogiri
|
||||||
rexml (3.2.4)
|
rexml (3.2.5)
|
||||||
rspec (3.9.0)
|
rspec (3.10.0)
|
||||||
rspec-core (~> 3.9.0)
|
rspec-core (~> 3.10.0)
|
||||||
rspec-expectations (~> 3.9.0)
|
rspec-expectations (~> 3.10.0)
|
||||||
rspec-mocks (~> 3.9.0)
|
rspec-mocks (~> 3.10.0)
|
||||||
rspec-core (3.9.2)
|
rspec-core (3.10.1)
|
||||||
rspec-support (~> 3.9.3)
|
rspec-support (~> 3.10.0)
|
||||||
rspec-expectations (3.9.2)
|
rspec-expectations (3.10.1)
|
||||||
diff-lcs (>= 1.2.0, < 2.0)
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
rspec-support (~> 3.9.0)
|
rspec-support (~> 3.10.0)
|
||||||
rspec-mocks (3.9.1)
|
rspec-mocks (3.10.2)
|
||||||
diff-lcs (>= 1.2.0, < 2.0)
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
rspec-support (~> 3.9.0)
|
rspec-support (~> 3.10.0)
|
||||||
rspec-rails (4.0.1)
|
rspec-rails (5.0.2)
|
||||||
actionpack (>= 4.2)
|
actionpack (>= 5.2)
|
||||||
activesupport (>= 4.2)
|
activesupport (>= 5.2)
|
||||||
railties (>= 4.2)
|
railties (>= 5.2)
|
||||||
rspec-core (~> 3.9)
|
rspec-core (~> 3.10)
|
||||||
rspec-expectations (~> 3.9)
|
rspec-expectations (~> 3.10)
|
||||||
rspec-mocks (~> 3.9)
|
rspec-mocks (~> 3.10)
|
||||||
rspec-support (~> 3.9)
|
rspec-support (~> 3.10)
|
||||||
rspec-support (3.9.3)
|
rspec-support (3.10.2)
|
||||||
rspec_junit_formatter (0.4.1)
|
rspec_junit_formatter (0.4.1)
|
||||||
rspec-core (>= 2, < 4, != 2.12.0)
|
rspec-core (>= 2, < 4, != 2.12.0)
|
||||||
rubocop (0.91.1)
|
rubocop (1.22.3)
|
||||||
parallel (~> 1.10)
|
parallel (~> 1.10)
|
||||||
parser (>= 2.7.1.1)
|
parser (>= 3.0.0.0)
|
||||||
rainbow (>= 2.2.2, < 4.0)
|
rainbow (>= 2.2.2, < 4.0)
|
||||||
regexp_parser (>= 1.7)
|
regexp_parser (>= 1.8, < 3.0)
|
||||||
rexml
|
rexml
|
||||||
rubocop-ast (>= 0.4.0, < 1.0)
|
rubocop-ast (>= 1.12.0, < 2.0)
|
||||||
ruby-progressbar (~> 1.7)
|
ruby-progressbar (~> 1.7)
|
||||||
unicode-display_width (>= 1.4.0, < 2.0)
|
unicode-display_width (>= 1.4.0, < 3.0)
|
||||||
rubocop-ast (0.4.2)
|
rubocop-ast (1.12.0)
|
||||||
parser (>= 2.7.1.4)
|
parser (>= 3.0.1.1)
|
||||||
ruby-progressbar (1.10.1)
|
ruby-progressbar (1.11.0)
|
||||||
sdoc (1.1.0)
|
sdoc (2.2.0)
|
||||||
rdoc (>= 5.0)
|
rdoc (>= 5.0)
|
||||||
shoulda-matchers (4.4.1)
|
shoulda-matchers (5.0.0)
|
||||||
activesupport (>= 4.2.0)
|
activesupport (>= 5.2.0)
|
||||||
simplecov (0.19.0)
|
simplecov (0.21.2)
|
||||||
docile (~> 1.1)
|
docile (~> 1.1)
|
||||||
simplecov-html (~> 0.11)
|
simplecov-html (~> 0.11)
|
||||||
simplecov-html (0.12.2)
|
simplecov_json_formatter (~> 0.1)
|
||||||
solargraph (0.39.15)
|
simplecov-html (0.12.3)
|
||||||
backport (~> 1.1)
|
simplecov_json_formatter (0.1.3)
|
||||||
|
solargraph (0.44.0)
|
||||||
|
backport (~> 1.2)
|
||||||
benchmark
|
benchmark
|
||||||
bundler (>= 1.17.2)
|
bundler (>= 1.17.2)
|
||||||
|
diff-lcs (~> 1.4)
|
||||||
e2mmap
|
e2mmap
|
||||||
jaro_winkler (~> 1.5)
|
jaro_winkler (~> 1.5)
|
||||||
maruku (~> 0.7, >= 0.7.3)
|
kramdown (~> 2.3)
|
||||||
nokogiri (~> 1.9, >= 1.9.1)
|
kramdown-parser-gfm (~> 1.1)
|
||||||
parser (~> 2.3)
|
parser (~> 3.0)
|
||||||
reverse_markdown (>= 1.0.5, < 3)
|
reverse_markdown (>= 1.0.5, < 3)
|
||||||
rubocop (~> 0.52)
|
rubocop (>= 0.52)
|
||||||
thor (~> 1.0)
|
thor (~> 1.0)
|
||||||
tilt (~> 2.0)
|
tilt (~> 2.0)
|
||||||
yard (~> 0.9, >= 0.9.24)
|
yard (~> 0.9, >= 0.9.24)
|
||||||
spring (2.1.1)
|
spring (3.0.0)
|
||||||
spring-commands-rspec (1.0.4)
|
spring-commands-rspec (1.0.4)
|
||||||
spring (>= 0.9.1)
|
spring (>= 0.9.1)
|
||||||
sprockets (4.0.2)
|
sprockets (4.0.2)
|
||||||
|
|
@ -249,20 +262,19 @@ GEM
|
||||||
actionpack (>= 4.0)
|
actionpack (>= 4.0)
|
||||||
activesupport (>= 4.0)
|
activesupport (>= 4.0)
|
||||||
sprockets (>= 3.0.0)
|
sprockets (>= 3.0.0)
|
||||||
thor (1.0.1)
|
thor (1.1.0)
|
||||||
thread_safe (0.3.6)
|
|
||||||
tilt (2.0.10)
|
tilt (2.0.10)
|
||||||
tzinfo (1.2.7)
|
tzinfo (2.0.4)
|
||||||
thread_safe (~> 0.1)
|
concurrent-ruby (~> 1.0)
|
||||||
unicode-display_width (1.7.0)
|
unicode-display_width (2.1.0)
|
||||||
websocket-driver (0.7.3)
|
websocket-driver (0.7.5)
|
||||||
websocket-extensions (>= 0.1.0)
|
websocket-extensions (>= 0.1.0)
|
||||||
websocket-extensions (0.1.5)
|
websocket-extensions (0.1.5)
|
||||||
yard (0.9.25)
|
yard (0.9.26)
|
||||||
zeitwerk (2.4.0)
|
zeitwerk (2.5.1)
|
||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
ruby
|
arm64-darwin-21
|
||||||
|
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
api_matchers
|
api_matchers
|
||||||
|
|
@ -270,7 +282,7 @@ DEPENDENCIES
|
||||||
awesome_nested_set
|
awesome_nested_set
|
||||||
awesome_print
|
awesome_print
|
||||||
bcrypt
|
bcrypt
|
||||||
bootsnap (~> 1.4.8)
|
bootsnap
|
||||||
byebug
|
byebug
|
||||||
database_cleaner
|
database_cleaner
|
||||||
doorkeeper
|
doorkeeper
|
||||||
|
|
@ -282,12 +294,12 @@ DEPENDENCIES
|
||||||
gemoji-parser
|
gemoji-parser
|
||||||
listen
|
listen
|
||||||
oj
|
oj
|
||||||
pg (~> 1.2.3)
|
pg
|
||||||
pg_search
|
pg_search
|
||||||
puma
|
puma
|
||||||
rabl
|
rabl
|
||||||
rack-cors (= 1.1.1)
|
rack-cors
|
||||||
rails (~> 6.0)
|
rails
|
||||||
responders
|
responders
|
||||||
rspec-rails
|
rspec-rails
|
||||||
rspec_junit_formatter
|
rspec_junit_formatter
|
||||||
|
|
@ -300,7 +312,7 @@ DEPENDENCIES
|
||||||
spring-commands-rspec
|
spring-commands-rspec
|
||||||
|
|
||||||
RUBY VERSION
|
RUBY VERSION
|
||||||
ruby 2.7.1p83
|
ruby 3.0.0p0
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
2.1.4
|
2.2.3
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@ class User < ApplicationRecord
|
||||||
length: { minimum: 3, maximum: 26 }
|
length: { minimum: 3, maximum: 26 }
|
||||||
|
|
||||||
validates :email,
|
validates :email,
|
||||||
case_sensitive: false,
|
|
||||||
presence: true,
|
presence: true,
|
||||||
uniqueness: true,
|
uniqueness: true,
|
||||||
email: true
|
email: true
|
||||||
|
|
|
||||||
|
|
@ -17,4 +17,6 @@ Doorkeeper.configure do
|
||||||
# Specify what grant flows are enabled in array of Strings. The valid
|
# Specify what grant flows are enabled in array of Strings. The valid
|
||||||
# strings and the flows they enable are:
|
# strings and the flows they enable are:
|
||||||
grant_flows %w(authorization_code client_credentials password)
|
grant_flows %w(authorization_code client_credentials password)
|
||||||
|
|
||||||
|
skip_client_authentication_for_password_grant true
|
||||||
end
|
end
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
# of editing this file, please use the migrations feature of Active Record to
|
# of editing this file, please use the migrations feature of Active Record to
|
||||||
# incrementally modify your database, and then regenerate this schema definition.
|
# incrementally modify your database, and then regenerate this schema definition.
|
||||||
#
|
#
|
||||||
# This file is the source Rails uses to define your schema when running `rails
|
# This file is the source Rails uses to define your schema when running `bin/rails
|
||||||
# db:schema:load`. When creating a new database, `rails db:schema:load` tends to
|
# db:schema:load`. When creating a new database, `bin/rails db:schema:load` tends to
|
||||||
# be faster and is potentially less error prone than running all of your
|
# be faster and is potentially less error prone than running all of your
|
||||||
# migrations from scratch. Old migrations may fail to apply correctly if those
|
# migrations from scratch. Old migrations may fail to apply correctly if those
|
||||||
# migrations use external dependencies or application code.
|
# migrations use external dependencies or application code.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue