phcdevworks_accounts 3.0.2 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4baa812aa382c2c5ca9a503d0b1c7596a5ae79257d9ca3af8cd699ec7fff9b2f
4
- data.tar.gz: 3c0787201c45b14496ac495da2bb22ce641811cd6f70f51cf1b3f691f63245d4
3
+ metadata.gz: 8a142c0aaf0e4e1fc0f097bf81a8afcb3a5654f88f80e2b8f74094668428b0a6
4
+ data.tar.gz: bdde23435054b4a9574ce5b3fba5efcce15399549f66065d0abe0eff62e311aa
5
5
  SHA512:
6
- metadata.gz: 341dda02ac16df7f00fcac2fefeaefb8963e02777c71021ce5563ab75c03676d62657f20ea3a1c6b3ce2707429e6c9edcd450349d0b3a38624d0f6e7dd460cbb
7
- data.tar.gz: 4d0e1b3c966d4343823df646f3b626912ca27a19d6bc159357a0960d3ecaad398c0662e741641e86efdd25a8d5d1de59bed17bcfff17d7e3b96fcf9c0ea718d5
6
+ metadata.gz: 25c7d235bd5a608bb6fd33705eeed169b49680257d00dbb66cc5183d2f0bd13673e78f7d53bf7a1151602c1780ece55f077bf0c43b3c0d0907c811a328a0fe3f
7
+ data.tar.gz: 905636dfd8eff5e83df1e76fea7214c3f8c3d3e285a7d33042bfb9c1ffbd957877618dd71c65aef40062cf9c55d26b17d94c4db3fe69b27b88335348c8465f0b
@@ -277,25 +277,25 @@
277
277
  <!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Core Modules -->
278
278
  <% end %>
279
279
 
280
+ <li class="nav-header">Administration</li>
280
281
  <% if current_user && current_user.admin? %>
281
282
  <!-- -PHC- Sidebar - Sidebar Navigation - PHCAccounts Admin Options -->
282
- <li class="nav-header">User Administration</li>
283
283
  <li class="has-sub">
284
284
  <a href="javascript:;">
285
285
  <b class="caret"></b>
286
286
  <i class="fad fa-user"></i>
287
- <span>Admin</span>
287
+ <span>User Auth</span>
288
288
  </a>
289
289
  <ul class="sub-menu">
290
290
  <li class="<%= phc_menu_active_controller("phcdevworks_accounts/admin/users") %>"><%= link_to "User List", phcdevworks_accounts.admin_users_all_path %></li>
291
291
  </ul>
292
292
  </li>
293
293
  <!-- -PHC- Sidebar - Sidebar Navigation - PHCAccounts Admin Options -->
294
- <% end %>
295
-
296
- <% if current_user %>
294
+ <% end %>
295
+
296
+ <li class="nav-header">Your Account</li>
297
+ <% if current_user %>
297
298
  <!-- -PHC- Sidebar - Sidebar Navigation - PHCAccounts User Options -->
298
- <li class="nav-header">Your Account</li>
299
299
  <li class="has-sub">
300
300
  <a href="javascript:;">
301
301
  <b class="caret"></b>
@@ -47,7 +47,7 @@
47
47
  <tbody>
48
48
  <% @admin_users.each do |user| %>
49
49
  <td><%= user.username %></td>
50
- <td><%= user.email %> <%= user.email %></td>
50
+ <td><%= user.firstname %> <%= user.lastname %></td>
51
51
  <td><%= user.email %></td>
52
52
  <% end %>
53
53
  </tbody>
data/config/spring.rb ADDED
@@ -0,0 +1,2 @@
1
+ Spring.application_root = './spec/test_app'
2
+
@@ -29,9 +29,10 @@ module PhcdevworksAccounts
29
29
  # Mailer Dependencies
30
30
  require "mail_form"
31
31
 
32
- # Security Dependencies
32
+ # Security & Payment Dependencies
33
33
  require "devise"
34
34
  require "simple_token_authentication"
35
+ require "stripe"
35
36
 
