Chun-Yang
992ee86b41
add test for controllers generator
2014-08-24 22:05:54 -05:00
Chun-Yang
02b1a9c4e0
enable empty scope when generating a controller
2014-08-24 21:28:06 -05:00
Chun-Yang
8de94035f0
add better help description
2014-08-24 00:06:12 -05:00
Chun-Yang
d8d9814ed4
user erb template to generate controllers, enable --controllers option to specify controllers, make 'scope' argument required
2014-08-23 23:29:45 -05:00
Chun-Yang
4f77da5b87
Step1: Create controllers templates, and create controller generator to copy ALL templates to rails app directory
2014-08-23 16:44:06 -05:00
Lucas Mazza
df43642cd5
Update Gemfiles
2014-08-19 22:14:35 -03:00
Lucas Mazza
8e4a700f81
Update gemfiles
2014-08-18 10:36:57 -03:00
José Valim
871b9b06f8
Merge pull request #3152 from DamirSvrtan/master
...
Rename links.erb to links.html.erb
2014-08-17 18:38:15 -04:00
Damir Svrtan
df9712bbe4
Rename links.erb to links.html.erb
2014-08-18 00:15:25 +02:00
Lucas Mazza
6e95b66b54
Release v3.3.0
v3.3.0
2014-08-13 13:41:14 -03:00
Lucas Mazza
c37552f552
Update CHANGELOG
2014-08-11 17:36:57 -03:00
Lucas Mazza
5d43d5f3bc
✂️
2014-08-11 17:35:28 -03:00
Lucas Mazza
6207e03070
Merge pull request #3135 from alexsoble/master
...
UX feature: heads-up for new users about minimum password length
2014-08-11 17:34:41 -03:00
alexsoble
c3fa8fabcf
Restore password length message in case of error
2014-08-10 12:17:54 -04:00
alexsoble
fe015f5a54
Revert "Update routes to match 'sign up'/'log in', incorporate feedback from @carlosantoniodasilva"
...
This reverts commit de2a24b3d3 .
2014-08-10 12:13:35 -04:00
alexsoble
de2a24b3d3
Update routes to match 'sign up'/'log in', incorporate feedback from @carlosantoniodasilva
2014-08-07 11:33:03 -04:00
alexsoble
67d8dd1e94
Replace 'Sign in' with 'Log in' in views, update tests
2014-08-06 13:32:02 -04:00
Lucas Mazza
42c3523632
Update Rails git dependencies
2014-08-06 13:40:26 -03:00
Lucas Mazza
6f75fc7a14
Do not mutate the receiving arguments
2014-08-06 13:28:17 -03:00
Lucas Mazza
876644168b
remove intermediate Array manipulation
2014-08-06 13:24:29 -03:00
Lucas Mazza
880146668b
Update devise_group documentation
2014-08-06 13:24:10 -03:00
Lucas Mazza
086b77ae6d
Update CHANGELOG
2014-08-06 13:23:52 -03:00
alexsoble
039b75ba83
Incorporated edits from @lucasmazza, wrote integration tests for password reminder feature
2014-08-06 11:04:46 -04:00
Lucas Mazza
eb9db7ba3a
Coerce time objects serialized as Strings before doing the timeoutable comparisons.
...
The comparison only fails on Ruby 1.9.3, when we need to parse it properly back
to a Time instance.
Related to #2930 .
2014-08-05 14:58:27 -03:00
alexsoble
e65c26e1e7
Only display password length warning if validatable module is included
2014-08-05 10:22:47 -04:00
alexsoble
c38accd648
Tell new signups about minimum password length in registrations/new.html.erb
2014-08-04 15:53:40 -04:00
Lucas Mazza
447b7030f8
Work around I18n recent failures.
2014-07-29 18:27:34 -03:00
Lucas Mazza
3cd6e650ef
'eval_block' shouldn't be used since it is a private API.
...
This method was made private on Rails master @ d2d3376903
2014-07-29 18:22:42 -03:00
Lucas Mazza
8a4fd04436
Update dependencies
2014-07-29 15:58:15 -03:00
José Valim
66db52ce31
Merge pull request #3113 from jherdman/patch-1
...
Silence Warning Regarding Use of Splat
2014-07-11 21:09:36 +02:00
James Herdman
b64f165154
Silence Warning Regarding Use of Splat
...
I was seeing the following in my console:
```
/home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/devise-3.2.4/app/controllers/devise_controller.rb:9: warning: `*' interpreted as argument prefix
/home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/devise-3.2.4/app/controllers/devise_controller.rb:10: warning: `*' interpreted as argument prefix
```
This change silences this warning.
2014-07-11 15:06:56 -04:00
Carlos Antonio da Silva
1d803dd23b
Get rid of extra module for group helpers
...
Just use the existing ClassMethods module which is properly extended
with AS::Concern.
2014-07-10 17:01:26 -03:00
Carlos Antonio da Silva
f1d57d7791
Use a different mapping name for testing the omniauth callback failure
...
This leaks into Devise mappings overriding the existing :admin one, so
depending on the test seed it fails like this:
$ TESTOPTS="--seed=9972" rake
==> Devise.orm = :active_record
Run options: --seed=9972
...
1) Failure:
MappingTest#test_allows_path_to_be_given [./test/mapping_test.rb:31]:
Expected: "admin_area"
Actual: "admin"
Using a different name should avoid any test randomization issues.
2014-07-10 08:58:21 -03:00
Carlos Antonio da Silva
da01235a20
Fix test that checks for proper configuration of omniauth callback
...
Previously the test was raising an ArgumentError by mistake:
ArgumentError: wrong number of arguments (0 for 1)
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:328:in `eval_block'`
The #eval_block method expects a proc/lambda argument that can be
instance_exec'ed, not a real block. In the Rails implementation the block
is passed to #draw, which calls #eval_block internally passing the block
along, but as a Proc argument and not as a block.
Also the error we were raising from #devise_for was a RuntimeError,
changed to the expected ArgumentError. Adding an assertion on top of the
expected message should ensure we won't have this issue again.
This was introduced in 29da146c07 , related
to #2802 .
2014-07-10 08:53:18 -03:00
Carlos Antonio da Silva
57d7a75b65
Use Devise's swap mechanism in failure app test
...
Also refactor tests to remove the custom failure app class only used
once in favor of an inline class for the specific test, makes it easier
to follow what's going on.
2014-07-10 08:53:18 -03:00
Carlos Antonio da Silva
2e8aecdac2
Create an anonymous class to test the failure app
...
No need to have a named class inside the test.
2014-07-10 08:13:06 -03:00
Vasiliy Ermolovich
9938a5e933
add documentation about skip: :all option to devise_for method
2014-07-06 16:35:51 +03:00
Lucas Mazza
9a5783ade3
Update Rails dependency across all lockfiles
2014-07-03 11:50:46 -03:00
Lucas Mazza
50679e1d93
Update Rails version across all the Gemfiles
2014-06-26 20:17:16 -03:00
Lucas Mazza
b6af1675d5
Merge pull request #3082 from greysteil/update-travis
...
Update Travis config to test on ruby 2.1.2 instead of 2.1.1
2014-06-24 10:23:48 -03:00
Lucas Mazza
520dfe2eb4
Update the overall dependencies and test with mongoid 4.0.0 for now on.
2014-06-24 10:22:26 -03:00
Lucas Mazza
8df6980c9e
Update _prefixes override to work with Rails 4.2
2014-06-24 10:06:45 -03:00
José Valim
6f7cd1332b
Merge pull request #3083 from jjb/patch-1
...
changelog detail for expire_all_remember_me_on_sign_out
2014-06-21 10:21:38 +02:00
John Bachir
8c7f6bd2aa
changelog detail for expire_all_remember_me_on_sign_out
...
explain that it's the configurability and not the functionality which is new
2014-06-20 18:01:35 -04:00
Grey Baker
89629e68c9
Update Travis config to test on ruby 2.1.2 instead of 2.1.1
2014-06-20 14:31:15 +01:00
José Valim
f0738098f0
Merge pull request #3079 from Yenwod/add-setup-detail
...
Add migration setup detail to README
2014-06-19 21:21:17 +02:00
Chris Downey
9abee354f7
Add migration setup detail to README
2014-06-19 15:03:19 -04:00
José Valim
382492ce40
Merge pull request #3077 from ShepBook/minor-readme-grammar
...
Make minor changes to readme grammar.
2014-06-19 10:49:31 +02:00
Jared Koumentis
d0cb629f81
Make minor changes to readme grammar.
2014-06-19 00:31:37 -04:00
Rafael Mendonça França
a11f54151b
Merge pull request #3074 from adamniedzielski/remove-cancan-from-readme
...
Outdated reference to CanCan in README
2014-06-18 11:11:10 -03:00