solidus_auth_devise 1.6.4 → 2.0.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
2
  SHA1:
3
- metadata.gz: 2aa5444b3b4f513d26041de6927b83fce140609e
4
- data.tar.gz: 814e99c4606750c1adef166de70fbda5a49eed43
3
+ metadata.gz: c108797540fddc1422f81a6de9cc43f86ab35117
4
+ data.tar.gz: f704e58ceb69098d53ffa2378a21e2ee7c539ea6
5
5
  SHA512:
6
- metadata.gz: 4b543060c56aff1657ac4cff719aa50e85c7077d420c8ab146c7e1bc853b698593362f28e955c19c12e7302f5bb1ca1cd9b0f9d8c8c5b644d8db40d309c8042d
7
- data.tar.gz: a76c61997cc0294846d6c80d9e620dacdef12802579b7e35dabf16527fa7773d79100b7f264cb08e3f800278c23d0ca53a1e291ae6079ade61c7030781773091
6
+ metadata.gz: cb5ca1d05ef36b6b5dcf9d57f9a1b8b2a08c09bf581ec1dedb20ad3bce22583f6875ef926ddfcb4c862ce0e54a4573733987b7e9e668c91b3258536e922b7e96
7
+ data.tar.gz: 5850d15a460988819616678a0b94a69da0a7cd3e07ba76e99e4f51aff1599bf76f0d1666d1dc870a1291c0862c49f69b2352c0c4929022b7051f6b1f870a74ab
@@ -4,8 +4,6 @@ rvm:
4
4
  - 2.3.1
5
5
  env:
6
6
  matrix:
7
- - SOLIDUS_BRANCH=v1.0 DB=postgres
8
- - SOLIDUS_BRANCH=v1.1 DB=postgres
9
7
  - SOLIDUS_BRANCH=v1.2 DB=postgres
10
8
  - SOLIDUS_BRANCH=v1.3 DB=postgres
11
9
  - SOLIDUS_BRANCH=v1.4 DB=postgres
@@ -14,8 +12,6 @@ env:
14
12
  - SOLIDUS_BRANCH=v2.2 DB=postgres
15
13
  - SOLIDUS_BRANCH=v2.3 DB=postgres
16
14
  - SOLIDUS_BRANCH=master DB=postgres
17
- - SOLIDUS_BRANCH=v1.0 DB=mysql
18
- - SOLIDUS_BRANCH=v1.1 DB=mysql
19
15
  - SOLIDUS_BRANCH=v1.2 DB=mysql
20
16
  - SOLIDUS_BRANCH=v1.3 DB=mysql
21
17
  - SOLIDUS_BRANCH=v1.4 DB=mysql
@@ -1,5 +1,14 @@
1
1
  ## Master (unreleased)
2
2
 
3
+ ## Solidus Auth Devise v2.0.0 (2017-09-20)
4
+
5
+ * Drop support for Solidus v1.0 and v1.1
6
+ * Use `match` for Devise logout route
7
+ * Remove references to dash
8
+ * Leverage `*_available?` helpers from `solidus-support`
9
+ * Use `spec_helper` from `solidus-support`
10
+ * Correct `set_current_order` callback for newer versions of Solidus
11
+
3
12
  ## Solidus Auth Devise v1.6.4 (2017-07-24)
4
13
 
5
14
  * Fix error trying to call helper_method in api-only applications
@@ -10,8 +10,6 @@ module Spree
10
10
  after_destroy :scramble_email_and_password
11
11
  before_update { generate_spree_api_key if encrypted_password_changed? && spree_api_key.present? }
12
12
 
13
- has_many :orders
14
-
15
13
  before_validation :set_login
16
14
 
17
15
  users_table_name = User.table_name
