bullet_train 1.3.10 → 1.3.11

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 367afc5adafaf83cacca910e8ac20da989953ac282dac2dbff3664e99debb4b3
4
- data.tar.gz: 3d7476659c6668da6976f3f5d2767ffa2f3af62d6652cf5d2ce54de450cfce2a
3
+ metadata.gz: 3e978873b55ca6a15b2b500915937a0eaa092d9bc5a8a8b2f8dc1f10d6ac27f7
4
+ data.tar.gz: 8756fd456af1bc3f70429c78234175e00d28fbefe04fa9253182831fefb084a3
5
5
  SHA512:
6
- metadata.gz: 1ee14729e078f27486c9f39ca35a24515ae206e5fe7c04d7b722af3c75f6c97dcb72a7be41e782d2a6c8d6bc4378db6e5b78a2ae1542b860898afc924b866e9e
7
- data.tar.gz: 7147b9f3b76b47103ed03fbe63645e7772c2fd3b8c9222b2bb4f2f2dcf7ea51aa3908cbf96013da76e68b394f9d551967cf506079189fc8603895d16dfd4910c
6
+ metadata.gz: 9988ba16cd8b3c98161e4ba478e97f93b87152211592c93b62f4ba898fd6131e3a6abfd3190e0975a9e7ab1bef9fb53b3c0e783d481823dd0e37423fa44f4845
7
+ data.tar.gz: 42f98d7b289251a81263282265b307e4f3901e8e5379c7b95f4ba4451318e1aa4b9f9b99a1b96a75c0e9aa4ee3cd2afd5c4b82896705e3542bbe63d13b9a0f01
@@ -13,5 +13,6 @@ The following configuration options are available for your Bullet Train applicat
13
13
  | `OPENAI_ACCESS_TOKEN` | Enable OpenAI-powered UX improvements | `sk-Tnko8PI15i6du03KkxVExTz3lbkFJV...` | `openai_enabled?` |
14
14
  | `REDOCLY_ORGANIZATION_ID` | Enable Redocly-powered API documentation | `your-organization-name` | |
15
15
  | `REDOCLY_API_KEY` | Enable Redocly-powered API documentation |`orgsk_lfyrXAAym8nbSrar9b8wvTN+...`| |
16
+ | `DISABLE_DEVELOPER_MENU` | Disable the `developer` tab in the navigation bar | `true` | disable_developer_menu? |
16
17
 
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.
18
+ <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.
@@ -1,3 +1,3 @@
1
1
  module BulletTrain
2
- VERSION = "1.3.10"
2
+ VERSION = "1.3.11"
3
3
  end
data/lib/bullet_train.rb CHANGED
@@ -166,3 +166,7 @@ end
166
166
  def openai_organization_exists?
167
167
  ENV["OPENAI_ORGANIZATION_ID"]
168
168
  end
169
+
170
+ def disable_developer_menu?
171
+ ENV["DISABLE_DEVELOPER_MENU"].present?
172
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.10
4
+ version: 1.3.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver