bullet_train 1.25.0 → 1.25.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/docs/webhooks/incoming.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: 67a99abd0c8759b1b98f5aef2fe9f30ffab646d0e8aa52c6edba7ee2a7e6f061
|
4
|
+
data.tar.gz: 455838e34ee7c299f818fe50c04f4b3e2d6ec26771f3f9566fd3e745d2c8eb0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ff356b5da00ddd56d5bef840d8968391f1d955e8be353ff90cf123fee811be4f4a5d463cfc8e2fac20cb030b469785a8b03863319110c5ff4768b59c635c7fb
|
7
|
+
data.tar.gz: 1a476e27664d7bbcfc3dcd36dcad334b62e8f971ab13b932ca783303841468fa3823a42bb2d57e6c7c4f26420d3d91dfd7605014fff34c0a27a436a4897d7ca8
|
data/docs/webhooks/incoming.md
CHANGED
@@ -47,7 +47,7 @@ In this case you can use rails scaffolding to generate a route and controller fo
|
|
47
47
|
rails g controller BulletTrainWebhooks create
|
48
48
|
```
|
49
49
|
|
50
|
-
You'll also want to copy Bullet Train's `BulletTrain::OutgoingWebhooks::Signature` class into your project.
|
50
|
+
You'll also want to copy Bullet Train's `BulletTrain::OutgoingWebhooks::Signature` class into your project. [You can find the current implementation here.](https://github.com/bullet-train-co/bullet_train-core/blob/main/bullet_train-outgoing_webhooks/lib/bullet_train/outgoing_webhooks/signature.rb)
|
51
51
|
|
52
52
|
After adding `BulletTrain::OutgoingWebhooks::Signature` to your project you can edit `app/controllers/bullet_train_webhooks_controller.rb` to add a `before_action :verify_authenticity` call that looks like this:
|
53
53
|
|
data/lib/bullet_train/version.rb
CHANGED