36
37
  # Plugin Namespace
37
38
  isolate_namespace PhcdevworksAccounts
@@ -1,3 +1,3 @@
1
1
  module PhcdevworksAccounts
2
- VERSION = "3.0.2"
2
+ VERSION = "3.1.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcdevworks_accounts
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - PHCDevworks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-11 00:00:00.000000000 Z
11
+ date: 2021-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -17,9 +17,6 @@ dependencies:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '6.1'
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: 6.1.1
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
@@ -27,9 +24,6 @@ dependencies:
27
24
  - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: '6.1'
30
- - - ">="
31
- - !ruby/object:Gem::Version
32
- version: 6.1.1
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: jbuilder
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -93,9 +87,6 @@ dependencies:
93
87
  - - "~>"
94
88
  - !ruby/object:Gem::Version
95
89
  version: '2.2'
96
- - - ">="
97
- - !ruby/object:Gem::Version
98
- version: 2.2.1
99
90
  type: :runtime
100
91
  prerelease: false
101
92
  version_requirements: !ruby/object:Gem::Requirement
@@ -103,9 +94,6 @@ dependencies:
103
94
  - - "~>"
104
95
  - !ruby/object:Gem::Version
105
96
  version: '2.2'
106
- - - ">="
107
- - !ruby/object:Gem::Version
108
- version: 2.2.1
109
97
  - !ruby/object:Gem::Dependency
110
98
  name: phcdevworks_core
111
99
  requirement: !ruby/object:Gem::Requirement
@@ -113,9 +101,6 @@ dependencies:
113
101
  - - "~>"
114
102
  - !ruby/object:Gem::Version
115
103
  version: '2.2'
116
- - - ">="
117
- - !ruby/object:Gem::Version
118
- version: 2.2.1
119
104
  type: :runtime
120
105
  prerelease: false
121
106
  version_requirements: !ruby/object:Gem::Requirement
@@ -123,9 +108,6 @@ dependencies:
123
108
  - - "~>"
124
109
  - !ruby/object:Gem::Version
125
110
  version: '2.2'
126
- - - ">="
127
- - !ruby/object:Gem::Version
128
- version: 2.2.1
129
111
  - !ruby/object:Gem::Dependency
130
112
  name: phcdevworks_notifications
131
113
  requirement: !ruby/object:Gem::Requirement
@@ -133,9 +115,6 @@ dependencies:
133
115
  - - "~>"
134
116
  - !ruby/object:Gem::Version
135
117
  version: '2.2'
136
- - - ">="
137
- - !ruby/object:Gem::Version
138
- version: 2.2.1
139
118
  type: :runtime
140
119
  prerelease: false
141
120
  version_requirements: !ruby/object:Gem::Requirement
@@ -143,9 +122,6 @@ dependencies:
143
122
  - - "~>"
144
123
  - !ruby/object:Gem::Version
145
124
  version: '2.2'
146
- - - ">="
147
- - !ruby/object:Gem::Version
148
- version: 2.2.1
149
125
  - !ruby/object:Gem::Dependency
150
126
  name: phcdevworks_titleseo
151
127
  requirement: !ruby/object:Gem::Requirement
@@ -153,9 +129,6 @@ dependencies:
153
129
  - - "~>"
154
130
  - !ruby/object:Gem::Version
155
131
  version: '3.2'
156
- - - ">="
157
- - !ruby/object:Gem::Version
158
- version: 3.2.1
159
132
  type: :runtime
160
133
  prerelease: false
161
134
  version_requirements: !ruby/object:Gem::Requirement
@@ -163,9 +136,6 @@ dependencies:
163
136
  - - "~>"
164
137
  - !ruby/object:Gem::Version
165
138
  version: '3.2'
166
- - - ">="
167
- - !ruby/object:Gem::Version
168
- version: 3.2.1
169
139
  - !ruby/object:Gem::Dependency
170
140
  name: wicked
171
141
  requirement: !ruby/object:Gem::Requirement
