bullet_train 1.2.22 → 1.2.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/application-options.md +12 -26
- data/docs/billing/stripe.md +2 -0
- data/lib/bullet_train/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 876aa81bf9d9808e5c55e50f8e5635b88ffce376dff998bb66cdc7fb476ea5e9
|
4
|
+
data.tar.gz: 21f7f07532069387068ce8df909046bb372488f1b73d91203f6bfcf3337cfb20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5be8488eda4220db8882b295f9c6faae2e3b9b66fdf92aff410271c38af839bbc1937a24a402c8c318827c2012e19f5dbd626e2ee0c7e6f1db77062c0f06386
|
7
|
+
data.tar.gz: 8881f0466376167ad6d3b2f2346cb7ec69f4bb596db9622b45374ba8f3f363b69ce10403143d4d00a7625a36c56ffcb3de7bad4d16d310b3f70471a68f14950c
|
data/docs/application-options.md
CHANGED
@@ -1,31 +1,17 @@
|
|
1
1
|
# Application Options
|
2
2
|
|
3
|
-
|
3
|
+
The following configuration options are available for your Bullet Train application. For local development, you can set these values in `config/application.yml`. For hosting providers that we provide first-party support for, you can consult [Render's documentation](https://render.com/docs/environment-variables) and [Heroku's documentation](https://devcenter.heroku.com/articles/config-vars) for how to set these values.
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
| Option | Type | Example | Helper Methods |
|
5
|
+
| Option | Purpose | Example Value <sup><a href="#footnote-1">1</a></sup> | Helper Methods |
|
8
6
|
| --- | --- | --- | --- |
|
9
|
-
|
|
10
|
-
|
|
11
|
-
| STRIPE_CLIENT_ID |
|
12
|
-
| CLOUDINARY_URL |
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
| OPENAI_ACCESS_TOKEN | String |`your_openai_token`| `openai_enabled?` |
|
7
|
+
| `BASE_URL` | Specify the full URL where the application is hosted | `https://app.yourproduct.com` | |
|
8
|
+
| `HIDE_THINGS` | [Hide the "Creative Concept" demo model and "Tangible Thing" template model](/docs/super-scaffolding.md) | `true` | `scaffolding_things_disabled?` |
|
9
|
+
| `STRIPE_CLIENT_ID` | [Enable the example OAuth2 integration with Stripe Connect](/docs/oauth.md) | `ca_DBOenflO97IalW31IEvpvSKGHjOWhGzJ` | `stripe_enabled?` |
|
10
|
+
| `CLOUDINARY_URL` | Enable Cloudinary-powered image uploads, including profile photos | `cloudinary://9149...:3HSd...@hfytqhfzj` | `cloudinary_enabled?` |
|
11
|
+
| `INVITATION_KEYS` | [Restrict new sign-ups](/docs/authentication.md) | `89dshwxja, a9y29ihs1` | `invitation_keys` `invitation_only?` |
|
12
|
+
| `FONTAWESOME_NPM_AUTH_TOKEN` | [Enable Font Awesome Pro](/docs/font-awesome-pro.md) | `5DC62AA7-5741-4C45-874B-EA9CAA4EE085` | `font_awesome?` |
|
13
|
+
| `OPENAI_ACCESS_TOKEN` | Enable OpenAI-powered UX improvements | `sk-Tnko8PI15i6du03KkxVExTz3lbkFJV...` | `openai_enabled?` |
|
14
|
+
| `REDOCLY_ORGANIZATION_ID` | Enable Redocly-powered API documentation | `your-organization-name` | |
|
15
|
+
| `REDOCLY_API_KEY` | Enable Redocly-powered API documentation |`orgsk_lfyrXAAym8nbSrar9b8wvTN+...`| |
|
19
16
|
|
20
|
-
|
21
|
-
| --- | --- |
|
22
|
-
| HIDE_THINGS | Hides Bullet Train demo models such as `CreativeConcept` and `TangibleThing`. |
|
23
|
-
| HIDE_EXAMPLES | Hides base models such as `CreativeConcept` and `TangibleThing`.
|
24
|
-
| STRIPE_CLIENT_ID | See [Bullet Train Billing for Stripe](/docs/billing/stripe.md) for more information and related environment variables. |
|
25
|
-
| CLOUDINARY_URL | Enables use of Cloudinary for handling images. |
|
26
|
-
| TWO_FACTOR_ENCRYPTION_KEY | Enables two-factor authentication through Devise. |
|
27
|
-
| INVITATION_KEYS | See [Invitation Only](/docs/authentication.md) for more information. |
|
28
|
-
| FONTAWESOME_NPM_AUTH_TOKEN | Enables use of Font Awesome. |
|
29
|
-
| SILENCE_LOGS | Silences Super Scaffolding logs. |
|
30
|
-
| TESTING_PROVISION_KEY | Creates a test `Platform::Application` by accessing `/testing/provision?key=your_provision_key` |
|
31
|
-
| OPENAI_ACCESS_TOKEN | Enables use [OpenAI](https://openai.com/) with the [ruby-openai](https://github.com/alexrudall/ruby-openai) gem. |
|
17
|
+
<sup><a name="footnote-1"></a>1</sup> Any credentials listed here aren't real, but we wanted you to know what each looks like so you can recognize the correct value from each provider.
|
data/docs/billing/stripe.md
CHANGED
@@ -38,6 +38,8 @@ cp `bundle show --paths | grep bullet_train-billing-stripe | sort | head -n 1`/d
|
|
38
38
|
|
39
39
|
Note this is different than how many Rails engines ask you to install migrations. This is intentional, as we want to maintain the original timestamps associated with these migrations.
|
40
40
|
|
41
|
+
<aside><small>TODO Let's create a `rake bullet_train:billing:stripe:install` task.</small></aside>
|
42
|
+
|
41
43
|
### 2.4. Run Migrations
|
42
44
|
|
43
45
|
```
|
data/lib/bullet_train/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bullet_train
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Culver
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03
|
11
|
+
date: 2023-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: standard
|
@@ -736,7 +736,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
736
736
|
- !ruby/object:Gem::Version
|
737
737
|
version: '0'
|
738
738
|
requirements: []
|
739
|
-
rubygems_version: 3.
|
739
|
+
rubygems_version: 3.4.6
|
740
740
|
signing_key:
|
741
741
|
specification_version: 4
|
742
742
|
summary: Bullet Train
|