tang 0.0.9 → 0.1.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/README.md +8 -0
- data/app/controllers/tang/admin/subscriptions_controller.rb +1 -1
- data/app/jobs/tang/import_customers_job.rb +7 -1
- data/app/models/tang/invoice.rb +2 -2
- data/app/models/tang/subscription.rb +3 -3
- data/app/services/tang/create_subscription.rb +4 -1
- data/app/services/tang/delete_card.rb +4 -2
- data/app/services/tang/fail_invoice.rb +6 -3
- data/app/services/tang/save_card.rb +4 -1
- data/app/services/tang/update_subscription.rb +1 -1
- data/app/views/tang/account/cards/_payment.html.erb +0 -32
- data/app/views/tang/admin/subscriptions/_form.html.erb +0 -5
- data/app/views/tang/admin/subscriptions/show.html.erb +0 -7
- data/lib/css/main.css +31 -0
- data/lib/js/index.js +3 -2
- data/lib/tang/version.rb +1 -1
- data/spec/fixtures/stripe_webhooks/invoice.created.json +1 -2
- data/spec/fixtures/stripe_webhooks/invoice.payment_failed.json +172 -0
- data/spec/models/tang/card_spec.rb +4 -1
- data/spec/models/tang/charge_spec.rb +47 -1
- data/spec/tang_app/Gemfile.lock +70 -0
- data/spec/tang_app/app/javascript/packs/application.js +2 -1
- data/spec/tang_app/app/views/layouts/application.html.erb +1 -0
- data/spec/tang_app/log/development.log +342 -0
- data/spec/tang_app/log/test.log +52349 -0
- data/spec/tang_app/node_modules/fsevents/build/Release/fse.node +0 -0
- data/spec/tang_app/package.json +3 -0
- data/spec/tang_app/public/packs-test/js/application-0dded7840d00b04c8937.js +653 -0
- data/spec/tang_app/public/packs-test/js/application-0dded7840d00b04c8937.js.map +1 -0
- data/spec/tang_app/public/packs-test/manifest.json +4 -4
- data/spec/tang_app/public/packs/js/application-080539f58098495f5fea.js +873 -0
- data/spec/tang_app/public/packs/js/application-080539f58098495f5fea.js.map +1 -0
- data/spec/tang_app/public/packs/js/application-63744ba8e1d5132a70a7.js +653 -0
- data/spec/tang_app/public/packs/js/application-63744ba8e1d5132a70a7.js.map +1 -0
- data/spec/tang_app/public/packs/js/application-6ed6c7d5740861886e33.js +908 -0
- data/spec/tang_app/public/packs/js/application-6ed6c7d5740861886e33.js.map +1 -0
- data/spec/tang_app/public/packs/js/application-95a81db325472bcd27be.js +873 -0
- data/spec/tang_app/public/packs/js/application-95a81db325472bcd27be.js.map +1 -0
- data/spec/tang_app/public/packs/js/application-a4d14e60f459eb6278f8.js +873 -0
- data/spec/tang_app/public/packs/js/application-a4d14e60f459eb6278f8.js.map +1 -0
- data/spec/tang_app/public/packs/js/application-e5d6d1269e6e876bad16.js +654 -0
- data/spec/tang_app/public/packs/js/application-e5d6d1269e6e876bad16.js.map +1 -0
- data/spec/tang_app/public/packs/manifest.json +4 -4
- data/spec/tang_app/tmp/cache/webpacker/last-compilation-digest-development +1 -1
- data/spec/tang_app/tmp/cache/webpacker/last-compilation-digest-test +1 -1
- metadata +35 -2
@@ -39,7 +39,10 @@ module Tang
|
|
39
39
|
|
40
40
|
stripe_customer = Stripe::Customer.create(id: 'test_customer_sub')
|
41
41
|
card_token = stripe_helper.generate_card_token(last4: "1123", exp_month: 11, exp_year: 2017, address_zip: '90210')
|
42
|
-
stripe_card =
|
42
|
+
stripe_card = Stripe::Customer.create_source(
|
43
|
+
stripe_customer.id,
|
44
|
+
{source: card_token},
|
45
|
+
)
|
43
46
|
|
44
47
|
card.update_from_stripe(stripe_card)
|
45
48
|
expect(card.last4).to eq(stripe_card.last4)
|
@@ -2,6 +2,52 @@ require 'rails_helper'
|
|
2
2
|
|
3
3
|
module Tang
|
4
4
|
RSpec.describe Charge, type: :model do
|
5
|
-
|
5
|
+
let(:stripe_helper) { StripeMock.create_test_helper }
|
6
|
+
before { StripeMock.start }
|
7
|
+
after { StripeMock.stop }
|
8
|
+
|
9
|
+
it "has a valid factory" do
|
10
|
+
expect(FactoryBot.create(:charge)).to be_valid
|
11
|
+
end
|
12
|
+
|
13
|
+
it "is invalid without an invoice" do
|
14
|
+
expect(FactoryBot.build(:charge, invoice: nil)).to be_invalid
|
15
|
+
end
|
16
|
+
|
17
|
+
it "is invalid without a stripe id" do
|
18
|
+
expect(FactoryBot.build(:charge, stripe_id: nil)).to be_invalid
|
19
|
+
end
|
20
|
+
|
21
|
+
it "is invalid without an amount greater than 50" do
|
22
|
+
expect(FactoryBot.build(:charge, amount: 0)).to be_invalid
|
23
|
+
end
|
24
|
+
|
25
|
+
it "is invalid without a currency" do
|
26
|
+
expect(FactoryBot.build(:charge, currency: nil)).to be_invalid
|
27
|
+
end
|
28
|
+
|
29
|
+
it "is invalid with a long statement descriptor" do
|
30
|
+
expect(FactoryBot.build(:charge, statement_descriptor: '123456789012345678901234567890')).to be_invalid
|
31
|
+
end
|
32
|
+
|
33
|
+
it "can be searched by stripe id" do
|
34
|
+
charge = FactoryBot.create(:charge)
|
35
|
+
expect(Charge.search(charge.stripe_id)).to include(charge)
|
36
|
+
end
|
37
|
+
|
38
|
+
it "can be searched by customer stripe id" do
|
39
|
+
stripe_customer = Stripe::Customer.create(id: 'test_customer_sub')
|
40
|
+
customer = FactoryBot.create(:customer, stripe_id: stripe_customer.id)
|
41
|
+
invoice = FactoryBot.create(:invoice, customer: customer)
|
42
|
+
charge = FactoryBot.create(:charge, invoice: invoice)
|
43
|
+
expect(Charge.search(customer.stripe_id)).to include(charge)
|
44
|
+
end
|
45
|
+
|
46
|
+
it "can set the card source from stripe" do
|
47
|
+
stripe_charge = Stripe::Charge.create(amount: 1, currency: 'usd', source: stripe_helper.generate_card_token)
|
48
|
+
invoice = FactoryBot.create(:invoice)
|
49
|
+
charge = Charge.from_stripe(stripe_charge, invoice)
|
50
|
+
expect(charge.card_stripe_id).to eq(stripe_charge.source.id)
|
51
|
+
end
|
6
52
|
end
|
7
53
|
end
|
@@ -0,0 +1,70 @@
|
|
1
|
+
GEM
|
2
|
+
specs:
|
3
|
+
actionpack (5.2.4.3)
|
4
|
+
actionview (= 5.2.4.3)
|
5
|
+
activesupport (= 5.2.4.3)
|
6
|
+
rack (~> 2.0, >= 2.0.8)
|
7
|
+
rack-test (>= 0.6.3)
|
8
|
+
rails-dom-testing (~> 2.0)
|
9
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
10
|
+
actionview (5.2.4.3)
|
11
|
+
activesupport (= 5.2.4.3)
|
12
|
+
builder (~> 3.1)
|
13
|
+
erubi (~> 1.4)
|
14
|
+
rails-dom-testing (~> 2.0)
|
15
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
16
|
+
activesupport (5.2.4.3)
|
17
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
18
|
+
i18n (>= 0.7, < 2)
|
19
|
+
minitest (~> 5.1)
|
20
|
+
tzinfo (~> 1.1)
|
21
|
+
builder (3.2.4)
|
22
|
+
concurrent-ruby (1.1.7)
|
23
|
+
crass (1.0.6)
|
24
|
+
erubi (1.9.0)
|
25
|
+
i18n (1.8.5)
|
26
|
+
concurrent-ruby (~> 1.0)
|
27
|
+
loofah (2.7.0)
|
28
|
+
crass (~> 1.0.2)
|
29
|
+
nokogiri (>= 1.5.9)
|
30
|
+
method_source (1.0.0)
|
31
|
+
mini_portile2 (2.4.0)
|
32
|
+
minitest (5.14.2)
|
33
|
+
nokogiri (1.10.10)
|
34
|
+
mini_portile2 (~> 2.4.0)
|
35
|
+
rack (2.2.3)
|
36
|
+
rack-proxy (0.6.5)
|
37
|
+
rack
|
38
|
+
rack-test (1.1.0)
|
39
|
+
rack (>= 1.0, < 3)
|
40
|
+
rails-dom-testing (2.0.3)
|
41
|
+
activesupport (>= 4.2.0)
|
42
|
+
nokogiri (>= 1.6)
|
43
|
+
rails-html-sanitizer (1.3.0)
|
44
|
+
loofah (~> 2.3)
|
45
|
+
railties (5.2.4.3)
|
46
|
+
actionpack (= 5.2.4.3)
|
47
|
+
activesupport (= 5.2.4.3)
|
48
|
+
method_source
|
49
|
+
rake (>= 0.8.7)
|
50
|
+
thor (>= 0.19.0, < 2.0)
|
51
|
+
rake (13.0.1)
|
52
|
+
semantic_range (2.3.0)
|
53
|
+
thor (1.0.1)
|
54
|
+
thread_safe (0.3.6)
|
55
|
+
tzinfo (1.2.7)
|
56
|
+
thread_safe (~> 0.1)
|
57
|
+
webpacker (5.2.1)
|
58
|
+
activesupport (>= 5.2)
|
59
|
+
rack-proxy (>= 0.6.1)
|
60
|
+
railties (>= 5.2)
|
61
|
+
semantic_range (>= 2.3.0)
|
62
|
+
|
63
|
+
PLATFORMS
|
64
|
+
ruby
|
65
|
+
|
66
|
+
DEPENDENCIES
|
67
|
+
webpacker
|
68
|
+
|
69
|
+
BUNDLED WITH
|
70
|
+
2.1.4
|
@@ -15,7 +15,8 @@
|
|
15
15
|
// const images = require.context('../images', true)
|
16
16
|
// const imagePath = (name) => images(name, true)
|
17
17
|
|
18
|
-
import
|
18
|
+
import registerElements from '@sixoverground/tang'
|
19
|
+
import '@sixoverground/tang/lib/css/main.css'
|
19
20
|
|
20
21
|
console.log('Hello World from Webpacker 1')
|
21
22
|
|
@@ -7,6 +7,7 @@
|
|
7
7
|
<script type="text/javascript" src="https://js.stripe.com/v3/"></script>
|
8
8
|
<script type="text/javascript">
|
9
9
|
// Stripe.setPublishableKey('<%= ENV["STRIPE_PUBLISHABLE_KEY"] %>');
|
10
|
+
window.Tang.STRIPE_PUBLISHABLE_KEY = '<%= ENV["STRIPE_PUBLISHABLE_KEY"] %>'
|
10
11
|
</script>
|
11
12
|
<%#= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
|
12
13
|
<%= javascript_pack_tag 'application', defer: true %>
|
@@ -4995,3 +4995,345 @@ Processing by Tang::Account::CardsController#new as HTML
|
|
4995
4995
|
Completed 200 OK in 71ms (Views: 54.5ms | ActiveRecord: 1.2ms)
|
4996
4996
|
|
4997
4997
|
|
4998
|
+
Started GET "/" for ::1 at 2020-09-20 22:29:19 -0400
|
4999
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
5000
|
+
Processing by HomeController#index as HTML
|
5001
|
+
[1m[36mUser Load (2.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
|
5002
|
+
Rendering home/index.html.erb within layouts/application
|
5003
|
+
Rendered home/index.html.erb within layouts/application (2.5ms)
|
5004
|
+
[Webpacker] Everything's up-to-date. Nothing to do
|
5005
|
+
Completed 200 OK in 98ms (Views: 30.9ms | ActiveRecord: 7.7ms)
|
5006
|
+
|
5007
|
+
|
5008
|
+
Started GET "/account/subscription" for ::1 at 2020-09-20 22:29:21 -0400
|
5009
|
+
Processing by Tang::Account::SubscriptionsController#show as HTML
|
5010
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
|
5011
|
+
[1m[36mTang::Subscription Load (2.0ms)[0m [1m[34mSELECT "tang_subscriptions".* FROM "tang_subscriptions" WHERE "tang_subscriptions"."customer_id" = $1 AND ("tang_subscriptions"."status" != $2) ORDER BY "tang_subscriptions"."created_at" DESC LIMIT $3[0m [["customer_id", 2], ["status", "canceled"], ["LIMIT", 1]]
|
5012
|
+
[1m[36mTang::Plan Load (0.9ms)[0m [1m[34mSELECT "tang_plans".* FROM "tang_plans" WHERE "tang_plans"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
|
5013
|
+
[1m[36mTang::Plan Load (2.6ms)[0m [1m[34mSELECT "tang_plans".* FROM "tang_plans" WHERE "tang_plans"."interval" = $1 AND (tang_plans.order > 1) ORDER BY "tang_plans"."order" ASC LIMIT $2[0m [["interval", "month"], ["LIMIT", 1]]
|
5014
|
+
[1m[36mTang::Plan Load (0.5ms)[0m [1m[34mSELECT "tang_plans".* FROM "tang_plans" WHERE "tang_plans"."interval" = $1 AND (tang_plans.order < 1) ORDER BY "tang_plans"."order" DESC LIMIT $2[0m [["interval", "month"], ["LIMIT", 1]]
|
5015
|
+
Rendering /Users/craigphares/Code/tang/app/views/tang/account/subscriptions/show.html.erb within layouts/application
|
5016
|
+
[1m[36mTang::Card Load (0.7ms)[0m [1m[34mSELECT "tang_cards".* FROM "tang_cards" WHERE "tang_cards"."customer_id" = $1 ORDER BY "tang_cards"."created_at" DESC LIMIT $2[0m [["customer_id", 2], ["LIMIT", 1]]
|
5017
|
+
[1m[36mTang::Charge Load (1.4ms)[0m [1m[34mSELECT "tang_charges".* FROM "tang_charges" INNER JOIN "tang_invoices" ON "tang_charges"."invoice_id" = "tang_invoices"."id" WHERE "tang_invoices"."customer_id" = $1 ORDER BY "tang_charges"."created" DESC LIMIT $2[0m [["customer_id", 2], ["LIMIT", 5]]
|
5018
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/subscriptions/show.html.erb within layouts/application (86.9ms)
|
5019
|
+
[Webpacker] Everything's up-to-date. Nothing to do
|
5020
|
+
Completed 200 OK in 257ms (Views: 105.4ms | ActiveRecord: 28.0ms)
|
5021
|
+
|
5022
|
+
|
5023
|
+
Started GET "/account/card" for ::1 at 2020-09-20 22:29:24 -0400
|
5024
|
+
Processing by Tang::Account::CardsController#show as HTML
|
5025
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
|
5026
|
+
SET CARD CALLED
|
5027
|
+
[1m[36mTang::Card Load (0.4ms)[0m [1m[34mSELECT "tang_cards".* FROM "tang_cards" WHERE "tang_cards"."customer_id" = $1 ORDER BY "tang_cards"."created_at" DESC LIMIT $2[0m [["customer_id", 2], ["LIMIT", 1]]
|
5028
|
+
[1m[36mTang::Subscription Load (0.4ms)[0m [1m[34mSELECT "tang_subscriptions".* FROM "tang_subscriptions" WHERE "tang_subscriptions"."customer_id" = $1 AND ("tang_subscriptions"."status" != $2) ORDER BY "tang_subscriptions"."created_at" DESC LIMIT $3[0m [["customer_id", 2], ["status", "canceled"], ["LIMIT", 1]]
|
5029
|
+
Rendering /Users/craigphares/Code/tang/app/views/tang/account/cards/show.html.erb within layouts/application
|
5030
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/show.html.erb within layouts/application (1.5ms)
|
5031
|
+
[Webpacker] Everything's up-to-date. Nothing to do
|
5032
|
+
Completed 200 OK in 43ms (Views: 31.1ms | ActiveRecord: 1.4ms)
|
5033
|
+
|
5034
|
+
|
5035
|
+
Started GET "/account/card/new" for ::1 at 2020-09-20 22:29:25 -0400
|
5036
|
+
Processing by Tang::Account::CardsController#new as HTML
|
5037
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
|
5038
|
+
Rendering /Users/craigphares/Code/tang/app/views/tang/account/cards/new.html.erb within layouts/application
|
5039
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/_payment.html.erb (0.3ms)
|
5040
|
+
[1m[36mTang::Card Load (0.4ms)[0m [1m[34mSELECT "tang_cards".* FROM "tang_cards" WHERE "tang_cards"."customer_id" = $1 ORDER BY "tang_cards"."created_at" DESC LIMIT $2[0m [["customer_id", 2], ["LIMIT", 1]]
|
5041
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/_form.html.erb (8.7ms)
|
5042
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/new.html.erb within layouts/application (14.7ms)
|
5043
|
+
[Webpacker] Everything's up-to-date. Nothing to do
|
5044
|
+
Completed 200 OK in 49ms (Views: 39.6ms | ActiveRecord: 0.7ms)
|
5045
|
+
|
5046
|
+
|
5047
|
+
Started GET "/account/card/new" for ::1 at 2020-09-20 22:29:27 -0400
|
5048
|
+
Processing by Tang::Account::CardsController#new as HTML
|
5049
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
|
5050
|
+
Rendering /Users/craigphares/Code/tang/app/views/tang/account/cards/new.html.erb within layouts/application
|
5051
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/_payment.html.erb (0.3ms)
|
5052
|
+
[1m[36mTang::Card Load (0.4ms)[0m [1m[34mSELECT "tang_cards".* FROM "tang_cards" WHERE "tang_cards"."customer_id" = $1 ORDER BY "tang_cards"."created_at" DESC LIMIT $2[0m [["customer_id", 2], ["LIMIT", 1]]
|
5053
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/_form.html.erb (8.2ms)
|
5054
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/new.html.erb within layouts/application (13.6ms)
|
5055
|
+
[Webpacker] Everything's up-to-date. Nothing to do
|
5056
|
+
Completed 200 OK in 48ms (Views: 40.8ms | ActiveRecord: 0.8ms)
|
5057
|
+
|
5058
|
+
|
5059
|
+
Started GET "/account/card/new" for ::1 at 2020-09-20 22:32:34 -0400
|
5060
|
+
Processing by Tang::Account::CardsController#new as HTML
|
5061
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
|
5062
|
+
Rendering /Users/craigphares/Code/tang/app/views/tang/account/cards/new.html.erb within layouts/application
|
5063
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/_payment.html.erb (0.3ms)
|
5064
|
+
[1m[36mTang::Card Load (0.6ms)[0m [1m[34mSELECT "tang_cards".* FROM "tang_cards" WHERE "tang_cards"."customer_id" = $1 ORDER BY "tang_cards"."created_at" DESC LIMIT $2[0m [["customer_id", 2], ["LIMIT", 1]]
|
5065
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/_form.html.erb (11.2ms)
|
5066
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/new.html.erb within layouts/application (19.2ms)
|
5067
|
+
[Webpacker] Compiling...
|
5068
|
+
[Webpacker] Compilation failed:
|
5069
|
+
Hash: e77f2562af2ee91397e9
|
5070
|
+
Version: webpack 4.44.2
|
5071
|
+
Time: 1454ms
|
5072
|
+
Built at: 09/20/2020 10:32:37 PM
|
5073
|
+
Asset Size Chunks Chunk Names
|
5074
|
+
js/application-a0831ca80b5d914e70aa.js 18.4 KiB application [emitted] [immutable] application
|
5075
|
+
js/application-a0831ca80b5d914e70aa.js.map 17.7 KiB application [emitted] [dev] application
|
5076
|
+
manifest.json 364 bytes [emitted]
|
5077
|
+
Entrypoint application = js/application-a0831ca80b5d914e70aa.js js/application-a0831ca80b5d914e70aa.js.map
|
5078
|
+
[../../lib/css/main.css] /Users/craigphares/Code/tang/lib/css/main.css 633 bytes {application} [built]
|
5079
|
+
[../../lib/js/index.js] /Users/craigphares/Code/tang/lib/js/index.js 2.52 KiB {application} [built]
|
5080
|
+
[./app/javascript/packs/application.js] 928 bytes {application} [built]
|
5081
|
+
[./node_modules/css-loader/dist/cjs.js?!./node_modules/postcss-loader/src/index.js?!../../lib/css/main.css] ./node_modules/css-loader/dist/cjs.js??ref--5-1!./node_modules/postcss-loader/src??ref--5-2!/Users/craigphares/Code/tang/lib/css/main.css 261 bytes {application} [built] [failed] [1 error]
|
5082
|
+
[./node_modules/webpack/buildin/harmony-module.js] (webpack)/buildin/harmony-module.js 631 bytes {application} [built]
|
5083
|
+
+ 1 hidden module
|
5084
|
+
|
5085
|
+
ERROR in ./app/javascript/packs/application.js 17:0-16
|
5086
|
+
"export 'registerElements' was not found in '@sixoverground/tang'
|
5087
|
+
|
5088
|
+
ERROR in /Users/craigphares/Code/tang/lib/css/main.css (./node_modules/css-loader/dist/cjs.js??ref--5-1!./node_modules/postcss-loader/src??ref--5-2!/Users/craigphares/Code/tang/lib/css/main.css)
|
5089
|
+
Module build failed (from ./node_modules/postcss-loader/src/index.js):
|
5090
|
+
SyntaxError
|
5091
|
+
|
5092
|
+
(29:3) Unclosed block
|
5093
|
+
|
5094
|
+
27 | }
|
5095
|
+
28 |
|
5096
|
+
> 29 | .StripeElement--webkit-autofill {
|
5097
|
+
| ^
|
5098
|
+
30 | background-color: #fefde5 !important;
|
5099
|
+
|
5100
|
+
@ /Users/craigphares/Code/tang/lib/css/main.css 2:26-186
|
5101
|
+
@ /Users/craigphares/Code/tang/lib/js/index.js
|
5102
|
+
@ ./app/javascript/packs/application.js
|
5103
|
+
|
5104
|
+
Completed 200 OK in 3567ms (Views: 3559.1ms | ActiveRecord: 0.9ms)
|
5105
|
+
|
5106
|
+
|
5107
|
+
Started GET "/account/card/new" for ::1 at 2020-09-20 22:33:09 -0400
|
5108
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
5109
|
+
Processing by Tang::Account::CardsController#new as HTML
|
5110
|
+
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
|
5111
|
+
Rendering /Users/craigphares/Code/tang/app/views/tang/account/cards/new.html.erb within layouts/application
|
5112
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/_payment.html.erb (0.4ms)
|
5113
|
+
[1m[36mTang::Card Load (0.8ms)[0m [1m[34mSELECT "tang_cards".* FROM "tang_cards" WHERE "tang_cards"."customer_id" = $1 ORDER BY "tang_cards"."created_at" DESC LIMIT $2[0m [["customer_id", 2], ["LIMIT", 1]]
|
5114
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/_form.html.erb (19.6ms)
|
5115
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/new.html.erb within layouts/application (26.2ms)
|
5116
|
+
[Webpacker] Compiling...
|
5117
|
+
[Webpacker] Compilation failed:
|
5118
|
+
Hash: 0fa791706908bc60d0e2
|
5119
|
+
Version: webpack 4.44.2
|
5120
|
+
Time: 746ms
|
5121
|
+
Built at: 09/20/2020 10:33:11 PM
|
5122
|
+
Asset Size Chunks Chunk Names
|
5123
|
+
js/application-f3105097ddfd3b857fa1.js 18.4 KiB application [emitted] [immutable] application
|
5124
|
+
js/application-f3105097ddfd3b857fa1.js.map 17.7 KiB application [emitted] [dev] application
|
5125
|
+
manifest.json 364 bytes [emitted]
|
5126
|
+
Entrypoint application = js/application-f3105097ddfd3b857fa1.js js/application-f3105097ddfd3b857fa1.js.map
|
5127
|
+
[../../lib/css/main.css] /Users/craigphares/Code/tang/lib/css/main.css 633 bytes {application} [built]
|
5128
|
+
[../../lib/js/index.js] /Users/craigphares/Code/tang/lib/js/index.js 2.52 KiB {application} [built]
|
5129
|
+
[./app/javascript/packs/application.js] 923 bytes {application} [built]
|
5130
|
+
[./node_modules/css-loader/dist/cjs.js?!./node_modules/postcss-loader/src/index.js?!../../lib/css/main.css] ./node_modules/css-loader/dist/cjs.js??ref--5-1!./node_modules/postcss-loader/src??ref--5-2!/Users/craigphares/Code/tang/lib/css/main.css 261 bytes {application} [built] [failed] [1 error]
|
5131
|
+
[./node_modules/webpack/buildin/harmony-module.js] (webpack)/buildin/harmony-module.js 631 bytes {application} [built]
|
5132
|
+
+ 1 hidden module
|
5133
|
+
|
5134
|
+
ERROR in ./app/javascript/packs/application.js 17:0-16
|
5135
|
+
"export 'registerElements' was not found in '@sixoverground/tang'
|
5136
|
+
|
5137
|
+
ERROR in /Users/craigphares/Code/tang/lib/css/main.css (./node_modules/css-loader/dist/cjs.js??ref--5-1!./node_modules/postcss-loader/src??ref--5-2!/Users/craigphares/Code/tang/lib/css/main.css)
|
5138
|
+
Module build failed (from ./node_modules/postcss-loader/src/index.js):
|
5139
|
+
SyntaxError
|
5140
|
+
|
5141
|
+
(29:3) Unclosed block
|
5142
|
+
|
5143
|
+
27 | }
|
5144
|
+
28 |
|
5145
|
+
> 29 | .StripeElement--webkit-autofill {
|
5146
|
+
| ^
|
5147
|
+
30 | background-color: #fefde5 !important;
|
5148
|
+
|
5149
|
+
@ /Users/craigphares/Code/tang/lib/css/main.css 2:26-186
|
5150
|
+
@ /Users/craigphares/Code/tang/lib/js/index.js
|
5151
|
+
@ ./app/javascript/packs/application.js
|
5152
|
+
|
5153
|
+
Completed 200 OK in 2414ms (Views: 2298.4ms | ActiveRecord: 8.3ms)
|
5154
|
+
|
5155
|
+
|
5156
|
+
Started GET "/account/card/new" for ::1 at 2020-09-21 09:04:19 -0400
|
5157
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
5158
|
+
Processing by Tang::Account::CardsController#new as HTML
|
5159
|
+
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
|
5160
|
+
Rendering /Users/craigphares/Code/tang/app/views/tang/account/cards/new.html.erb within layouts/application
|
5161
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/_payment.html.erb (0.3ms)
|
5162
|
+
[1m[36mTang::Card Load (0.7ms)[0m [1m[34mSELECT "tang_cards".* FROM "tang_cards" WHERE "tang_cards"."customer_id" = $1 ORDER BY "tang_cards"."created_at" DESC LIMIT $2[0m [["customer_id", 2], ["LIMIT", 1]]
|
5163
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/_form.html.erb (20.8ms)
|
5164
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/new.html.erb within layouts/application (27.0ms)
|
5165
|
+
[Webpacker] Everything's up-to-date. Nothing to do
|
5166
|
+
Completed 200 OK in 186ms (Views: 61.5ms | ActiveRecord: 9.4ms)
|
5167
|
+
|
5168
|
+
|
5169
|
+
Started GET "/account/card" for ::1 at 2020-09-21 09:04:22 -0400
|
5170
|
+
Processing by Tang::Account::CardsController#show as HTML
|
5171
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
|
5172
|
+
SET CARD CALLED
|
5173
|
+
[1m[36mTang::Card Load (0.3ms)[0m [1m[34mSELECT "tang_cards".* FROM "tang_cards" WHERE "tang_cards"."customer_id" = $1 ORDER BY "tang_cards"."created_at" DESC LIMIT $2[0m [["customer_id", 2], ["LIMIT", 1]]
|
5174
|
+
[1m[36mTang::Subscription Load (3.2ms)[0m [1m[34mSELECT "tang_subscriptions".* FROM "tang_subscriptions" WHERE "tang_subscriptions"."customer_id" = $1 AND ("tang_subscriptions"."status" != $2) ORDER BY "tang_subscriptions"."created_at" DESC LIMIT $3[0m [["customer_id", 2], ["status", "canceled"], ["LIMIT", 1]]
|
5175
|
+
Rendering /Users/craigphares/Code/tang/app/views/tang/account/cards/show.html.erb within layouts/application
|
5176
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/show.html.erb within layouts/application (0.8ms)
|
5177
|
+
[Webpacker] Everything's up-to-date. Nothing to do
|
5178
|
+
Completed 200 OK in 77ms (Views: 27.2ms | ActiveRecord: 7.0ms)
|
5179
|
+
|
5180
|
+
|
5181
|
+
Started GET "/account/card/new" for ::1 at 2020-09-21 09:04:24 -0400
|
5182
|
+
Processing by Tang::Account::CardsController#new as HTML
|
5183
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
|
5184
|
+
Rendering /Users/craigphares/Code/tang/app/views/tang/account/cards/new.html.erb within layouts/application
|
5185
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/_payment.html.erb (0.3ms)
|
5186
|
+
[1m[36mTang::Card Load (0.5ms)[0m [1m[34mSELECT "tang_cards".* FROM "tang_cards" WHERE "tang_cards"."customer_id" = $1 ORDER BY "tang_cards"."created_at" DESC LIMIT $2[0m [["customer_id", 2], ["LIMIT", 1]]
|
5187
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/_form.html.erb (8.9ms)
|
5188
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/new.html.erb within layouts/application (14.0ms)
|
5189
|
+
[Webpacker] Everything's up-to-date. Nothing to do
|
5190
|
+
Completed 200 OK in 46ms (Views: 38.8ms | ActiveRecord: 0.8ms)
|
5191
|
+
|
5192
|
+
|
5193
|
+
Started GET "/account/card/new" for ::1 at 2020-09-21 09:05:27 -0400
|
5194
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
5195
|
+
Processing by Tang::Account::CardsController#new as HTML
|
5196
|
+
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
|
5197
|
+
Rendering /Users/craigphares/Code/tang/app/views/tang/account/cards/new.html.erb within layouts/application
|
5198
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/_payment.html.erb (0.3ms)
|
5199
|
+
[1m[36mTang::Card Load (0.8ms)[0m [1m[34mSELECT "tang_cards".* FROM "tang_cards" WHERE "tang_cards"."customer_id" = $1 ORDER BY "tang_cards"."created_at" DESC LIMIT $2[0m [["customer_id", 2], ["LIMIT", 1]]
|
5200
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/_form.html.erb (22.4ms)
|
5201
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/new.html.erb within layouts/application (29.9ms)
|
5202
|
+
[Webpacker] Everything's up-to-date. Nothing to do
|
5203
|
+
Completed 200 OK in 187ms (Views: 62.7ms | ActiveRecord: 8.3ms)
|
5204
|
+
|
5205
|
+
|
5206
|
+
Started GET "/account/card/new" for ::1 at 2020-09-21 09:05:33 -0400
|
5207
|
+
Processing by Tang::Account::CardsController#new as HTML
|
5208
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
|
5209
|
+
Rendering /Users/craigphares/Code/tang/app/views/tang/account/cards/new.html.erb within layouts/application
|
5210
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/_payment.html.erb (0.3ms)
|
5211
|
+
[1m[36mTang::Card Load (0.4ms)[0m [1m[34mSELECT "tang_cards".* FROM "tang_cards" WHERE "tang_cards"."customer_id" = $1 ORDER BY "tang_cards"."created_at" DESC LIMIT $2[0m [["customer_id", 2], ["LIMIT", 1]]
|
5212
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/_form.html.erb (7.7ms)
|
5213
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/new.html.erb within layouts/application (12.7ms)
|
5214
|
+
[Webpacker] Everything's up-to-date. Nothing to do
|
5215
|
+
Completed 200 OK in 48ms (Views: 39.3ms | ActiveRecord: 0.8ms)
|
5216
|
+
|
5217
|
+
|
5218
|
+
Started GET "/account/card/new" for ::1 at 2020-09-21 09:06:50 -0400
|
5219
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
5220
|
+
Processing by Tang::Account::CardsController#new as HTML
|
5221
|
+
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
|
5222
|
+
Rendering /Users/craigphares/Code/tang/app/views/tang/account/cards/new.html.erb within layouts/application
|
5223
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/_payment.html.erb (0.3ms)
|
5224
|
+
[1m[36mTang::Card Load (1.0ms)[0m [1m[34mSELECT "tang_cards".* FROM "tang_cards" WHERE "tang_cards"."customer_id" = $1 ORDER BY "tang_cards"."created_at" DESC LIMIT $2[0m [["customer_id", 2], ["LIMIT", 1]]
|
5225
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/_form.html.erb (21.5ms)
|
5226
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/new.html.erb within layouts/application (28.4ms)
|
5227
|
+
[Webpacker] Everything's up-to-date. Nothing to do
|
5228
|
+
Completed 200 OK in 186ms (Views: 61.9ms | ActiveRecord: 10.6ms)
|
5229
|
+
|
5230
|
+
|
5231
|
+
Started GET "/account/card/new" for ::1 at 2020-09-21 09:06:52 -0400
|
5232
|
+
Processing by Tang::Account::CardsController#new as HTML
|
5233
|
+
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
|
5234
|
+
Rendering /Users/craigphares/Code/tang/app/views/tang/account/cards/new.html.erb within layouts/application
|
5235
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/_payment.html.erb (0.3ms)
|
5236
|
+
[1m[36mTang::Card Load (0.4ms)[0m [1m[34mSELECT "tang_cards".* FROM "tang_cards" WHERE "tang_cards"."customer_id" = $1 ORDER BY "tang_cards"."created_at" DESC LIMIT $2[0m [["customer_id", 2], ["LIMIT", 1]]
|
5237
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/_form.html.erb (7.8ms)
|
5238
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/new.html.erb within layouts/application (14.1ms)
|
5239
|
+
[Webpacker] Everything's up-to-date. Nothing to do
|
5240
|
+
Completed 200 OK in 51ms (Views: 41.4ms | ActiveRecord: 1.0ms)
|
5241
|
+
|
5242
|
+
|
5243
|
+
Started GET "/account/card/new" for ::1 at 2020-09-21 09:16:08 -0400
|
5244
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
5245
|
+
Processing by Tang::Account::CardsController#new as HTML
|
5246
|
+
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
|
5247
|
+
Rendering /Users/craigphares/Code/tang/app/views/tang/account/cards/new.html.erb within layouts/application
|
5248
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/_payment.html.erb (0.6ms)
|
5249
|
+
[1m[36mTang::Card Load (0.8ms)[0m [1m[34mSELECT "tang_cards".* FROM "tang_cards" WHERE "tang_cards"."customer_id" = $1 ORDER BY "tang_cards"."created_at" DESC LIMIT $2[0m [["customer_id", 2], ["LIMIT", 1]]
|
5250
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/_form.html.erb (22.1ms)
|
5251
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/new.html.erb within layouts/application (28.7ms)
|
5252
|
+
[Webpacker] Everything's up-to-date. Nothing to do
|
5253
|
+
Completed 200 OK in 185ms (Views: 62.6ms | ActiveRecord: 8.9ms)
|
5254
|
+
|
5255
|
+
|
5256
|
+
Started GET "/account/card/new" for ::1 at 2020-09-21 09:25:10 -0400
|
5257
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
5258
|
+
Processing by Tang::Account::CardsController#new as HTML
|
5259
|
+
[1m[36mUser Load (2.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
|
5260
|
+
Rendering /Users/craigphares/Code/tang/app/views/tang/account/cards/new.html.erb within layouts/application
|
5261
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/_payment.html.erb (0.3ms)
|
5262
|
+
[1m[36mTang::Card Load (4.7ms)[0m [1m[34mSELECT "tang_cards".* FROM "tang_cards" WHERE "tang_cards"."customer_id" = $1 ORDER BY "tang_cards"."created_at" DESC LIMIT $2[0m [["customer_id", 2], ["LIMIT", 1]]
|
5263
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/_form.html.erb (25.6ms)
|
5264
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/new.html.erb within layouts/application (32.7ms)
|
5265
|
+
[Webpacker] Everything's up-to-date. Nothing to do
|
5266
|
+
Completed 200 OK in 190ms (Views: 64.7ms | ActiveRecord: 14.1ms)
|
5267
|
+
|
5268
|
+
|
5269
|
+
Started GET "/account/card/new" for ::1 at 2020-09-21 09:26:11 -0400
|
5270
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
5271
|
+
Processing by Tang::Account::CardsController#new as HTML
|
5272
|
+
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
|
5273
|
+
Rendering /Users/craigphares/Code/tang/app/views/tang/account/cards/new.html.erb within layouts/application
|
5274
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/_payment.html.erb (0.3ms)
|
5275
|
+
[1m[36mTang::Card Load (0.8ms)[0m [1m[34mSELECT "tang_cards".* FROM "tang_cards" WHERE "tang_cards"."customer_id" = $1 ORDER BY "tang_cards"."created_at" DESC LIMIT $2[0m [["customer_id", 2], ["LIMIT", 1]]
|
5276
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/_form.html.erb (23.7ms)
|
5277
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/new.html.erb within layouts/application (32.4ms)
|
5278
|
+
[Webpacker] Everything's up-to-date. Nothing to do
|
5279
|
+
Completed 200 OK in 210ms (Views: 69.8ms | ActiveRecord: 12.0ms)
|
5280
|
+
|
5281
|
+
|
5282
|
+
Started GET "/account/card/new" for ::1 at 2020-09-21 09:34:48 -0400
|
5283
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
5284
|
+
Processing by Tang::Account::CardsController#new as HTML
|
5285
|
+
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
|
5286
|
+
Rendering /Users/craigphares/Code/tang/app/views/tang/account/cards/new.html.erb within layouts/application
|
5287
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/_payment.html.erb (0.3ms)
|
5288
|
+
[1m[36mTang::Card Load (0.9ms)[0m [1m[34mSELECT "tang_cards".* FROM "tang_cards" WHERE "tang_cards"."customer_id" = $1 ORDER BY "tang_cards"."created_at" DESC LIMIT $2[0m [["customer_id", 2], ["LIMIT", 1]]
|
5289
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/_form.html.erb (22.1ms)
|
5290
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/new.html.erb within layouts/application (30.1ms)
|
5291
|
+
[Webpacker] Compiling...
|
5292
|
+
[Webpacker] Compiled all packs in /Users/craigphares/Code/tang/spec/tang_app/public/packs
|
5293
|
+
[Webpacker] Hash: 5f341de1bbf6f9d1f51a
|
5294
|
+
Version: webpack 4.44.2
|
5295
|
+
Time: 797ms
|
5296
|
+
Built at: 09/21/2020 9:34:51 AM
|
5297
|
+
Asset Size Chunks Chunk Names
|
5298
|
+
js/application-e5d6d1269e6e876bad16.js 21.7 KiB application [emitted] [immutable] application
|
5299
|
+
js/application-e5d6d1269e6e876bad16.js.map 22 KiB application [emitted] [dev] application
|
5300
|
+
manifest.json 364 bytes [emitted]
|
5301
|
+
Entrypoint application = js/application-e5d6d1269e6e876bad16.js js/application-e5d6d1269e6e876bad16.js.map
|
5302
|
+
[../../lib/css/main.css] /Users/craigphares/Code/tang/lib/css/main.css 633 bytes {application} [built]
|
5303
|
+
[../../lib/js/index.js] /Users/craigphares/Code/tang/lib/js/index.js 2.5 KiB {application} [built]
|
5304
|
+
[./app/javascript/packs/application.js] 919 bytes {application} [built]
|
5305
|
+
[./node_modules/css-loader/dist/cjs.js?!./node_modules/postcss-loader/src/index.js?!../../lib/css/main.css] ./node_modules/css-loader/dist/cjs.js??ref--5-1!./node_modules/postcss-loader/src??ref--5-2!/Users/craigphares/Code/tang/lib/css/main.css 1.8 KiB {application} [built]
|
5306
|
+
+ 2 hidden modules
|
5307
|
+
|
5308
|
+
Completed 200 OK in 2619ms (Views: 2496.4ms | ActiveRecord: 9.8ms)
|
5309
|
+
|
5310
|
+
|
5311
|
+
Started GET "/account/card/new" for ::1 at 2020-09-21 09:35:52 -0400
|
5312
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
5313
|
+
Processing by Tang::Account::CardsController#new as HTML
|
5314
|
+
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
|
5315
|
+
Rendering /Users/craigphares/Code/tang/app/views/tang/account/cards/new.html.erb within layouts/application
|
5316
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/_payment.html.erb (0.3ms)
|
5317
|
+
[1m[36mTang::Card Load (0.8ms)[0m [1m[34mSELECT "tang_cards".* FROM "tang_cards" WHERE "tang_cards"."customer_id" = $1 ORDER BY "tang_cards"."created_at" DESC LIMIT $2[0m [["customer_id", 2], ["LIMIT", 1]]
|
5318
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/_form.html.erb (26.3ms)
|
5319
|
+
Rendered /Users/craigphares/Code/tang/app/views/tang/account/cards/new.html.erb within layouts/application (33.4ms)
|
5320
|
+
[Webpacker] Compiling...
|
5321
|
+
[Webpacker] Compiled all packs in /Users/craigphares/Code/tang/spec/tang_app/public/packs
|
5322
|
+
[Webpacker] Hash: 28f3812e1b9eb94415d3
|
5323
|
+
Version: webpack 4.44.2
|
5324
|
+
Time: 1188ms
|
5325
|
+
Built at: 09/21/2020 9:35:55 AM
|
5326
|
+
Asset Size Chunks Chunk Names
|
5327
|
+
js/application-63744ba8e1d5132a70a7.js 21.8 KiB application [emitted] [immutable] application
|
5328
|
+
js/application-63744ba8e1d5132a70a7.js.map 22 KiB application [emitted] [dev] application
|
5329
|
+
manifest.json 364 bytes [emitted]
|
5330
|
+
Entrypoint application = js/application-63744ba8e1d5132a70a7.js js/application-63744ba8e1d5132a70a7.js.map
|
5331
|
+
[../../lib/css/main.css] /Users/craigphares/Code/tang/lib/css/main.css 633 bytes {application} [built]
|
5332
|
+
[../../lib/js/index.js] /Users/craigphares/Code/tang/lib/js/index.js 2.48 KiB {application} [built]
|
5333
|
+
[./app/javascript/packs/application.js] 966 bytes {application} [built]
|
5334
|
+
[./node_modules/css-loader/dist/cjs.js?!./node_modules/postcss-loader/src/index.js?!../../lib/css/main.css] ./node_modules/css-loader/dist/cjs.js??ref--5-1!./node_modules/postcss-loader/src??ref--5-2!/Users/craigphares/Code/tang/lib/css/main.css 1.8 KiB {application} [built]
|
5335
|
+
+ 2 hidden modules
|
5336
|
+
|
5337
|
+
Completed 200 OK in 3286ms (Views: 3142.9ms | ActiveRecord: 13.8ms)
|
5338
|
+
|
5339
|
+
|