solidus_auth_devise 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of solidus_auth_devise might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: c108797540fddc1422f81a6de9cc43f86ab35117
4
- data.tar.gz: f704e58ceb69098d53ffa2378a21e2ee7c539ea6
2
+ SHA256:
3
+ metadata.gz: 7899bdbd862830f2ef0fbf045cade336b63ab37177e0618d5ac920a079712968
4
+ data.tar.gz: 987e002a8da4de12ce47df047d1aca4abcd5654eeaa0eedc0f001b04bbf36b86
5
5
  SHA512:
6
- metadata.gz: cb5ca1d05ef36b6b5dcf9d57f9a1b8b2a08c09bf581ec1dedb20ad3bce22583f6875ef926ddfcb4c862ce0e54a4573733987b7e9e668c91b3258536e922b7e96
7
- data.tar.gz: 5850d15a460988819616678a0b94a69da0a7cd3e07ba76e99e4f51aff1599bf76f0d1666d1dc870a1291c0862c49f69b2352c0c4929022b7051f6b1f870a74ab
6
+ metadata.gz: 8aeebc8474bd07689d51cf681186326f47264b77584e127178e0da0df1a329741318f6a819c37319f4137023fbe7a4b35457dcd568335b2353ec58fee4926824
7
+ data.tar.gz: 9ee65f9f2486ee2d0a3bcfc827ce963b9e424366ad1ac768d96da8f30b81c57527b34fc7be554a3cd669af06f6205f0c2081d9220aeb462b1d4cad2605658158
@@ -11,6 +11,7 @@ env:
11
11
  - SOLIDUS_BRANCH=v2.1 DB=postgres
12
12
  - SOLIDUS_BRANCH=v2.2 DB=postgres
13
13
  - SOLIDUS_BRANCH=v2.3 DB=postgres
14
+ - SOLIDUS_BRANCH=v2.4 DB=postgres
14
15
  - SOLIDUS_BRANCH=master DB=postgres
15
16
  - SOLIDUS_BRANCH=v1.2 DB=mysql
16
17
  - SOLIDUS_BRANCH=v1.3 DB=mysql
@@ -19,4 +20,5 @@ env:
19
20
  - SOLIDUS_BRANCH=v2.1 DB=mysql
20
21
  - SOLIDUS_BRANCH=v2.2 DB=mysql
21
22
  - SOLIDUS_BRANCH=v2.3 DB=mysql
23
+ - SOLIDUS_BRANCH=v2.4 DB=mysql
22
24
  - SOLIDUS_BRANCH=master DB=mysql
@@ -1,5 +1,13 @@
1
1
  ## Master (unreleased)
2
2
 
3
+ ## Solidus Auth Devise v2.1.0 (2018-01-22)
4
+
5
+ * Avoid requiring deface on Solidus 2.5+.
6
+
7
+ On older versions, you may need to add `gem 'deface'` to your gemfile.
8
+
9
+ * Remove reference to unused admin tables helper removed from Solidus 2.5
10
+
3
11
  ## Solidus Auth Devise v2.0.0 (2017-09-20)
4
12
 
5
13
  * Drop support for Solidus v1.0 and v1.1
data/Gemfile CHANGED
@@ -11,11 +11,13 @@ group :test do
11
11
  end
12
12
  end
13
13
 
14
- gem 'pg'
14
+ gem 'pg', '~> 0.21'
15
15
  gem 'mysql2'
16
16
 
17
17
  group :development, :test do
18
18
  gem "pry-rails"
19
19
  end
20
20
 
21
+ gem 'deface', require: false
22
+
21
23
  gemspec
data/README.md CHANGED
@@ -10,6 +10,9 @@ Just add this line to your `Gemfile`:
10
10
 
11
11
  ```ruby
12
12
  gem "solidus_auth_devise"
13
+
14
+ # For Solidus versions < 2.5
15
+ # gem 'deface'
13
16
  ```
14
17
 
15
18
  Then, run `bundle install`.
@@ -8,7 +8,11 @@ module Spree
8
8
 
9
9
  acts_as_paranoid
10
10
  after_destroy :scramble_email_and_password
