strait 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +11 -0
- data/lib/strait/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b67edb24f33952ec69ab17f533a8d3168e1f55260dbb319728dfe0fe5d0bb4a
|
4
|
+
data.tar.gz: 50dc7dc84ffb3fe38c28f8d26c8f326d84b3a4adc61f01fc0c2d6d597b584be7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 174adfb33df0b92537baeb2d4ce741550896c52e3f63ab0f2dbf3a8392edeeede7616f40b54fbf1ee9fc2adc1bb7c2a7b9c9ac61012772845ff62fe4a9c8af5e
|
7
|
+
data.tar.gz: 9bb57fc4a10a8ad6bc1fe8241654dfb0dc76dcd343f0ddbaabedaf5fea0f267effb3ce310ac3e6aa1f6debcc27915d18a6d3db5b4d5dec54b301972b8e3b5b32
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
strait (1.
|
4
|
+
strait (1.1.0)
|
5
5
|
connection_pool (>= 2.0, < 3.0)
|
6
6
|
redis (~> 4.0, >= 3.0)
|
7
7
|
|
@@ -13,7 +13,7 @@ GEM
|
|
13
13
|
docile (1.3.2)
|
14
14
|
json (2.2.0)
|
15
15
|
mock_redis (0.21.0)
|
16
|
-
rake (12.3.
|
16
|
+
rake (12.3.3)
|
17
17
|
redis (4.1.2)
|
18
18
|
rspec (3.8.0)
|
19
19
|
rspec-core (~> 3.8.0)
|
data/README.md
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
# Strait
|
2
2
|
|
3
|
+
[![Coverage][shield-coverage]][coverage]
|
4
|
+
[![Maintainability][shield-maintainability]][maintainability]
|
5
|
+
[![Travis CI][shield-travis]][travis]
|
6
|
+
|
7
|
+
[shield-coverage]: https://img.shields.io/codeclimate/coverage/hummingbird-me/strait.svg?logo=code-climate&style=for-the-badge
|
8
|
+
[coverage]: https://codeclimate.com/github/hummingbird-me/strait/progress/coverage
|
9
|
+
[shield-maintainability]: https://img.shields.io/codeclimate/maintainability/hummingbird-me/strait.svg?logo=code-climate&style=for-the-badge
|
10
|
+
[maintainability]: https://codeclimate.com/github/hummingbird-me/strait/progress/maintainability
|
11
|
+
[shield-travis]: https://img.shields.io/travis/com/hummingbird-me/strait/master.svg?logo=travis-ci&logoColor=white&style=for-the-badge
|
12
|
+
[travis]: https://travis-ci.com/hummingbird-me/strait
|
13
|
+
|
3
14
|
Strait is a rate-limiting library designed to provide security you don't need to think about. Whenever you have code to protect, put a Strait in front of it.
|
4
15
|
|
5
16
|
It strikes an excellent balance between accuracy and memory usage, with a default accuracy of 1/60th of the limit period.
|
data/lib/strait/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: strait
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Emma Lejeck
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|