spree_auth_devise 3.2.0.beta → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +17 -6
  3. data/.travis.yml +19 -7
  4. data/Appraisals +13 -0
  5. data/CHANGELOG.md +11 -3
  6. data/Gemfile +1 -0
  7. data/README.md +30 -27
  8. data/Rakefile +1 -1
  9. data/app/mailers/spree/user_mailer.rb +6 -6
  10. data/app/models/spree/auth_configuration.rb +3 -3
  11. data/app/models/spree/user.rb +17 -16
  12. data/app/overrides/auth_shared_login_bar.rb +6 -7
  13. data/config.ru +1 -1
  14. data/config/initializers/devise.rb +1 -1
  15. data/config/initializers/warden.rb +2 -2
  16. data/config/locales/bg.yml +54 -0
  17. data/config/locales/de.yml +1 -1
  18. data/config/locales/en.yml +1 -1
  19. data/config/locales/es.yml +1 -1
  20. data/config/locales/fr.yml +1 -1
  21. data/config/locales/it.yml +2 -2
  22. data/config/locales/nl.yml +1 -1
  23. data/config/locales/pt-BR.yml +1 -1
  24. data/config/locales/pt.yml +1 -1
  25. data/config/locales/tr.yml +1 -1
  26. data/config/routes.rb +17 -18
  27. data/db/default/users.rb +6 -6
  28. data/db/migrate/20101026184949_create_users.rb +14 -9
  29. data/db/migrate/20101026184950_rename_columns_for_devise.rb +6 -1
  30. data/db/migrate/20101214150824_convert_user_remember_field.rb +6 -1
  31. data/db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb +6 -1
  32. data/db/migrate/20120605211305_make_users_email_index_unique.rb +8 -3
  33. data/db/migrate/20140904000425_add_deleted_at_to_users.rb +6 -1
  34. data/db/migrate/20141002154641_add_confirmable_to_users.rb +6 -1
  35. data/db/migrate/20150416152553_add_missing_indices_on_user.rb +6 -1
  36. data/gemfiles/spree_3_1.gemfile +7 -0
  37. data/gemfiles/spree_3_2.gemfile +8 -0
  38. data/gemfiles/spree_master.gemfile +8 -0
  39. data/lib/controllers/backend/spree/admin/admin_controller_decorator.rb +6 -8
  40. data/lib/controllers/backend/spree/admin/admin_orders_controller_decorator.rb +15 -14
  41. data/lib/controllers/backend/spree/admin/admin_resource_controller_decorator.rb +1 -1
  42. data/lib/controllers/backend/spree/admin/orders/customer_details_controller_decorator.rb +9 -8
  43. data/lib/controllers/backend/spree/admin/user_passwords_controller.rb +6 -1
  44. data/lib/controllers/backend/spree/admin/user_sessions_controller.rb +22 -16
  45. data/lib/controllers/frontend/spree/checkout_controller_decorator.rb +17 -16
  46. data/lib/controllers/frontend/spree/user_confirmations_controller.rb +4 -0
  47. data/lib/controllers/frontend/spree/user_passwords_controller.rb +5 -1
  48. data/lib/controllers/frontend/spree/user_registrations_controller.rb +4 -0
  49. data/lib/controllers/frontend/spree/user_sessions_controller.rb +18 -11
  50. data/lib/controllers/frontend/spree/users_controller.rb +16 -15
  51. data/lib/generators/spree/auth/install/install_generator.rb +8 -2
  52. data/lib/spree/auth/devise.rb +1 -1
  53. data/lib/spree/auth/engine.rb +9 -9
  54. data/lib/tasks/auth.rake +1 -1
  55. data/lib/views/frontend/spree/users/show.html.erb +1 -1
  56. data/spec/controllers/spree/checkout_controller_spec.rb +1 -2
  57. data/spec/controllers/spree/products_controller_spec.rb +0 -1
  58. data/spec/controllers/spree/user_passwords_controller_spec.rb +3 -4
  59. data/spec/controllers/spree/user_registrations_controller_spec.rb +0 -1
  60. data/spec/controllers/spree/user_sessions_controller_spec.rb +0 -1
  61. data/spec/controllers/spree/users_controller_spec.rb +0 -1
  62. data/spec/factories/confirmed_user.rb +1 -1
  63. data/spec/features/account_spec.rb +0 -1
  64. data/spec/features/admin/orders_spec.rb +0 -1
  65. data/spec/features/admin/password_reset_spec.rb +0 -1
  66. data/spec/features/admin/products_spec.rb +0 -1
  67. data/spec/features/admin/sign_in_spec.rb +0 -1
  68. data/spec/features/admin/sign_out_spec.rb +0 -1
  69. data/spec/features/admin_permissions_spec.rb +0 -1
  70. data/spec/features/change_email_spec.rb +0 -1
  71. data/spec/features/checkout_spec.rb +8 -8
  72. data/spec/features/confirmation_spec.rb +1 -1
  73. data/spec/features/order_spec.rb +0 -1
  74. data/spec/features/password_reset_spec.rb +0 -1
  75. data/spec/features/sign_in_spec.rb +1 -2
  76. data/spec/features/sign_out_spec.rb +0 -1
  77. data/spec/features/sign_up_spec.rb +0 -1
  78. data/spec/mailers/user_mailer_spec.rb +0 -1
  79. data/spec/models/order_spec.rb +0 -1
  80. data/spec/models/user_spec.rb +3 -1
  81. data/spec/spec_helper.rb +0 -7
  82. data/spec/support/ability.rb +1 -1
  83. data/spec/support/authentication_helpers.rb +2 -2
  84. data/spec/support/capybara.rb +1 -1
  85. data/spec/support/confirm_helpers.rb +1 -1
  86. data/spec/support/database_cleaner.rb +2 -3
  87. data/spec/support/spree.rb +0 -16
  88. data/spree_auth_devise.gemspec +6 -6
  89. metadata +16 -13
  90. data/Versionfile +0 -5
  91. data/circle.yml +0 -13
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b630de047d5f4283ed5ba9e231ea628746ec44e4
4
- data.tar.gz: 0004afefacaefd265e29ed1c6ba63ddcf3ecb371
3
+ metadata.gz: c416bde8da0e837612d21c9c997eb656de79a87c
4
+ data.tar.gz: a23838fbc1f0174e88a8d122fe6c6f60d371b026
5
5
  SHA512:
