graphql_authorizer 1.0.4 → 1.0.5

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: f8bb17b10a19de442ec39c96ae049990c321ca100ed1312ba0dcb64cef140d34
4
- data.tar.gz: 388282560932d873fb7b0936cd26c67948fa8516c30a5f13103168348d4dbeeb
3
+ metadata.gz: 1006a6eb122eb4e84b3f58e4b8fae00d9d5fcca07fc1c1178c8581023a64e858
4
+ data.tar.gz: b6351a5a685281b8118f7ac4236fbd1f244c90349bbbfddab05de28aede5689b
5
5
  SHA512:
6
- metadata.gz: ad191a8caede355a94da2f5fd4259e01a166a300a998a0d826d011147532d98a6ba57f43092a527c24b1b967d95d108189e2921fe8c24022b783682f79ee8712
7
- data.tar.gz: 20f9d5aac17a44254a6c886ddf755c1efd85f50246c953df0668a94873fadfad198739b75a238e4cbd20235ebbdab4f6ad80a39ed352cab9751b587b4794df23
6
+ metadata.gz: e1310d996f55fed8c0920e4e9baf675fe57a75ee97257ee47b378e28f65e468af79ba91f8c1183b359e2ec2d6f91ab8c4175588f1655bce907edb23e13bba916
7
+ data.tar.gz: 971518a941445b532dfd6b91fc7651fe813b8f8f647cc4f271c1307653b8e36784fb234bcc3f8f2b7aff3e81b965c29b47640c94bb4c04659a89485556a00c8b
data/README.md CHANGED
@@ -35,6 +35,14 @@ This will generate initializer configuration files for:
35
35
 
36
36
  - [Rack-Attack](https://bitbucket.org/gorated/graphql-authorizer/src/master/lib/generators/graphql_authorizer/templates/rack_attack.rb).
37
37
 
38
+ Add Rack Attack in application.rb:
39
+
40
+ ```
41
+ # In config/application.rb
42
+
43
+ config.middleware.use Rack::Attack
44
+ ```
45
+
38
46
  note: `Rack Attack` initializer file contains basic configurations to `allow`,
39
47
  `block` and `throttle` client's access based on defined conditions.
40
48
 
@@ -1,3 +1,3 @@
1
1
  module GraphQLAuthorizer
2
- VERSION = "1.0.4".freeze
2
+ VERSION = "1.0.5".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql_authorizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter John Alvarado