@@ -1,4 +1,4 @@
1
- if Spree::Auth::Engine.frontend_available?
1
+ if SolidusSupport.frontend_available?
2
2
  Deface::Override.new(
3
3
  virtual_path: "spree/shared/_nav_bar",
4
4
  name: "auth_shared_login_bar",
@@ -1,6 +1,6 @@
1
1
  Spree::Core::Engine.routes.draw do
2
2
  if (
3
- Spree::Auth::Engine.frontend_available? &&
3
+ SolidusSupport.frontend_available? &&
4
4
  Spree::Auth::Config.draw_frontend_routes
5
5
  )
6
6
 
@@ -22,7 +22,7 @@ Spree::Core::Engine.routes.draw do
22
22
  devise_scope :spree_user do
23
23
  get '/login', to: 'user_sessions#new', as: :login
24
24
  post '/login', to: 'user_sessions#create', as: :create_new_session
25
- get '/logout', to: 'user_sessions#destroy', as: :logout
25
+ match '/logout', to: 'user_sessions#destroy', as: :logout, via: Devise.sign_out_via
26
26
  get '/signup', to: 'user_registrations#new', as: :signup
27
27
  post '/signup', to: 'user_registrations#create', as: :registration
28
28
  get '/password/recover', to: 'user_passwords#new', as: :recover_password
@@ -39,7 +39,7 @@ Spree::Core::Engine.routes.draw do
39
39
  end
40
40
 
41
41
  if (
42
- Spree::Auth::Engine.backend_available? &&
42
+ SolidusSupport.backend_available? &&
43
43
  Spree::Auth::Config.draw_backend_routes
44
44
  )
45
45
 
@@ -1,10 +1,6 @@
1
1
  class Spree::UserConfirmationsController < Devise::ConfirmationsController
2
2
  helper 'spree/base', 'spree/store'
3
3
 
4
- if Spree::Auth::Engine.dash_available?
5
- helper 'spree/analytics'
6
- end
7
-
8
4
  include Spree::Core::ControllerHelpers::Auth
9
5
  include Spree::Core::ControllerHelpers::Common
10
6
  include Spree::Core::ControllerHelpers::Order
@@ -1,10 +1,6 @@
1
1
  class Spree::UserPasswordsController < Devise::PasswordsController
2
2
  helper 'spree/base', 'spree/store'
3
3
 
4
- if Spree::Auth::Engine.dash_available?
5
- helper 'spree/analytics'
6
- end
7
-
8
4
  include Spree::Core::ControllerHelpers::Auth
9
5
  include Spree::Core::ControllerHelpers::Common
10
6
  include Spree::Core::ControllerHelpers::Order
@@ -1,10 +1,6 @@
1
1
  class Spree::UserRegistrationsController < Devise::RegistrationsController
2
2
  helper 'spree/base', 'spree/store'
3
3
 
4
- if Spree::Auth::Engine.dash_available?
5
- helper 'spree/analytics'
6
- end
7
-
8
4
  include Spree::Core::ControllerHelpers::Auth
9
5
  include Spree::Core::ControllerHelpers::Common
10
6
  include Spree::Core::ControllerHelpers::Order
@@ -1,8 +1,5 @@
1
1
  class Spree::UserSessionsController < Devise::SessionsController
2
2
  helper 'spree/base', 'spree/store'
3
- if Spree::Auth::Engine.dash_available?
4
- helper 'spree/analytics'
5
- end
6
3
 
7
4
  include Spree::Core::ControllerHelpers::Auth
8
5
  include Spree::Core::ControllerHelpers::Common
@@ -1,5 +1,5 @@
1
1
  class Spree::UsersController < Spree::StoreController
2
- skip_before_action :set_current_order, only: :show
2
+ skip_before_action :set_current_order, only: :show, raise: false
3
3
  prepend_before_action :load_object, only: [:show, :edit, :update]
4
4
  prepend_before_action :authorize_actions, only: :new
5
5
 
@@ -18,8 +18,8 @@ module Spree
18
18
  config.to_prepare do
19
19
  auth = Spree::Auth::Engine
20
20
 
21
- auth.prepare_backend if auth.backend_available?
22
- auth.prepare_frontend if auth.frontend_available?
21
+ auth.prepare_backend if SolidusSupport.backend_available?
22
+ auth.prepare_frontend if SolidusSupport.frontend_available?
23
23
 
24
24
  ApplicationController.send :include, Spree::AuthenticationHelpers
25
25
  end
@@ -66,24 +66,12 @@ module Spree
66
66
  end
67
67
  end
68
68
 
69
- def self.backend_available?
70
- defined?(Spree::Backend::Engine) == "constant"
71
- end
72
-
73
- def self.dash_available?
74
- defined?(Spree::Dash::Engine) == "constant"
75
- end
76
-
77
- def self.frontend_available?
78
- defined?(Spree::Frontend::Engine) == "constant"
79
- end
80
-
81
- if backend_available?
69
+ if SolidusSupport.backend_available?
82
70
  paths["app/controllers"] << "lib/controllers/backend"
83
71
  paths["app/views"] << "lib/views/backend"
84
72
  end
85
73
 
86
- if frontend_available?
74
+ if SolidusSupport.frontend_available?
87
75
  paths["app/controllers"] << "lib/controllers/frontend"
88
76
  paths["app/views"] << "lib/views/frontend"
89
77
  end
@@ -4,7 +4,7 @@ module Spree
4
4
  if receiver.send(:respond_to?, :helper_method)
5
5
  receiver.send(:helper_method, :spree_current_user)
6
6
 
7
- if Spree::Auth::Engine.frontend_available?
7
+ if SolidusSupport.frontend_available?
8
8
  receiver.send(:helper_method, :spree_login_path)
9
9
  receiver.send(:helper_method, :spree_signup_path)
10
10
  receiver.send(:helper_method, :spree_logout_path)
@@ -16,7 +16,7 @@ module Spree
16
16
  current_spree_user
17
17
  end
18
18
 
19
- if Spree::Auth::Engine.frontend_available?
19
+ if SolidusSupport.frontend_available?
20
20
  def spree_login_path
21
21
  spree.login_path
22
22
  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 = "1.6.4"
6
+ s.version = "2.0.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
 
@@ -18,25 +18,26 @@ Gem::Specification.new do |s|
18
18
  s.require_path = "lib"
19
19
  s.requirements << "none"
20
20
 
21
- solidus_version = [">= 1.0.6", "< 3"]
21
+ solidus_version = [">= 1.2.0", "< 3"]
22
22
 
23
23
  s.add_dependency "solidus_core", solidus_version
24
- s.add_dependency "solidus_support"
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
27
  s.add_dependency 'deface', '~> 1.0'
28
28
 
29
- s.add_development_dependency "solidus_backend", solidus_version
30
- s.add_development_dependency "solidus_frontend", solidus_version
31
- s.add_development_dependency "rspec-rails", "~> 3.3"
32
- s.add_development_dependency "simplecov", "~> 0.14"
33
- s.add_development_dependency "sqlite3"
34
- s.add_development_dependency "sass-rails"
29
+ s.add_development_dependency "capybara", "~> 2.14"
30
+ s.add_development_dependency "capybara-screenshot"
35
31
  s.add_development_dependency "coffee-rails"
36
- s.add_development_dependency "shoulda-matchers", "~> 3.1"
32
+ s.add_development_dependency "database_cleaner", "~> 1.6"
37
33
  s.add_development_dependency "factory_girl", "~> 4.4"
38
- s.add_development_dependency "capybara", "~> 2.14"
34
+ s.add_development_dependency "ffaker"
39
35
  s.add_development_dependency "poltergeist", "~> 1.5"
40
- s.add_development_dependency "database_cleaner", "~> 1.6"
41
- s.add_development_dependency "capybara-screenshot"
36
+ s.add_development_dependency "rspec-rails", "~> 3.3"
37
+ s.add_development_dependency "sass-rails"
38
+ s.add_development_dependency "shoulda-matchers", "~> 3.1"
39
+ s.add_development_dependency "simplecov", "~> 0.14"
40
+ s.add_development_dependency "solidus_backend", solidus_version
41
+ s.add_development_dependency "solidus_frontend", solidus_version
42
+ s.add_development_dependency "sqlite3"
42
43
  end
@@ -5,9 +5,7 @@ ENV["RAILS_ENV"] ||= "test"
5
5
 
6
6
  require File.expand_path("../dummy/config/environment.rb", __FILE__)
7
7
 
8
- require "rspec/rails"
9
- require "shoulda-matchers"
10
- require "ffaker"
8
+ require "solidus_support/extension/feature_helper"
11
9
 
12
10
  Dir[File.join(File.dirname(__FILE__), "support/**/*.rb")].each { |f| require f }
13
11
 
@@ -15,14 +13,5 @@ RSpec.configure do |config|
15
13
  config.infer_spec_type_from_file_location!
16
14
  config.raise_errors_for_deprecations!
17
15
 
18
- config.filter_run focus: true
19
- config.run_all_when_everything_filtered = true
20
- config.use_transactional_fixtures = false
21
- config.order = :random
22
-
23
16
  config.example_status_persistence_file_path = "./spec/examples.txt"
24
-
25
- config.mock_with :rspec do |mock|
26
- mock.syntax = [:should, :expect]
27
- end
28
17
  end
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: 1.6.4
4
+ version: 2.0.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-07-24 00:00:00.000000000 Z
11
+ date: 2017-09-20 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
- version: 1.0.6
20
- - - "<"
19
+ version: 1.2.0
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
- version: 1.0.6
30
- - - "<"
29
+ version: 1.2.0
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
- version: '0'
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
- version: '0'
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
@@ -76,208 +76,222 @@ dependencies:
76
76
  name: deface
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
- - - "~>"
79
+ - - ~>
80
80
  - !ruby/object:Gem::Version
81
81
  version: '1.0'
82
82
  type: :runtime
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
- - - "~>"
86
+ - - ~>
87
87
  - !ruby/object:Gem::Version
88
88
  version: '1.0'
89
89
  - !ruby/object:Gem::Dependency
90
- name: solidus_backend
90
+ name: capybara
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
- - - ">="
94
- - !ruby/object:Gem::Version
95
- version: 1.0.6
96
- - - "<"
93
+ - - ~>
97
94
  - !ruby/object:Gem::Version
98
- version: '3'
95
+ version: '2.14'
99
96
  type: :development
100
97
  prerelease: false
101
98
  version_requirements: !ruby/object:Gem::Requirement
102
99
  requirements:
103
- - - ">="
104
- - !ruby/object:Gem::Version
105
- version: 1.0.6
106
- - - "<"
100
+ - - ~>
107
101
  - !ruby/object:Gem::Version
108
- version: '3'
102
+ version: '2.14'
109
103
  - !ruby/object:Gem::Dependency
110
- name: solidus_frontend
104
+ name: capybara-screenshot
111
105
  requirement: !ruby/object:Gem::Requirement
112
106
  requirements:
113
- - - ">="
107
+ - - '>='
114
108
  - !ruby/object:Gem::Version
115
- version: 1.0.6
116
- - - "<"
117
- - !ruby/object:Gem::Version
118
- version: '3'
109
+ version: '0'
119
110
  type: :development
120
111
  prerelease: false
121
112
  version_requirements: !ruby/object:Gem::Requirement
122
113
  requirements:
123
- - - ">="
114
+ - - '>='
124
115
  - !ruby/object:Gem::Version
125
- version: 1.0.6
126
- - - "<"
116
+ version: '0'
117
+ - !ruby/object:Gem::Dependency
118
+ name: coffee-rails
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - '>='
127
122
  - !ruby/object:Gem::Version
128
- version: '3'
123
+ version: '0'
124
+ type: :development
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - '>='
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
129
131
  - !ruby/object:Gem::Dependency
130
- name: rspec-rails
132
+ name: database_cleaner
131
133
  requirement: !ruby/object:Gem::Requirement
132
134
  requirements:
133
- - - "~>"
135
+ - - ~>
134
136
  - !ruby/object:Gem::Version
135
- version: '3.3'
137
+ version: '1.6'
136
138
  type: :development
137
139
  prerelease: false
138
140
  version_requirements: !ruby/object:Gem::Requirement
139
141
  requirements:
140
- - - "~>"
142
+ - - ~>
141
143
  - !ruby/object:Gem::Version
142
- version: '3.3'
144
+ version: '1.6'
143
145
  - !ruby/object:Gem::Dependency
144
- name: simplecov
146
+ name: factory_girl
145
147
  requirement: !ruby/object:Gem::Requirement
146
148
  requirements:
147
- - - "~>"
149
+ - - ~>
148
150
  - !ruby/object:Gem::Version
149
- version: '0.14'
151
+ version: '4.4'
150
152
  type: :development
151
153
  prerelease: false
152
154
  version_requirements: !ruby/object:Gem::Requirement
153
155
  requirements:
154
- - - "~>"
156
+ - - ~>
155
157
  - !ruby/object:Gem::Version
156
- version: '0.14'
158
+ version: '4.4'
157
159
  - !ruby/object:Gem::Dependency
158
- name: sqlite3
160
+ name: ffaker
159
161
  requirement: !ruby/object:Gem::Requirement
160
162
  requirements:
161
- - - ">="
163
+ - - '>='
162
164
  - !ruby/object:Gem::Version
163
165
  version: '0'
164
166
  type: :development
165
167
  prerelease: false
166
168
  version_requirements: !ruby/object:Gem::Requirement
167
169
  requirements:
168
- - - ">="
170
+ - - '>='
169
171
  - !ruby/object:Gem::Version
170
172
  version: '0'
171
173
  - !ruby/object:Gem::Dependency
172
- name: sass-rails
174
+ name: poltergeist
173
175
  requirement: !ruby/object:Gem::Requirement
174
176
  requirements:
175
- - - ">="
177
+ - - ~>
176
178
  - !ruby/object:Gem::Version
177
- version: '0'
179
+ version: '1.5'
178
180
  type: :development
179
181
  prerelease: false
180
182
  version_requirements: !ruby/object:Gem::Requirement
181
183
  requirements:
182
- - - ">="
184
+ - - ~>
183
185
  - !ruby/object:Gem::Version
184
- version: '0'
186
+ version: '1.5'
185
187
  - !ruby/object:Gem::Dependency
186
- name: coffee-rails
188
+ name: rspec-rails
187
189
  requirement: !ruby/object:Gem::Requirement
188
190
  requirements:
189
- - - ">="
191
+ - - ~>
190
192
  - !ruby/object:Gem::Version
191
- version: '0'
193
+ version: '3.3'
192
194
  type: :development
193
195
  prerelease: false
194
196
  version_requirements: !ruby/object:Gem::Requirement
195
197
  requirements:
196
- - - ">="
198
+ - - ~>
197
199
  - !ruby/object:Gem::Version
198
- version: '0'
200
+ version: '3.3'
199
201
  - !ruby/object:Gem::Dependency
200
- name: shoulda-matchers
202
+ name: sass-rails
201
203
  requirement: !ruby/object:Gem::Requirement
202
204
  requirements:
203
- - - "~>"
205
+ - - '>='
204
206
  - !ruby/object:Gem::Version
205
- version: '3.1'
207
+ version: '0'
206
208
  type: :development
207
209
  prerelease: false
208
210
  version_requirements: !ruby/object:Gem::Requirement
209
211
  requirements:
210
- - - "~>"
212
+ - - '>='
211
213
  - !ruby/object:Gem::Version
212
- version: '3.1'
214
+ version: '0'
213
215
  - !ruby/object:Gem::Dependency
214
- name: factory_girl
216
+ name: shoulda-matchers
215
217
  requirement: !ruby/object:Gem::Requirement
216
218
  requirements:
217
- - - "~>"
219
+ - - ~>
218
220
  - !ruby/object:Gem::Version
219
- version: '4.4'
221
+ version: '3.1'
220
222
  type: :development
221
223
  prerelease: false
222
224
  version_requirements: !ruby/object:Gem::Requirement
223
225
  requirements:
224
- - - "~>"
226
+ - - ~>
225
227
  - !ruby/object:Gem::Version
226
- version: '4.4'
228
+ version: '3.1'
227
229
  - !ruby/object:Gem::Dependency
228
- name: capybara
230
+ name: simplecov
229
231
  requirement: !ruby/object:Gem::Requirement
230
232
  requirements:
231
- - - "~>"
233
+ - - ~>
232
234
  - !ruby/object:Gem::Version
233
- version: '2.14'
235
+ version: '0.14'
234
236
  type: :development
235
237
  prerelease: false
236
238
  version_requirements: !ruby/object:Gem::Requirement
237
239
  requirements:
238
- - - "~>"
240
+ - - ~>
239
241
  - !ruby/object:Gem::Version
240
- version: '2.14'
242
+ version: '0.14'
241
243
  - !ruby/object:Gem::Dependency
242
- name: poltergeist
244
+ name: solidus_backend
243
245
  requirement: !ruby/object:Gem::Requirement
244
246
  requirements:
245
- - - "~>"
247
+ - - '>='
246
248
  - !ruby/object:Gem::Version
247
- version: '1.5'
249
+ version: 1.2.0
250
+ - - <
251
+ - !ruby/object:Gem::Version
252
+ version: '3'
248
253
  type: :development
249
254
  prerelease: false
250
255
  version_requirements: !ruby/object:Gem::Requirement
251
256
  requirements:
252
- - - "~>"
257
+ - - '>='
253
258
  - !ruby/object:Gem::Version
254
- version: '1.5'
259
+ version: 1.2.0
260
+ - - <
261
+ - !ruby/object:Gem::Version
262
+ version: '3'
255
263
  - !ruby/object:Gem::Dependency
256
- name: database_cleaner
264
+ name: solidus_frontend
257
265
  requirement: !ruby/object:Gem::Requirement
258
266
  requirements:
259
- - - "~>"
267
+ - - '>='
260
268
  - !ruby/object:Gem::Version
261
- version: '1.6'
269
+ version: 1.2.0
270
+ - - <
271
+ - !ruby/object:Gem::Version
272
+ version: '3'
262
273
  type: :development
263
274
  prerelease: false
264
275
  version_requirements: !ruby/object:Gem::Requirement
265
276
  requirements:
266
- - - "~>"
277
+ - - '>='
267
278
  - !ruby/object:Gem::Version
268
- version: '1.6'
279
+ version: 1.2.0
280
+ - - <
281
+ - !ruby/object:Gem::Version
282
+ version: '3'
269
283
  - !ruby/object:Gem::Dependency
270
- name: capybara-screenshot
284
+ name: sqlite3
271
285
  requirement: !ruby/object:Gem::Requirement
272
286
  requirements:
273
- - - ">="
287
+ - - '>='
274
288
  - !ruby/object:Gem::Version
275
289
  version: '0'
276
290
  type: :development
277
291
  prerelease: false
278
292
  version_requirements: !ruby/object:Gem::Requirement
279
293
  requirements:
280
- - - ">="
294
+ - - '>='
281
295
  - !ruby/object:Gem::Version
282
296
  version: '0'
283
297
  description: Provides authentication and authorization services for use with Solidus
@@ -287,9 +301,9 @@ executables: []
287
301
  extensions: []
288
302
  extra_rdoc_files: []
289
303
  files:
290
- - ".gitignore"
291
- - ".rspec"
292
- - ".travis.yml"
304
+ - .gitignore
305
+ - .rspec
306
+ - .travis.yml
293
307
  - CHANGELOG.md
294
308
  - Gemfile
295
309
  - LICENSE.md
@@ -395,11 +409,8 @@ files:
395
409
  - spec/spec_helper.rb
396
410
  - spec/support/ability.rb
397
411
  - spec/support/authentication_helpers.rb
398
- - spec/support/capybara.rb
399
412
  - spec/support/confirm_helpers.rb
400
- - spec/support/database_cleaner.rb
401
413
  - spec/support/email.rb
402
- - spec/support/factory_girl.rb
403
414
  - spec/support/preferences.rb
404
415
  - spec/support/spree.rb
405
416
  homepage:
@@ -412,18 +423,18 @@ require_paths:
412
423
  - lib
413
424
  required_ruby_version: !ruby/object:Gem::Requirement
414
425
  requirements:
415
- - - ">="
426
+ - - '>='
416
427
  - !ruby/object:Gem::Version
417
428
  version: '2.1'
418
429
  required_rubygems_version: !ruby/object:Gem::Requirement
419
430
  requirements:
420
- - - ">="
431
+ - - '>='
421
432
  - !ruby/object:Gem::Version
422
433
  version: '0'
423
434
  requirements:
424
435
  - none
425
436
  rubyforge_project:
426
- rubygems_version: 2.6.11
437
+ rubygems_version: 2.0.14.1
427
438
  signing_key:
428
439
  specification_version: 4
429
440
  summary: Provides authentication and authorization services for use with Solidus by
@@ -457,10 +468,7 @@ test_files:
457
468
  - spec/spec_helper.rb
458
469
  - spec/support/ability.rb
459
470
  - spec/support/authentication_helpers.rb
460
- - spec/support/capybara.rb
461
471
  - spec/support/confirm_helpers.rb
462
- - spec/support/database_cleaner.rb
463
472
  - spec/support/email.rb
464
- - spec/support/factory_girl.rb
465
473
  - spec/support/preferences.rb
466
474
  - spec/support/spree.rb
@@ -1,10 +0,0 @@
1
- require 'capybara/rspec'
2
- require 'capybara/rails'
3
- require 'capybara/poltergeist'
4
-
5
- require 'capybara-screenshot/rspec'
6
- Capybara.save_and_open_page_path = ENV['CIRCLE_ARTIFACTS'] if ENV['CIRCLE_ARTIFACTS']
7
-
8
- RSpec.configure do |config|
9
- Capybara.javascript_driver = :poltergeist
10
- end
@@ -1,18 +0,0 @@
1
- require 'database_cleaner'
2
-
3
- RSpec.configure do |config|
4
-
5
- config.before(:suite) do
6
- DatabaseCleaner.strategy = :transaction
7
- DatabaseCleaner.clean_with :truncation
8
- end
9
-
10
- config.before do
11
- DatabaseCleaner.strategy = RSpec.current_example.metadata[:js] ? :truncation : :transaction
12
- DatabaseCleaner.start
13
- end
14
-
15
- config.after do
16
- DatabaseCleaner.clean
17
- end
18
- end
@@ -1,5 +0,0 @@
1
- require 'factory_girl'
2
-
3
- RSpec.configure do |config|
4
- config.include FactoryGirl::Syntax::Methods
5
- end