6
- metadata.gz: 336eacc0e625a31d85682f35e6d8f70fff506059a2cdaea427f0f73ebfc5ed346e69bea426007d957588db422a75f0cee7df23dc1a39e7afbb3bbd14ad38c0ea
7
- data.tar.gz: df132a9472e5d2a4e9dbf45187472f6f05e09098e41bcde3c7dd5d45c5f6f398d93f1d83416336b0d0c11c84fa0d4dbe1da55b2b9f87c88a188b9fae81cb84ea
6
+ metadata.gz: 0d9c6d3684f8f057a2437e9ae81ef2dd0706c07eaf9c38cd0f6518755516612c298fcb700562804cd44777459ec136dc72f507cca8df3e3eaece28035889d2eb
7
+ data.tar.gz: 51aeb6dc11bb728e0bae88f3f11ee7723a44998932e7a7bda84da8c1586e81582c49cd6e4567c70a51e03e1dd06987ce139f74eb615ecbf86c5ae5d95017a01e
data/.gitignore CHANGED
@@ -1,10 +1,21 @@
1
- spec/dummy
2
- .sass-cache
1
+ \#*
2
+ *~
3
+ .#*
4
+ .DS_Store
5
+ .idea
6
+ .localeapp/locales
7
+ .project
3
8
  coverage
9
+ default
4
10
  Gemfile.lock
5
- *.swp
11
+ tmp
12
+ nbproject
13
+ pkg
14
+ *.sw?
15
+ spec/dummy
6
16
  .rvmrc
7
- .ruby-gemset
17
+ .sass-cache
18
+ public/spree
8
19
  .ruby-version
