g5_authenticatable 0.9.1.pre.2 → 1.0.0.pre.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.ruby-version +1 -1
- data/.travis.yml +23 -9
- data/Appraisals +17 -0
- data/CHANGELOG.md +14 -0
- data/Gemfile +11 -14
- data/README.md +40 -13
- data/app/controllers/concerns/g5_authenticatable/authorization.rb +4 -1
- data/app/controllers/g5_authenticatable/application_controller.rb +3 -0
- data/app/controllers/g5_authenticatable/error_controller.rb +3 -2
- data/app/controllers/g5_authenticatable/failure_app.rb +35 -0
- data/app/controllers/g5_authenticatable/sessions_controller.rb +7 -3
- data/app/helpers/g5_authenticatable/application_helper.rb +3 -0
- data/app/models/g5_authenticatable/role.rb +5 -2
- data/app/models/g5_authenticatable/user.rb +12 -5
- data/app/policies/g5_authenticatable/base_policy.rb +75 -58
- data/app/policies/g5_updatable/client_policy.rb +5 -5
- data/app/policies/g5_updatable/location_policy.rb +6 -5
- data/app/policies/g5_updatable/selectable_client_policy.rb +6 -7
- data/app/services/g5_authenticatable/impersonate_sessionable.rb +12 -7
- data/config/initializers/devise.rb +4 -0
- data/config/initializers/impersonate_strategy.rb +5 -2
- data/config/initializers/rolify.rb +2 -0
- data/config/routes.rb +3 -1
- data/g5_authenticatable.gemspec +11 -7
- data/gemfiles/rails_4.1.gemfile +28 -0
- data/gemfiles/rails_4.2.gemfile +28 -0
- data/gemfiles/rails_5.0.gemfile +28 -0
- data/gemfiles/rails_5.1.gemfile +28 -0
- data/lib/g5_authenticatable.rb +3 -1
- data/lib/g5_authenticatable/engine.rb +5 -2
- data/lib/g5_authenticatable/rspec.rb +2 -0
- data/lib/g5_authenticatable/test/controller_helpers.rb +14 -9
- data/lib/g5_authenticatable/test/env_helpers.rb +3 -0
- data/lib/g5_authenticatable/test/factories/client_users.rb +45 -0
- data/lib/g5_authenticatable/test/factories/global_users.rb +43 -0
- data/lib/g5_authenticatable/test/factories/location_users.rb +45 -0
- data/lib/g5_authenticatable/test/factories/roles.rb +63 -0
- data/lib/g5_authenticatable/test/factory.rb +7 -59
- data/lib/g5_authenticatable/test/feature_helpers.rb +31 -17
- data/lib/g5_authenticatable/test/request_helpers.rb +5 -1
- data/lib/g5_authenticatable/test/token_validation_helpers.rb +15 -10
- data/lib/g5_authenticatable/version.rb +3 -1
- data/lib/generators/g5_authenticatable/install/install_generator.rb +49 -37
- data/lib/generators/g5_authenticatable/install/templates/application_policy.rb +2 -0
- data/lib/generators/g5_authenticatable/install/templates/initializer.rb +2 -0
- data/lib/generators/g5_authenticatable/install/templates/migrate/add_g5_authenticatable_users_contact_info.rb +3 -1
- data/lib/generators/g5_authenticatable/install/templates/migrate/create_g5_authenticatable_roles.rb +3 -1
- data/lib/generators/g5_authenticatable/install/templates/migrate/create_g5_authenticatable_users.rb +3 -1
- data/lib/tasks/g5_authenticatable/purge_users.rake +2 -0
- data/spec/config/application_spec.rb +7 -4
- data/spec/controllers/application_controller_spec.rb +10 -5
- data/spec/controllers/concerns/g5_authenticatable/{authorization.rb → authorization_spec.rb} +11 -6
- data/spec/dummy/app/controllers/home_controller.rb +5 -5
- data/spec/dummy/app/controllers/rails_api/secure_resources_controller.rb +6 -4
- data/spec/dummy/app/models/post.rb +1 -1
- data/spec/dummy/config/environments/test.rb +25 -4
- data/spec/dummy/config/initializers/rails_compatibility.rb +10 -0
- data/spec/dummy/db/migrate/20140206070137_create_g5_authenticatable_users.rb +3 -1
- data/spec/dummy/db/migrate/20150428182339_add_g5_authenticatable_users_contact_info.rb +3 -1
- data/spec/dummy/db/migrate/20150429212919_create_g5_authenticatable_roles.rb +2 -1
- data/spec/dummy/db/migrate/20150509061150_create_posts.rb +3 -1
- data/spec/dummy/db/migrate/20150603224032_create_g5_updatable_clients_and_locations.g5_updatable.rb +3 -1
- data/spec/dummy/db/migrate/20150603224033_create_integration_setting.g5_updatable.rb +3 -1
- data/spec/dummy/db/migrate/20150603224034_remove_integration_setting.g5_updatable.rb +3 -1
- data/spec/dummy/db/migrate/20150603224035_add_name_to_clients_and_locations.g5_updatable.rb +3 -1
- data/spec/dummy/db/migrate/20150603224036_update_names.g5_updatable.rb +3 -1
- data/spec/dummy/db/migrate/20170613201430_add_latitude_and_longitude_to_location.g5_updatable.rb +7 -0
- data/spec/dummy/db/migrate/20170613201431_copy_lat_long_props_to_lat_long_columns.g5_updatable.rb +20 -0
- data/spec/dummy/db/migrate/20170613201432_add_latitude_longitude_indexes_to_location.g5_updatable.rb +7 -0
- data/spec/dummy/db/migrate/{20161122070749_add_amenities.rb → 20170613201433_add_amenities.g5_updatable.rb} +2 -1
- data/spec/dummy/db/migrate/{20161209070749_add_client_urn_to_locations.rb → 20170613201434_add_client_urn_to_locations.g5_updatable.rb} +2 -1
- data/spec/dummy/db/migrate/20170613201435_add_points_of_interest.g5_updatable.rb +21 -0
- data/spec/dummy/db/migrate/20170613201436_add_unique_urn_indexes.g5_updatable.rb +11 -0
- data/spec/dummy/db/schema.rb +73 -61
- data/spec/factories/post.rb +2 -0
- data/spec/features/auth_error_path_spec.rb +3 -3
- data/spec/features/default_role_authorization_spec.rb +8 -4
- data/spec/features/sign_in_spec.rb +23 -13
- data/spec/features/token_validation_spec.rb +4 -2
- data/spec/g5_authenticatable/version_spec.rb +3 -1
- data/spec/lib/generators/g5_authenticatable/install_generator_spec.rb +73 -28
- data/spec/models/g5_authenticatable/role_spec.rb +8 -4
- data/spec/models/g5_authenticatable/user_spec.rb +119 -84
- data/spec/models/post_spec.rb +4 -2
- data/spec/policies/application_policy_spec.rb +80 -47
- data/spec/policies/client_policy_spec.rb +8 -5
- data/spec/policies/location_policy_spec.rb +21 -8
- data/spec/policies/selectable_client_policy_spec.rb +26 -15
- data/spec/rails_helper.rb +41 -0
- data/spec/requests/default_role_authorization_spec.rb +18 -14
- data/spec/requests/grape_api_spec.rb +7 -5
- data/spec/requests/rails_api_spec.rb +11 -9
- data/spec/requests/sign_out_spec.rb +10 -6
- data/spec/requests/token_validation_spec.rb +9 -5
- data/spec/routing/auth_error_routing_spec.rb +7 -6
- data/spec/routing/sign_out_routing_spec.rb +7 -5
- data/spec/services/g5_authenticatable/impersonate_sessionable_spec.rb +41 -18
- data/spec/spec_helper.rb +78 -45
- data/spec/support/devise.rb +3 -1
- data/spec/support/safe_request_helpers.rb +36 -0
- data/spec/support/shared_contexts/rake.rb +10 -4
- data/spec/support/shared_examples/super_admin_authorizer.rb +3 -1
- data/spec/tasks/purge_users_spec.rb +3 -1
- metadata +75 -39
- data/spec/controllers/.gitkeep +0 -0
data/spec/support/devise.rb
CHANGED
@@ -0,0 +1,36 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Methods for submitting test requests that are safe to use
|
4
|
+
# under both rails 4.x and 5.x
|
5
|
+
module SafeRequestHelpers
|
6
|
+
def safe_get(endpoint, params = nil, headers = nil)
|
7
|
+
safe_request(:get, endpoint, params, headers)
|
8
|
+
end
|
9
|
+
|
10
|
+
def safe_post(endpoint, params = nil, headers = nil)
|
11
|
+
safe_request(:post, endpoint, params, headers)
|
12
|
+
end
|
13
|
+
|
14
|
+
def safe_put(endpoint, params = nil, headers = nil)
|
15
|
+
safe_request(:put, endpoint, params, headers)
|
16
|
+
end
|
17
|
+
|
18
|
+
def safe_delete(endpoint, params = nil, headers = nil)
|
19
|
+
safe_request(:delete, endpoint, params, headers)
|
20
|
+
end
|
21
|
+
|
22
|
+
def safe_request(method, endpoint, params, headers)
|
23
|
+
if Rails.version.starts_with?('4')
|
24
|
+
send(method, endpoint, params, headers)
|
25
|
+
else
|
26
|
+
options = { params: params }
|
27
|
+
options[:headers] = headers if headers
|
28
|
+
send(method, endpoint, **options)
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
RSpec.configure do |config|
|
34
|
+
config.include SafeRequestHelpers, type: :controller
|
35
|
+
config.include SafeRequestHelpers, type: :request
|
36
|
+
end
|
@@ -1,21 +1,27 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# Based on: http://robots.thoughtbot.com/test-rake-tasks-like-a-boss
|
2
4
|
# Modified for a non-Rails environment
|
3
5
|
require 'rake'
|
4
6
|
|
5
|
-
shared_context 'rake' do
|
7
|
+
RSpec.shared_context 'rake' do
|
6
8
|
let(:rake) { Rake::Application.new }
|
7
9
|
let(:task_name) { self.class.top_level_description }
|
8
|
-
let(:task_path)
|
10
|
+
let(:task_path) do
|
11
|
+
"lib/tasks/#{task_name.split(':').first}/#{task_name.split(':').last}"
|
12
|
+
end
|
9
13
|
let(:root_path) { File.expand_path('../../../..', __FILE__) }
|
10
14
|
subject(:task) { rake[task_name] }
|
11
15
|
|
12
16
|
def loaded_files_excluding_current_rake_file
|
13
|
-
$
|
17
|
+
$LOADED_FEATURES.reject { |file| file =~ /#{task_path}\.rake$/ }
|
14
18
|
end
|
15
19
|
|
16
20
|
before do
|
17
21
|
Rake.application = rake
|
18
|
-
Rake.application.rake_require(task_path,
|
22
|
+
Rake.application.rake_require(task_path,
|
23
|
+
[root_path],
|
24
|
+
loaded_files_excluding_current_rake_file)
|
19
25
|
Rake::Task.define_task(:environment)
|
20
26
|
end
|
21
27
|
end
|
metadata
CHANGED
@@ -1,103 +1,115 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: g5_authenticatable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0.pre.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- maeve
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: devise_g5_authenticatable
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 1.0.0.pre.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 1.0.0.pre.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: g5_authenticatable_api
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 1.0.0.pre.1
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: 1.0.0.pre.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: rolify
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: '4.0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: '4.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: pundit
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '1.0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '1.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: g5_updatable
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 0.6.0
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - ">"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 0.6.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: factory_girl_rails
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
90
|
-
type: :
|
89
|
+
version: '4.8'
|
90
|
+
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
96
|
+
version: '4.8'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: webmock
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
description: An engine that provides a basic User model, authentication logic, and
|
112
|
+
remote credential management for G5 applications.
|
101
113
|
email:
|
102
114
|
- maeve.revels@getg5.com
|
103
115
|
executables: []
|
@@ -109,6 +121,7 @@ files:
|
|
109
121
|
- ".rspec"
|
110
122
|
- ".ruby-version"
|
111
123
|
- ".travis.yml"
|
124
|
+
- Appraisals
|
112
125
|
- CHANGELOG.md
|
113
126
|
- Gemfile
|
114
127
|
- LICENSE
|
@@ -120,6 +133,7 @@ files:
|
|
120
133
|
- app/controllers/concerns/g5_authenticatable/authorization.rb
|
121
134
|
- app/controllers/g5_authenticatable/application_controller.rb
|
122
135
|
- app/controllers/g5_authenticatable/error_controller.rb
|
136
|
+
- app/controllers/g5_authenticatable/failure_app.rb
|
123
137
|
- app/controllers/g5_authenticatable/sessions_controller.rb
|
124
138
|
- app/helpers/g5_authenticatable/application_helper.rb
|
125
139
|
- app/models/g5_authenticatable/role.rb
|
@@ -137,11 +151,19 @@ files:
|
|
137
151
|
- config/locales/devise.en.yml
|
138
152
|
- config/routes.rb
|
139
153
|
- g5_authenticatable.gemspec
|
154
|
+
- gemfiles/rails_4.1.gemfile
|
155
|
+
- gemfiles/rails_4.2.gemfile
|
156
|
+
- gemfiles/rails_5.0.gemfile
|
157
|
+
- gemfiles/rails_5.1.gemfile
|
140
158
|
- lib/g5_authenticatable.rb
|
141
159
|
- lib/g5_authenticatable/engine.rb
|
142
160
|
- lib/g5_authenticatable/rspec.rb
|
143
161
|
- lib/g5_authenticatable/test/controller_helpers.rb
|
144
162
|
- lib/g5_authenticatable/test/env_helpers.rb
|
163
|
+
- lib/g5_authenticatable/test/factories/client_users.rb
|
164
|
+
- lib/g5_authenticatable/test/factories/global_users.rb
|
165
|
+
- lib/g5_authenticatable/test/factories/location_users.rb
|
166
|
+
- lib/g5_authenticatable/test/factories/roles.rb
|
145
167
|
- lib/g5_authenticatable/test/factory.rb
|
146
168
|
- lib/g5_authenticatable/test/feature_helpers.rb
|
147
169
|
- lib/g5_authenticatable/test/request_helpers.rb
|
@@ -158,9 +180,8 @@ files:
|
|
158
180
|
- lib/tasks/g5_authenticatable/purge_users.rake
|
159
181
|
- script/rails
|
160
182
|
- spec/config/application_spec.rb
|
161
|
-
- spec/controllers/.gitkeep
|
162
183
|
- spec/controllers/application_controller_spec.rb
|
163
|
-
- spec/controllers/concerns/g5_authenticatable/
|
184
|
+
- spec/controllers/concerns/g5_authenticatable/authorization_spec.rb
|
164
185
|
- spec/dummy/README.rdoc
|
165
186
|
- spec/dummy/Rakefile
|
166
187
|
- spec/dummy/app/api/secure_api.rb
|
@@ -202,6 +223,7 @@ files:
|
|
202
223
|
- spec/dummy/config/initializers/g5_authenticatable.rb
|
203
224
|
- spec/dummy/config/initializers/inflections.rb
|
204
225
|
- spec/dummy/config/initializers/mime_types.rb
|
226
|
+
- spec/dummy/config/initializers/rails_compatibility.rb
|
205
227
|
- spec/dummy/config/initializers/secret_token.rb
|
206
228
|
- spec/dummy/config/initializers/session_store.rb
|
207
229
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
@@ -216,8 +238,13 @@ files:
|
|
216
238
|
- spec/dummy/db/migrate/20150603224034_remove_integration_setting.g5_updatable.rb
|
217
239
|
- spec/dummy/db/migrate/20150603224035_add_name_to_clients_and_locations.g5_updatable.rb
|
218
240
|
- spec/dummy/db/migrate/20150603224036_update_names.g5_updatable.rb
|
219
|
-
- spec/dummy/db/migrate/
|
220
|
-
- spec/dummy/db/migrate/
|
241
|
+
- spec/dummy/db/migrate/20170613201430_add_latitude_and_longitude_to_location.g5_updatable.rb
|
242
|
+
- spec/dummy/db/migrate/20170613201431_copy_lat_long_props_to_lat_long_columns.g5_updatable.rb
|
243
|
+
- spec/dummy/db/migrate/20170613201432_add_latitude_longitude_indexes_to_location.g5_updatable.rb
|
244
|
+
- spec/dummy/db/migrate/20170613201433_add_amenities.g5_updatable.rb
|
245
|
+
- spec/dummy/db/migrate/20170613201434_add_client_urn_to_locations.g5_updatable.rb
|
246
|
+
- spec/dummy/db/migrate/20170613201435_add_points_of_interest.g5_updatable.rb
|
247
|
+
- spec/dummy/db/migrate/20170613201436_add_unique_urn_indexes.g5_updatable.rb
|
221
248
|
- spec/dummy/db/schema.rb
|
222
249
|
- spec/dummy/lib/assets/.gitkeep
|
223
250
|
- spec/dummy/log/.gitkeep
|
@@ -242,6 +269,7 @@ files:
|
|
242
269
|
- spec/policies/client_policy_spec.rb
|
243
270
|
- spec/policies/location_policy_spec.rb
|
244
271
|
- spec/policies/selectable_client_policy_spec.rb
|
272
|
+
- spec/rails_helper.rb
|
245
273
|
- spec/requests/default_role_authorization_spec.rb
|
246
274
|
- spec/requests/grape_api_spec.rb
|
247
275
|
- spec/requests/rails_api_spec.rb
|
@@ -252,6 +280,7 @@ files:
|
|
252
280
|
- spec/services/g5_authenticatable/impersonate_sessionable_spec.rb
|
253
281
|
- spec/spec_helper.rb
|
254
282
|
- spec/support/devise.rb
|
283
|
+
- spec/support/safe_request_helpers.rb
|
255
284
|
- spec/support/shared_contexts/rake.rb
|
256
285
|
- spec/support/shared_examples/super_admin_authorizer.rb
|
257
286
|
- spec/support/token_validation.rb
|
@@ -276,15 +305,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
276
305
|
version: 1.3.1
|
277
306
|
requirements: []
|
278
307
|
rubyforge_project:
|
279
|
-
rubygems_version: 2.
|
308
|
+
rubygems_version: 2.5.2
|
280
309
|
signing_key:
|
281
310
|
specification_version: 4
|
282
311
|
summary: An authentication engine for G5 applications.
|
283
312
|
test_files:
|
284
313
|
- spec/config/application_spec.rb
|
285
|
-
- spec/controllers/.gitkeep
|
286
314
|
- spec/controllers/application_controller_spec.rb
|
287
|
-
- spec/controllers/concerns/g5_authenticatable/
|
315
|
+
- spec/controllers/concerns/g5_authenticatable/authorization_spec.rb
|
288
316
|
- spec/dummy/README.rdoc
|
289
317
|
- spec/dummy/Rakefile
|
290
318
|
- spec/dummy/app/api/secure_api.rb
|
@@ -326,6 +354,7 @@ test_files:
|
|
326
354
|
- spec/dummy/config/initializers/g5_authenticatable.rb
|
327
355
|
- spec/dummy/config/initializers/inflections.rb
|
328
356
|
- spec/dummy/config/initializers/mime_types.rb
|
357
|
+
- spec/dummy/config/initializers/rails_compatibility.rb
|
329
358
|
- spec/dummy/config/initializers/secret_token.rb
|
330
359
|
- spec/dummy/config/initializers/session_store.rb
|
331
360
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
@@ -340,8 +369,13 @@ test_files:
|
|
340
369
|
- spec/dummy/db/migrate/20150603224034_remove_integration_setting.g5_updatable.rb
|
341
370
|
- spec/dummy/db/migrate/20150603224035_add_name_to_clients_and_locations.g5_updatable.rb
|
342
371
|
- spec/dummy/db/migrate/20150603224036_update_names.g5_updatable.rb
|
343
|
-
- spec/dummy/db/migrate/
|
344
|
-
- spec/dummy/db/migrate/
|
372
|
+
- spec/dummy/db/migrate/20170613201430_add_latitude_and_longitude_to_location.g5_updatable.rb
|
373
|
+
- spec/dummy/db/migrate/20170613201431_copy_lat_long_props_to_lat_long_columns.g5_updatable.rb
|
374
|
+
- spec/dummy/db/migrate/20170613201432_add_latitude_longitude_indexes_to_location.g5_updatable.rb
|
375
|
+
- spec/dummy/db/migrate/20170613201433_add_amenities.g5_updatable.rb
|
376
|
+
- spec/dummy/db/migrate/20170613201434_add_client_urn_to_locations.g5_updatable.rb
|
377
|
+
- spec/dummy/db/migrate/20170613201435_add_points_of_interest.g5_updatable.rb
|
378
|
+
- spec/dummy/db/migrate/20170613201436_add_unique_urn_indexes.g5_updatable.rb
|
345
379
|
- spec/dummy/db/schema.rb
|
346
380
|
- spec/dummy/lib/assets/.gitkeep
|
347
381
|
- spec/dummy/log/.gitkeep
|
@@ -366,6 +400,7 @@ test_files:
|
|
366
400
|
- spec/policies/client_policy_spec.rb
|
367
401
|
- spec/policies/location_policy_spec.rb
|
368
402
|
- spec/policies/selectable_client_policy_spec.rb
|
403
|
+
- spec/rails_helper.rb
|
369
404
|
- spec/requests/default_role_authorization_spec.rb
|
370
405
|
- spec/requests/grape_api_spec.rb
|
371
406
|
- spec/requests/rails_api_spec.rb
|
@@ -376,6 +411,7 @@ test_files:
|
|
376
411
|
- spec/services/g5_authenticatable/impersonate_sessionable_spec.rb
|
377
412
|
- spec/spec_helper.rb
|
378
413
|
- spec/support/devise.rb
|
414
|
+
- spec/support/safe_request_helpers.rb
|
379
415
|
- spec/support/shared_contexts/rake.rb
|
380
416
|
- spec/support/shared_examples/super_admin_authorizer.rb
|
381
417
|
- spec/support/token_validation.rb
|
data/spec/controllers/.gitkeep
DELETED
File without changes
|