prefixed_ids 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/lib/prefixed_ids.rb +2 -0
- data/lib/prefixed_ids/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: ab4ea5b61773281d37a10dc9f1dc429f0da2d0f7ed10240c4ae4a17fe3219df9
|
4
|
+
data.tar.gz: 4a37b8721a3e34cdf4446b5a83ab8a899c2d6f0bf20c6b72b9d37fa884d04e35
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce60408ac4ea95916a8915f82b11ecf52ad51e01f9af1cbc626891457e3318fcf006eca7bb87bc02d36804b1b20e4d1fbbfa2d761a4ec1a073f75c8c4a29a0d3
|
7
|
+
data.tar.gz: '06825f2e2d69c3576b842235ef1faf584b7f371fa75b7e82638d7d9ced3d649b3b0f1bd96b56126d13170a1f46ec410576ba5370e23df871ae3af17796d56a29'
|
data/README.md
CHANGED
@@ -13,11 +13,13 @@ user_12345abcd
|
|
13
13
|
acct_23lksjdg3
|
14
14
|
```
|
15
15
|
|
16
|
+
Inspired by [Stripe's prefixed IDs](https://stripe.com/docs/api) in their API.
|
17
|
+
|
16
18
|
## 🚀 Installation
|
17
19
|
Add this line to your application's Gemfile:
|
18
20
|
|
19
21
|
```ruby
|
20
|
-
|
22
|
+
gem 'prefixed_ids'
|
21
23
|
```
|
22
24
|
|
23
25
|
## 📝 Usage
|
data/lib/prefixed_ids.rb
CHANGED
data/lib/prefixed_ids/version.rb
CHANGED