phcdevworks_accounts 3.2.4 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/MIT-LICENSE +20 -20
- data/README.md +7 -7
- data/Rakefile +8 -8
- data/app/assets/config/phcdevworks_accounts_manifest.js +3 -3
- data/app/assets/stylesheets/phcdevworks_accounts/admin/pages.scss +3 -3
- data/app/assets/stylesheets/phcdevworks_accounts/application.scss +0 -0
- data/app/assets/stylesheets/phcdevworks_accounts/user/pages.scss +3 -3
- data/app/controllers/phcdevworks_accounts/admin/pages_controller.rb +25 -25
- data/app/controllers/phcdevworks_accounts/application_controller.rb +25 -25
- data/app/controllers/phcdevworks_accounts/user/pages_controller.rb +15 -15
- data/app/controllers/users/confirmations_controller.rb +30 -30
- data/app/controllers/users/omniauth_callbacks_controller.rb +30 -30
- data/app/controllers/users/passwords_controller.rb +34 -34
- data/app/controllers/users/registrations_controller.rb +74 -74
- data/app/controllers/users/sessions_controller.rb +27 -27
- data/app/controllers/users/unlocks_controller.rb +30 -30
- data/app/helpers/phcdevworks_accounts/admin/pages_helper.rb +4 -4
- data/app/helpers/phcdevworks_accounts/application_helper.rb +4 -4
- data/app/helpers/phcdevworks_accounts/user/pages_helper.rb +4 -4
- data/app/jobs/phcdevworks_accounts/application_job.rb +4 -4
- data/app/mailers/phcdevworks_accounts/application_mailer.rb +6 -6
- data/app/models/phcdevworks_accounts/application_record.rb +5 -5
- data/app/models/phcdevworks_accounts/user.rb +39 -39
- data/app/views/layouts/phcdevworks_accounts/application.html.erb +66 -66
- data/app/views/layouts/phcdevworks_accounts/application_full_width.html.erb +66 -66
- data/app/views/layouts/phcdevworks_accounts/application_no_sidebar.html.erb +59 -59
- data/app/views/layouts/phcdevworks_accounts/application_profile.html.erb +65 -65
- data/app/views/layouts/phcdevworks_accounts/components/backend/footer/_footer.html.erb +0 -0
- data/app/views/layouts/phcdevworks_accounts/components/backend/navigation/_top_menu.html.erb +0 -0
- data/app/views/layouts/phcdevworks_accounts/components/backend/sidebars/_side_menu.html.erb +0 -0
- data/app/views/layouts/phcdevworks_accounts/devise.html.erb +0 -0
- data/app/views/phcdevworks_accounts/admin/pages/components/_profile_header.html.erb +27 -27
- data/app/views/phcdevworks_accounts/admin/pages/dashboard.html.erb +0 -0
- data/app/views/phcdevworks_accounts/admin/pages/user_profile.html.erb +22 -22
- data/app/views/phcdevworks_accounts/admin/pages/users_list.html.erb +72 -72
- data/app/views/phcdevworks_accounts/user/pages/dashboard.html.erb +0 -0
- data/app/views/phcdevworks_accounts/user/pages/profile.html.erb +0 -0
- data/app/views/users/confirmations/new.html.erb +62 -62
- data/app/views/users/mailer/confirmation_instructions.html.erb +5 -5
- data/app/views/users/mailer/email_changed.html.erb +7 -7
- data/app/views/users/mailer/password_change.html.erb +3 -3
- data/app/views/users/mailer/reset_password_instructions.html.erb +8 -8
- data/app/views/users/mailer/unlock_instructions.html.erb +7 -7
- data/app/views/users/passwords/edit.html.erb +78 -78
- data/app/views/users/passwords/new.html.erb +65 -65
- data/app/views/users/registrations/edit.html.erb +101 -101
- data/app/views/users/registrations/new.html.erb +114 -114
- data/app/views/users/sessions/new.html.erb +86 -86
- data/app/views/users/shared/_links.html.erb +25 -25
- data/app/views/users/unlocks/new.html.erb +62 -62
- data/config/initializers/devise.rb +310 -310
- data/config/locales/devise.en.yml +65 -65
- data/config/routes.rb +19 -19
- data/config/spring.rb +1 -1
- data/db/migrate/20191012042035_devise_create_phcdevworks_accounts_users.rb +46 -46
- data/db/migrate/20191012060241_add_userinfo_to_users.rb +15 -15
- data/db/migrate/20191012060308_add_role_to_users.rb +7 -7
- data/db/migrate/20191012060324_add_tos_to_users.rb +7 -7
- data/db/migrate/20210407121952_add_customer_id_to_users.rb +7 -7
- data/db/migrate/20210425060053_add_subscription_id_to_users.rb +7 -7
- data/lib/phcdevworks_accounts/engine.rb +48 -48
- data/lib/phcdevworks_accounts/version.rb +3 -3
- data/lib/phcdevworks_accounts.rb +6 -6
- data/lib/tasks/phcdevworks_accounts_tasks.rake +4 -4
- metadata +31 -31
@@ -1,65 +1,65 @@
|
|
1
|
-
# Additional translations at https://github.com/heartcombo/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 confirmation link to confirm your new email address."
|
46
|
-
updated: "Your account has been updated successfully."
|
47
|
-
updated_but_not_signed_in: "Your account has been updated successfully, but since your password was changed, you need to sign in again"
|
48
|
-
sessions:
|
49
|
-
signed_in: "Signed in successfully."
|
50
|
-
signed_out: "Signed out successfully."
|
51
|
-
already_signed_out: "Signed out successfully."
|
52
|
-
unlocks:
|
53
|
-
send_instructions: "You will receive an email with instructions for how to unlock your account in a few minutes."
|
54
|
-
send_paranoid_instructions: "If your account exists, you will receive an email with instructions for how to unlock it in a few minutes."
|
55
|
-
unlocked: "Your account has been unlocked successfully. Please sign in to continue."
|
56
|
-
errors:
|
57
|
-
messages:
|
58
|
-
already_confirmed: "was already confirmed, please try signing in"
|
59
|
-
confirmation_period_expired: "needs to be confirmed within %{period}, please request a new one"
|
60
|
-
expired: "has expired, please request a new one"
|
61
|
-
not_found: "not found"
|
62
|
-
not_locked: "was not locked"
|
63
|
-
not_saved:
|
64
|
-
one: "1 error prohibited this %{resource} from being saved:"
|
65
|
-
other: "%{count} errors prohibited this %{resource} from being saved:"
|
1
|
+
# Additional translations at https://github.com/heartcombo/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 confirmation link to confirm your new email address."
|
46
|
+
updated: "Your account has been updated successfully."
|
47
|
+
updated_but_not_signed_in: "Your account has been updated successfully, but since your password was changed, you need to sign in again"
|
48
|
+
sessions:
|
49
|
+
signed_in: "Signed in successfully."
|
50
|
+
signed_out: "Signed out successfully."
|
51
|
+
already_signed_out: "Signed out successfully."
|
52
|
+
unlocks:
|
53
|
+
send_instructions: "You will receive an email with instructions for how to unlock your account in a few minutes."
|
54
|
+
send_paranoid_instructions: "If your account exists, you will receive an email with instructions for how to unlock it in a few minutes."
|
55
|
+
unlocked: "Your account has been unlocked successfully. Please sign in to continue."
|
56
|
+
errors:
|
57
|
+
messages:
|
58
|
+
already_confirmed: "was already confirmed, please try signing in"
|
59
|
+
confirmation_period_expired: "needs to be confirmed within %{period}, please request a new one"
|
60
|
+
expired: "has expired, please request a new one"
|
61
|
+
not_found: "not found"
|
62
|
+
not_locked: "was not locked"
|
63
|
+
not_saved:
|
64
|
+
one: "1 error prohibited this %{resource} from being saved:"
|
65
|
+
other: "%{count} errors prohibited this %{resource} from being saved:"
|
data/config/routes.rb
CHANGED
@@ -1,19 +1,19 @@
|
|
1
|
-
PhcdevworksAccounts::Engine.routes.draw do
|
2
|
-
|
3
|
-
# User Dashboard
|
4
|
-
match "user", to: "user/pages#dashboard", via: "get"
|
5
|
-
match "user/profile", to: "user/pages#profile", via: "get"
|
6
|
-
|
7
|
-
# Admin Routes
|
8
|
-
match "/admin", to: "admin/pages#dashboard", via: "get"
|
9
|
-
match "/admin/users/all", to: "admin/pages#users_list", via: "get"
|
10
|
-
match "/admin/user/:id", to: "admin/pages#user_profile", via: "get"
|
11
|
-
|
12
|
-
# User Routes
|
13
|
-
devise_for :users, class_name: "PhcdevworksAccounts::User",
|
14
|
-
module: :devise,
|
15
|
-
controllers: {
|
16
|
-
registrations: 'users/registrations'
|
17
|
-
}
|
18
|
-
|
19
|
-
end
|
1
|
+
PhcdevworksAccounts::Engine.routes.draw do
|
2
|
+
|
3
|
+
# User Dashboard
|
4
|
+
match "user", to: "user/pages#dashboard", via: "get"
|
5
|
+
match "user/profile", to: "user/pages#profile", via: "get"
|
6
|
+
|
7
|
+
# Admin Routes
|
8
|
+
match "/admin", to: "admin/pages#dashboard", via: "get"
|
9
|
+
match "/admin/users/all", to: "admin/pages#users_list", via: "get"
|
10
|
+
match "/admin/user/:id", to: "admin/pages#user_profile", via: "get"
|
11
|
+
|
12
|
+
# User Routes
|
13
|
+
devise_for :users, class_name: "PhcdevworksAccounts::User",
|
14
|
+
module: :devise,
|
15
|
+
controllers: {
|
16
|
+
registrations: 'users/registrations'
|
17
|
+
}
|
18
|
+
|
19
|
+
end
|
data/config/spring.rb
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
Spring.application_root = './spec/test_app'
|
1
|
+
Spring.application_root = './spec/test_app'
|
2
2
|
|
@@ -1,46 +1,46 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
class DeviseCreatePhcdevworksAccountsUsers < ActiveRecord::Migration[6.0]
|
4
|
-
def change
|
5
|
-
create_table :phcdevworks_accounts_users do |t|
|
6
|
-
|
7
|
-
## Database authenticatable
|
8
|
-
t.string :email, null: false, default: ""
|
9
|
-
t.string :encrypted_password, null: false, default: ""
|
10
|
-
|
11
|
-
## Recoverable
|
12
|
-
t.string :reset_password_token
|
13
|
-
t.datetime :reset_password_sent_at
|
14
|
-
|
15
|
-
## Rememberable
|
16
|
-
t.datetime :remember_created_at
|
17
|
-
|
18
|
-
## Trackable
|
19
|
-
t.integer :sign_in_count, default: 0, null: false
|
20
|
-
t.datetime :current_sign_in_at
|
21
|
-
t.datetime :last_sign_in_at
|
22
|
-
t.string :current_sign_in_ip
|
23
|
-
t.string :last_sign_in_ip
|
24
|
-
|
25
|
-
## Confirmable
|
26
|
-
t.string :confirmation_token
|
27
|
-
t.datetime :confirmed_at
|
28
|
-
t.datetime :confirmation_sent_at
|
29
|
-
t.string :unconfirmed_email # Only if using reconfirmable
|
30
|
-
|
31
|
-
## Lockable
|
32
|
-
t.integer :failed_attempts, default: 0, null: false # Only if lock strategy is :failed_attempts
|
33
|
-
t.string :unlock_token # Only if unlock strategy is :email or :both
|
34
|
-
t.datetime :locked_at
|
35
|
-
|
36
|
-
t.timestamps null: false
|
37
|
-
|
38
|
-
end
|
39
|
-
|
40
|
-
add_index :phcdevworks_accounts_users, :email, unique: true
|
41
|
-
add_index :phcdevworks_accounts_users, :reset_password_token, unique: true
|
42
|
-
add_index :phcdevworks_accounts_users, :confirmation_token, unique: true
|
43
|
-
add_index :phcdevworks_accounts_users, :unlock_token, unique: true
|
44
|
-
|
45
|
-
end
|
46
|
-
end
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
class DeviseCreatePhcdevworksAccountsUsers < ActiveRecord::Migration[6.0]
|
4
|
+
def change
|
5
|
+
create_table :phcdevworks_accounts_users do |t|
|
6
|
+
|
7
|
+
## Database authenticatable
|
8
|
+
t.string :email, null: false, default: ""
|
9
|
+
t.string :encrypted_password, null: false, default: ""
|
10
|
+
|
11
|
+
## Recoverable
|
12
|
+
t.string :reset_password_token
|
13
|
+
t.datetime :reset_password_sent_at
|
14
|
+
|
15
|
+
## Rememberable
|
16
|
+
t.datetime :remember_created_at
|
17
|
+
|
18
|
+
## Trackable
|
19
|
+
t.integer :sign_in_count, default: 0, null: false
|
20
|
+
t.datetime :current_sign_in_at
|
21
|
+
t.datetime :last_sign_in_at
|
22
|
+
t.string :current_sign_in_ip
|
23
|
+
t.string :last_sign_in_ip
|
24
|
+
|
25
|
+
## Confirmable
|
26
|
+
t.string :confirmation_token
|
27
|
+
t.datetime :confirmed_at
|
28
|
+
t.datetime :confirmation_sent_at
|
29
|
+
t.string :unconfirmed_email # Only if using reconfirmable
|
30
|
+
|
31
|
+
## Lockable
|
32
|
+
t.integer :failed_attempts, default: 0, null: false # Only if lock strategy is :failed_attempts
|
33
|
+
t.string :unlock_token # Only if unlock strategy is :email or :both
|
34
|
+
t.datetime :locked_at
|
35
|
+
|
36
|
+
t.timestamps null: false
|
37
|
+
|
38
|
+
end
|
39
|
+
|
40
|
+
add_index :phcdevworks_accounts_users, :email, unique: true
|
41
|
+
add_index :phcdevworks_accounts_users, :reset_password_token, unique: true
|
42
|
+
add_index :phcdevworks_accounts_users, :confirmation_token, unique: true
|
43
|
+
add_index :phcdevworks_accounts_users, :unlock_token, unique: true
|
44
|
+
|
45
|
+
end
|
46
|
+
end
|
@@ -1,15 +1,15 @@
|
|
1
|
-
class AddUserinfoToUsers < ActiveRecord::Migration[6.0]
|
2
|
-
def change
|
3
|
-
|
4
|
-
add_column :phcdevworks_accounts_users, :firstname, :string
|
5
|
-
add_column :phcdevworks_accounts_users, :lastname, :string
|
6
|
-
add_column :phcdevworks_accounts_users, :username, :string
|
7
|
-
add_column :phcdevworks_accounts_users, :org_id, :string
|
8
|
-
|
9
|
-
add_index :phcdevworks_accounts_users, :firstname
|
10
|
-
add_index :phcdevworks_accounts_users, :lastname
|
11
|
-
add_index :phcdevworks_accounts_users, :username, unique: true
|
12
|
-
add_index :phcdevworks_accounts_users, :org_id, unique: true
|
13
|
-
|
14
|
-
end
|
15
|
-
end
|
1
|
+
class AddUserinfoToUsers < ActiveRecord::Migration[6.0]
|
2
|
+
def change
|
3
|
+
|
4
|
+
add_column :phcdevworks_accounts_users, :firstname, :string
|
5
|
+
add_column :phcdevworks_accounts_users, :lastname, :string
|
6
|
+
add_column :phcdevworks_accounts_users, :username, :string
|
7
|
+
add_column :phcdevworks_accounts_users, :org_id, :string
|
8
|
+
|
9
|
+
add_index :phcdevworks_accounts_users, :firstname
|
10
|
+
add_index :phcdevworks_accounts_users, :lastname
|
11
|
+
add_index :phcdevworks_accounts_users, :username, unique: true
|
12
|
+
add_index :phcdevworks_accounts_users, :org_id, unique: true
|
13
|
+
|
14
|
+
end
|
15
|
+
end
|
@@ -1,7 +1,7 @@
|
|
1
|
-
class AddRoleToUsers < ActiveRecord::Migration[6.0]
|
2
|
-
def change
|
3
|
-
|
4
|
-
add_column :phcdevworks_accounts_users, :role, :integer
|
5
|
-
|
6
|
-
end
|
7
|
-
end
|
1
|
+
class AddRoleToUsers < ActiveRecord::Migration[6.0]
|
2
|
+
def change
|
3
|
+
|
4
|
+
add_column :phcdevworks_accounts_users, :role, :integer
|
5
|
+
|
6
|
+
end
|
7
|
+
end
|
@@ -1,7 +1,7 @@
|
|
1
|
-
class AddTosToUsers < ActiveRecord::Migration[6.0]
|
2
|
-
def change
|
3
|
-
|
4
|
-
add_column :phcdevworks_accounts_users, :terms_of_service, :boolean
|
5
|
-
|
6
|
-
end
|
7
|
-
end
|
1
|
+
class AddTosToUsers < ActiveRecord::Migration[6.0]
|
2
|
+
def change
|
3
|
+
|
4
|
+
add_column :phcdevworks_accounts_users, :terms_of_service, :boolean
|
5
|
+
|
6
|
+
end
|
7
|
+
end
|
@@ -1,7 +1,7 @@
|
|
1
|
-
class AddCustomerIdToUsers < ActiveRecord::Migration[6.1]
|
2
|
-
def change
|
3
|
-
|
4
|
-
add_column :phcdevworks_accounts_users, :payments_customer_id, :string
|
5
|
-
|
6
|
-
end
|
7
|
-
end
|
1
|
+
class AddCustomerIdToUsers < ActiveRecord::Migration[6.1]
|
2
|
+
def change
|
3
|
+
|
4
|
+
add_column :phcdevworks_accounts_users, :payments_customer_id, :string
|
5
|
+
|
6
|
+
end
|
7
|
+
end
|
@@ -1,7 +1,7 @@
|
|
1
|
-
class AddSubscriptionIdToUsers < ActiveRecord::Migration[6.1]
|
2
|
-
def change
|
3
|
-
|
4
|
-
add_column :phcdevworks_accounts_users, :payments_subscription_id, :string
|
5
|
-
|
6
|
-
end
|
7
|
-
end
|
1
|
+
class AddSubscriptionIdToUsers < ActiveRecord::Migration[6.1]
|
2
|
+
def change
|
3
|
+
|
4
|
+
add_column :phcdevworks_accounts_users, :payments_subscription_id, :string
|
5
|
+
|
6
|
+
end
|
7
|
+
end
|
@@ -1,48 +1,48 @@
|
|
1
|
-
module PhcdevworksAccounts
|
2
|
-
class Engine < ::Rails::Engine
|
3
|
-
|
4
|
-
# Load Main Dependencies
|
5
|
-
require "jbuilder"
|
6
|
-
require "paper_trail"
|
7
|
-
require "friendly_id"
|
8
|
-
|
9
|
-
# Load Theme Dependencies
|
10
|
-
require "phcthemes_admin_panel_pack"
|
11
|
-
require "phcthemes_web_theme_pack"
|
12
|
-
|
13
|
-
# Load Helper Dependencies
|
14
|
-
require "phcdevworks_core"
|
15
|
-
require "phcdevworks_active_menus"
|
16
|
-
require "phcdevworks_notifications"
|
17
|
-
require "phcdevworks_titleseo"
|
18
|
-
|
19
|
-
# Load Upload Dependencies
|
20
|
-
require "aws-sdk-s3"
|
21
|
-
require "google-cloud-storage"
|
22
|
-
require "mini_magick"
|
23
|
-
|
24
|
-
# Frontend Dependencies
|
25
|
-
require "wicked"
|
26
|
-
require "gravtastic"
|
27
|
-
require "friendly_id"
|
28
|
-
|
29
|
-
# Mailer Dependencies
|
30
|
-
require "mail_form"
|
31
|
-
|
32
|
-
# Security & Payment Dependencies
|
33
|
-
require "devise"
|
34
|
-
require "simple_token_authentication"
|
35
|
-
require "stripe"
|
36
|
-
|
37
|
-
# Plugin Namespace
|
38
|
-
isolate_namespace PhcdevworksAccounts
|
39
|
-
|
40
|
-
# Rspec Generators
|
41
|
-
config.generators do |g|
|
42
|
-
g.test_framework :rspec
|
43
|
-
g.fixture_replacement :factory_bot
|
44
|
-
g.factory_bot dir: 'spec/factories'
|
45
|
-
end
|
46
|
-
|
47
|
-
end
|
48
|
-
end
|
1
|
+
module PhcdevworksAccounts
|
2
|
+
class Engine < ::Rails::Engine
|
3
|
+
|
4
|
+
# Load Main Dependencies
|
5
|
+
require "jbuilder"
|
6
|
+
require "paper_trail"
|
7
|
+
require "friendly_id"
|
8
|
+
|
9
|
+
# Load Theme Dependencies
|
10
|
+
require "phcthemes_admin_panel_pack"
|
11
|
+
require "phcthemes_web_theme_pack"
|
12
|
+
|
13
|
+
# Load Helper Dependencies
|
14
|
+
require "phcdevworks_core"
|
15
|
+
require "phcdevworks_active_menus"
|
16
|
+
require "phcdevworks_notifications"
|
17
|
+
require "phcdevworks_titleseo"
|
18
|
+
|
19
|
+
# Load Upload Dependencies
|
20
|
+
require "aws-sdk-s3"
|
21
|
+
require "google-cloud-storage"
|
22
|
+
require "mini_magick"
|
23
|
+
|
24
|
+
# Frontend Dependencies
|
25
|
+
require "wicked"
|
26
|
+
require "gravtastic"
|
27
|
+
require "friendly_id"
|
28
|
+
|
29
|
+
# Mailer Dependencies
|
30
|
+
require "mail_form"
|
31
|
+
|
32
|
+
# Security & Payment Dependencies
|
33
|
+
require "devise"
|
34
|
+
require "simple_token_authentication"
|
35
|
+
require "stripe"
|
36
|
+
|
37
|
+
# Plugin Namespace
|
38
|
+
isolate_namespace PhcdevworksAccounts
|
39
|
+
|
40
|
+
# Rspec Generators
|
41
|
+
config.generators do |g|
|
42
|
+
g.test_framework :rspec
|
43
|
+
g.fixture_replacement :factory_bot
|
44
|
+
g.factory_bot dir: 'spec/factories'
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
48
|
+
end
|
@@ -1,3 +1,3 @@
|
|
1
|
-
module PhcdevworksAccounts
|
2
|
-
VERSION = "3.
|
3
|
-
end
|
1
|
+
module PhcdevworksAccounts
|
2
|
+
VERSION = "3.3.0"
|
3
|
+
end
|
data/lib/phcdevworks_accounts.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
require "phcdevworks_accounts/version"
|
2
|
-
require "phcdevworks_accounts/engine"
|
3
|
-
|
4
|
-
module PhcdevworksAccounts
|
5
|
-
# Your code goes here...
|
6
|
-
end
|
1
|
+
require "phcdevworks_accounts/version"
|
2
|
+
require "phcdevworks_accounts/engine"
|
3
|
+
|
4
|
+
module PhcdevworksAccounts
|
5
|
+
# Your code goes here...
|
6
|
+
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# desc "Explaining what the task does"
|
2
|
-
# task :phcdevworks_accounts do
|
3
|
-
# # Task goes here
|
4
|
-
# end
|
1
|
+
# desc "Explaining what the task does"
|
2
|
+
# task :phcdevworks_accounts do
|
3
|
+
# # Task goes here
|
4
|
+
# end
|