11
- before_update { generate_spree_api_key if encrypted_password_changed? && spree_api_key.present? }
11
+
12
+ def password=(new_password)
13
+ generate_spree_api_key if new_password.present? && spree_api_key.present?
14
+ super
15
+ end
12
16
 
13
17
  before_validation :set_login
14
18
 
@@ -1,5 +1,4 @@
1
- override_required = !Spree.respond_to?(:solidus_version) || Spree.solidus_version < '1.2'
2
- if override_required
1
+ if SolidusSupport.solidus_gem_version < Gem::Version.new('1.2')
3
2
  Deface::Override.new(
4
3
  virtual_path: "spree/admin/shared/_header",
5
4
  name: "auth_admin_login_navigation_bar",
@@ -1,9 +1,9 @@
1
- if SolidusSupport.frontend_available?
1
+ if SolidusSupport.frontend_available? && SolidusSupport.solidus_gem_version < Gem::Version.new('2.5.x')
2
2
  Deface::Override.new(
3
3
  virtual_path: "spree/shared/_nav_bar",
4
4
  name: "auth_shared_login_bar",
5
5
  insert_before: "li#search-bar",
6
- partial: "spree/shared/login_bar",
6
+ partial: "spree/shared/login_bar_items",
7
7
  disabled: false,
8
8
  original: 'eb3fa668cd98b6a1c75c36420ef1b238a1fc55ac'
9
9
  )
@@ -135,4 +135,7 @@ Devise.setup do |config|
135
135
  config.sign_out_via = :get
136
136
 
137
137
  config.case_insensitive_keys = [:email]
138
+
139
+ # Direct Devise to use the Spree router when attempting to find resource routes.
140
+ config.router_name = :spree
138
141
  end
@@ -46,13 +46,13 @@ Spree::Core::Engine.routes.draw do
46
46
  namespace :admin do
47
47
  devise_for(:spree_user, {
48
48
  class_name: 'Spree::User',
49
+ singular: :spree_user,
50
+ skip: :all,
51
+ path_names: { sign_out: 'logout' },
49
52
  controllers: {
50
53
  sessions: 'spree/admin/user_sessions',
51
54
  passwords: 'spree/admin/user_passwords'
52
55
  },
53
- skip: [:unlocks, :omniauth_callbacks, :registrations],
54
- path_names: { sign_out: 'logout' },
55
- path_prefix: :user
56
56
  })
57
57
 
58
58
  devise_scope :spree_user do
@@ -60,6 +60,11 @@ Spree::Core::Engine.routes.draw do
60
60
  get '/login', to: 'user_sessions#new', as: :login
61
61
  post '/login', to: 'user_sessions#create', as: :create_new_session
62
62
  get '/logout', to: 'user_sessions#destroy', as: :logout
63
+
64
+ get '/password/recover', to: 'user_passwords#new', as: :recover_password
65
+ post '/password/recover', to: 'user_passwords#create', as: :reset_password
66
+ get '/password/change', to: 'user_passwords#edit', as: :edit_password
67
+ put '/password/change', to: 'user_passwords#update', as: :update_password
63
68
  end
64
69
  end
65
70
  end
@@ -6,7 +6,6 @@ class Spree::Admin::UserPasswordsController < Devise::PasswordsController
6
6
  include Spree::Core::ControllerHelpers::Store
7
7
 
8
8
  helper 'spree/admin/navigation'
9
- helper 'spree/admin/tables'
10
9
  layout 'spree/layouts/admin'
11
10
 
12
11
  # Overridden due to bug in Devise.
@@ -6,7 +6,6 @@ class Spree::Admin::UserSessionsController < Devise::SessionsController
6
6
  include Spree::Core::ControllerHelpers::Store
7
7
 
8
8
  helper 'spree/admin/navigation'
9
- helper 'spree/admin/tables'
10
9
  layout 'spree/layouts/admin'
11
10
 
12
11
  def create
@@ -2,4 +2,12 @@ require "spree_core"
2
2
  require "solidus_support"
3
3
  require "spree/auth/devise"
4
4
  require "spree/authentication_helpers"
5
- require "deface"
5
+
6
+ if SolidusSupport.solidus_gem_version < Gem::Version.new('2.5.x')
7
+ begin
8
+ require "deface"
9
+ rescue LoadError
10
+ warn "deface is required to run solidus_auth_devise with solidus versions < 2.5. Please add deface to your Gemfile"
11
+ raise
12
+ end
13
+ end
@@ -5,7 +5,7 @@
5
5
 
6
6
  <p><%= Spree.t(:instructions_to_reset_password) %></p>
7
7
 
8
- <%= form_for Spree::User.new, as: :spree_user, url: spree.reset_password_path do |f| %>
8
+ <%= form_for Spree::User.new, as: :spree_user, url: spree.admin_reset_password_path do |f| %>
9
9
  <p>
10
10
  <%= f.label :email, Spree.t(:email) %><br />
11
11
  <%= f.email_field :email %>
@@ -25,7 +25,7 @@
25
25
  <p><%= f.submit Spree.t(:login), class: 'button primary', tabindex: 4 %></p>
26
26
  <% end %>
27
27
  <%= Spree.t(:or) %>
28
- <%= link_to Spree.t(:forgot_password), spree.recover_password_path %>
28
+ <%= link_to Spree.t(:forgot_password), spree.admin_recover_password_path %>
29
29
  </div>
30
30
  </div>
31
31
  <div data-hook="login_extras"></div>
@@ -1,6 +1,2 @@
1
- <% if spree_current_user %>
2
- <li><%= link_to Spree.t(:my_account), spree.account_path %></li>
3
- <li><%= link_to Spree.t(:logout), spree.logout_path %></li>
4
- <% else %>
5
- <li id="link-to-login"><%= link_to Spree.t(:login), spree.login_path %></li>
6
- <% end %>
1
+ <% Spree::Deprecation.warn "spree/shared/login_bar has moved to spree/shared/login_bar_items" %>
2
+ <%= render 'spree/shared/login_bar_items' %>
@@ -0,0 +1,6 @@
1
+ <% if spree_current_user %>
2
+ <li><%= link_to Spree.t(:my_account), spree.account_path %></li>
3
+ <li><%= link_to Spree.t(:logout), spree.logout_path %></li>
4
+ <% else %>
5
+ <li id="link-to-login"><%= link_to Spree.t(:login), spree.login_path %></li>
6
+ <% end %>
@@ -3,7 +3,7 @@
3
3
  Gem::Specification.new do |s|
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.name = "solidus_auth_devise"
6
- s.version = "2.0.0"
6
+ s.version = "2.1.0"
7
7
  s.summary = "Provides authentication and authorization services for use with Solidus by using Devise and CanCan."
8
8
  s.description = s.summary
9
9
 
@@ -24,13 +24,12 @@ Gem::Specification.new do |s|
24
24
  s.add_dependency "solidus_support", ">= 0.1.3"
25
25
  s.add_dependency "devise", '~> 4.1'
26
26
  s.add_dependency "devise-encryptable", "0.2.0"
27
- s.add_dependency 'deface', '~> 1.0'
28
27
 
29
28
  s.add_development_dependency "capybara", "~> 2.14"
30
29
  s.add_development_dependency "capybara-screenshot"
31
30
  s.add_development_dependency "coffee-rails"
32
31
  s.add_development_dependency "database_cleaner", "~> 1.6"
33
- s.add_development_dependency "factory_girl", "~> 4.4"
32
+ s.add_development_dependency "factory_bot", "~> 4.4"
34
33
  s.add_development_dependency "ffaker"
35
34
  s.add_development_dependency "poltergeist", "~> 1.5"
36
35
  s.add_development_dependency "rspec-rails", "~> 3.3"
@@ -15,7 +15,13 @@ RSpec.describe Spree::ProductsController, type: :controller do
15
15
  allow(controller).to receive(:before_save_new_order)
16
16
  allow(controller).to receive(:spree_current_user) { user }
17
17
  allow(user).to receive(:has_spree_role?) { false }
18
- get :show, params: { id: product.to_param }
19
- expect(response.status).to eq(404)
18
+ if SolidusSupport.solidus_gem_version < Gem::Version.new('2.5.x')
19
+ get :show, params: { id: product.to_param }
20
+ expect(response.status).to eq(404)
21
+ else
22
+ expect {
23
+ get :show, params: { id: product.to_param }
24
+ }.to raise_error(ActiveRecord::RecordNotFound)
25
+ end
20
26
  end
21
27
  end
@@ -1,4 +1,4 @@
1
- FactoryGirl.define do
1
+ FactoryBot.define do
2
2
  factory :confirmed_user, parent: :user do
3
3
  confirmed_at { Time.now }
4
4
  confirmation_sent_at { Time.now }
@@ -12,7 +12,7 @@ RSpec.feature 'Admin orders', type: :feature do
12
12
 
13
13
  # Regression #203
14
14
  scenario 'can new orders' do
15
- FactoryGirl.create(:country)
15
+ FactoryBot.create(:country)
16
16
  expect { visit spree.new_admin_order_path }.not_to raise_error
17
17
  end
18
18
 
@@ -18,47 +18,62 @@ RSpec.describe Spree::User, type: :model do
18
18
  it "regenerates a spree api key on successful password change" do
19
19
  user.generate_spree_api_key!
20
20
 
21
- user.password = "123456678"
22
- user.password_confirmation = "123456678"
23
- expect { user.save! }.to change(user, :spree_api_key)
21
+ expect {
22
+ user.password = "123456678"
23
+ user.password_confirmation = "123456678"
24
+ user.save!
25
+ }.to change(user, :spree_api_key)
24
26
  expect(user.spree_api_key).to be_present
25
27
  end
26
28
 
29
+ it "does not generate a spree api key if password is empty" do
30
+ user.generate_spree_api_key!
31
+
32
+ expect {
33
+ user.password = ""
34
+ user.password_confirmation = ""
35
+ user.save!
36
+ }.not_to change(user, :spree_api_key)
37
+ end
38
+
27
39
  it "does not generate a spree api key on password change if no key existed previously" do
28
40
  user.clear_spree_api_key!
29
41
 
30
- user.password = "123456678"
31
- user.password_confirmation = "123456678"
32
- expect { user.save! }.not_to change(user, :spree_api_key)
42
+ expect {
43
+ user.password = "123456678"
44
+ user.password_confirmation = "123456678"
45
+ user.save!
46
+ }.not_to change(user, :spree_api_key)
33
47
  expect(user.reload.spree_api_key).to be_nil
34
48
  end
35
49
  end
36
50
 
37
- context '#destroy' do
38
- it 'will soft delete' do
39
- order = build(:order, completed_at: Time.now)
40
- order.save
41
- user = order.user
42
- user.destroy
43
- expect(Spree::User.find_by_id(user.id)).to be_nil
44
- expect(Spree::User.with_deleted.find_by_id(user.id).id).to eq(user.id)
45
- expect(Spree::User.with_deleted.find_by_id(user.id).orders.first).to eq(order)
46
-
47
- expect(Spree::Order.find_by_user_id(user.id)).not_to be_nil
48
- expect(Spree::Order.where(user_id: user.id).first).to eq(order)
51
+ describe '#destroy' do
52
+ # Users with orders are not deletable in Solidus core
53
+ # therefore we cannot test this behaviour here.
54
+ # Also there are already sufficient specs in core.
55
+ let(:user) { create(:user) }
56
+
57
+ it 'acts_as_paranoid' do
58
+ # Instead of testing implementation details of `acts_as_paranoid`
59
+ # we are testing that we are using `acts_as_paranoid` by using duck typing
60
+ expect(described_class).to respond_to(:with_deleted)
61
+ expect(user).to respond_to(:deleted_at)
49
62
  end
50
63
 
51
- it 'will allow users to register later with same email address as previously deleted account' do
52
- user1 = build(:user)
53
- user1.save
64
+ context 'with same email address as previously deleted account' do
65
+ it 'will allow users to register later' do
66
+ user1 = build(:user)
67
+ user1.save
54
68
 
55
- user2 = build(:user)
56
- user2.email = user1.email
57
- expect(user2.save).to be false
58
- expect(user2.errors.messages[:email].first).to eq "has already been taken"
69
+ user2 = build(:user)
70
+ user2.email = user1.email
71
+ expect(user2.save).to be false
72
+ expect(user2.errors.messages[:email].first).to eq "has already been taken"
59
73
 
60
- user1.destroy
61
- expect(user2.save).to be true
74
+ user1.destroy
75
+ expect(user2.save).to be true
76
+ end
62
77
  end
63
78
  end
64
79
 
metadata CHANGED
@@ -1,61 +1,61 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_auth_devise
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-20 00:00:00.000000000 Z
11
+ date: 2018-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.2.0
20
- - - <
20
+ - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: '3'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - '>='
27
+ - - ">="
28
28
  - !ruby/object:Gem::Version
29
29
  version: 1.2.0
30
- - - <
30
+ - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '3'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: solidus_support
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - '>='
37
+ - - ">="
38
38
  - !ruby/object:Gem::Version
39
39
  version: 0.1.3
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
- - - '>='
44
+ - - ">="
45
45
  - !ruby/object:Gem::Version
46
46
  version: 0.1.3
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: devise
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - ~>
51
+ - - "~>"
52
52
  - !ruby/object:Gem::Version
53
53
  version: '4.1'
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
- - - ~>
58
+ - - "~>"
59
59
  - !ruby/object:Gem::Version
60
60
  version: '4.1'
61
61
  - !ruby/object:Gem::Dependency
@@ -72,226 +72,212 @@ dependencies:
72
72
  - - '='
73
73
  - !ruby/object:Gem::Version
74
74
  version: 0.2.0
75
- - !ruby/object:Gem::Dependency
76
- name: deface
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - ~>
80
- - !ruby/object:Gem::Version
81
- version: '1.0'
82
- type: :runtime
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - ~>
87
- - !ruby/object:Gem::Version
88
- version: '1.0'
89
75
  - !ruby/object:Gem::Dependency
90
76
  name: capybara
91
77
  requirement: !ruby/object:Gem::Requirement
92
78
  requirements:
93
- - - ~>
79
+ - - "~>"
94
80
  - !ruby/object:Gem::Version
95
81
  version: '2.14'
96
82
  type: :development
97
83
  prerelease: false
98
84
  version_requirements: !ruby/object:Gem::Requirement
99
85
  requirements:
100
- - - ~>
86
+ - - "~>"
101
87
  - !ruby/object:Gem::Version
102
88
  version: '2.14'
103
89
  - !ruby/object:Gem::Dependency
104
90
  name: capybara-screenshot
105
91
  requirement: !ruby/object:Gem::Requirement
106
92
  requirements:
107
- - - '>='
93
+ - - ">="
108
94
  - !ruby/object:Gem::Version
109
95
  version: '0'
110
96
  type: :development
111
97
  prerelease: false
112
98
  version_requirements: !ruby/object:Gem::Requirement
113
99
  requirements:
114
- - - '>='
100
+ - - ">="
115
101
  - !ruby/object:Gem::Version
116
102
  version: '0'
117
103
  - !ruby/object:Gem::Dependency
118
104
  name: coffee-rails
119
105
  requirement: !ruby/object:Gem::Requirement
120
106
  requirements:
121
- - - '>='
107
+ - - ">="
122
108
  - !ruby/object:Gem::Version
123
109
  version: '0'
124
110
  type: :development
125
111
  prerelease: false
126
112
  version_requirements: !ruby/object:Gem::Requirement
127
113
  requirements:
128
- - - '>='
114
+ - - ">="
129
115
  - !ruby/object:Gem::Version
130
116
  version: '0'
131
117
  - !ruby/object:Gem::Dependency
132
118
  name: database_cleaner
133
119
  requirement: !ruby/object:Gem::Requirement
134
120
  requirements:
135
- - - ~>
121
+ - - "~>"
136
122
  - !ruby/object:Gem::Version
137
123
  version: '1.6'
138
124
  type: :development
139
125
  prerelease: false
140
126
  version_requirements: !ruby/object:Gem::Requirement
141
127
  requirements:
142
- - - ~>
128
+ - - "~>"
143
129
  - !ruby/object:Gem::Version
144
130
  version: '1.6'
145
131
  - !ruby/object:Gem::Dependency
146
- name: factory_girl
132
+ name: factory_bot
147
133
  requirement: !ruby/object:Gem::Requirement
148
134
  requirements:
149
- - - ~>
135
+ - - "~>"
150
136
  - !ruby/object:Gem::Version
151
137
  version: '4.4'
152
138
  type: :development
153
139
  prerelease: false
154
140
  version_requirements: !ruby/object:Gem::Requirement
155
141
  requirements:
156
- - - ~>
142
+ - - "~>"
157
143
  - !ruby/object:Gem::Version
158
144
  version: '4.4'
159
145
  - !ruby/object:Gem::Dependency
160
146
  name: ffaker
161
147
  requirement: !ruby/object:Gem::Requirement
162
148
  requirements:
163
- - - '>='
149
+ - - ">="
164
150
  - !ruby/object:Gem::Version
165
151
  version: '0'
166
152
  type: :development
167
153
  prerelease: false
168
154
  version_requirements: !ruby/object:Gem::Requirement
169
155
  requirements:
170
- - - '>='
156
+ - - ">="
171
157
  - !ruby/object:Gem::Version
172
158
  version: '0'
173
159
  - !ruby/object:Gem::Dependency
174
160
  name: poltergeist
175
161
  requirement: !ruby/object:Gem::Requirement
176
162
  requirements:
177
- - - ~>
163
+ - - "~>"
178
164
  - !ruby/object:Gem::Version
179
165
  version: '1.5'
180
166
  type: :development
181
167
  prerelease: false
182
168
  version_requirements: !ruby/object:Gem::Requirement
183
169
  requirements:
184
- - - ~>
170
+ - - "~>"
185
171
  - !ruby/object:Gem::Version
186
172
  version: '1.5'
187
173
  - !ruby/object:Gem::Dependency
188
174
  name: rspec-rails
189
175
  requirement: !ruby/object:Gem::Requirement
190
176
  requirements:
191
- - - ~>
177
+ - - "~>"
192
178
  - !ruby/object:Gem::Version
193
179
  version: '3.3'
194
180
  type: :development
195
181
  prerelease: false
196
182
  version_requirements: !ruby/object:Gem::Requirement
197
183
  requirements:
198
- - - ~>
184
+ - - "~>"
199
185
  - !ruby/object:Gem::Version
200
186
  version: '3.3'
201
187
  - !ruby/object:Gem::Dependency
202
188
  name: sass-rails
203
189
  requirement: !ruby/object:Gem::Requirement
204
190
  requirements:
205
- - - '>='
191
+ - - ">="
206
192
  - !ruby/object:Gem::Version
207
193
  version: '0'
208
194
  type: :development
209
195
  prerelease: false
210
196
  version_requirements: !ruby/object:Gem::Requirement
211
197
  requirements:
212
- - - '>='
198
+ - - ">="
213
199
  - !ruby/object:Gem::Version
214
200
  version: '0'
215
201
  - !ruby/object:Gem::Dependency
216
202
  name: shoulda-matchers
217
203
  requirement: !ruby/object:Gem::Requirement
218
204
  requirements:
219
- - - ~>
205
+ - - "~>"
220
206
  - !ruby/object:Gem::Version
221
207
  version: '3.1'
222
208
  type: :development
223
209
  prerelease: false
224
210
  version_requirements: !ruby/object:Gem::Requirement
225
211
  requirements:
226
- - - ~>
212
+ - - "~>"
227
213
  - !ruby/object:Gem::Version
228
214
  version: '3.1'
229
215
  - !ruby/object:Gem::Dependency
230
216
  name: simplecov
231
217
  requirement: !ruby/object:Gem::Requirement
232
218
  requirements:
233
- - - ~>
219
+ - - "~>"
234
220
  - !ruby/object:Gem::Version
235
221
  version: '0.14'
236
222
  type: :development
237
223
  prerelease: false
238
224
  version_requirements: !ruby/object:Gem::Requirement
239
225
  requirements:
240
- - - ~>
226
+ - - "~>"
241
227
  - !ruby/object:Gem::Version
242
228
  version: '0.14'
243
229
  - !ruby/object:Gem::Dependency
244
230
  name: solidus_backend
245
231
  requirement: !ruby/object:Gem::Requirement
246
232
  requirements:
247
- - - '>='
233
+ - - ">="
248
234
  - !ruby/object:Gem::Version
249
235
  version: 1.2.0
250
- - - <
236
+ - - "<"
251
237
  - !ruby/object:Gem::Version
252
238
  version: '3'
253
239
  type: :development
254
240
  prerelease: false
255
241
  version_requirements: !ruby/object:Gem::Requirement
256
242
  requirements:
257
- - - '>='
243
+ - - ">="
258
244
  - !ruby/object:Gem::Version
259
245
  version: 1.2.0
260
- - - <
246
+ - - "<"
261
247
  - !ruby/object:Gem::Version
262
248
  version: '3'
263
249
  - !ruby/object:Gem::Dependency
264
250
  name: solidus_frontend
265
251
  requirement: !ruby/object:Gem::Requirement
266
252
  requirements:
267
- - - '>='
253
+ - - ">="
268
254
  - !ruby/object:Gem::Version
269
255
  version: 1.2.0
270
- - - <
256
+ - - "<"
271
257
  - !ruby/object:Gem::Version
272
258
  version: '3'
273
259
  type: :development
274
260
  prerelease: false
275
261
  version_requirements: !ruby/object:Gem::Requirement
276
262
  requirements:
277
- - - '>='
263
+ - - ">="
278
264
  - !ruby/object:Gem::Version
279
265
  version: 1.2.0
280
- - - <
266
+ - - "<"
281
267
  - !ruby/object:Gem::Version
282
268
  version: '3'
283
269
  - !ruby/object:Gem::Dependency
284
270
  name: sqlite3
285
271
  requirement: !ruby/object:Gem::Requirement
286
272
  requirements:
287
- - - '>='
273
+ - - ">="
288
274
  - !ruby/object:Gem::Version
289
275
  version: '0'
290
276
  type: :development
291
277
  prerelease: false
292
278
  version_requirements: !ruby/object:Gem::Requirement
293
279
  requirements:
294
- - - '>='
280
+ - - ">="
295
281
  - !ruby/object:Gem::Version
296
282
  version: '0'
297
283
  description: Provides authentication and authorization services for use with Solidus
@@ -301,9 +287,9 @@ executables: []
301
287
  extensions: []
302
288
  extra_rdoc_files: []
303
289
  files:
304
- - .gitignore
305
- - .rspec
306
- - .travis.yml
290
+ - ".gitignore"
291
+ - ".rspec"
292
+ - ".travis.yml"
307
293
  - CHANGELOG.md
308
294
  - Gemfile
309
295
  - LICENSE.md
@@ -370,6 +356,7 @@ files:
370
356
  - lib/views/frontend/spree/shared/_flashes.html.erb
371
357
  - lib/views/frontend/spree/shared/_login.html.erb
372
358
  - lib/views/frontend/spree/shared/_login_bar.html.erb
359
+ - lib/views/frontend/spree/shared/_login_bar_items.html.erb
373
360
  - lib/views/frontend/spree/shared/_user_form.html.erb
374
361
  - lib/views/frontend/spree/user_mailer/confirmation_instructions.text.erb
375
362
  - lib/views/frontend/spree/user_mailer/reset_password_instructions.text.erb
@@ -423,18 +410,18 @@ require_paths:
423
410
  - lib
424
411
  required_ruby_version: !ruby/object:Gem::Requirement
425
412
  requirements:
426
- - - '>='
413
+ - - ">="
427
414
  - !ruby/object:Gem::Version
428
415
  version: '2.1'
429
416
  required_rubygems_version: !ruby/object:Gem::Requirement
430
417
  requirements:
431
- - - '>='
418
+ - - ">="
432
419
  - !ruby/object:Gem::Version
433
420
  version: '0'
434
421
  requirements:
435
422
  - none
436
423
  rubyforge_project:
437
- rubygems_version: 2.0.14.1
424
+ rubygems_version: 2.7.3
438
425
  signing_key:
439
426
  specification_version: 4
440
427
  summary: Provides authentication and authorization services for use with Solidus by