9
- .bundle
10
- .DS_Store
20
+ .ruby-gemset
21
+ gemfiles/*.gemfile.lock
data/.travis.yml CHANGED
@@ -1,16 +1,28 @@
1
- before_script:
1
+ sudo: required
2
+ dist: trusty
3
+
4
+ script:
2
5
  - bundle exec rake test_app
3
- - export DISPLAY=:99.0
4
- - sh -e /etc/init.d/xvfb start
5
- cache:
6
- bundler: true
6
+ - bundle exec rake spec
7
7
 
8
8
  env:
9
9
  - DB=mysql
10
10
  - DB=postgres
11
+
11
12
  language: ruby
13
+
12
14
  rvm:
13
15
  - 2.3.1
14
- - 2.2.5
16
+ - 2.2.7
17
+
18
+ gemfile:
19
+ - gemfiles/spree_3_1.gemfile
20
+ - gemfiles/spree_3_2.gemfile
21
+ - gemfiles/spree_master.gemfile
15
22
 
16
- sudo: false
23
+ addons:
24
+ apt:
25
+ packages:
26
+ - mysql-server-5.6
27
+ - mysql-client-core-5.6
28
+ - mysql-client-5.6
data/Appraisals ADDED
@@ -0,0 +1,13 @@
1
+ appraise 'spree-3-1' do
2
+ gem 'spree', '~> 3.1.0'
3
+ end
4
+
5
+ appraise 'spree-3-2' do
6
+ gem 'spree', '~> 3.2.0'
7
+ gem 'rails-controller-testing'
8
+ end
9
+
10
+ appraise 'spree-master' do
11
+ gem 'spree', github: 'spree/spree', branch: 'master'
12
+ gem 'rails-controller-testing'
13
+ end
data/CHANGELOG.md CHANGED
@@ -1,9 +1,17 @@
1
- ## Spree Auth Devise v3.2.0 (master, unreleased)
1
+ ## Spree Auth Devise v3.2.0 (2017-06-15)
2
2
 
3
- * Supports `Spree 3.1` and any other newer version lesser than `4.0` (https://github.com/spree/spree_auth_devise/pull/353)
4
- * `devise` updated to `4.0` (https://github.com/spree/spree_auth_devise/pull/344)
3
+ * `Rails 5` support
4
+ * Supports `Spree 3.1` `Spree 3.2` and any other newer version lesser than `4.0` (https://github.com/spree/spree_auth_devise/pull/353, https://github.com/spree/spree_auth_devise/pull/386)
5
+ * `devise` updated to `4.3` (https://github.com/spree/spree_auth_devise/pull/382)
6
+ * `devise-encryptable` updated to `0.2.0` (https://github.com/spree/spree_auth_devise/commit/5f51e6e4e81dbf99fe95848dbd4fa9cba03b6910)
5
7
  * updated development dependencies (https://github.com/spree/spree_auth_devise/pull/351)
6
8
  * include `Spree::UserMethods` in `Spree::User` (https://github.com/spree/spree_auth_devise/pull/343)
9
+ * fixed: Unnecessary breaking changes of I18n key (https://github.com/spree/spree_auth_devise/pull/387)
10
+ * fixed: use proper scoping to find translations related to order states (https://github.com/spree/spree_auth_devise/pull/384)
11
+ * fixed: spree_api is not required anymore (https://github.com/spree/spree_auth_devise/pull/380)
12
+ * Install generator: Add option to skip migrations (https://github.com/spree/spree_auth_devise/pull/378)
13
+ * Added Portuguese translation (https://github.com/spree/spree_auth_devise/pull/365)
14
+ * Replaced registration_error flash with standard error (https://github.com/spree/spree_auth_devise/pull/361)
7
15
 
8
16
  ## Spree Auth Devise v3.1.0 (2016-04-05)
9
17
 
data/Gemfile CHANGED
@@ -1,5 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ gem "rails-controller-testing"
3
4
  gem 'spree', github: 'spree/spree', branch: 'master'
4
5
 
5
6
  gemspec
data/README.md CHANGED
@@ -1,42 +1,47 @@
1
1
  # Spree Auth (Devise)
2
2
 
3
- [![Build Status](https://secure.travis-ci.org/spree/spree_auth_devise.png?branch=master)](https://travis-ci.org/spree/spree_auth_devise)
4
- [![Code Climate](https://codeclimate.com/github/spree/spree_auth_devise.png)](https://codeclimate.com/github/spree/spree_auth_devise)
3
+ [![Build Status](https://travis-ci.org/spree/spree_auth_devise.svg?branch=master)](https://travis-ci.org/spree/spree_auth_devise)
4
+ [![Code Climate](https://codeclimate.com/github/spree/spree_auth_devise/badges/gpa.svg)](https://codeclimate.com/github/spree/spree_auth_devise)
5
5
 
6
6
  Provides authentication services for Spree, using the Devise gem.
7
7
 
8
+
8
9
  ## Installation
9
10
 
10
- At one stage in the past, this used to be the auth component for Spree. If that's the feature that you're now finding lacking from Spree, that's easily fixed.
11
+ 1. Add this extension to your Gemfile with this line:
11
12
 
12
- Just add this line to your `Gemfile`:
13
- ```ruby
14
- gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: 'master'
15
- ```
13
+ #### Spree >= 3.1
16
14
 
17
- Please ensure you're using the correct branch of `spree_auth_devise` relative to your version of Spree.
15
+ ```ruby
16
+ gem 'spree_auth_devise', github: 'spree/spree_auth_devise'
17
+ ```
18
18
 
19
- Spree 1.3.x or 1-3-stable:
20
- ```ruby
21
- gem 'spree_auth_devise', :github => 'spree/spree_auth_devise', :branch => '1-3-stable'
22
- ```
19
+ #### Spree 3.0 and Spree 2.x
23
20
 
24
- Spree 1.2.x or 1-2-stable:
25
- ```ruby
26
- gem 'spree_auth_devise', :github => 'spree/spree_auth_devise', :branch => '1-2-stable'
27
- ```
21
+ ```ruby
22
+ gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: 'X-X-stable'
23
+ ```
28
24
 
29
- Then run `bundle install`. Authentication will then work exactly as it did in previous versions of Spree.
25
+ The `branch` option is important: it must match the version of Spree you're using.
26
+ For example, use `3-0-stable` if you're using Spree `3-0-stable` or any `3.0.x` version.
30
27
 
31
- If you're installing this in a new Spree 1.2+ application, you'll need to install and run the migrations with
28
+ 2. Install the gem using Bundler:
29
+ ```ruby
30
+ bundle install
31
+ ```
32
32
 
33
- bundle exec rake spree_auth:install:migrations
34
- bundle exec rake db:migrate
35
- bundle exec rails g spree:auth:install
33
+ 3. Copy & run migrations
34
+ ```ruby
35
+ bundle exec rails g spree:auth:install
36
+ ```
36
37
 
37
- and then, run this command in order to set up the admin user for the application.
38
+ ## Upgrading from Spree 3.0 to 3.1
38
39
 
39
- bundle exec rake spree_auth:admin:create
40
+ If you're upgrading from 3.0 to 3.1 you need to rerun the installer to copy new asset files (javascripts)
41
+
42
+ ```ruby
43
+ bundle exec rails g spree:auth:install
44
+ ```
40
45
 
41
46
  ## Configuration
42
47
 
@@ -93,7 +98,7 @@ Spree::Ability.register_ability(YourAbilityClass)
93
98
 
94
99
  Inside of your host application you can then use CanCan like you normally would.
95
100
  ```ruby
96
- <% if can? :show SomeRailsObject %>
101
+ <% if can? :show, SomeRailsObject %>
97
102
 
98
103
  <% end %>
99
104
  ```
@@ -110,6 +115,4 @@ You need to do a quick one-time creation of a test application and then you can
110
115
 
111
116
  Then run the rspec tests.
112
117
 
113
- bundle exec rake spec
114
-
115
- If everything doesn't pass on your machine (using Ruby (1.9.3 or 2.0.0) and (MySQL or PostgreSQL or SQLite3)) then we would consider that a bug. Please file a bug report on the issues page for this project with your test output and we will investigate it.
118
+ bundle exec rspec
data/Rakefile CHANGED
@@ -6,7 +6,7 @@ require 'spree/testing_support/common_rake'
6
6
 
7
7
  RSpec::Core::RakeTask.new
8
8
 
9
- task :default => :spec
9
+ task default: :spec
10
10
 
11
11
  desc 'Generates a dummy app for testing'
12
12
  task :test_app do
@@ -1,16 +1,16 @@
1
1
  module Spree
2
2
  class UserMailer < BaseMailer
3
- def reset_password_instructions(user, token, *args)
4
- @edit_password_reset_url = spree.edit_spree_user_password_url(:reset_password_token => token, :host => Spree::Store.current.url)
3
+ def reset_password_instructions(user, token, *_args)
4
+ @edit_password_reset_url = spree.edit_spree_user_password_url(reset_password_token: token, host: Spree::Store.current.url)
5
5
 
6
- mail to: user.email, from: from_address, subject: Spree::Store.current.name + ' ' + I18n.t(:subject, :scope => [:devise, :mailer, :reset_password_instructions])
6
+ mail to: user.email, from: from_address, subject: Spree::Store.current.name + ' ' + I18n.t(:subject, scope: [:devise, :mailer, :reset_password_instructions])
7
7
  end
8
8
 
9
- def confirmation_instructions(user, token, opts={})
10
- @confirmation_url = spree.spree_user_confirmation_url(:confirmation_token => token, :host => Spree::Store.current.url)
9
+ def confirmation_instructions(user, token, _opts = {})
10
+ @confirmation_url = spree.spree_user_confirmation_url(confirmation_token: token, host: Spree::Store.current.url)
11
11
  @email = user.email
12
12
 
13
- mail to: user.email, from: from_address, subject: Spree::Store.current.name + ' ' + I18n.t(:subject, :scope => [:devise, :mailer, :confirmation_instructions])
13
+ mail to: user.email, from: from_address, subject: Spree::Store.current.name + ' ' + I18n.t(:subject, scope: [:devise, :mailer, :confirmation_instructions])
14
14
  end
15
15
  end
16
16
  end
@@ -1,7 +1,7 @@
1
1
  module Spree
2
2
  class AuthConfiguration < Preferences::Configuration
3
- preference :registration_step, :boolean, :default => true
4
- preference :signout_after_password_change, :boolean, :default => true
5
- preference :confirmable, :boolean, :default => false
3
+ preference :registration_step, :boolean, default: true
4
+ preference :signout_after_password_change, :boolean, default: true
5
+ preference :confirmable, :boolean, default: false
6
6
  end
7
7
  end
@@ -5,7 +5,7 @@ module Spree
5
5
  include UserPaymentSource
6
6
 
7
7
  devise :database_authenticatable, :registerable, :recoverable,
8
- :rememberable, :trackable, :validatable, :encryptable, :encryptor => 'authlogic_sha512'
8
+ :rememberable, :trackable, :validatable, :encryptable, encryptor: 'authlogic_sha512'
9
9
  devise :confirmable if Spree::Auth::Config[:confirmable]
10
10
 
11
11
  acts_as_paranoid
@@ -27,23 +27,24 @@ module Spree
27
27
  end
28
28
 
29
29
  protected
30
- def password_required?
31
- !persisted? || password.present? || password_confirmation.present?
32
- end
30
+
31
+ def password_required?
32
+ !persisted? || password.present? || password_confirmation.present?
33
+ end
33
34
 
34
35
  private
35
36
 
36
- def set_login
37
- # for now force login to be same as email, eventually we will make this configurable, etc.
38
- self.login ||= self.email if self.email
39
- end
40
-
41
- def scramble_email_and_password
42
- self.email = SecureRandom.uuid + "@example.net"
43
- self.login = self.email
44
- self.password = SecureRandom.hex(8)
45
- self.password_confirmation = self.password
46
- self.save
47
- end
37
+ def set_login
38
+ # for now force login to be same as email, eventually we will make this configurable, etc.
39
+ self.login ||= email if email
40
+ end
41
+
42
+ def scramble_email_and_password
43
+ self.email = SecureRandom.uuid + "@example.net"
44
+ self.login = email
45
+ self.password = SecureRandom.hex(8)
46
+ self.password_confirmation = password
47
+ save
48
+ end
48
49
  end
49
50
  end
@@ -1,7 +1,6 @@
1
- Deface::Override.new(:virtual_path => "spree/shared/_nav_bar",
2
- :name => "auth_shared_login_bar",
3
- :insert_before => "li#search-bar",
4
- :partial => "spree/shared/login_bar",
5
- :disabled => false,
6
- :original => 'c00d67dfc0496d21a351b48c41a728412cb5ed2c')
7
-
1
+ Deface::Override.new(virtual_path: "spree/shared/_nav_bar",
2
+ name: "auth_shared_login_bar",
3
+ insert_before: "li#search-bar",
4
+ partial: "spree/shared/login_bar",
5
+ disabled: false,
6
+ original: 'c00d67dfc0496d21a351b48c41a728412cb5ed2c')
data/config.ru CHANGED
@@ -1,4 +1,4 @@
1
1
  # This file is used by Rack-based servers to start the application.
2
2
 
3
- require ::File.expand_path('../spec/dummy/config/environment', __FILE__)
3
+ require ::File.expand_path('../spec/dummy/config/environment', __FILE__)
4
4
  run Dummy::Application
@@ -29,7 +29,7 @@ Devise.setup do |config|
29
29
  config.http_authenticatable = true
30
30
 
31
31
  # Set this to true to use Basic Auth for AJAX requests. True by default.
32
- #config.http_authenticatable_on_xhr = false
32
+ # config.http_authenticatable_on_xhr = false
33
33
 
34
34
  # The realm used in Http Basic Authentication
35
35
  config.http_authentication_realm = 'Spree Application'
@@ -1,5 +1,5 @@
1
1
  # Merges users orders to their account after sign in and sign up.
2
- Warden::Manager.after_set_user except: :fetch do |user, auth, opts|
2
+ Warden::Manager.after_set_user except: :fetch do |user, auth, _opts|
3
3
  if auth.cookies.signed[:guest_token].present?
4
4
  if user.is_a?(Spree::User)
5
5
  Spree::Order.incomplete.where(guest_token: auth.cookies.signed[:guest_token], user_id: nil).each do |order|
@@ -9,6 +9,6 @@ Warden::Manager.after_set_user except: :fetch do |user, auth, opts|
9
9
  end
10
10
  end
11
11
 
12
- Warden::Manager.before_logout do |user, auth, opts|
12
+ Warden::Manager.before_logout do |_user, auth, _opts|
13
13
  auth.cookies.delete :guest_token
14
14
  end
@@ -0,0 +1,54 @@
1
+ bg:
2
+ spree:
3
+ admin_login: "Админ вход"
4
+ change_your_password: "Промени своята парола"
5
+ devise:
6
+ confirmations:
7
+ confirmed: Вашият акаунт е потвърден. Вече сте вписан.
8
+ send_instructions: До няколко минути ще получите съобщение с обяснение как да потвърдите своя акаунт.
9
+ failure:
10
+ inactive: Вашият акаунт все още не е активен.
11
+ invalid: Грешен имейл или парола.
12
+ invalid_token: Невалиден token.
13
+ locked: Вашият акаунт е заключен.
14
+ timeout: 'Вашата сесия е изтекла, моля влезте отново.'
15
+ unauthenticated: За да продължите трябва да влезете в профила си.
16
+ unconfirmed: Трябва да потвърдите акаунта си преди да продължите.
17
+ mailer:
18
+ confirmation_instructions:
19
+ subject: Инструкции за потвърждаване
20
+ reset_password_instructions:
21
+ subject: Инструкции за смяна на паролата
22
+ unlock_instructions:
23
+ subject: Инструкции за отключване
24
+ oauth_callbacks:
25
+ failure: "Не можете да бъдете оторизиран от %{kind}, поради %{reason}."
26
+ success: "Влязохте успешно с вашият %{kind} профил."
27
+ unlocks:
28
+ send_instructions: До няколко минути ще получите имейл с инструкции как да отключите своя акаунт.
29
+ unlocked: Вашият акаунт бе отключен успешно. Вече сте вписани.
30
+ user_passwords:
31
+ spree_user:
32
+ cannot_be_blank: Вашата парола не може бъде празна.
33
+ no_token: Не можете да достъпите тази страница ако не влезете през мейла за забравена парола.
34
+ send_instructions: До няколко минути ще получите имейл с инструкции как да промените паролата си.
35
+ updated: Вашата парола бе променена успешко. Вече сте вписани.
36
+ user_registrations:
37
+ destroyed: Вашият акаунт бе отменен успешно. Надяваме се да Ви видим скоро.
38
+ inactive_signed_up: 'Вие се регистрирахте успешно, въпреки това не можете да се логнете в системата, поради %{reason}.'
39
+ signed_up: Вие се регистрирахте успешно.
40
+ updated: Успешно обновихте своя акаунт.
41
+ user_sessions:
42
+ signed_in: Успешно влизане
43
+ signed_out: Успешно излизане
44
+ already_signed_in: Вече сте влезли
45
+ already_signed_out: Вече сте излезли
46
+ errors:
47
+ messages:
48
+ already_confirmed: Вече бе потвърден
49
+ email_is_invalid: Email не може да бъде празен
50
+ not_found: Не е намерен
51
+ not_locked: Не е заключен
52
+ not_saved:
53
+ one: '1 грешка предотврати запазването на %{resource}:'
54
+ other: '%{count} грешки предотвратиха запазването на %{resource}:'
@@ -25,7 +25,7 @@ de:
25
25
  unlocks:
26
26
  send_instructions: In ein paar Minuten erhalten Sie eine E-Mail mit Anweisungen um Ihr Konto freizuschalten.
27
27
  unlocked: Ihr Konto wurde erfolgreich freigeschaltet.
28
- passwords:
28
+ user_passwords:
29
29
  spree_user:
30
30
  cannot_be_blank: Ihr Passwort darf nicht leer sein.
31
31
  send_instructions: In ein paar Minuten erhalten Sie eine E-Mail mit Anweisungen um Ihr Passwort zurücksetzen.
@@ -30,7 +30,7 @@ en:
30
30
  unlocks:
31
31
  send_instructions: You will receive an email with instructions about how to unlock your account in a few minutes.
32
32
  unlocked: Your account was successfully unlocked. You are now signed in.
33
- passwords:
33
+ user_passwords:
34
34
  spree_user:
35
35
  cannot_be_blank: Your password cannot be blank.
36
36
  no_token: "You can't access this page without coming from a password reset email. If you do come from a password reset email, please make sure you used the full URL provided."
@@ -25,7 +25,7 @@ es:
25
25
  unlocks:
26
26
  send_instructions: Recibirá un email con instrucciones acerca de cómo desbloquear su cuenta en pocos minutos.
27
27
  unlocked: Su cuenta ha sido desbloqueada correctamente. Ahora está conectado.
28
- passwords:
28
+ user_passwords:
29
29
  spree_user:
30
30
  cannot_be_blank: La contraseña no puede estar en blanco.
31
31
  send_instructions: Recibirá un email con instrucciones acerca de como restaurar su contraseña en pocos minutos.
@@ -25,7 +25,7 @@ fr:
25
25
  unlocks:
26
26
  send_instructions: Vous recevrez dans quelques minutes un courriel avec les instructions sur la façon de déverrouiller votre compte.
27
27
  unlocked: Votre compte a été déverrouillé. Vous êtes maintenant connecté(e).
28
- passwords:
28
+ user_passwords:
29
29
  spree_user:
30
30
  cannot_be_blank: Votre mot de passe ne peut pas être vide.
31
31
  send_instructions: Vous recevrez dans quelques minutes un courriel avec les instructions sur la façon de réinitialiser votre mot de passe.