grape-throttler 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/grape-throttler.rb +5 -6
- data/lib/grape-throttler/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: a9340326427b8e9996850ce329b5c93db8c1cd68e2211259b4cc6fd3679ab59e
|
4
|
+
data.tar.gz: 289e3a04990a9ba9ce03f7391dfde7123d131dcc98566b79e87f33a6b0b8d767
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e38f16cbfb71efb8b18b75f65e1a13cb512156ab3420e196c15c748cf6c56a7d3c9371e80767522710d6e538f686afbd6500db2974ef4cea3be42fcd824ab80
|
7
|
+
data.tar.gz: 14f1f3069f9447efea296de63702c474b98c7dfdcc5fb06aed2385a9565f3e0b6d63ed5428016793f126b5c7cf2359c5bb9a4f7138bca3ad5b31115c76b1fd4d
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/grape-throttler.rb
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
end
|
3
|
+
require 'grape' unless defined?(Grape)
|
4
|
+
require 'logger' unless defined?(Logger)
|
6
5
|
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
require 'grape-throttler/version'
|
7
|
+
|
8
|
+
require 'grape-throttler/extensions/throttle_extension'
|
10
9
|
|
11
10
|
module GrapeThrottler
|
12
11
|
module Middleware
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grape-throttler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Gomez
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-07-
|
11
|
+
date: 2021-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grape
|