midnight_ride 0.1.0 → 0.1.1
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 -5
- data/lib/midnight_ride/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: 0c0dd674a875e425f13ae5c28eafedee9e711cd702f0a401548e2b693fe56dd9
|
|
4
|
+
data.tar.gz: 812b1f08dadd8c84d4d59cdf913b2ac83eb6de3bc8e56ff2eee869a4f9f5153c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a1eb43458158d3b43e41cd0139a8ee3d9b535b0a4aad20f341b3b9f2181d6d76a88cc695a71cc23bc382ab0aea05b1babd85085a7ba33b9fca98a4dc7a57b423
|
|
7
|
+
data.tar.gz: ed603984c06997547dfe5448b695fa47fbca2ffa2508105e8caa59ab6df83b003a675afd0c0dae23964c7fe10c56a10caf681f129b40a80e6285c4418248691d
|
data/README.md
CHANGED
|
@@ -30,17 +30,20 @@ it’s sent. Even so, an error message can hold text an attacker chose, so
|
|
|
30
30
|
keep a person between the session and production: review its pull requests
|
|
31
31
|
before they’re merged.
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
Reviewing only helps if a session can’t skip it. Claude Code sessions reach
|
|
34
|
+
GitHub as you, so branch protection can’t tell them apart from you: a
|
|
35
|
+
session tricked by an error message could push to the branch you deploy
|
|
36
|
+
from, or merge its own pull request. So don’t let anything a session can do
|
|
37
|
+
reach production by itself. Make deploys need something only you can
|
|
38
|
+
produce, such as a deploy you start yourself, or a tag signed with a key
|
|
39
|
+
that only you hold, which your server checks before deploying.
|
|
37
40
|
|
|
38
41
|
## Setup
|
|
39
42
|
|
|
40
43
|
1. Add the gem, and Solid Errors if the app doesn’t have it yet:
|
|
41
44
|
|
|
42
45
|
```ruby
|
|
43
|
-
gem "midnight_ride"
|
|
46
|
+
gem "midnight_ride"
|
|
44
47
|
```
|
|
45
48
|
|
|
46
49
|
2. Create a Telegram bot with [@BotFather](https://t.me/BotFather) and send
|