phcmemberspro 49.0.0 → 50.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/README.md +1 -1
- data/Rakefile +1 -3
- data/lib/phcmemberspro.rb +1 -0
- data/lib/phcmemberspro/engine.rb +1 -2
- data/lib/phcmemberspro/version.rb +1 -1
- metadata +79 -118
- data/config/initializers/devise.rb +0 -287
- data/config/initializers/friendly_id.rb +0 -92
- data/config/initializers/locale.rb +0 -10
- data/config/initializers/paper_trail.rb +0 -1
- data/config/locales/devise.en.yml +0 -64
- data/config/locales/en.yml +0 -9
- data/db/migrate/20160728230720_create_phcmemberspro_directory_categories.rb +0 -16
- data/db/migrate/20160728230830_create_phcmemberspro_directory_categorylistings.rb +0 -17
- data/db/migrate/20160728230901_create_phcmemberspro_member_addresses.rb +0 -24
- data/db/migrate/20160728231011_create_phcmemberspro_member_listings.rb +0 -28
- data/db/migrate/20160728231036_create_phcmemberspro_member_profiles.rb +0 -21
- data/db/migrate/20170509002355_create_phcmemberspro_friendly_id_slugs.rb +0 -18
- data/db/migrate/20170517064030_create_phcmemberspro_profile_versions.rb +0 -17
- data/db/migrate/20170517064049_create_phcmemberspro_listing_versions.rb +0 -17
- data/db/migrate/20170517064114_create_phcmemberspro_address_versions.rb +0 -16
- data/db/migrate/20170517064208_create_phcmemberspro_categorylisting_versions.rb +0 -16
- data/db/migrate/20170517064427_create_phcmemberspro_category_versions.rb +0 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4d4d979b44d30b80d302cfe0b2a518ae23948101d0ffaff94ec484c2bb3e2da
|
4
|
+
data.tar.gz: 7da9e1510670fdaeac570ba547f2004754719537e37aa1edc49eddff46237b46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04d019db481b8185e928420f7597e1c245ec4a489fc622e0fb11b8d55cc1e95ce7b05f7c6e33cce50d3dfbb82737229aebcd4249ee67b68f4b16ce5aea1d6231
|
7
|
+
data.tar.gz: a06648e57347a18df626872286e6fd4a1cebc6138991835121f7ff1580785d45eef25cf291817c40cc528bef9402d0348c3e8804bedc12440d0805194c97a7f5
|
data/MIT-LICENSE
CHANGED
data/README.md
CHANGED
@@ -8,7 +8,7 @@ PHCMembers(Pro) rails engine to manage membership information and directory list
|
|
8
8
|
|
9
9
|
#### Step 1 - Add PHCMembers(Pro) to your gemfile and run command
|
10
10
|
|
11
|
-
gem 'phcmemberspro', '~>
|
11
|
+
gem 'phcmemberspro', '~> 50.0'
|
12
12
|
bundle install
|
13
13
|
|
14
14
|
#### Step 2 - Add PHCMembers(Pro) & PHCAccounts(Pro) Database Tables
|
data/Rakefile
CHANGED
@@ -1,12 +1,10 @@
|
|
1
1
|
begin
|
2
2
|
require 'bundler/setup'
|
3
|
-
|
4
3
|
rescue LoadError
|
5
4
|
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
6
5
|
end
|
7
6
|
|
8
7
|
require 'rdoc/task'
|
9
|
-
|
10
8
|
RDoc::Task.new(:rdoc) do |rdoc|
|
11
9
|
rdoc.rdoc_dir = 'rdoc'
|
12
10
|
rdoc.title = 'Phcmemberspro'
|
@@ -15,7 +13,7 @@ RDoc::Task.new(:rdoc) do |rdoc|
|
|
15
13
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
16
14
|
end
|
17
15
|
|
18
|
-
APP_RAKEFILE = File.expand_path("
|
16
|
+
APP_RAKEFILE = File.expand_path("spec/test_app/Rakefile", __dir__)
|
19
17
|
load 'rails/tasks/engine.rake'
|
20
18
|
load 'rails/tasks/statistics.rake'
|
21
19
|
require 'bundler/gem_tasks'
|
data/lib/phcmemberspro.rb
CHANGED
data/lib/phcmemberspro/engine.rb
CHANGED
@@ -2,8 +2,8 @@ module Phcmemberspro
|
|
2
2
|
class Engine < ::Rails::Engine
|
3
3
|
|
4
4
|
# Main Dependencies
|
5
|
+
require 'phcaccountspro'
|
5
6
|
require 'paper_trail'
|
6
|
-
require 'phcaccountspro'
|
7
7
|
|
8
8
|
# PHCEngines & Theme Dependencies
|
9
9
|
require 'phcnotifi'
|
@@ -53,7 +53,6 @@ module Phcmemberspro
|
|
53
53
|
|
54
54
|
# Load Requried Helper Files
|
55
55
|
config.to_prepare do
|
56
|
-
Phcaccountspro::ApplicationController.helper(ApplicationHelper)
|
57
56
|
Phcnotifi::ApplicationController.helper(ApplicationHelper)
|
58
57
|
Phctitleseo::ApplicationController.helper(ApplicationHelper)
|
59
58
|
end
|
metadata
CHANGED
@@ -1,351 +1,343 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phcmemberspro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 50.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BradPotts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05-
|
11
|
+
date: 2018-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '5.2'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 5.2.0
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
27
|
- - "~>"
|
25
28
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
29
|
+
version: '5.2'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 5.2.0
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
34
|
+
name: phcadmin1
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
37
|
- - "~>"
|
32
38
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
39
|
+
version: '26.0'
|
34
40
|
type: :runtime
|
35
41
|
prerelease: false
|
36
42
|
version_requirements: !ruby/object:Gem::Requirement
|
37
43
|
requirements:
|
38
44
|
- - "~>"
|
39
45
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
46
|
+
version: '26.0'
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
48
|
+
name: phcadmin2
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
44
50
|
requirements:
|
45
51
|
- - "~>"
|
46
52
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
53
|
+
version: '26.0'
|
48
54
|
type: :runtime
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
51
57
|
requirements:
|
52
58
|
- - "~>"
|
53
59
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
60
|
+
version: '26.0'
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
62
|
+
name: phcadmin3
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
58
64
|
requirements:
|
59
65
|
- - "~>"
|
60
66
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
67
|
+
version: '21.0'
|
62
68
|
type: :runtime
|
63
69
|
prerelease: false
|
64
70
|
version_requirements: !ruby/object:Gem::Requirement
|
65
71
|
requirements:
|
66
72
|
- - "~>"
|
67
73
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
74
|
+
version: '21.0'
|
69
75
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
76
|
+
name: phcadmin4
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
72
78
|
requirements:
|
73
79
|
- - "~>"
|
74
80
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
81
|
+
version: '3.0'
|
76
82
|
type: :runtime
|
77
83
|
prerelease: false
|
78
84
|
version_requirements: !ruby/object:Gem::Requirement
|
79
85
|
requirements:
|
80
86
|
- - "~>"
|
81
87
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
88
|
+
version: '3.0'
|
83
89
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
90
|
+
name: phcadmin5
|
85
91
|
requirement: !ruby/object:Gem::Requirement
|
86
92
|
requirements:
|
87
93
|
- - "~>"
|
88
94
|
- !ruby/object:Gem::Version
|
89
|
-
version: '3.
|
95
|
+
version: '3.0'
|
90
96
|
type: :runtime
|
91
97
|
prerelease: false
|
92
98
|
version_requirements: !ruby/object:Gem::Requirement
|
93
99
|
requirements:
|
94
100
|
- - "~>"
|
95
101
|
- !ruby/object:Gem::Version
|
96
|
-
version: '3.
|
102
|
+
version: '3.0'
|
97
103
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
104
|
+
name: phctheme2
|
99
105
|
requirement: !ruby/object:Gem::Requirement
|
100
106
|
requirements:
|
101
107
|
- - "~>"
|
102
108
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
109
|
+
version: '21.0'
|
104
110
|
type: :runtime
|
105
111
|
prerelease: false
|
106
112
|
version_requirements: !ruby/object:Gem::Requirement
|
107
113
|
requirements:
|
108
114
|
- - "~>"
|
109
115
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
116
|
+
version: '21.0'
|
111
117
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
118
|
+
name: phctheme1
|
113
119
|
requirement: !ruby/object:Gem::Requirement
|
114
120
|
requirements:
|
115
121
|
- - "~>"
|
116
122
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
123
|
+
version: '32.0'
|
118
124
|
type: :runtime
|
119
125
|
prerelease: false
|
120
126
|
version_requirements: !ruby/object:Gem::Requirement
|
121
127
|
requirements:
|
122
128
|
- - "~>"
|
123
129
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
130
|
+
version: '32.0'
|
125
131
|
- !ruby/object:Gem::Dependency
|
126
132
|
name: phcnotifi
|
127
133
|
requirement: !ruby/object:Gem::Requirement
|
128
134
|
requirements:
|
129
135
|
- - "~>"
|
130
136
|
- !ruby/object:Gem::Version
|
131
|
-
version: '
|
137
|
+
version: '23.0'
|
132
138
|
type: :runtime
|
133
139
|
prerelease: false
|
134
140
|
version_requirements: !ruby/object:Gem::Requirement
|
135
141
|
requirements:
|
136
142
|
- - "~>"
|
137
143
|
- !ruby/object:Gem::Version
|
138
|
-
version: '
|
144
|
+
version: '23.0'
|
139
145
|
- !ruby/object:Gem::Dependency
|
140
146
|
name: phctitleseo
|
141
147
|
requirement: !ruby/object:Gem::Requirement
|
142
148
|
requirements:
|
143
149
|
- - "~>"
|
144
150
|
- !ruby/object:Gem::Version
|
145
|
-
version: '
|
146
|
-
type: :runtime
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - "~>"
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '23.1'
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: httparty
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - "~>"
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: 0.16.2
|
151
|
+
version: '24.0'
|
160
152
|
type: :runtime
|
161
153
|
prerelease: false
|
162
154
|
version_requirements: !ruby/object:Gem::Requirement
|
163
155
|
requirements:
|
164
156
|
- - "~>"
|
165
157
|
- !ruby/object:Gem::Version
|
166
|
-
version: 0
|
158
|
+
version: '24.0'
|
167
159
|
- !ruby/object:Gem::Dependency
|
168
|
-
name:
|
160
|
+
name: country_select
|
169
161
|
requirement: !ruby/object:Gem::Requirement
|
170
162
|
requirements:
|
171
163
|
- - "~>"
|
172
164
|
- !ruby/object:Gem::Version
|
173
|
-
version: '1
|
165
|
+
version: '3.1'
|
174
166
|
type: :runtime
|
175
167
|
prerelease: false
|
176
168
|
version_requirements: !ruby/object:Gem::Requirement
|
177
169
|
requirements:
|
178
170
|
- - "~>"
|
179
171
|
- !ruby/object:Gem::Version
|
180
|
-
version: '1
|
172
|
+
version: '3.1'
|
181
173
|
- !ruby/object:Gem::Dependency
|
182
|
-
name:
|
174
|
+
name: friendly_id
|
183
175
|
requirement: !ruby/object:Gem::Requirement
|
184
176
|
requirements:
|
185
177
|
- - "~>"
|
186
178
|
- !ruby/object:Gem::Version
|
187
|
-
version: '
|
179
|
+
version: '5.2'
|
188
180
|
type: :runtime
|
189
181
|
prerelease: false
|
190
182
|
version_requirements: !ruby/object:Gem::Requirement
|
191
183
|
requirements:
|
192
184
|
- - "~>"
|
193
185
|
- !ruby/object:Gem::Version
|
194
|
-
version: '
|
186
|
+
version: '5.2'
|
195
187
|
- !ruby/object:Gem::Dependency
|
196
|
-
name:
|
188
|
+
name: gravtastic
|
197
189
|
requirement: !ruby/object:Gem::Requirement
|
198
190
|
requirements:
|
199
191
|
- - "~>"
|
200
192
|
- !ruby/object:Gem::Version
|
201
|
-
version:
|
193
|
+
version: '3.2'
|
202
194
|
type: :runtime
|
203
195
|
prerelease: false
|
204
196
|
version_requirements: !ruby/object:Gem::Requirement
|
205
197
|
requirements:
|
206
198
|
- - "~>"
|
207
199
|
- !ruby/object:Gem::Version
|
208
|
-
version:
|
200
|
+
version: '3.2'
|
209
201
|
- !ruby/object:Gem::Dependency
|
210
|
-
name:
|
202
|
+
name: carrierwave
|
211
203
|
requirement: !ruby/object:Gem::Requirement
|
212
204
|
requirements:
|
213
205
|
- - "~>"
|
214
206
|
- !ruby/object:Gem::Version
|
215
|
-
version: '2
|
207
|
+
version: '1.2'
|
216
208
|
type: :runtime
|
217
209
|
prerelease: false
|
218
210
|
version_requirements: !ruby/object:Gem::Requirement
|
219
211
|
requirements:
|
220
212
|
- - "~>"
|
221
213
|
- !ruby/object:Gem::Version
|
222
|
-
version: '2
|
214
|
+
version: '1.2'
|
223
215
|
- !ruby/object:Gem::Dependency
|
224
|
-
name:
|
216
|
+
name: cloudinary
|
225
217
|
requirement: !ruby/object:Gem::Requirement
|
226
218
|
requirements:
|
227
219
|
- - "~>"
|
228
220
|
- !ruby/object:Gem::Version
|
229
|
-
version: '1.
|
221
|
+
version: '1.9'
|
230
222
|
type: :runtime
|
231
223
|
prerelease: false
|
232
224
|
version_requirements: !ruby/object:Gem::Requirement
|
233
225
|
requirements:
|
234
226
|
- - "~>"
|
235
227
|
- !ruby/object:Gem::Version
|
236
|
-
version: '1.
|
228
|
+
version: '1.9'
|
237
229
|
- !ruby/object:Gem::Dependency
|
238
|
-
name:
|
230
|
+
name: httparty
|
239
231
|
requirement: !ruby/object:Gem::Requirement
|
240
232
|
requirements:
|
241
233
|
- - "~>"
|
242
234
|
- !ruby/object:Gem::Version
|
243
|
-
version:
|
235
|
+
version: 0.16.2
|
244
236
|
type: :runtime
|
245
237
|
prerelease: false
|
246
238
|
version_requirements: !ruby/object:Gem::Requirement
|
247
239
|
requirements:
|
248
240
|
- - "~>"
|
249
241
|
- !ruby/object:Gem::Version
|
250
|
-
version:
|
242
|
+
version: 0.16.2
|
251
243
|
- !ruby/object:Gem::Dependency
|
252
|
-
name:
|
244
|
+
name: multi_json
|
253
245
|
requirement: !ruby/object:Gem::Requirement
|
254
246
|
requirements:
|
255
247
|
- - "~>"
|
256
248
|
- !ruby/object:Gem::Version
|
257
|
-
version: '
|
249
|
+
version: '1.13'
|
258
250
|
type: :runtime
|
259
251
|
prerelease: false
|
260
252
|
version_requirements: !ruby/object:Gem::Requirement
|
261
253
|
requirements:
|
262
254
|
- - "~>"
|
263
255
|
- !ruby/object:Gem::Version
|
264
|
-
version: '
|
256
|
+
version: '1.13'
|
265
257
|
- !ruby/object:Gem::Dependency
|
266
|
-
name:
|
258
|
+
name: oj
|
267
259
|
requirement: !ruby/object:Gem::Requirement
|
268
260
|
requirements:
|
269
261
|
- - "~>"
|
270
262
|
- !ruby/object:Gem::Version
|
271
|
-
version: '
|
263
|
+
version: '3.6'
|
272
264
|
type: :runtime
|
273
265
|
prerelease: false
|
274
266
|
version_requirements: !ruby/object:Gem::Requirement
|
275
267
|
requirements:
|
276
268
|
- - "~>"
|
277
269
|
- !ruby/object:Gem::Version
|
278
|
-
version: '
|
270
|
+
version: '3.6'
|
279
271
|
- !ruby/object:Gem::Dependency
|
280
|
-
name:
|
272
|
+
name: rabl
|
281
273
|
requirement: !ruby/object:Gem::Requirement
|
282
274
|
requirements:
|
283
275
|
- - "~>"
|
284
276
|
- !ruby/object:Gem::Version
|
285
|
-
version:
|
277
|
+
version: 0.13.1
|
286
278
|
type: :runtime
|
287
279
|
prerelease: false
|
288
280
|
version_requirements: !ruby/object:Gem::Requirement
|
289
281
|
requirements:
|
290
282
|
- - "~>"
|
291
283
|
- !ruby/object:Gem::Version
|
292
|
-
version:
|
284
|
+
version: 0.13.1
|
293
285
|
- !ruby/object:Gem::Dependency
|
294
|
-
name:
|
286
|
+
name: responders
|
295
287
|
requirement: !ruby/object:Gem::Requirement
|
296
288
|
requirements:
|
297
289
|
- - "~>"
|
298
290
|
- !ruby/object:Gem::Version
|
299
|
-
version: '
|
291
|
+
version: '2.4'
|
300
292
|
type: :runtime
|
301
293
|
prerelease: false
|
302
294
|
version_requirements: !ruby/object:Gem::Requirement
|
303
295
|
requirements:
|
304
296
|
- - "~>"
|
305
297
|
- !ruby/object:Gem::Version
|
306
|
-
version: '
|
298
|
+
version: '2.4'
|
307
299
|
- !ruby/object:Gem::Dependency
|
308
|
-
name:
|
300
|
+
name: pg
|
309
301
|
requirement: !ruby/object:Gem::Requirement
|
310
302
|
requirements:
|
311
303
|
- - "~>"
|
312
304
|
- !ruby/object:Gem::Version
|
313
|
-
version:
|
305
|
+
version: 0.21.0
|
314
306
|
type: :runtime
|
315
307
|
prerelease: false
|
316
308
|
version_requirements: !ruby/object:Gem::Requirement
|
317
309
|
requirements:
|
318
310
|
- - "~>"
|
319
311
|
- !ruby/object:Gem::Version
|
320
|
-
version:
|
312
|
+
version: 0.21.0
|
321
313
|
- !ruby/object:Gem::Dependency
|
322
|
-
name:
|
314
|
+
name: phcaccounts
|
323
315
|
requirement: !ruby/object:Gem::Requirement
|
324
316
|
requirements:
|
325
317
|
- - "~>"
|
326
318
|
- !ruby/object:Gem::Version
|
327
|
-
version: '
|
319
|
+
version: '6.0'
|
328
320
|
type: :runtime
|
329
321
|
prerelease: false
|
330
322
|
version_requirements: !ruby/object:Gem::Requirement
|
331
323
|
requirements:
|
332
324
|
- - "~>"
|
333
325
|
- !ruby/object:Gem::Version
|
334
|
-
version: '
|
326
|
+
version: '6.0'
|
335
327
|
- !ruby/object:Gem::Dependency
|
336
|
-
name:
|
328
|
+
name: rspec-rails
|
337
329
|
requirement: !ruby/object:Gem::Requirement
|
338
330
|
requirements:
|
339
331
|
- - "~>"
|
340
332
|
- !ruby/object:Gem::Version
|
341
|
-
version: '
|
342
|
-
type: :
|
333
|
+
version: '3.7'
|
334
|
+
type: :development
|
343
335
|
prerelease: false
|
344
336
|
version_requirements: !ruby/object:Gem::Requirement
|
345
337
|
requirements:
|
346
338
|
- - "~>"
|
347
339
|
- !ruby/object:Gem::Version
|
348
|
-
version: '
|
340
|
+
version: '3.7'
|
349
341
|
- !ruby/object:Gem::Dependency
|
350
342
|
name: byebug
|
351
343
|
requirement: !ruby/object:Gem::Requirement
|
@@ -374,20 +366,6 @@ dependencies:
|
|
374
366
|
- - "~>"
|
375
367
|
- !ruby/object:Gem::Version
|
376
368
|
version: '3.1'
|
377
|
-
- !ruby/object:Gem::Dependency
|
378
|
-
name: database_cleaner
|
379
|
-
requirement: !ruby/object:Gem::Requirement
|
380
|
-
requirements:
|
381
|
-
- - "~>"
|
382
|
-
- !ruby/object:Gem::Version
|
383
|
-
version: '1.7'
|
384
|
-
type: :development
|
385
|
-
prerelease: false
|
386
|
-
version_requirements: !ruby/object:Gem::Requirement
|
387
|
-
requirements:
|
388
|
-
- - "~>"
|
389
|
-
- !ruby/object:Gem::Version
|
390
|
-
version: '1.7'
|
391
369
|
- !ruby/object:Gem::Dependency
|
392
370
|
name: factory_bot_rails
|
393
371
|
requirement: !ruby/object:Gem::Requirement
|
@@ -431,19 +409,19 @@ dependencies:
|
|
431
409
|
- !ruby/object:Gem::Version
|
432
410
|
version: '2.4'
|
433
411
|
- !ruby/object:Gem::Dependency
|
434
|
-
name:
|
412
|
+
name: database_cleaner
|
435
413
|
requirement: !ruby/object:Gem::Requirement
|
436
414
|
requirements:
|
437
415
|
- - "~>"
|
438
416
|
- !ruby/object:Gem::Version
|
439
|
-
version: '
|
417
|
+
version: '1.7'
|
440
418
|
type: :development
|
441
419
|
prerelease: false
|
442
420
|
version_requirements: !ruby/object:Gem::Requirement
|
443
421
|
requirements:
|
444
422
|
- - "~>"
|
445
423
|
- !ruby/object:Gem::Version
|
446
|
-
version: '
|
424
|
+
version: '1.7'
|
447
425
|
- !ruby/object:Gem::Dependency
|
448
426
|
name: selenium-webdriver
|
449
427
|
requirement: !ruby/object:Gem::Requirement
|
@@ -633,24 +611,7 @@ files:
|
|
633
611
|
- app/views/phcmemberspro/member/profiles/new.html.erb
|
634
612
|
- app/views/phcmemberspro/member/profiles/show.html.erb
|
635
613
|
- app/views/phcmemberspro/modules/dashboards/index.html.erb
|
636
|
-
- config/initializers/devise.rb
|
637
|
-
- config/initializers/friendly_id.rb
|
638
|
-
- config/initializers/locale.rb
|
639
|
-
- config/initializers/paper_trail.rb
|
640
|
-
- config/locales/devise.en.yml
|
641
|
-
- config/locales/en.yml
|
642
614
|
- config/routes.rb
|
643
|
-
- db/migrate/20160728230720_create_phcmemberspro_directory_categories.rb
|
644
|
-
- db/migrate/20160728230830_create_phcmemberspro_directory_categorylistings.rb
|
645
|
-
- db/migrate/20160728230901_create_phcmemberspro_member_addresses.rb
|
646
|
-
- db/migrate/20160728231011_create_phcmemberspro_member_listings.rb
|
647
|
-
- db/migrate/20160728231036_create_phcmemberspro_member_profiles.rb
|
648
|
-
- db/migrate/20170509002355_create_phcmemberspro_friendly_id_slugs.rb
|
649
|
-
- db/migrate/20170517064030_create_phcmemberspro_profile_versions.rb
|
650
|
-
- db/migrate/20170517064049_create_phcmemberspro_listing_versions.rb
|
651
|
-
- db/migrate/20170517064114_create_phcmemberspro_address_versions.rb
|
652
|
-
- db/migrate/20170517064208_create_phcmemberspro_categorylisting_versions.rb
|
653
|
-
- db/migrate/20170517064427_create_phcmemberspro_category_versions.rb
|
654
615
|
- lib/phcmemberspro.rb
|
655
616
|
- lib/phcmemberspro/engine.rb
|
656
617
|
- lib/phcmemberspro/version.rb
|
@@ -1,287 +0,0 @@
|
|
1
|
-
# Use this hook to configure devise mailer, warden hooks and so forth.
|
2
|
-
# Many of these configuration options can be set straight in your model.
|
3
|
-
Devise.setup do |config|
|
4
|
-
# The secret key used by Devise. Devise uses this key to generate
|
5
|
-
# random tokens. Changing this key will render invalid all existing
|
6
|
-
# confirmation, reset password and unlock tokens in the database.
|
7
|
-
# Devise will use the `secret_key_base` as its `secret_key`
|
8
|
-
# by default. You can change it below and use your own secret key.
|
9
|
-
# config.secret_key = '528ca4f76c873a17c6411224f9a47999486f01ea90f01c40502801bee30cc569cf72039384708654df07f006b324abd68810a2b4b87ce7804f28143cec2a3038'
|
10
|
-
|
11
|
-
# ==> Mailer Configuration
|
12
|
-
# Configure the e-mail address which will be shown in Devise::Mailer,
|
13
|
-
# note that it will be overwritten if you use your own mailer class
|
14
|
-
# with default "from" parameter.
|
15
|
-
config.mailer_sender = 'please-change-me-at-config-initializers-devise@example.com'
|
16
|
-
|
17
|
-
# Configure the class responsible to send e-mails.
|
18
|
-
# config.mailer = 'Devise::Mailer'
|
19
|
-
|
20
|
-
# Configure the parent class responsible to send e-mails.
|
21
|
-
# config.parent_mailer = 'ActionMailer::Base'
|
22
|
-
|
23
|
-
# ==> ORM configuration
|
24
|
-
# Load and configure the ORM. Supports :active_record (default) and
|
25
|
-
# :mongoid (bson_ext recommended) by default. Other ORMs may be
|
26
|
-
# available as additional gems.
|
27
|
-
require 'devise/orm/active_record'
|
28
|
-
|
29
|
-
# ==> Configuration for any authentication mechanism
|
30
|
-
# Configure which keys are used when authenticating a user. The default is
|
31
|
-
# just :email. You can configure it to use [:username, :subdomain], so for
|
32
|
-
# authenticating a user, both parameters are required. Remember that those
|
33
|
-
# parameters are used only when authenticating and not when retrieving from
|
34
|
-
# session. If you need permissions, you should implement that in a before filter.
|
35
|
-
# You can also supply a hash where the value is a boolean determining whether
|
36
|
-
# or not authentication should be aborted when the value is not present.
|
37
|
-
# config.authentication_keys = [:email]
|
38
|
-
|
39
|
-
# Configure parameters from the request object used for authentication. Each entry
|
40
|
-
# given should be a request method and it will automatically be passed to the
|
41
|
-
# find_for_authentication method and considered in your model lookup. For instance,
|
42
|
-
# if you set :request_keys to [:subdomain], :subdomain will be used on authentication.
|
43
|
-
# The same considerations mentioned for authentication_keys also apply to request_keys.
|
44
|
-
# config.request_keys = []
|
45
|
-
|
46
|
-
# Configure which authentication keys should be case-insensitive.
|
47
|
-
# These keys will be downcased upon creating or modifying a user and when used
|
48
|
-
# to authenticate or find a user. Default is :email.
|
49
|
-
config.case_insensitive_keys = [:email]
|
50
|
-
|
51
|
-
# Configure which authentication keys should have whitespace stripped.
|
52
|
-
# These keys will have whitespace before and after removed upon creating or
|
53
|
-
# modifying a user and when used to authenticate or find a user. Default is :email.
|
54
|
-
config.strip_whitespace_keys = [:email]
|
55
|
-
|
56
|
-
# Tell if authentication through request.params is enabled. True by default.
|
57
|
-
# It can be set to an array that will enable params authentication only for the
|
58
|
-
# given strategies, for example, `config.params_authenticatable = [:database]` will
|
59
|
-
# enable it only for database (email + password) authentication.
|
60
|
-
# config.params_authenticatable = true
|
61
|
-
|
62
|
-
# Tell if authentication through HTTP Auth is enabled. False by default.
|
63
|
-
# It can be set to an array that will enable http authentication only for the
|
64
|
-
# given strategies, for example, `config.http_authenticatable = [:database]` will
|
65
|
-
# enable it only for database authentication. The supported strategies are:
|
66
|
-
# :database = Support basic authentication with authentication key + password
|
67
|
-
# config.http_authenticatable = false
|
68
|
-
|
69
|
-
# If 401 status code should be returned for AJAX requests. True by default.
|
70
|
-
# config.http_authenticatable_on_xhr = true
|
71
|
-
|
72
|
-
# The realm used in Http Basic Authentication. 'Application' by default.
|
73
|
-
# config.http_authentication_realm = 'Application'
|
74
|
-
|
75
|
-
# It will change confirmation, password recovery and other workflows
|
76
|
-
# to behave the same regardless if the e-mail provided was right or wrong.
|
77
|
-
# Does not affect registerable.
|
78
|
-
# config.paranoid = true
|
79
|
-
|
80
|
-
# By default Devise will store the user in session. You can skip storage for
|
81
|
-
# particular strategies by setting this option.
|
82
|
-
# Notice that if you are skipping storage for all authentication paths, you
|
83
|
-
# may want to disable generating routes to Devise's sessions controller by
|
84
|
-
# passing skip: :sessions to `devise_for` in your config/routes.rb
|
85
|
-
config.skip_session_storage = [:http_auth]
|
86
|
-
|
87
|
-
config.parent_controller = 'Phcaccountspro::ApplicationController'
|
88
|
-
|
89
|
-
# By default, Devise cleans up the CSRF token on authentication to
|
90
|
-
# avoid CSRF token fixation attacks. This means that, when using AJAX
|
91
|
-
# requests for sign in and sign up, you need to get a new CSRF token
|
92
|
-
# from the server. You can disable this option at your own risk.
|
93
|
-
# config.clean_up_csrf_token_on_authentication = true
|
94
|
-
|
95
|
-
# When false, Devise will not attempt to reload routes on eager load.
|
96
|
-
# This can reduce the time taken to boot the app but if your application
|
97
|
-
# requires the Devise mappings to be loaded during boot time the application
|
98
|
-
# won't boot properly.
|
99
|
-
# config.reload_routes = true
|
100
|
-
|
101
|
-
# ==> Configuration for :database_authenticatable
|
102
|
-
# For bcrypt, this is the cost for hashing the password and defaults to 11. If
|
103
|
-
# using other algorithms, it sets how many times you want the password to be hashed.
|
104
|
-
#
|
105
|
-
# Limiting the stretches to just one in testing will increase the performance of
|
106
|
-
# your test suite dramatically. However, it is STRONGLY RECOMMENDED to not use
|
107
|
-
# a value less than 10 in other environments. Note that, for bcrypt (the default
|
108
|
-
# algorithm), the cost increases exponentially with the number of stretches (e.g.
|
109
|
-
# a value of 20 is already extremely slow: approx. 60 seconds for 1 calculation).
|
110
|
-
config.stretches = Rails.env.test? ? 1 : 11
|
111
|
-
|
112
|
-
# Set up a pepper to generate the hashed password.
|
113
|
-
# config.pepper = '486f9673f47f98dea13787dc463b8d59c246801b5da1b219d7cc52ea2fa7d58d1fea107b12e0a7087390ed9003b4a11ec2aaacbd6cecc433fac5453ac7cf520b'
|
114
|
-
|
115
|
-
# Send a notification to the original email when the user's email is changed.
|
116
|
-
# config.send_email_changed_notification = false
|
117
|
-
|
118
|
-
# Send a notification email when the user's password is changed.
|
119
|
-
# config.send_password_change_notification = false
|
120
|
-
|
121
|
-
# ==> Configuration for :confirmable
|
122
|
-
# A period that the user is allowed to access the website even without
|
123
|
-
# confirming their account. For instance, if set to 2.days, the user will be
|
124
|
-
# able to access the website for two days without confirming their account,
|
125
|
-
# access will be blocked just in the third day. Default is 0.days, meaning
|
126
|
-
# the user cannot access the website without confirming their account.
|
127
|
-
# config.allow_unconfirmed_access_for = 2.days
|
128
|
-
|
129
|
-
# A period that the user is allowed to confirm their account before their
|
130
|
-
# token becomes invalid. For example, if set to 3.days, the user can confirm
|
131
|
-
# their account within 3 days after the mail was sent, but on the fourth day
|
132
|
-
# their account can't be confirmed with the token any more.
|
133
|
-
# Default is nil, meaning there is no restriction on how long a user can take
|
134
|
-
# before confirming their account.
|
135
|
-
# config.confirm_within = 3.days
|
136
|
-
|
137
|
-
# If true, requires any email changes to be confirmed (exactly the same way as
|
138
|
-
# initial account confirmation) to be applied. Requires additional unconfirmed_email
|
139
|
-
# db field (see migrations). Until confirmed, new email is stored in
|
140
|
-
# unconfirmed_email column, and copied to email column on successful confirmation.
|
141
|
-
config.reconfirmable = true
|
142
|
-
|
143
|
-
# Defines which key will be used when confirming an account
|
144
|
-
# config.confirmation_keys = [:email]
|
145
|
-
|
146
|
-
# ==> Configuration for :rememberable
|
147
|
-
# The time the user will be remembered without asking for credentials again.
|
148
|
-
# config.remember_for = 2.weeks
|
149
|
-
|
150
|
-
# Invalidates all the remember me tokens when the user signs out.
|
151
|
-
config.expire_all_remember_me_on_sign_out = true
|
152
|
-
|
153
|
-
# If true, extends the user's remember period when remembered via cookie.
|
154
|
-
# config.extend_remember_period = false
|
155
|
-
|
156
|
-
# Options to be passed to the created cookie. For instance, you can set
|
157
|
-
# secure: true in order to force SSL only cookies.
|
158
|
-
# config.rememberable_options = {}
|
159
|
-
|
160
|
-
# ==> Configuration for :validatable
|
161
|
-
# Range for password length.
|
162
|
-
config.password_length = 6..128
|
163
|
-
|
164
|
-
# Email regex used to validate email formats. It simply asserts that
|
165
|
-
# one (and only one) @ exists in the given string. This is mainly
|
166
|
-
# to give user feedback and not to assert the e-mail validity.
|
167
|
-
config.email_regexp = /\A[^@\s]+@[^@\s]+\z/
|
168
|
-
|
169
|
-
# ==> Configuration for :timeoutable
|
170
|
-
# The time you want to timeout the user session without activity. After this
|
171
|
-
# time the user will be asked for credentials again. Default is 30 minutes.
|
172
|
-
# config.timeout_in = 30.minutes
|
173
|
-
|
174
|
-
# ==> Configuration for :lockable
|
175
|
-
# Defines which strategy will be used to lock an account.
|
176
|
-
# :failed_attempts = Locks an account after a number of failed attempts to sign in.
|
177
|
-
# :none = No lock strategy. You should handle locking by yourself.
|
178
|
-
# config.lock_strategy = :failed_attempts
|
179
|
-
|
180
|
-
# Defines which key will be used when locking and unlocking an account
|
181
|
-
# config.unlock_keys = [:email]
|
182
|
-
|
183
|
-
# Defines which strategy will be used to unlock an account.
|
184
|
-
# :email = Sends an unlock link to the user email
|
185
|
-
# :time = Re-enables login after a certain amount of time (see :unlock_in below)
|
186
|
-
# :both = Enables both strategies
|
187
|
-
# :none = No unlock strategy. You should handle unlocking by yourself.
|
188
|
-
# config.unlock_strategy = :both
|
189
|
-
|
190
|
-
# Number of authentication tries before locking an account if lock_strategy
|
191
|
-
# is failed attempts.
|
192
|
-
# config.maximum_attempts = 20
|
193
|
-
|
194
|
-
# Time interval to unlock the account if :time is enabled as unlock_strategy.
|
195
|
-
# config.unlock_in = 1.hour
|
196
|
-
|
197
|
-
# Warn on the last attempt before the account is locked.
|
198
|
-
# config.last_attempt_warning = true
|
199
|
-
|
200
|
-
# ==> Configuration for :recoverable
|
201
|
-
#
|
202
|
-
# Defines which key will be used when recovering the password for an account
|
203
|
-
# config.reset_password_keys = [:email]
|
204
|
-
|
205
|
-
# Time interval you can reset your password with a reset password key.
|
206
|
-
# Don't put a too small interval or your users won't have the time to
|
207
|
-
# change their passwords.
|
208
|
-
config.reset_password_within = 6.hours
|
209
|
-
|
210
|
-
# When set to false, does not sign a user in automatically after their password is
|
211
|
-
# reset. Defaults to true, so a user is signed in automatically after a reset.
|
212
|
-
# config.sign_in_after_reset_password = true
|
213
|
-
|
214
|
-
# ==> Configuration for :encryptable
|
215
|
-
# Allow you to use another hashing or encryption algorithm besides bcrypt (default).
|
216
|
-
# You can use :sha1, :sha512 or algorithms from others authentication tools as
|
217
|
-
# :clearance_sha1, :authlogic_sha512 (then you should set stretches above to 20
|
218
|
-
# for default behavior) and :restful_authentication_sha1 (then you should set
|
219
|
-
# stretches to 10, and copy REST_AUTH_SITE_KEY to pepper).
|
220
|
-
#
|
221
|
-
# Require the `devise-encryptable` gem when using anything other than bcrypt
|
222
|
-
# config.encryptor = :sha512
|
223
|
-
|
224
|
-
# ==> Scopes configuration
|
225
|
-
# Turn scoped views on. Before rendering "sessions/new", it will first check for
|
226
|
-
# "users/sessions/new". It's turned off by default because it's slower if you
|
227
|
-
# are using only default views.
|
228
|
-
config.scoped_views = true
|
229
|
-
|
230
|
-
# Configure the default scope given to Warden. By default it's the first
|
231
|
-
# devise role declared in your routes (usually :user).
|
232
|
-
config.default_scope = :user
|
233
|
-
|
234
|
-
# Set this configuration to false if you want /users/sign_out to sign out
|
235
|
-
# only the current scope. By default, Devise signs out all scopes.
|
236
|
-
config.sign_out_all_scopes = false
|
237
|
-
|
238
|
-
# ==> Navigation configuration
|
239
|
-
# Lists the formats that should be treated as navigational. Formats like
|
240
|
-
# :html, should redirect to the sign in page when the user does not have
|
241
|
-
# access, but formats like :xml or :json, should return 401.
|
242
|
-
#
|
243
|
-
# If you have any extra navigational formats, like :iphone or :mobile, you
|
244
|
-
# should add them to the navigational formats lists.
|
245
|
-
#
|
246
|
-
# The "*/*" below is required to match Internet Explorer requests.
|
247
|
-
# config.navigational_formats = ['*/*', :html]
|
248
|
-
|
249
|
-
# The default HTTP method used to sign out a resource. Default is :delete.
|
250
|
-
config.sign_out_via = :delete
|
251
|
-
|
252
|
-
# ==> OmniAuth
|
253
|
-
# Add a new OmniAuth provider. Check the wiki for more information on setting
|
254
|
-
# up on your models and hooks.
|
255
|
-
# config.omniauth :github, 'APP_ID', 'APP_SECRET', scope: 'user,public_repo'
|
256
|
-
|
257
|
-
# ==> Warden configuration
|
258
|
-
# If you want to use other strategies, that are not supported by Devise, or
|
259
|
-
# change the failure app, you can configure them inside the config.warden block.
|
260
|
-
#
|
261
|
-
# config.warden do |manager|
|
262
|
-
# manager.intercept_401 = false
|
263
|
-
# manager.default_strategies(scope: :user).unshift :some_external_strategy
|
264
|
-
# end
|
265
|
-
|
266
|
-
# ==> Mountable engine configurations
|
267
|
-
# When using Devise inside an engine, let's call it `MyEngine`, and this engine
|
268
|
-
# is mountable, there are some extra configurations to be taken into account.
|
269
|
-
#
|
270
|
-
# mount MyEngine, at: '/my_engine'
|
271
|
-
#
|
272
|
-
# The router that invoked `devise_for`, in the example above, would be:
|
273
|
-
config.router_name = :phcaccountspro
|
274
|
-
#
|
275
|
-
# When using OmniAuth, Devise cannot automatically set OmniAuth path,
|
276
|
-
# so you need to do it manually. For the users scope, it would be:
|
277
|
-
# config.omniauth_path_prefix = '/my_engine/users/auth'
|
278
|
-
|
279
|
-
Rails.application.config.to_prepare do
|
280
|
-
Devise::SessionsController.layout "phcaccountspro/devise"
|
281
|
-
Devise::RegistrationsController.layout proc{ |controller| user_signed_in? ? "phcaccountspro/application" : "phcaccountspro/devise" }
|
282
|
-
Devise::ConfirmationsController.layout "phcaccountspro/devise"
|
283
|
-
Devise::UnlocksController.layout "phcaccountspro/devise"
|
284
|
-
Devise::PasswordsController.layout "phcaccountspro/devise"
|
285
|
-
end
|
286
|
-
|
287
|
-
end
|
@@ -1,92 +0,0 @@
|
|
1
|
-
# FriendlyId Global Configuration
|
2
|
-
#
|
3
|
-
# Use this to set up shared configuration options for your entire application.
|
4
|
-
# Any of the configuration options shown here can also be applied to single
|
5
|
-
# models by passing arguments to the `friendly_id` class method or defining
|
6
|
-
# methods in your model.
|
7
|
-
#
|
8
|
-
# To learn more, check out the guide:
|
9
|
-
#
|
10
|
-
# http://norman.github.io/friendly_id/file.Guide.html
|
11
|
-
|
12
|
-
FriendlyId.defaults do |config|
|
13
|
-
# ## Reserved Words
|
14
|
-
#
|
15
|
-
# Some words could conflict with Rails's routes when used as slugs, or are
|
16
|
-
# undesirable to allow as slugs. Edit this list as needed for your app.
|
17
|
-
config.use :reserved
|
18
|
-
|
19
|
-
config.reserved_words = %w(new edit index session login logout users admin
|
20
|
-
stylesheets assets javascripts images)
|
21
|
-
|
22
|
-
# ## Friendly Finders
|
23
|
-
#
|
24
|
-
# Uncomment this to use friendly finders in all models. By default, if
|
25
|
-
# you wish to find a record by its friendly id, you must do:
|
26
|
-
#
|
27
|
-
# MyModel.friendly.find('foo')
|
28
|
-
#
|
29
|
-
# If you uncomment this, you can do:
|
30
|
-
#
|
31
|
-
# MyModel.find('foo')
|
32
|
-
#
|
33
|
-
# This is significantly more convenient but may not be appropriate for
|
34
|
-
# all applications, so you must explicity opt-in to this behavior. You can
|
35
|
-
# always also configure it on a per-model basis if you prefer.
|
36
|
-
#
|
37
|
-
# Something else to consider is that using the :finders addon boosts
|
38
|
-
# performance because it will avoid Rails-internal code that makes runtime
|
39
|
-
# calls to `Module.extend`.
|
40
|
-
#
|
41
|
-
config.use :finders
|
42
|
-
#
|
43
|
-
# ## Slugs
|
44
|
-
#
|
45
|
-
# Most applications will use the :slugged module everywhere. If you wish
|
46
|
-
# to do so, uncomment the following line.
|
47
|
-
#
|
48
|
-
config.use :slugged
|
49
|
-
#
|
50
|
-
# By default, FriendlyId's :slugged addon expects the slug column to be named
|
51
|
-
# 'slug', but you can change it if you wish.
|
52
|
-
#
|
53
|
-
# config.slug_column = 'slug'
|
54
|
-
#
|
55
|
-
# When FriendlyId can not generate a unique ID from your base method, it appends
|
56
|
-
# a UUID, separated by a single dash. You can configure the character used as the
|
57
|
-
# separator. If you're upgrading from FriendlyId 4, you may wish to replace this
|
58
|
-
# with two dashes.
|
59
|
-
#
|
60
|
-
# config.sequence_separator = '-'
|
61
|
-
#
|
62
|
-
# Note that you must use the :slugged addon **prior** to the line which
|
63
|
-
# configures the sequence separator, or else FriendlyId will raise an undefined
|
64
|
-
# method error.
|
65
|
-
#
|
66
|
-
# ## Tips and Tricks
|
67
|
-
#
|
68
|
-
# ### Controlling when slugs are generated
|
69
|
-
#
|
70
|
-
# As of FriendlyId 5.0, new slugs are generated only when the slug field is
|
71
|
-
# nil, but if you're using a column as your base method can change this
|
72
|
-
# behavior by overriding the `should_generate_new_friendly_id?` method that
|
73
|
-
# FriendlyId adds to your model. The change below makes FriendlyId 5.0 behave
|
74
|
-
# more like 4.0.
|
75
|
-
#
|
76
|
-
# config.use Module.new {
|
77
|
-
# def should_generate_new_friendly_id?
|
78
|
-
# slug.blank? || <your_column_name_here>_changed?
|
79
|
-
# end
|
80
|
-
# }
|
81
|
-
#
|
82
|
-
# FriendlyId uses Rails's `parameterize` method to generate slugs, but for
|
83
|
-
# languages that don't use the Roman alphabet, that's not usually sufficient.
|
84
|
-
# Here we use the Babosa library to transliterate Russian Cyrillic slugs to
|
85
|
-
# ASCII. If you use this, don't forget to add "babosa" to your Gemfile.
|
86
|
-
#
|
87
|
-
# config.use Module.new {
|
88
|
-
# def normalize_friendly_id(text)
|
89
|
-
# text.to_slug.normalize! :transliterations => [:russian, :latin]
|
90
|
-
# end
|
91
|
-
# }
|
92
|
-
end
|
@@ -1,10 +0,0 @@
|
|
1
|
-
# config/initializers/locale.rb
|
2
|
-
|
3
|
-
# Where the I18n library should search for translation files
|
4
|
-
I18n.load_path += Dir[Rails.root.join('lib', 'locale', '*.{rb,yml}')]
|
5
|
-
|
6
|
-
# Whitelist locales available for the application
|
7
|
-
I18n.available_locales = [:en, :pt]
|
8
|
-
|
9
|
-
# Set default locale to something other than :en
|
10
|
-
I18n.default_locale = :en
|
@@ -1 +0,0 @@
|
|
1
|
-
PaperTrail.config.track_associations = false
|
@@ -1,64 +0,0 @@
|
|
1
|
-
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n
|
2
|
-
|
3
|
-
en:
|
4
|
-
devise:
|
5
|
-
confirmations:
|
6
|
-
confirmed: "Your email address has been successfully confirmed."
|
7
|
-
send_instructions: "You will receive an email with instructions for how to confirm your email address in a few minutes."
|
8
|
-
send_paranoid_instructions: "If your email address exists in our database, you will receive an email with instructions for how to confirm your email address in a few minutes."
|
9
|
-
failure:
|
10
|
-
already_authenticated: "You are already signed in."
|
11
|
-
inactive: "Your account is not activated yet."
|
12
|
-
invalid: "Invalid %{authentication_keys} or password."
|
13
|
-
locked: "Your account is locked."
|
14
|
-
last_attempt: "You have one more attempt before your account is locked."
|
15
|
-
not_found_in_database: "Invalid %{authentication_keys} or password."
|
16
|
-
timeout: "Your session expired. Please sign in again to continue."
|
17
|
-
unauthenticated: "You need to sign in or sign up before continuing."
|
18
|
-
unconfirmed: "You have to confirm your email address before continuing."
|
19
|
-
mailer:
|
20
|
-
confirmation_instructions:
|
21
|
-
subject: "Confirmation instructions"
|
22
|
-
reset_password_instructions:
|
23
|
-
subject: "Reset password instructions"
|
24
|
-
unlock_instructions:
|
25
|
-
subject: "Unlock instructions"
|
26
|
-
email_changed:
|
27
|
-
subject: "Email Changed"
|
28
|
-
password_change:
|
29
|
-
subject: "Password Changed"
|
30
|
-
omniauth_callbacks:
|
31
|
-
failure: "Could not authenticate you from %{kind} because \"%{reason}\"."
|
32
|
-
success: "Successfully authenticated from %{kind} account."
|
33
|
-
passwords:
|
34
|
-
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."
|
35
|
-
send_instructions: "You will receive an email with instructions on how to reset your password in a few minutes."
|
36
|
-
send_paranoid_instructions: "If your email address exists in our database, you will receive a password recovery link at your email address in a few minutes."
|
37
|
-
updated: "Your password has been changed successfully. You are now signed in."
|
38
|
-
updated_not_active: "Your password has been changed successfully."
|
39
|
-
registrations:
|
40
|
-
destroyed: "Bye! Your account has been successfully cancelled. We hope to see you again soon."
|
41
|
-
signed_up: "Welcome! You have signed up successfully."
|
42
|
-
signed_up_but_inactive: "You have signed up successfully. However, we could not sign you in because your account is not yet activated."
|
43
|
-
signed_up_but_locked: "You have signed up successfully. However, we could not sign you in because your account is locked."
|
44
|
-
signed_up_but_unconfirmed: "A message with a confirmation link has been sent to your email address. Please follow the link to activate your account."
|
45
|
-
update_needs_confirmation: "You updated your account successfully, but we need to verify your new email address. Please check your email and follow the confirm link to confirm your new email address."
|
46
|
-
updated: "Your account has been updated successfully."
|
47
|
-
sessions:
|
48
|
-
signed_in: "Signed in successfully."
|
49
|
-
signed_out: "Signed out successfully."
|
50
|
-
already_signed_out: "Signed out successfully."
|
51
|
-
unlocks:
|
52
|
-
send_instructions: "You will receive an email with instructions for how to unlock your account in a few minutes."
|
53
|
-
send_paranoid_instructions: "If your account exists, you will receive an email with instructions for how to unlock it in a few minutes."
|
54
|
-
unlocked: "Your account has been unlocked successfully. Please sign in to continue."
|
55
|
-
errors:
|
56
|
-
messages:
|
57
|
-
already_confirmed: "was already confirmed, please try signing in"
|
58
|
-
confirmation_period_expired: "needs to be confirmed within %{period}, please request a new one"
|
59
|
-
expired: "has expired, please request a new one"
|
60
|
-
not_found: "not found"
|
61
|
-
not_locked: "was not locked"
|
62
|
-
not_saved:
|
63
|
-
one: "1 error prohibited this %{resource} from being saved:"
|
64
|
-
other: "%{count} errors prohibited this %{resource} from being saved:"
|
data/config/locales/en.yml
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
class CreatePhcmembersproDirectoryCategories < ActiveRecord::Migration[5.2]
|
2
|
-
def change
|
3
|
-
create_table :phcmemberspro_directory_categories do |t|
|
4
|
-
|
5
|
-
t.string :catname
|
6
|
-
|
7
|
-
t.string :slug
|
8
|
-
|
9
|
-
t.string :user_id
|
10
|
-
t.string :org_id
|
11
|
-
|
12
|
-
t.timestamps
|
13
|
-
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|
@@ -1,17 +0,0 @@
|
|
1
|
-
class CreatePhcmembersproDirectoryCategorylistings < ActiveRecord::Migration[5.2]
|
2
|
-
def change
|
3
|
-
create_table :phcmemberspro_directory_categorylistings do |t|
|
4
|
-
|
5
|
-
t.references :category
|
6
|
-
t.references :listing
|
7
|
-
|
8
|
-
t.string :slug
|
9
|
-
|
10
|
-
t.string :user_id
|
11
|
-
t.string :org_id
|
12
|
-
|
13
|
-
t.timestamps
|
14
|
-
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
@@ -1,24 +0,0 @@
|
|
1
|
-
class CreatePhcmembersproMemberAddresses < ActiveRecord::Migration[5.2]
|
2
|
-
def change
|
3
|
-
create_table :phcmemberspro_member_addresses do |t|
|
4
|
-
|
5
|
-
t.string :mcaddressl1
|
6
|
-
t.string :mcaddressl2
|
7
|
-
t.string :mccity
|
8
|
-
t.string :mcprovince
|
9
|
-
t.string :mccountry
|
10
|
-
t.string :mcpostalcode
|
11
|
-
t.string :mctype
|
12
|
-
|
13
|
-
t.references :profile
|
14
|
-
|
15
|
-
t.string :slug
|
16
|
-
|
17
|
-
t.string :user_id
|
18
|
-
t.string :org_id
|
19
|
-
|
20
|
-
t.timestamps
|
21
|
-
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
@@ -1,28 +0,0 @@
|
|
1
|
-
class CreatePhcmembersproMemberListings < ActiveRecord::Migration[5.2]
|
2
|
-
def change
|
3
|
-
create_table :phcmemberspro_member_listings do |t|
|
4
|
-
|
5
|
-
t.string :mbcompanyname
|
6
|
-
t.string :mbcontactname
|
7
|
-
t.string :mbaddressl1
|
8
|
-
t.string :mbaddressl2
|
9
|
-
t.string :mbcity
|
10
|
-
t.string :mbprovince
|
11
|
-
t.string :mbcountry
|
12
|
-
t.string :mbpostalcode
|
13
|
-
t.string :mbphone
|
14
|
-
t.string :mbcontactemail
|
15
|
-
t.string :mbwebsite
|
16
|
-
|
17
|
-
t.references :profile
|
18
|
-
|
19
|
-
t.string :slug
|
20
|
-
|
21
|
-
t.string :user_id
|
22
|
-
t.string :org_id
|
23
|
-
|
24
|
-
t.timestamps
|
25
|
-
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
@@ -1,21 +0,0 @@
|
|
1
|
-
class CreatePhcmembersproMemberProfiles < ActiveRecord::Migration[5.2]
|
2
|
-
def change
|
3
|
-
create_table :phcmemberspro_member_profiles do |t|
|
4
|
-
|
5
|
-
t.string :mfirstname
|
6
|
-
t.string :mlastname
|
7
|
-
t.string :mtitle
|
8
|
-
t.string :memail
|
9
|
-
t.string :mphone
|
10
|
-
t.string :mnotes
|
11
|
-
|
12
|
-
t.string :slug
|
13
|
-
|
14
|
-
t.string :user_id
|
15
|
-
t.string :org_id
|
16
|
-
|
17
|
-
t.timestamps
|
18
|
-
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
@@ -1,18 +0,0 @@
|
|
1
|
-
class CreatePhcmembersproFriendlyIdSlugs < ActiveRecord::Migration[5.2]
|
2
|
-
def change
|
3
|
-
|
4
|
-
create_table :phcmemberspro_friendly_id_slugs do |t|
|
5
|
-
t.string :slug, :null => false
|
6
|
-
t.integer :sluggable_id, :null => false
|
7
|
-
t.string :sluggable_type, :limit => 50
|
8
|
-
t.string :scope
|
9
|
-
t.datetime :created_at
|
10
|
-
end
|
11
|
-
|
12
|
-
add_index :phcmemberspro_friendly_id_slugs, :sluggable_id, name: 'phcmp_slugable_id'
|
13
|
-
add_index :phcmemberspro_friendly_id_slugs, [:slug, :sluggable_type], name: 'phcmp_slug_slugable_type', length: { slug: 140, sluggable_type: 50 }
|
14
|
-
add_index :phcmemberspro_friendly_id_slugs, [:slug, :sluggable_type, :scope], name: 'phcmp_slugable_type_scope', length: { slug: 70, sluggable_type: 50, scope: 70 }, unique: true
|
15
|
-
add_index :phcmemberspro_friendly_id_slugs, :sluggable_type, name: 'phcmp_slugable_type'
|
16
|
-
|
17
|
-
end
|
18
|
-
end
|
@@ -1,17 +0,0 @@
|
|
1
|
-
class CreatePhcmembersproProfileVersions < ActiveRecord::Migration[5.2]
|
2
|
-
TEXT_BYTES = 1_073_741_823
|
3
|
-
def change
|
4
|
-
|
5
|
-
create_table :phcmemberspro_profile_versions do |t|
|
6
|
-
t.string :item_type, {:null=>false}
|
7
|
-
t.integer :item_id, null: false
|
8
|
-
t.string :event, null: false
|
9
|
-
t.string :whodunnit
|
10
|
-
t.text :object, limit: TEXT_BYTES
|
11
|
-
t.datetime :created_at
|
12
|
-
end
|
13
|
-
|
14
|
-
add_index :phcmemberspro_profile_versions, %i(item_type item_id), :name => 'mempro_profile_versions'
|
15
|
-
|
16
|
-
end
|
17
|
-
end
|
@@ -1,17 +0,0 @@
|
|
1
|
-
class CreatePhcmembersproListingVersions < ActiveRecord::Migration[5.2]
|
2
|
-
TEXT_BYTES = 1_073_741_823
|
3
|
-
def change
|
4
|
-
|
5
|
-
create_table :phcmemberspro_listing_versions do |t|
|
6
|
-
t.string :item_type, {:null=>false}
|
7
|
-
t.integer :item_id, null: false
|
8
|
-
t.string :event, null: false
|
9
|
-
t.string :whodunnit
|
10
|
-
t.text :object, limit: TEXT_BYTES
|
11
|
-
t.datetime :created_at
|
12
|
-
end
|
13
|
-
|
14
|
-
add_index :phcmemberspro_listing_versions, %i(item_type item_id), :name => 'mempro_listing_versions'
|
15
|
-
|
16
|
-
end
|
17
|
-
end
|
@@ -1,16 +0,0 @@
|
|
1
|
-
class CreatePhcmembersproAddressVersions < ActiveRecord::Migration[5.2]
|
2
|
-
TEXT_BYTES = 1_073_741_823
|
3
|
-
def change
|
4
|
-
|
5
|
-
create_table :phcmemberspro_address_versions do |t|
|
6
|
-
t.string :item_type, {:null=>false}
|
7
|
-
t.integer :item_id, null: false
|
8
|
-
t.string :event, null: false
|
9
|
-
t.string :whodunnit
|
10
|
-
t.text :object, limit: TEXT_BYTES
|
11
|
-
t.datetime :created_at
|
12
|
-
end
|
13
|
-
add_index :phcmemberspro_address_versions, %i(item_type item_id), :name => 'mempro_address_versions'
|
14
|
-
|
15
|
-
end
|
16
|
-
end
|
@@ -1,16 +0,0 @@
|
|
1
|
-
class CreatePhcmembersproCategorylistingVersions < ActiveRecord::Migration[5.2]
|
2
|
-
TEXT_BYTES = 1_073_741_823
|
3
|
-
def change
|
4
|
-
|
5
|
-
create_table :phcmemberspro_categorylisting_versions do |t|
|
6
|
-
t.string :item_type, {:null=>false}
|
7
|
-
t.integer :item_id, null: false
|
8
|
-
t.string :event, null: false
|
9
|
-
t.string :whodunnit
|
10
|
-
t.text :object, limit: TEXT_BYTES
|
11
|
-
t.datetime :created_at
|
12
|
-
end
|
13
|
-
add_index :phcmemberspro_categorylisting_versions, %i(item_type item_id), :name => 'mempro_catlisting_versions'
|
14
|
-
|
15
|
-
end
|
16
|
-
end
|
@@ -1,16 +0,0 @@
|
|
1
|
-
class CreatePhcmembersproCategoryVersions < ActiveRecord::Migration[5.2]
|
2
|
-
TEXT_BYTES = 1_073_741_823
|
3
|
-
def change
|
4
|
-
|
5
|
-
create_table :phcmemberspro_category_versions do |t|
|
6
|
-
t.string :item_type, {:null=>false}
|
7
|
-
t.integer :item_id, null: false
|
8
|
-
t.string :event, null: false
|
9
|
-
t.string :whodunnit
|
10
|
-
t.text :object, limit: TEXT_BYTES
|
11
|
-
t.datetime :created_at
|
12
|
-
end
|
13
|
-
add_index :phcmemberspro_category_versions, %i(item_type item_id), :name => 'mempro_category_versions'
|
14
|
-
|
15
|
-
end
|
16
|
-
end
|