signed_params 0.0.1 → 0.1.0

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: 8c20a32fb7717fdc82f737a65b377486beffbc9faa4852d36563c9c4828a9f3c
4
- data.tar.gz: d64e43dde0ed9bc8294dc1b4d44b3157fba803ca1a83c2576c1172a0c4f30bbe
3
+ metadata.gz: 891a56fac43ec97d7619f289ffc82d565d0d363615b2273329592e29d1152108
4
+ data.tar.gz: cb4b69abffc6625eee315f5575e916d326d833a6b1749eff5dab4af1da8598ec
5
5
  SHA512:
6
- metadata.gz: 830bc743e8226ae34d62686bb305274c35a0a4abe4f399de5076cfc55e563a5df889efae64d924694a853e8cad94e6a4370c429c41ba2e6c660bc00a558160b1
7
- data.tar.gz: 3a026ec3ee4eb1103e0a29eed1989a4e7f2637e39599ae3d675ef2965b59a2b7db36c6cd15980fa9096046d91de0cc1ce5f1b347a030624ae758a8e3077b7b16
6
+ metadata.gz: 9557c06ef1af6fc3ff0e253b44d13f4a5a12857cfb25e2d138477f58d24d6aa576c8a10816a010771f3a738593dc49aff9a98be8b99b5bd1e992bc72ad37afd3
7
+ data.tar.gz: 912c6259c604c4c3d33403720ed74b0fad1769ba5f76283ddc163d7bcc7aee84711e555e5fe8d04a94f580035988d54a85f8dee5270690ab1a36f80d96db6c7c
data/README.md CHANGED
@@ -1,10 +1,18 @@
1
1
  # Signed Params
2
2
 
3
- A small Rails controller concern that allows encoding and decoding parameters. Such parameters are protected against tampering and safe to share with the internet.
3
+ A lightweight library for encoding/decoding Rails request parameters.
4
4
 
5
- `signed_params` are great for generating sharable links and/or mitigating web scrapers.
5
+ `signed_params` are protected against tampering and safe to share with the internet. Great for generating sharable links and/or mitigating web scrapers.
6
6
 
7
- Battle tested at [Hansa](https://hansahq.com). Developed at [Primevise](https://primevise.com).
7
+ Battle-tested at [Hansa](https://hansahq.com). Developed at [Primevise](https://primevise.com).
8
+
9
+ <a href="https://rubygems.org/gems/signed_params">
10
+ <img alt="signed_params GEM Version" src="https://img.shields.io/gem/v/signed_params?color=10b981&include_prereleases&logo=ruby&logoColor=f43f5e">
11
+ </a>
12
+
13
+ <a href="https://rubygems.org/gems/signed_params">
14
+ <img alt="signed_params GEM Downloads" src="https://img.shields.io/gem/dt/signed_params?color=10b981&include_prereleases&logo=ruby&logoColor=f43f5e">
15
+ </a>
8
16
 
9
17
  ---
10
18
 
@@ -18,9 +26,7 @@ Simply add the gem to your Gemfile by running the following command
18
26
  $ bundle add signed_params
19
27
  ```
20
28
 
21
- ---
22
-
23
- #### Add it to your application
29
+ #### Add to application
24
30
 
25
31
  After you have the gem installed, you include the functionality in `app/controllers/application_controller.rb`:
26
32
 
@@ -58,6 +64,9 @@ class RecordsController < ApplicationController
58
64
  end
59
65
  ```
60
66
 
67
+ > [!CAUTION]
68
+ > Avoid exposing sensitive data while using `signed_params`. Your application should still implement proper authentication and authorization.
69
+
61
70
  ---
62
71
 
63
72
  ## Configuration
@@ -1,3 +1,3 @@
1
1
  module SignedParams
2
- VERSION = "0.0.1"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: signed_params
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elvinas Predkelis