Carlos Antonio da Silva
aa8d89579a
Merge pull request #5338 from heartcombo/ca-build
...
Move build to GitHub Actions
2021-02-01 11:49:36 -03:00
Carlos Antonio da Silva
210c62af38
Add changelog about moving to GitHub Actions
2021-02-01 11:44:42 -03:00
Carlos Antonio da Silva
3048fe0960
Prevent Bundler 2.x. with Rails 4.x versions
2021-02-01 10:10:26 -03:00
Carlos Antonio da Silva
628f2fb2be
Explicitly set OmniAuth to 1.x in the Gemfiles for now
...
The build is breaking with 2.x (which is expected), so this is a step to
get it to green on GA.
2021-01-31 10:19:06 -03:00
Carlos Antonio da Silva
13ba27497b
Use the latest 2.x patch version for each Ruby, remove ruby-head
...
ruby-head was always in allowed failures with travis anyway, and we
never really paid much attention to it, so let's just remove it entirely
for now.
2021-01-31 10:08:57 -03:00
Carlos Antonio da Silva
7386f419e3
Use latest bundler on Gemfile.lock
...
Bundler 1.x uses git instead of https by default and we don't have that
github source setting in the Gemfile, but this should work.
2021-01-31 10:05:03 -03:00
Carlos Antonio da Silva
e07932c181
Rename gemfiles to keep consistency
2021-01-31 09:54:47 -03:00
Carlos Antonio da Silva
d0eafe70dc
Remove the lock gemfiles from the previous versions
...
Keep only the lock for the main Gemfile to keep Devise consistent with
the other heartcombo libs.
2021-01-31 09:51:20 -03:00
Carlos Antonio da Silva
7e6da424e2
Move from Travis to GitHub Actions
2021-01-29 16:59:14 -03:00
AsbahIshaq
81bf3ad8c1
changed support to supports ( #5334 )
...
Co-authored-by: Asbah Ishaq <asbahishaq>
2021-01-24 08:51:09 -03:00
Carlos Antonio da Silva
e0395367e4
Merge pull request #5333 from ghiculescu/patch-1
...
Fix Rails default log level in Readme
2021-01-18 21:53:46 -03:00
Carlos Antonio da Silva
fb17e2755f
Move Rails 6.1 to the main Gemfile instead of an extra one
...
We have the gemfiles/* to test other versions of Rails, but keep the
most recent one in the main Gemfile.
2021-01-18 21:52:07 -03:00
Alex Ghiculescu
f4462cd85e
Fix Rails default log level
...
This changed in 229fd2a02f - the advice about changing your log level still stands though.
2021-01-18 16:51:23 -06:00
Ryunosuke Sato
98fc5e8e39
Test on rails 6.1 ( #5323 )
...
* Make test for validation to be Rails 6.1 compatible
The `ActiveModel::Errors` has been changed in Rails 6.1.
https://github.com/rails/rails/pull/32313
* Add gemfile for Rails 6.1
* Add CI matrix for Rails 6.1
2021-01-04 20:17:58 -03:00
Carlos Antonio da Silva
dfbed22cee
Merge pull request #5315 from bipashant/master
...
Add missing period to devise.registrations.updated_but_not_signed_in
2020-11-23 08:10:22 -03:00
Bibek Sharma Chapagain
fd03f9e353
Added missing full stop "." on registrations.updated_but_not_signed_in.
2020-11-23 12:21:22 +11:00
Carlos Antonio da Silva
a19e78cdb4
Merge pull request #5306 from janz93/cleanup
...
Add to-do to cleanup rack/rails session bug fix when supporting Rails 5.2+ only
2020-11-22 21:42:48 -03:00
Jan Zaydowicz
b88af5d65e
chore: add expiry note for old rack/rails session bug fix
...
Seven year ago rails `session.keys` could be empty if the session was
not loaded yet.
To prevent an error the removed code was introduced
https://github.com/heartcombo/devise/issues/2660
Since then rails changed the behaviour and makes sure that the session
is loaded before someone wants to access any session keys
3498aacbbe
Which means the `session.empty?` is not needed anymore once Rails 5.2+
and upwards only supported.
2020-11-22 12:33:30 +01:00
Carlos Antonio da Silva
45b831c4ea
Release 4.7.3
2020-09-20 21:24:01 -03:00
Carlos Antonio da Silva
f12be553cc
Update changelog [ci skip]
2020-09-20 10:45:10 -03:00
Carlos Antonio da Silva
4896a9b41a
Update bundle
2020-09-20 10:43:42 -03:00
mune
eed641d2be
Add spaces around method arguments when setting default values
...
Closes #5288
2020-08-31 18:15:45 -03:00
Carlos Antonio da Silva
97aa37bb50
Use assert_empty minitest helper
2020-08-27 18:40:03 -03:00
Carlos Antonio da Silva
15135f7dc6
User assert_includes/refute_includes minitest helpers
2020-08-27 18:38:26 -03:00
Carlos Antonio da Silva
e39b9b9134
Fix order of arguments for assert_equal on tests
...
Use `assert_equal expected, actual` for proper error messages in case of
failures.
2020-08-27 18:24:17 -03:00
Carlos Antonio da Silva
4a5e7a9143
Switch to https for git repos in the lock file
2020-08-27 08:54:18 -03:00
Carlos Antonio da Silva
8664bac682
Merge pull request #5286 from clockspring/fix-5285
...
Fix hanging tests for streaming controllers using Devise
2020-08-27 08:52:17 -03:00
Tony Novak
3e588d2d25
Work around "uncaught throw :warden" issue in Rails 4
2020-08-26 12:02:11 -04:00
Tony Novak
23fbc35b2d
Fix hanging tests for streaming controllers using Devise
...
Fixes #5285 .
2020-08-26 12:02:09 -04:00
Carlos Antonio da Silva
2c844b0649
Merge branch 'ca-deprecate-blacklist-constant' into master
...
Closes #5280
2020-08-20 09:07:43 -03:00
Carlos Antonio da Silva
0c2cab7c94
Deprecate BLACKLIST_FOR_SERIALIZATION on all supported Rails versions
...
Deprecate `BLACKLIST_FOR_SERIALIZATION` constant in favor of a more
descriptive name `UNSAFE_ATTRIBUTES_FOR_SERIALIZATION`, removing
unnecessary usage of the word `blacklist` from devise.
The previous constant still works but will emit a warning if used, to
allow anyone still depending on it to upgrade.
This includes an internal backport of the Rails `deprecate_constant`
implementation that exists on Rails 5.1+ to be able to deprecate it
properly in prior versions, while we support those. (which I intend to
drop soon.)
2020-08-19 19:36:25 -03:00
Seiei Miyagi
2da46d8dd6
Replace BLACKLIST_FOR_SERIALIZATION with DENYLIST_FOR_SERIALIZATION
2020-08-17 22:17:06 +09:00
Daniel Pepper
507573994a
Ensure serializable_hash doesn't raise with a frozen :except array
...
I ran into an issue where options[:except] is a frozen array, which
explodes when we try to concat values in `serializable_hash`. To fix this
we dup the `:except` option before concatenating with the other options
there.
Closes #5278 .
2020-08-13 18:38:23 -03:00
Carlos Antonio da Silva
f26e05c200
Update bundle
2020-08-10 22:47:15 -03:00
Carlos Antonio da Silva
f5cc775a5f
Remove commented out code
2020-06-23 08:50:20 -03:00
Carlos Antonio da Silva
b94b957490
Prefer american style english for code
...
Nothing personal, just seems to be much more common usage across the
code.
2020-06-23 08:50:20 -03:00
Carlos Antonio da Silva
057afdc1e6
Fix another thor deprecation warning in the install generator
...
This one has been showing up when running tests:
Deprecation warning: Expected string default value for '--orm'; got false (boolean).
This will be rejected in the future unless you explicitly pass the options
`check_default_type: false` or call `allow_incompatible_default_type!` in your code
You can silence deprecations warning by setting the environment variable THOR_SILENCE_DEPRECATION.
2020-06-18 18:02:43 -03:00
Carlos Antonio da Silva
c249ba991b
Merge pull request #5258 from deivid-rodriguez/fix_thor_warning
...
The `:orm` option can also have string values. Fixes #5252 .
2020-06-18 18:00:11 -03:00
David Rodríguez
ffa8a80f42
Fix warning from thor
...
The `:orm` option can also have string values.
2020-06-18 16:21:58 +02:00
Carlos Antonio da Silva
4f60544396
Improve deprecation message with example of how to remove it
...
The deprecation of `devise_error_messages!` wasn't super clear on what
was happening and how to get rid of the message, not it has a more
detailed explanation with an example of what to look for and what to
replace it with.
Closes #5257 .
2020-06-17 08:52:43 -03:00
Rafael França
79d7eddfc3
Merge pull request #5256 from ptcodes/remove_heroku_anchor_link
...
Remove Heroku anchor link and fix some typos
2020-06-15 23:38:36 -04:00
Pavel Timofeev
b25492ea01
Remove Heroku anchor link and fix some typos
2020-06-15 23:19:31 -04:00
Руслан Корнев
0e33f55b7d
Fixes broken image ( #5253 ) [ci skip]
2020-06-12 21:37:02 -03:00
Carlos Antonio da Silva
6991ff4eb4
Oops, fix changelog [ci skip]
2020-06-10 15:28:31 -03:00
Carlos Antonio da Silva
16f27b3074
Bump to v4.7.2
v4.7.2
2020-06-10 15:23:45 -03:00
Carlos Antonio da Silva
87108ad4d5
Merge pull request #5250 from hyuraku/remove_useless_rails51
...
remove unused rails51? method
2020-06-09 10:18:55 -03:00
hyuraku
6d37e32437
remove useless rails51? method
2020-06-09 21:50:30 +09:00
Carlos Antonio da Silva
a3c0c65269
Devise no longer supports Rails 3.2 since version 4 [ci skip]
...
And this `initialize_on_precompile` option is obsolete.
2020-06-08 18:44:21 -03:00
Carlos Antonio da Silva
2c1b5fb240
Update changelog with latest [ci skip]
2020-06-08 18:40:50 -03:00
Carlos Antonio da Silva
50f820a6cf
Use master of Rails controller testing gem to remove Ruby 2.7 warning
2020-06-07 20:00:17 -03:00