nyauth 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +30 -11
  3. data/app/controllers/concerns/nyauth/client_concern.rb +0 -12
  4. data/app/controllers/concerns/nyauth/session_concern.rb +4 -2
  5. data/app/controllers/nyauth/confirmation_requests_controller.rb +2 -1
  6. data/app/controllers/nyauth/reset_password_requests_controller.rb +2 -1
  7. data/app/views/nyauth/confirmation_requests/new.html.erb +6 -2
  8. data/app/views/nyauth/confirmations/edit.html.erb +3 -1
  9. data/app/views/nyauth/passwords/edit.html.erb +11 -4
  10. data/app/views/nyauth/registrations/new.html.erb +16 -5
  11. data/app/views/nyauth/reset_password_requests/new.html.erb +6 -2
  12. data/app/views/nyauth/reset_passwords/edit.html.erb +11 -4
  13. data/app/views/nyauth/sessions/new.html.erb +26 -4
  14. data/config/locales/en.yml +17 -0
  15. data/config/locales/ja.yml +17 -0
  16. data/lib/generators/nyauth/templates/nyauth_install_initializer.rb +1 -0
  17. data/lib/nyauth/configuration.rb +3 -1
  18. data/lib/nyauth/version.rb +1 -1
  19. data/spec/dummy/app/controllers/secret_pages_controller.rb +3 -0
  20. data/spec/dummy/app/views/layouts/application.html.erb +5 -4
  21. data/spec/dummy/app/views/pages/index.html.erb +1 -0
  22. data/spec/dummy/app/views/secret_pages/show.html.erb +16 -0
  23. data/spec/dummy/config/routes.rb +1 -1
  24. data/spec/dummy/db/development.sqlite3 +0 -0
  25. data/spec/dummy/db/test.sqlite3 +0 -0
  26. data/spec/dummy/log/development.log +1565 -0
  27. data/spec/dummy/log/test.log +13691 -0
  28. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/2NBqGhntP-vkXcqELAsDTzmnheGw93xJN_VGA0pgaRE.cache +2 -0
  29. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +2 -0
  30. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/7PsmVUbUntxOpqpWdEwUU4-Vch3oiySq_JGxTbJ5PpY.cache +1 -0
  31. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/9ZmbprB8JTP8NcS2v6ybrL-s1igpVDmvrecDQ4EoT98.cache +1 -0
  32. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/9i_17ApHgLHXHlwXbU9QEfNrNMgVPjAoAk0EfGS-cWw.cache +1 -0
  33. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/AGwGz3BSkc6R8VNuXsktaud9VfwJJKExEOkMfRgl5gs.cache +0 -0
  34. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/CNXGLOU1u3FFzGFDMg_4iNcdCDd2iAmoOaiRROni8Tk.cache +2 -0
  35. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/IWK3eA3Xg7xhMT1dZKZVm3upMCwIJ0SQ9OSvgr5EQSQ.cache +1 -0
  36. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/KMlhnvtwFQuyaaZ195Lj0w5MK5NNri6jl69DuQoTAE4.cache +1 -0
  37. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/M7oa-ssP0ThBOv3o2FcsdNgXY3vxnpfs-rW3tIOkwkU.cache +2 -0
  38. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Mtcj1AvQERunaFbrg0NFwhWrp4x9xeiPyIOk6-0MbFY.cache +1 -0
  39. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +3 -0
  40. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/TCPOmqTgyNFovZmHXHUPPumf8jHDXCMHIu91bxyq_qM.cache +1 -0
  41. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/TsqcIsRVwdzA3lX08Qq7drAL4zLsBcHhTmvYA0iYlFg.cache +0 -0
  42. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/U99dHIig7_F_E5FAiaD3KbJB48rLrPrdk7UMoFBZtUE.cache +1 -0
  43. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/XuYgzNIa4BPGLEWP7iJYh1iWKGXYBhpo1klyENS2YaU.cache +0 -0
  44. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/hZ2TcST6QnJ8TDpZyPBNxtk7UDcicV2wNr1w45WT-nc.cache +0 -0
  45. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/j1T-PJkAzqG60b8uyQJuze9TkQ9rCNkZaDDyFBNgOxs.cache +0 -0
  46. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/nFnIur4O1YIyM8EzA8Qe0RoJLQ0pgsYdum1MnIENOyg.cache +0 -0
  47. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/rZS2dSuZR3CGbChyMtQnJmfrHS-eYItGdlz8HLRVRP4.cache +0 -0
  48. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/vwm1k9Bq-HwABJMegaJmccXR8JXBcp7a46peIjalZug.cache +1 -0
  49. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/xNxWjlD2nQ_nHrl6FvGZ5mhn4F5A5XJAlz029Se49y4.cache +2 -0
  50. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/xwVAR1lusWTxEOYWi4lpQKQqP7gDm7juRZ4ClCEBR00.cache +1 -0
  51. data/spec/featrues/nyauth/confirmation_requests_spec.rb +2 -2
  52. data/spec/featrues/nyauth/passwords_spec.rb +2 -2
  53. data/spec/featrues/nyauth/registrations_spec.rb +2 -2
  54. data/spec/featrues/nyauth/reset_password_requests_spec.rb +3 -3
  55. data/spec/featrues/nyauth/sessions_spec.rb +10 -9
  56. data/spec/lib/generators/nyauth/tmp/app/views/nyauth/confirmation_requests/new.html.erb +6 -2
  57. data/spec/lib/generators/nyauth/tmp/app/views/nyauth/confirmations/edit.html.erb +3 -1
  58. data/spec/lib/generators/nyauth/tmp/app/views/nyauth/passwords/edit.html.erb +11 -4
  59. data/spec/lib/generators/nyauth/tmp/app/views/nyauth/registrations/new.html.erb +16 -5
  60. data/spec/lib/generators/nyauth/tmp/app/views/nyauth/reset_password_requests/new.html.erb +6 -2
  61. data/spec/lib/generators/nyauth/tmp/app/views/nyauth/reset_passwords/edit.html.erb +11 -4
  62. data/spec/lib/generators/nyauth/tmp/app/views/nyauth/sessions/new.html.erb +26 -4
  63. metadata +53 -9
  64. data/spec/dummy/app/controllers/posts_controller.rb +0 -6
  65. data/spec/dummy/app/views/posts/index.html.erb +0 -0
  66. data/spec/dummy/tmp/pids/server.pid +0 -1
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"�file-digest:///Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery_ujs.js;TT
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI"0processors:type=text/css&file_type=text/css;TTI"9file-digest://app/assets/stylesheets/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI")file-digest://app/assets/stylesheets;TT
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&id=08775256f0605f67ab64e28f442ea8cc90aaf62d95d501e497bd2a628090342d:ET
@@ -0,0 +1 @@
1
+ I"�/Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery_ujs.js?type=application/javascript&pipeline=self&id=688c9b803b86d81369793db113fb4407318d28a7a1abd1f114e93ec30ee534f0:ET
@@ -0,0 +1 @@
1
+ "%z?��p}-�dO�G��9���9v�Y�fZ�
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{I"environment-version:ETTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"8file-digest://app/assets/javascripts/application.js;TTI"$file-digest://app/assets/images;TTI"+file-digest://app/assets/images/jquery;TTI")file-digest://app/assets/javascripts;TTI"0file-digest://app/assets/javascripts/jquery;TTI")file-digest://app/assets/stylesheets;TTI"0file-digest://app/assets/stylesheets/jquery;TTI"�file-digest:///Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/jquery-rails-4.0.4/vendor/assets/javascripts;TTI"�file-digest:///Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery;TTI"�file-digest:///Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery.js;TTI"/file-digest://app/assets/images/jquery_ujs;TTI"4file-digest://app/assets/javascripts/jquery_ujs;TTI"4file-digest://app/assets/stylesheets/jquery_ujs;TTI"�file-digest:///Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery_ujs;TTI"�file-digest:///Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery_ujs.js;TT
@@ -0,0 +1 @@
1
+ "%��Rm�v�S3.��O�L���ڹc�ƕq�=_j�
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=6101dff1ed731728342541b01426efdf7a68a359f997d1305a36ae4886a55a84:ET
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"�file-digest:///Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery.js;TT
@@ -0,0 +1 @@
1
+ I"}app/assets/stylesheets/application.css?type=text/css&id=e8a0bd83315a063b73774efe36bcc303dc1071cbdb640857c61e208d80db6b43:ET
@@ -0,0 +1,3 @@
1
+ [o:Set:
2
+ @hash{
3
+ I"environment-version:ETTI"environment-paths;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"9file-digest://app/assets/stylesheets/application.css;TTI")file-digest://app/assets/stylesheets;TT
@@ -0,0 +1 @@
1
+ "%Ѱč@�����6H�uZoX�Z�gbh0W��V
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=696dda2cddd8aa42842a6d206fa4bf63dbe532f2c16b58b50d75001196e0df24:ET
@@ -0,0 +1 @@
1
+ "%��B�����șo�$'�A�d��L���xR�U
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{I"environment-version:ETTI"environment-paths;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"8file-digest://app/assets/javascripts/application.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"�file-digest:///Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery.js;TTI"�file-digest:///Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery_ujs.js;TTI"$file-digest://app/assets/images;TTI"+file-digest://app/assets/images/jquery;TTI")file-digest://app/assets/javascripts;TTI"0file-digest://app/assets/javascripts/jquery;TTI")file-digest://app/assets/stylesheets;TTI"0file-digest://app/assets/stylesheets/jquery;TTI"�file-digest:///Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/jquery-rails-4.0.4/vendor/assets/javascripts;TTI"�file-digest:///Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery;TTI"/file-digest://app/assets/images/jquery_ujs;TTI"4file-digest://app/assets/javascripts/jquery_ujs;TTI"4file-digest://app/assets/stylesheets/jquery_ujs;TTI"�file-digest:///Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery_ujs;TT
@@ -0,0 +1 @@
1
+ I"�/Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery.js?type=application/javascript&pipeline=self&id=788b84597e2404c871739fcf3cdeacd17980af9c9d0367237929c0386fafa048:ET
@@ -10,7 +10,7 @@ RSpec.describe 'Nyauth::ConfirmationRequests' do
10
10
 
11
11
  scenario 'request & confirm' do
12
12
  fill_in('confirmation_request_email', with: user.email)
13
- click_button('request confirmation')
13
+ click_button(I18n.t('nav.nyauth.common.send'))
14
14
 
15
15
  open_email(user.email)
16
16
  current_email.click_link('confirm')
@@ -22,7 +22,7 @@ RSpec.describe 'Nyauth::ConfirmationRequests' do
22
22
 
23
23
  scenario 'request expired' do
24
24
  fill_in('confirmation_request_email', with: user.email)
25
- click_button('request confirmation')
25
+ click_button(I18n.t('nav.nyauth.common.send'))
26
26
 
27
27
  Timecop.freeze(Time.current + 3.hours) do
28
28
  open_email(user.email)
@@ -13,13 +13,13 @@ RSpec.describe 'Nyauth::Passwords' do
13
13
  scenario 'update password' do
14
14
  fill_in('user_password', with: new_password)
15
15
  fill_in('user_password_confirmation', with: new_password)
16
- click_button('Update')
16
+ click_button(I18n.t('nav.nyauth.common.update'))
17
17
 
18
18
  expect(page).to have_content('updated')
19
19
  end
20
20
 
21
21
  scenario "can't udpate password" do
22
- click_button('Update')
22
+ click_button(I18n.t('nav.nyauth.common.update'))
23
23
 
24
24
  expect(page).to have_content("can't")
25
25
  end
@@ -10,14 +10,14 @@ RSpec.describe 'Nyauth::Registrations' do
10
10
  fill_in('registration_email', with: user.email)
11
11
  fill_in('registration_password', with: user.password)
12
12
  fill_in('registration_password_confirmation', with: user.password)
13
- click_button('Sign up')
13
+ click_button(I18n.t('nav.nyauth.registrations.new'))
14
14
 
15
15
  expect(page).to have_content('registration success')
16
16
  expect(User.last.email).to eq user.email
17
17
  end
18
18
 
19
19
  scenario "can't create user" do
20
- click_button('Sign up')
20
+ click_button(I18n.t('nav.nyauth.registrations.new'))
21
21
 
22
22
  expect(page).to have_content("can't")
23
23
  end
@@ -11,14 +11,14 @@ RSpec.describe 'Nyauth::NewPasswordRequests' do
11
11
 
12
12
  scenario 'request & set reset password' do
13
13
  fill_in('reset_password_request_email', with: user.email)
14
- click_button('reset password')
14
+ click_button(I18n.t('nav.nyauth.common.send'))
15
15
 
16
16
  open_email(user.email)
17
17
  current_email.click_link('set new password')
18
18
 
19
19
  fill_in('user_password', with: reset_password)
20
20
  fill_in('user_password_confirmation', with: reset_password)
21
- click_button('Update')
21
+ click_button(I18n.t('nav.nyauth.common.set'))
22
22
 
23
23
  expect(page).to have_content('updated')
24
24
  expect(current_path).to eq nyauth.new_session_path
@@ -26,7 +26,7 @@ RSpec.describe 'Nyauth::NewPasswordRequests' do
26
26
 
27
27
  scenario 'request expired' do
28
28
  fill_in('reset_password_request_email', with: user.email)
29
- click_button('reset password')
29
+ click_button(I18n.t('nav.nyauth.common.send'))
30
30
 
31
31
  Timecop.freeze(Time.current + 3.hours) do
32
32
  open_email(user.email)
@@ -9,28 +9,29 @@ RSpec.describe 'Nyauth::Sessions' do
9
9
  scenario 'sign in user' do
10
10
  fill_in('session_email', with: user.email)
11
11
  fill_in('session_password', with: user.password)
12
- click_button('Sign in')
12
+ click_button(I18n.t('nav.nyauth.sessions.new'))
13
13
 
14
14
  expect(page).to have_content('sign in success')
15
15
  end
16
16
 
17
17
  scenario "can't sign in user" do
18
- click_button('Sign in')
18
+ click_button(I18n.t('nav.nyauth.sessions.new'))
19
19
 
20
20
  expect(page).to have_content('Invalid')
21
21
  end
22
22
  end
23
23
 
24
24
  feature 'sign in & redirect to page accessed before sign in' do
25
- background { visit posts_path }
25
+ background { visit secret_page_path }
26
26
 
27
27
  scenario 'sign in user' do
28
28
  fill_in('session_email', with: user.email)
29
29
  fill_in('session_password', with: user.password)
30
- click_button('Sign in')
30
+ click_button(I18n.t('nav.nyauth.sessions.new'))
31
31
 
32
32
  expect(page).to have_content('sign in success')
33
- expect(current_path).to eq posts_path
33
+ expect(page).to have_content("It's a secret page!")
34
+ expect(current_path).to eq secret_page_path
34
35
  end
35
36
  end
36
37
 
@@ -41,7 +42,7 @@ RSpec.describe 'Nyauth::Sessions' do
41
42
 
42
43
  scenario 'sign out user' do
43
44
  visit root_path
44
- click_link('Sign out')
45
+ click_link(I18n.t('nav.nyauth.sessions.destroy'))
45
46
  expect(page).to have_content('sign out')
46
47
 
47
48
  sign_out
@@ -59,13 +60,13 @@ RSpec.describe 'Nyauth::Sessions' do
59
60
  scenario 'sign in admin' do
60
61
  fill_in('session_email', with: admin.email)
61
62
  fill_in('session_password', with: admin.password)
62
- click_button('Sign in')
63
+ click_button(I18n.t('nav.nyauth.sessions.new'))
63
64
 
64
65
  expect(page).to have_content('sign in success')
65
66
  end
66
67
 
67
68
  scenario "can't sign in admin" do
68
- click_button('Sign in')
69
+ click_button(I18n.t('nav.nyauth.sessions.new'))
69
70
 
70
71
  expect(page).to have_content('Invalid')
71
72
  end
@@ -79,7 +80,7 @@ RSpec.describe 'Nyauth::Sessions' do
79
80
 
80
81
  scenario 'sign out admin' do
81
82
  visit root_path
82
- click_link('Sign out')
83
+ click_link(I18n.t('nav.nyauth.sessions.destroy'))
83
84
  expect(page).to have_content('sign out')
84
85
 
85
86
  sign_out
@@ -1,4 +1,8 @@
1
+ <div class="nyauth-error-messages">
2
+ <%= @service.errors.full_messages.join(',') %>
3
+ </div>
4
+
1
5
  <%= form_for @service, url: confirmation_requests_path_for(nyauth_client_name) do |f| %>
2
- <%= f.email_field :email %>
3
- <%= f.submit 'request confirmation' %>
6
+ <%= f.email_field :email, placeholder: 'email' %>
7
+ <%= f.submit t('nav.nyauth.common.send') %>
4
8
  <% end %>
@@ -1 +1,3 @@
1
- <%= @client.errors.full_messages.join ',' %>
1
+ <div class="nyauth-error-messages">
2
+ <%= @client.errors.full_messages.join ',' %>
3
+ </div>
@@ -1,6 +1,13 @@
1
+ <div class="nyauth-error-messages">
2
+ <%= @client.errors.full_messages.join(',') %>
3
+ </div>
4
+
1
5
  <%= form_for @client, url: password_path_for(nyauth_client_name) do |f| %>
2
- <%= f.object.errors.full_messages %>
3
- <%= f.password_field :password %>
4
- <%= f.password_field :password_confirmation %>
5
- <%= f.submit 'Update' %>
6
+ <div>
7
+ <%= f.password_field :password, placeholder: 'password' %>
8
+ </div>
9
+ <div>
10
+ <%= f.password_field :password_confirmation, placeholder: 'password confirmation' %>
11
+ </div>
12
+ <%= f.submit t('nav.nyauth.common.update') %>
6
13
  <% end %>
@@ -1,7 +1,18 @@
1
+ <div class="nyauth-error-messages">
2
+ <%= @service.errors.full_messages.join(',') %>
3
+ </div>
4
+
1
5
  <%= form_for @service, url: registration_path_for(nyauth_client_name) do |f| %>
2
- <%= f.object.errors.full_messages.join ',' %>
3
- <%= f.email_field :email %>
4
- <%= f.password_field :password %>
5
- <%= f.password_field :password_confirmation %>
6
- <%= f.submit 'Sign up' %>
6
+ <div>
7
+ <%= f.email_field :email, placeholder: 'email' %>
8
+ </div>
9
+ <div>
10
+ <%= f.password_field :password, placeholder: 'password' %>
11
+ </div>
12
+ <div>
13
+ <%= f.password_field :password_confirmation, placeholder: 'password confirmation' %>
14
+ </div>
15
+ <div>
16
+ <%= f.submit t('nav.nyauth.registrations.new') %>
17
+ </div>
7
18
  <% end %>
@@ -1,4 +1,8 @@
1
+ <div class="nyauth-error-messages">
2
+ <%= @service.errors.full_messages.join(',') %>
3
+ </div>
4
+
1
5
  <%= form_for @service, url: reset_password_requests_path_for(nyauth_client_name) do |f| %>
2
- <%= f.text_field :email %>
3
- <%= f.submit 'reset password' %>
6
+ <%= f.text_field :email, placeholder: 'email' %>
7
+ <%= f.submit t('nav.nyauth.common.send') %>
4
8
  <% end %>
@@ -1,6 +1,13 @@
1
+ <div class="nyauth-error-messages">
2
+ <%= @client.errors.full_messages.join(',') %>
3
+ </div>
4
+
1
5
  <%= form_for @client, url: reset_password_path_for(nyauth_client_name, params[:reset_password_key]) do |f| %>
2
- <%= f.object.errors.full_messages %>
3
- <%= f.password_field :password %>
4
- <%= f.password_field :password_confirmation %>
5
- <%= f.submit 'Update' %>
6
+ <div>
7
+ <%= f.password_field :password, placeholder: 'password' %>
8
+ </div>
9
+ <div>
10
+ <%= f.password_field :password_confirmation, placeholder: 'password confirmation' %>
11
+ </div>
12
+ <%= f.submit t('nav.nyauth.common.set') %>
6
13
  <% end %>
@@ -1,6 +1,28 @@
1
+ <div class="nyauth-error-messages">
2
+ <%= @service.errors.full_messages.join(',') %>
3
+ </div>
4
+
1
5
  <%= form_for @service, url: session_path_for(nyauth_client_name) do |f| %>
2
- <%= f.object.errors.full_messages.join ',' %>
3
- <%= f.email_field :email %>
4
- <%= f.password_field :password %>
5
- <%= f.submit 'Sign in' %>
6
+ <div>
7
+ <%= f.email_field :email, placeholder: 'email' %>
8
+ </div>
9
+ <div>
10
+ <%= f.password_field :password, placeholder: 'password' %>
11
+ </div>
12
+ <div>
13
+ <%= f.submit t('nav.nyauth.sessions.new') %>
14
+ </div>
6
15
  <% end %>
16
+
17
+ <ul>
18
+ <li>
19
+ <%= link_to new_registration_path_for(nyauth_client_name) do %>
20
+ <%= t('nav.nyauth.registrations.new') %>
21
+ <% end %>
22
+ </li>
23
+ <li>
24
+ <%= link_to new_reset_password_request_path_for(nyauth_client_name) do %>
25
+ <%= t('nav.nyauth.reset_password_requests.new') %>
26
+ <% end %>
27
+ </li>
28
+ </ul>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nyauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ppworks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-18 00:00:00.000000000 Z
11
+ date: 2015-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -117,13 +117,13 @@ files:
117
117
  - spec/dummy/app/assets/stylesheets/application.css
118
118
  - spec/dummy/app/controllers/application_controller.rb
119
119
  - spec/dummy/app/controllers/pages_controller.rb
120
- - spec/dummy/app/controllers/posts_controller.rb
120
+ - spec/dummy/app/controllers/secret_pages_controller.rb
121
121
  - spec/dummy/app/helpers/application_helper.rb
122
122
  - spec/dummy/app/models/admin.rb
123
123
  - spec/dummy/app/models/user.rb
124
124
  - spec/dummy/app/views/layouts/application.html.erb
125
125
  - spec/dummy/app/views/pages/index.html.erb
126
- - spec/dummy/app/views/posts/index.html.erb
126
+ - spec/dummy/app/views/secret_pages/show.html.erb
127
127
  - spec/dummy/bin/bundle
128
128
  - spec/dummy/bin/rails
129
129
  - spec/dummy/bin/rake
@@ -188,34 +188,56 @@ files:
188
188
  - spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ysMIP1GiNEslwSMFx4V6kVDb4UFG1mgq0U7Pjh2AIzY.cache
189
189
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/1-v7tFLPkD6uyCpAKjAKORwPg5YalyY-SYwjNGTiHQo.cache
190
190
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/122B1KZyQmgyJoX7uc4JINcUDUmcMHJsbf5JopBIpSg.cache
191
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/2NBqGhntP-vkXcqELAsDTzmnheGw93xJN_VGA0pgaRE.cache
191
192
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/2W23wCoDaNvkpc-htXrPJ_4wwRXsCB8sDUi-vlecXRY.cache
193
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache
194
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/7PsmVUbUntxOpqpWdEwUU4-Vch3oiySq_JGxTbJ5PpY.cache
192
195
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/7V6PNJ6qL8fDJnJ1QuYt7VTSrRt2hsRH5oG0ky5HVO8.cache
193
196
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/8UAh9fJot2eROIl2PFflmIp2Q0G3oNNzBxCYx6AWaTw.cache
197
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/9ZmbprB8JTP8NcS2v6ybrL-s1igpVDmvrecDQ4EoT98.cache
198
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/9i_17ApHgLHXHlwXbU9QEfNrNMgVPjAoAk0EfGS-cWw.cache
194
199
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/9ubNouw4TJzEvjLjCNu8X3HYc_UdmBtXPe7nxUikKzY.cache
200
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/AGwGz3BSkc6R8VNuXsktaud9VfwJJKExEOkMfRgl5gs.cache
195
201
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/AbUoISEQvIvt4YkMvG9KFL1km0uAgyI3jLaBfJ6YHys.cache
202
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/CNXGLOU1u3FFzGFDMg_4iNcdCDd2iAmoOaiRROni8Tk.cache
196
203
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/DK6c5xJ8kSeXSqJlndPmMohu6AMbxDTYw3amSuVkoTs.cache
197
204
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/DyIv0fbwJkRmRQOSnZm_KzUs22xxzO82wcpU1IIsHHs.cache
198
205
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/E16A8LE9OYp6k-WBc2Egdmn6XL_-ipcmDOYBOfBITqs.cache
199
206
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/EGILbSm92CBXW0Z6Mp6o2YygxS4b8Hhd2CW8igzKuRM.cache
200
207
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/FIPwj786RByADaWtmUkp2eeWQvQ_QmX1ER1sGGOKgqo.cache
201
208
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Fo9EHolUACmT7eKdJVmIzktbVgFRBZQkcCGHFfpD7u0.cache
209
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/IWK3eA3Xg7xhMT1dZKZVm3upMCwIJ0SQ9OSvgr5EQSQ.cache
210
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/KMlhnvtwFQuyaaZ195Lj0w5MK5NNri6jl69DuQoTAE4.cache
202
211
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/KiPxsMrAEr8OMX4H_Q8MSOgJ0PuFTQf2yX0S4kZsDVs.cache
212
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/M7oa-ssP0ThBOv3o2FcsdNgXY3vxnpfs-rW3tIOkwkU.cache
203
213
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/MOFKxz_tW8kLUBoOEGHUXFU5VytKJk-7FDiHfg-bm34.cache
204
214
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Mt0xQ0T_E6t-RgmAgdaRppkiOsWd61GFxPTeo7N-6X4.cache
215
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Mtcj1AvQERunaFbrg0NFwhWrp4x9xeiPyIOk6-0MbFY.cache
216
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache
217
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/TCPOmqTgyNFovZmHXHUPPumf8jHDXCMHIu91bxyq_qM.cache
205
218
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Tpj_x0CkqGAEMDgH-JGBkdkajznkLbbiVVZOxEqURxU.cache
219
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/TsqcIsRVwdzA3lX08Qq7drAL4zLsBcHhTmvYA0iYlFg.cache
220
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/U99dHIig7_F_E5FAiaD3KbJB48rLrPrdk7UMoFBZtUE.cache
221
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/XuYgzNIa4BPGLEWP7iJYh1iWKGXYBhpo1klyENS2YaU.cache
206
222
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/cCSmnUtKzAmaCXjpVzF7r1o9PGSfB-29uIhnA2z3DaQ.cache
223
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/hZ2TcST6QnJ8TDpZyPBNxtk7UDcicV2wNr1w45WT-nc.cache
224
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/j1T-PJkAzqG60b8uyQJuze9TkQ9rCNkZaDDyFBNgOxs.cache
207
225
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/lANr4VX8LDWQ3kMj0yoqyqiwK3SEqtIXkA-22639ZQQ.cache
208
226
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/lzQHK3QCbJU3Nd5o7PCXKLRQzMnpvRrqQij3AU88zO8.cache
209
227
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/mKfHoait9-j98PxObraQnsOWSk7xeFfrgppKbFtsUP0.cache
228
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/nFnIur4O1YIyM8EzA8Qe0RoJLQ0pgsYdum1MnIENOyg.cache
210
229
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/nUpHC2Ihupqv9BSXSSQ_5UnQgCc4ZCw6L6G0jvgovRU.cache
230
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/rZS2dSuZR3CGbChyMtQnJmfrHS-eYItGdlz8HLRVRP4.cache
211
231
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/s0L4Qc1LxOsV_VIoN33m851q4i5lQVM1ygIhke4UJhM.cache
232
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/vwm1k9Bq-HwABJMegaJmccXR8JXBcp7a46peIjalZug.cache
233
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/xNxWjlD2nQ_nHrl6FvGZ5mhn4F5A5XJAlz029Se49y4.cache
234
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/xwVAR1lusWTxEOYWi4lpQKQqP7gDm7juRZ4ClCEBR00.cache
212
235
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/yYe_bLwTAh9hsZoH8SZgC6Dbr3nL_YOq9yPhiaOgbAA.cache
213
236
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/zR1DqIdG-kQRrFfJcMA5u5QqOpEtN3kg6ZKosd8od_4.cache
214
237
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/zsFy9esxJILHEYEl6_Z8DiVmOe3AtWOqYd4k46b-14s.cache
215
238
  - spec/dummy/tmp/capybara/capybara-201508010214202383711168.html
216
239
  - spec/dummy/tmp/capybara/capybara-201508010214573127580777.html
217
240
  - spec/dummy/tmp/capybara/capybara-201508010215518845010832.html
218
- - spec/dummy/tmp/pids/server.pid
219
241
  - spec/factories/admins.rb
220
242
  - spec/factories/users.rb
221
243
  - spec/featrues/nyauth/confirmation_requests_spec.rb
@@ -269,7 +291,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
269
291
  version: '0'
270
292
  requirements: []
271
293
  rubyforge_project:
272
- rubygems_version: 2.4.5
294
+ rubygems_version: 2.4.5.1
273
295
  signing_key:
274
296
  specification_version: 4
275
297
  summary: Simple authentication
@@ -279,13 +301,13 @@ test_files:
279
301
  - spec/dummy/app/assets/stylesheets/application.css
280
302
  - spec/dummy/app/controllers/application_controller.rb
281
303
  - spec/dummy/app/controllers/pages_controller.rb
282
- - spec/dummy/app/controllers/posts_controller.rb
304
+ - spec/dummy/app/controllers/secret_pages_controller.rb
283
305
  - spec/dummy/app/helpers/application_helper.rb
284
306
  - spec/dummy/app/models/admin.rb
285
307
  - spec/dummy/app/models/user.rb
286
308
  - spec/dummy/app/views/layouts/application.html.erb
287
309
  - spec/dummy/app/views/pages/index.html.erb
288
- - spec/dummy/app/views/posts/index.html.erb
310
+ - spec/dummy/app/views/secret_pages/show.html.erb
289
311
  - spec/dummy/bin/bundle
290
312
  - spec/dummy/bin/rails
291
313
  - spec/dummy/bin/rake
@@ -352,34 +374,56 @@ test_files:
352
374
  - spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ZM48tpiRiDxrKqKUvohWJfOeqwp5RsXgtKY84fW-qEE.cache
353
375
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/1-v7tFLPkD6uyCpAKjAKORwPg5YalyY-SYwjNGTiHQo.cache
354
376
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/122B1KZyQmgyJoX7uc4JINcUDUmcMHJsbf5JopBIpSg.cache
377
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/2NBqGhntP-vkXcqELAsDTzmnheGw93xJN_VGA0pgaRE.cache
355
378
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/2W23wCoDaNvkpc-htXrPJ_4wwRXsCB8sDUi-vlecXRY.cache
379
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache
380
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/7PsmVUbUntxOpqpWdEwUU4-Vch3oiySq_JGxTbJ5PpY.cache
356
381
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/7V6PNJ6qL8fDJnJ1QuYt7VTSrRt2hsRH5oG0ky5HVO8.cache
357
382
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/8UAh9fJot2eROIl2PFflmIp2Q0G3oNNzBxCYx6AWaTw.cache
383
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/9i_17ApHgLHXHlwXbU9QEfNrNMgVPjAoAk0EfGS-cWw.cache
358
384
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/9ubNouw4TJzEvjLjCNu8X3HYc_UdmBtXPe7nxUikKzY.cache
385
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/9ZmbprB8JTP8NcS2v6ybrL-s1igpVDmvrecDQ4EoT98.cache
359
386
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/AbUoISEQvIvt4YkMvG9KFL1km0uAgyI3jLaBfJ6YHys.cache
387
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/AGwGz3BSkc6R8VNuXsktaud9VfwJJKExEOkMfRgl5gs.cache
360
388
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/cCSmnUtKzAmaCXjpVzF7r1o9PGSfB-29uIhnA2z3DaQ.cache
389
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/CNXGLOU1u3FFzGFDMg_4iNcdCDd2iAmoOaiRROni8Tk.cache
361
390
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/DK6c5xJ8kSeXSqJlndPmMohu6AMbxDTYw3amSuVkoTs.cache
362
391
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/DyIv0fbwJkRmRQOSnZm_KzUs22xxzO82wcpU1IIsHHs.cache
363
392
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/E16A8LE9OYp6k-WBc2Egdmn6XL_-ipcmDOYBOfBITqs.cache
364
393
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/EGILbSm92CBXW0Z6Mp6o2YygxS4b8Hhd2CW8igzKuRM.cache
365
394
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/FIPwj786RByADaWtmUkp2eeWQvQ_QmX1ER1sGGOKgqo.cache
366
395
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Fo9EHolUACmT7eKdJVmIzktbVgFRBZQkcCGHFfpD7u0.cache
396
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/hZ2TcST6QnJ8TDpZyPBNxtk7UDcicV2wNr1w45WT-nc.cache
397
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/IWK3eA3Xg7xhMT1dZKZVm3upMCwIJ0SQ9OSvgr5EQSQ.cache
398
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/j1T-PJkAzqG60b8uyQJuze9TkQ9rCNkZaDDyFBNgOxs.cache
367
399
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/KiPxsMrAEr8OMX4H_Q8MSOgJ0PuFTQf2yX0S4kZsDVs.cache
400
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/KMlhnvtwFQuyaaZ195Lj0w5MK5NNri6jl69DuQoTAE4.cache
368
401
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/lANr4VX8LDWQ3kMj0yoqyqiwK3SEqtIXkA-22639ZQQ.cache
369
402
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/lzQHK3QCbJU3Nd5o7PCXKLRQzMnpvRrqQij3AU88zO8.cache
403
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/M7oa-ssP0ThBOv3o2FcsdNgXY3vxnpfs-rW3tIOkwkU.cache
370
404
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/mKfHoait9-j98PxObraQnsOWSk7xeFfrgppKbFtsUP0.cache
371
405
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/MOFKxz_tW8kLUBoOEGHUXFU5VytKJk-7FDiHfg-bm34.cache
372
406
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Mt0xQ0T_E6t-RgmAgdaRppkiOsWd61GFxPTeo7N-6X4.cache
407
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Mtcj1AvQERunaFbrg0NFwhWrp4x9xeiPyIOk6-0MbFY.cache
408
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/nFnIur4O1YIyM8EzA8Qe0RoJLQ0pgsYdum1MnIENOyg.cache
373
409
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/nUpHC2Ihupqv9BSXSSQ_5UnQgCc4ZCw6L6G0jvgovRU.cache
410
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache
411
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/rZS2dSuZR3CGbChyMtQnJmfrHS-eYItGdlz8HLRVRP4.cache
374
412
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/s0L4Qc1LxOsV_VIoN33m851q4i5lQVM1ygIhke4UJhM.cache
413
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/TCPOmqTgyNFovZmHXHUPPumf8jHDXCMHIu91bxyq_qM.cache
375
414
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Tpj_x0CkqGAEMDgH-JGBkdkajznkLbbiVVZOxEqURxU.cache
415
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/TsqcIsRVwdzA3lX08Qq7drAL4zLsBcHhTmvYA0iYlFg.cache
416
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/U99dHIig7_F_E5FAiaD3KbJB48rLrPrdk7UMoFBZtUE.cache
417
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/vwm1k9Bq-HwABJMegaJmccXR8JXBcp7a46peIjalZug.cache
418
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/xNxWjlD2nQ_nHrl6FvGZ5mhn4F5A5XJAlz029Se49y4.cache
419
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/XuYgzNIa4BPGLEWP7iJYh1iWKGXYBhpo1klyENS2YaU.cache
420
+ - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/xwVAR1lusWTxEOYWi4lpQKQqP7gDm7juRZ4ClCEBR00.cache
376
421
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/yYe_bLwTAh9hsZoH8SZgC6Dbr3nL_YOq9yPhiaOgbAA.cache
377
422
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/zR1DqIdG-kQRrFfJcMA5u5QqOpEtN3kg6ZKosd8od_4.cache
378
423
  - spec/dummy/tmp/cache/assets/test/sprockets/v3.0/zsFy9esxJILHEYEl6_Z8DiVmOe3AtWOqYd4k46b-14s.cache
379
424
  - spec/dummy/tmp/capybara/capybara-201508010214202383711168.html
380
425
  - spec/dummy/tmp/capybara/capybara-201508010214573127580777.html
381
426
  - spec/dummy/tmp/capybara/capybara-201508010215518845010832.html
382
- - spec/dummy/tmp/pids/server.pid
383
427
  - spec/factories/admins.rb
384
428
  - spec/factories/users.rb
385
429
  - spec/featrues/nyauth/confirmation_requests_spec.rb
@@ -1,6 +0,0 @@
1
- class PostsController < ApplicationController
2
- before_action -> { require_authentication! as: :user }
3
-
4
- def index
5
- end
6
- end
File without changes
@@ -1 +0,0 @@
1
- 86775