phcdevworks_accounts_devise 0.1.0.pre.beta → 0.1.1.pre.beta

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: a59f872567bbbd92218ad9594a4e47bf580fafc0b3b1df76d4fcd6f314ea2452
4
- data.tar.gz: 6a511dc4386446b24ef853ffdea4a67301596dcab4ee80fef42f2c0589e9a701
3
+ metadata.gz: 2b68d025d013ad69d1a3d31779e5b7da0e144adeae882d8683fa764abf9154a0
4
+ data.tar.gz: d556264a93c21fab3d7e32e3ad77668d2300823bc158d702d1d4743fd47b7e88
5
5
  SHA512:
6
- metadata.gz: b2902a85a120873ee02f2aeed4de6027d3fe6795d97216505391a347b5157791aa821dde7453101d387fde5ded74c43da88b8d622d2da1691c82c041b831fd07
7
- data.tar.gz: 3329c5f33718e0c415713531491b9b153aa58312b6f8205c23bfc63d2702d52c82dc34f03d1c359c1eca6e67b960408640162b13fa7317d1687e1f1384c1225a
6
+ metadata.gz: 3a7600ab15fd2228e57f57c6034f27adffa6477e56090d7ecb636e05bde142afaaac82cd650b4ce721a532f3f22aed13737beee7fedcc1766acbe58e6eed5d0d
7
+ data.tar.gz: 677f6264083d31f473d1f34e1a3c9b3dedd1f947e31579237c8b94cef7aea79cdecde7b3b9d48d5d149ea2716f093ae43b0fd2e20d635bd005f0c8cec7e72ece
@@ -3,7 +3,7 @@
3
3
  class Users::RegistrationsController < Devise::RegistrationsController
4
4
  # before_action :configure_sign_up_params, only: [:create]
5
5
  # before_action :configure_account_update_params, only: [:update]
6
- after_action :phcdevworks_accounts_devise_payments_add_customer, :only => :create, if: -> {defined?(PhcdevworksAccountsStripe)}
6
+ after_action :phcdevworks_accounts_stripe_add_customer, :only => :create, if: -> {defined?(PhcdevworksAccountsStripe)}
7
7
 
8
8
  # GET /resource/sign_up
9
9
  # def new
@@ -61,7 +61,7 @@ class Users::RegistrationsController < Devise::RegistrationsController
61
61
  # super(resource)
62
62
  # end
63
63
 
64
- def phcdevworks_accounts_payments_add_customer
64
+ def phcdevworks_accounts_stripe_add_customer
65
65
  if resource.valid?
66
66
  phcdevworks_accounts_devise_customer = Stripe::Customer.create({
67
67
  email: current_user.email, name: current_user.firstname + " " + current_user.lastname
@@ -1,43 +1,46 @@
1
1
  module PhcdevworksAccountsDevise
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 "friendly_id"
27
-
28
- # Mailer Dependencies
29
- require "mail_form"
30
-
31
- # Security & Payment Dependencies
32
- require "devise"
33
- require "stripe"
34
- isolate_namespace PhcdevworksAccountsDevise
35
- # Rspec Generators
36
- config.generators do |g|
37
- g.test_framework :rspec
38
- g.fixture_replacement :factory_bot
39
- g.factory_bot dir: 'spec/factories'
40
- end
41
-
42
- end
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 "friendly_id"
27
+
28
+ # Mailer Dependencies
29
+ require "mail_form"
30
+
31
+ # Security & Payment Dependencies
32
+ require "devise"
33
+ require "stripe"
34
+
35
+ # Engine Namespace
36
+ isolate_namespace PhcdevworksAccountsDevise
37
+
38
+ # Rspec Generators
39
+ config.generators do |g|
40
+ g.test_framework :rspec
41
+ g.fixture_replacement :factory_bot
42
+ g.factory_bot dir: 'spec/factories'
43
+ end
44
+
45
+ end
43
46
  end
@@ -1,3 +1,3 @@
1
1
  module PhcdevworksAccountsDevise
2
- VERSION = "0.1.0-beta"
2
+ VERSION = "0.1.1-beta"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcdevworks_accounts_devise
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre.beta
4
+ version: 0.1.1.pre.beta
5
5
  platform: ruby
6
6
  authors:
7
7
  - PHCDevworks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-13 00:00:00.000000000 Z
11
+ date: 2022-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails