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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b40ba499b6bfc486b64738eef4de0a804d8d1a588f44ce2eeae8f2bc12bf3b70
4
- data.tar.gz: 68bcbb30542760922e4c9719f333683a37698446a492585b7b6a6bc97f920e54
3
+ metadata.gz: 3b67edb24f33952ec69ab17f533a8d3168e1f55260dbb319728dfe0fe5d0bb4a
4
+ data.tar.gz: 50dc7dc84ffb3fe38c28f8d26c8f326d84b3a4adc61f01fc0c2d6d597b584be7
5
5
  SHA512:
6
- metadata.gz: f4fcd37bc5522944443799ed209b90c12a65f3bd550e5bb0b2d6d0c84feb68d6e7019465d65f1ee16782b4e5ca078224179178289bde4c9610257934a45a2b15
7
- data.tar.gz: fa5e4c6717dfe3bd1512ad82276fcf938e9bf0392aaa8b9003f26963bd0c715b102e79292d4062d5462913008cb9075edff750db3b2711db931b12c3e9748ca8
6
+ metadata.gz: 174adfb33df0b92537baeb2d4ce741550896c52e3f63ab0f2dbf3a8392edeeede7616f40b54fbf1ee9fc2adc1bb7c2a7b9c9ac61012772845ff62fe4a9c8af5e
7
+ data.tar.gz: 9bb57fc4a10a8ad6bc1fe8241654dfb0dc76dcd343f0ddbaabedaf5fea0f267effb3ce310ac3e6aa1f6debcc27915d18a6d3db5b4d5dec54b301972b8e3b5b32
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- strait (1.0.0)
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.2)
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.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class Strait
4
- VERSION = '1.0.0'
4
+ VERSION = '1.1.0'
5
5
  end
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.0.0
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-20 00:00:00.000000000 Z
11
+ date: 2019-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler