bullet_train 1.0.85 → 1.0.88
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/layouts/docs.html.erb +5 -5
- data/docs/billing/stripe.md +3 -3
- data/docs/index.md +1 -1
- data/lib/bullet_train/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 831d0820601a8726888cbb5aa4128eebd362257d3074658a08a2c2fc54aa89a8
|
4
|
+
data.tar.gz: 2df8f5f9d6178f2a370b0a69df8283a0fcc4b614e77f134871fca9040526bb88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efe1c4e1496bbc2da5824dd3581da74c95f8acf91ee40568d7fd0f6e95e241c6e89af7e8927bf2d3f87b277816325f60f475672f05533b09cf271810e0a53ea0
|
7
|
+
data.tar.gz: fbaeb17b64178f8e5fe2fedde405e71322153405db85183c00cac7b7fe3c81b468593458c5c7a6fc6eb505e963822bd40fcd3a24b0189e55ccd3a597729f61cd
|
@@ -32,7 +32,7 @@
|
|
32
32
|
<meta property="og:url" content="<%= request.base_url + request.path %>" />
|
33
33
|
<meta property="og:description" content="<%= description.truncate(200) %>" />
|
34
34
|
</head>
|
35
|
-
<body class="bg-light-
|
35
|
+
<body class="bg-light-gradient text-gray-700 text-sm font-normal dark:bg-dark-gradient dark:text-darkPrimary-300">
|
36
36
|
<div class="md:p-5">
|
37
37
|
<div class="h-screen md:h-auto overflow-hidden md:rounded-lg flex shadow"
|
38
38
|
data-controller="mobile-menu"
|
@@ -282,7 +282,7 @@
|
|
282
282
|
|
283
283
|
class="fixed inset-0" aria-hidden="true"
|
284
284
|
>
|
285
|
-
<div class="absolute inset-0 bg-light-
|
285
|
+
<div class="absolute inset-0 bg-light-gradient opacity-75"></div>
|
286
286
|
</button>
|
287
287
|
<div
|
288
288
|
hidden
|
@@ -295,7 +295,7 @@
|
|
295
295
|
data-transition-leave-start="translate-x-0"
|
296
296
|
data-transition-leave-end="-translate-x-full"
|
297
297
|
|
298
|
-
class="relative flex-1 flex flex-col max-w-xs w-full
|
298
|
+
class="relative flex-1 flex flex-col max-w-xs w-full pb-4 bg-dark-gradient shadow-xl"
|
299
299
|
>
|
300
300
|
<%= menu %>
|
301
301
|
</div>
|
@@ -303,13 +303,13 @@
|
|
303
303
|
</div>
|
304
304
|
</div>
|
305
305
|
|
306
|
-
<div class="hidden lg:flex lg:flex-shrink-0 bg-gradient-to-b from-
|
306
|
+
<div class="hidden lg:flex lg:flex-shrink-0 overflow-y-auto bg-gradient-to-b from-primary-700 to-primary-800 dark:from-darkPrimary-800 dark:to-darkPrimary-800">
|
307
307
|
<div class="w-64">
|
308
308
|
<%= menu %>
|
309
309
|
</div>
|
310
310
|
</div>
|
311
311
|
|
312
|
-
<div class="flex flex-col w-0 flex-1 overflow-
|
312
|
+
<div class="flex flex-col w-0 flex-1 overflow-y-auto bg-gray-100 dark:bg-darkPrimary-800 lg:border-l dark:border-gray-500">
|
313
313
|
<main class="flex-1 relative z-0 overflow-y-auto focus:outline-none" tabindex="0">
|
314
314
|
|
315
315
|
<button class="lg:hidden h-12 w-12 ml-1 flex-none inline-flex items-center justify-center rounded-md text-gray-500 hover:text-gray-900 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-blue"
|
data/docs/billing/stripe.md
CHANGED
@@ -53,7 +53,7 @@ Bullet Train defines subscription plans and pricing options in `config/models/bi
|
|
53
53
|
### 4.1. Create API Keys with Stripe
|
54
54
|
|
55
55
|
- Create a Stripe account if you don't already have one.
|
56
|
-
- Visit https://dashboard.stripe.com/test/apikeys.
|
56
|
+
- Visit [https://dashboard.stripe.com/test/apikeys](https://dashboard.stripe.com/test/apikeys).
|
57
57
|
- Create a new secret key.
|
58
58
|
|
59
59
|
**Note:** By default we're linking to the "test mode" page for API keys so you can get up and running in development. When you're ready to deploy to production, you'll have to repeat this step and toggle the "test mode" option off to provision real API keys for live payments.
|
@@ -91,7 +91,7 @@ Ensure you've completed the steps from [HTTP Tunneling with ngrok](/docs/tunneli
|
|
91
91
|
|
92
92
|
### 5.2. Enable Stripe Webhooks
|
93
93
|
|
94
|
-
- Visit https://dashboard.stripe.com/test/webhooks/create.
|
94
|
+
- Visit [https://dashboard.stripe.com/test/webhooks/create](https://dashboard.stripe.com/test/webhooks/create).
|
95
95
|
- Use the default "add an endpoint" form.
|
96
96
|
- Set "endpoint URL" to `https://YOUR-SUBDOMAIN.ngrok.io/webhooks/incoming/stripe_webhooks`.
|
97
97
|
- Under "select events to listen to" choose "select all events" and click "add events".
|
@@ -118,7 +118,7 @@ You should be in "test mode" on Stripe, so when prompted for a credit card numbe
|
|
118
118
|
|
119
119
|
## 7. Configure Stripe Billing's Customer Portal
|
120
120
|
|
121
|
-
- Visit https://dashboard.stripe.com/test/settings/billing/portal.
|
121
|
+
- Visit [https://dashboard.stripe.com/test/settings/billing/portal](https://dashboard.stripe.com/test/settings/billing/portal).
|
122
122
|
- Complete all required fields.
|
123
123
|
- Be sure to add all of your actively available plans under "products".
|
124
124
|
|
data/docs/index.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Bullet Train Developer Documentation
|
2
2
|
|
3
|
-
>
|
3
|
+
> Some of the open-source Bullet Train packages are considered pre-release, so please pardon the dust while we work to complete the documentation for certain topics.
|
4
4
|
|
5
5
|
## Introduction
|
6
6
|
- [What is Bullet Train?](https://bullettrain.co) <i class="ti ti-new-window ml-2"></i>
|
data/lib/bullet_train/version.rb
CHANGED