dotenvx 5.1.9-x86_64-linux → 5.1.10-x86_64-linux

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: 24a305941951b2cc38c55f7ba9d909252226107758cdec203b6f34ba06ca1eab
4
- data.tar.gz: 1f5b81aa4896ca7ebd523cf83692130ca90b1350801b11d1d474295a57e06cbb
3
+ metadata.gz: 2ec03a7553c9905c1306235f7f6e055bdae1a42af9606824bdfe87806407c344
4
+ data.tar.gz: 7e853218b9463debc321348de33f79c03193881965143bf57b2c47ff11403583
5
5
  SHA512:
6
- metadata.gz: 65d51264180497ba0d5800bbfb161c38a298c53c7eb43e45c79eafac3cc3ff3efac3f4c7dfb1939952169d677ec2f294de2b074cda0974271b2b1bb5628c665d
7
- data.tar.gz: bbdfba96243f34ebc5b902a7a4d91d27c2f6d498dd26ec19924fa2342c194246e58628d528d981dbee96fa1958e0c5e3efafb0d139df5bd88273d372e28fe25d
6
+ metadata.gz: ad2c9493dde27c26387ce677ae346beb8a4773631f9f0b83fb369d5ed2bb2542488f0910dfc6e9e591d8f36b0be3b1fa4d9b150a611097a2d0607430920886d8
7
+ data.tar.gz: 0cb78894a89a130b0d52c82eb8a17eb9eeccaefbe3a7012442bc622b2f04f9a783443f9d5a1eec04c1bfb559d2591c0e70f23a8d2f5ac50b3ca0a732504e9b06
data/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. See [standa
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ ## 5.1.10 (2026-11-30)
8
+
9
+ - Add the example `.env` file and run command to the Ruby quickstart, and show how to supply its private key in production.
10
+
7
11
  ## 5.1.9 (2026-11-30)
8
12
 
9
13
  - **Behavior change:** Remove automatic Rails env-file layering. Rails now uses the shared SDK defaults: `DOTENV_FILE` / `DOTENV_PATH`, exported private-key file inference, then `.env`. Set `DOTENV_CONVENTION=rails` to opt back into Rails layering.
data/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
  * Commit
7
7
  * Ship
8
8
 
9
- [Install](https://dotenvx.com/docs/install) · [Quickstart](https://dotenvx.com/docs/quickstart)
9
+ [Install](https://dotenvx.com/docs/install) · [Quickstart](#quickstart) · [Changelog](CHANGELOG.md)
10
10
 
11
11
  ## Quickstart
12
12
 
@@ -14,6 +14,13 @@
14
14
  gem install dotenvx
15
15
  ```
16
16
 
17
+ Create a `.env` file next to your Ruby script.
18
+
19
+ ```dotenv
20
+ # .env
21
+ HELLO=World
22
+ ```
23
+
17
24
  ```ruby
18
25
  # index.rb
19
26
  require "dotenvx"
@@ -23,6 +30,13 @@ Dotenvx.load
23
30
  puts "Hello #{ENV["HELLO"]}"
24
31
  ```
25
32
 
33
+ Run the script from that directory.
34
+
35
+ ```sh
36
+ ruby index.rb
37
+ # Hello World
38
+ ```
39
+
26
40
   
27
41
 
28
42
  ## Rails Quickstart
@@ -68,14 +82,14 @@ $ dotenvx encrypt
68
82
  ◈ encrypted .env (039 BCA) via .env.keys ⛉
69
83
  ```
70
84
 
71
- *Commit* your encrypted `.env` files with your code. It's safe. Now you can securely share secrets through git.
85
+ *Commit* the encrypted `.env` with your code. Keep the generated `.env.keys` file out of version control.
72
86
 
73
87
  ```sh
74
88
  $ git add .env
75
89
  $ git commit -m "encrypt .env"
76
90
  ```
77
91
 
78
- *Ship* your code and secrets together. Dotenvx uses your private key to decrypt and inject your secrets just-in-time to your code.
92
+ *Ship* your code and secrets together. For this `.env` file, set `DOTENV_PRIVATE_KEY` in your deployment environment to the matching key from `.env.keys`. Dotenvx uses it when your app starts.
79
93
 
80
94
  ```sh
81
95
  $ ruby index.rb
Binary file
@@ -1,3 +1,3 @@
1
1
  module Dotenvx
2
- VERSION = "5.1.9"
2
+ VERSION = "5.1.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dotenvx
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.9
4
+ version: 5.1.10
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - motdotla