@@ -228,14 +198,14 @@ dependencies:
228
198
  requirements:
229
199
  - - "~>"
230
200
  - !ruby/object:Gem::Version
231
- version: '1.88'
201
+ version: '1.89'
232
202
  type: :runtime
233
203
  prerelease: false
234
204
  version_requirements: !ruby/object:Gem::Requirement
235
205
  requirements:
236
206
  - - "~>"
237
207
  - !ruby/object:Gem::Version
238
- version: '1.88'
208
+ version: '1.89'
239
209
  - !ruby/object:Gem::Dependency
240
210
  name: google-cloud-storage
241
211
  requirement: !ruby/object:Gem::Requirement
@@ -292,6 +262,76 @@ dependencies:
292
262
  - - "~>"
293
263
  - !ruby/object:Gem::Version
294
264
  version: '1.17'
265
+ - !ruby/object:Gem::Dependency
266
+ name: stripe
267
+ requirement: !ruby/object:Gem::Requirement
268
+ requirements:
269
+ - - "~>"
270
+ - !ruby/object:Gem::Version
271
+ version: '5.30'
272
+ type: :runtime
273
+ prerelease: false
274
+ version_requirements: !ruby/object:Gem::Requirement
275
+ requirements:
276
+ - - "~>"
277
+ - !ruby/object:Gem::Version
278
+ version: '5.30'
279
+ - !ruby/object:Gem::Dependency
280
+ name: factory_bot_rails
281
+ requirement: !ruby/object:Gem::Requirement
282
+ requirements:
283
+ - - "~>"
284
+ - !ruby/object:Gem::Version
285
+ version: '6.1'
286
+ type: :development
287
+ prerelease: false
288
+ version_requirements: !ruby/object:Gem::Requirement
289
+ requirements:
290
+ - - "~>"
291
+ - !ruby/object:Gem::Version
292
+ version: '6.1'
293
+ - !ruby/object:Gem::Dependency
294
+ name: rspec-rails
295
+ requirement: !ruby/object:Gem::Requirement
296
+ requirements:
297
+ - - "~>"
298
+ - !ruby/object:Gem::Version
299
+ version: '4.1'
300
+ type: :development
301
+ prerelease: false
302
+ version_requirements: !ruby/object:Gem::Requirement
303
+ requirements:
304
+ - - "~>"
305
+ - !ruby/object:Gem::Version
306
+ version: '4.1'
307
+ - !ruby/object:Gem::Dependency
308
+ name: spring
309
+ requirement: !ruby/object:Gem::Requirement
310
+ requirements:
311
+ - - "~>"
312
+ - !ruby/object:Gem::Version
313
+ version: '2.1'
314
+ type: :development
315
+ prerelease: false
316
+ version_requirements: !ruby/object:Gem::Requirement
317
+ requirements:
318
+ - - "~>"
319
+ - !ruby/object:Gem::Version
320
+ version: '2.1'
321
+ - !ruby/object:Gem::Dependency
322
+ name: spring-commands-rspec
323
+ requirement: !ruby/object:Gem::Requirement
324
+ requirements:
325
+ - - "~>"
326
+ - !ruby/object:Gem::Version
327
+ version: '1.0'
328
+ type: :development
329
+ prerelease: false
330
+ version_requirements: !ruby/object:Gem::Requirement
331
+ requirements:
332
+ - - "~>"
333
+ - !ruby/object:Gem::Version
334
+ version: '1.0'
295
335
  - !ruby/object:Gem::Dependency
296
336
  name: sqlite3
297
337
  requirement: !ruby/object:Gem::Requirement
@@ -368,6 +408,7 @@ files:
368
408
  - config/initializers/devise.rb
369
409
  - config/locales/devise.en.yml
370
410
  - config/routes.rb
411
+ - config/spring.rb
371
412
  - db/migrate/20191012042035_devise_create_phcdevworks_accounts_users.rb
372
413
  - db/migrate/20191012060241_add_userinfo_to_users.rb
373
414
  - db/migrate/20191012060308_add_role_to_users.rb