rapidity 0.0.5.88564 → 0.0.6.88566
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +11 -5
- data/lib/rapidity/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: f035f3525eab3c929a835208cd275212935d1052df051234b46a5240517d3c25
|
4
|
+
data.tar.gz: 129798e61b0e40d402d18d1d5d80d2e2f1f05e99c53de2c0bec240774d0fda07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb39b54f19ee6d1bc89592aa9a03012c2e274452a72ff4e6bafdb629b614aa8401e5fbc1626f108b30d98f46e6b9a7bc498f2612cfa9cd0fd593d9c710e8e750
|
7
|
+
data.tar.gz: 0043036ac0b0451f1a694f565b2149ecf88b9219a7997beb6a7ec9aa3e4b14be800c1e7e676747a4a3ec93ef21ce69fbba8110ea8f8a6ccedd28a61ce3374c7e
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -12,10 +12,12 @@
|
|
12
12
|
Simple but fast Redis-backed distributed rate limiter. Allows you to specify time interval and count within to limit distributed operations.
|
13
13
|
|
14
14
|
Features:
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
15
|
+
|
16
|
+
- extremly simple
|
17
|
+
- free from race condition through LUA scripting
|
18
|
+
- fast
|
19
|
+
|
20
|
+
[Article(russian) about gem.](https://blog.rnds.pro/029-rapidity/?utm_source=github&utm_medium=repo&utm_campaign=rnds)
|
19
21
|
|
20
22
|
## Usage
|
21
23
|
|
@@ -75,18 +77,22 @@ loop do
|
|
75
77
|
sleep 1
|
76
78
|
end
|
77
79
|
end
|
78
|
-
|
79
80
|
```
|
80
81
|
|
81
82
|
## Installation
|
82
83
|
|
83
84
|
It's a gem:
|
85
|
+
|
84
86
|
```bash
|
85
87
|
gem install rapidity
|
86
88
|
```
|
89
|
+
|
87
90
|
There's also the wonders of [the Gemfile](http://bundler.io):
|
91
|
+
|
88
92
|
```ruby
|
89
93
|
gem 'rapidity'
|
90
94
|
```
|
91
95
|
|
96
|
+
## Special Thanks
|
92
97
|
|
98
|
+
- [WeTransfer/prorate](https://github.com/WeTransfer/prorate) for LUA-examples
|
data/lib/rapidity/version.rb
CHANGED