├── .github └── workflows │ └── test.yml ├── .rspec ├── .rubocop.yml ├── Gemfile ├── Gemfile.lock ├── LICENSE ├── README.md ├── gcra.gemspec ├── lib └── gcra │ ├── rate_limiter.rb │ ├── redis_store.rb │ └── version.rb └── spec ├── lib └── gcra │ ├── rate_limiter_spec.rb │ └── redis_store_spec.rb └── spec_helper.rb /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viafintech/gcra-ruby/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viafintech/gcra-ruby/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viafintech/gcra-ruby/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viafintech/gcra-ruby/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viafintech/gcra-ruby/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viafintech/gcra-ruby/HEAD/README.md -------------------------------------------------------------------------------- /gcra.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viafintech/gcra-ruby/HEAD/gcra.gemspec -------------------------------------------------------------------------------- /lib/gcra/rate_limiter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viafintech/gcra-ruby/HEAD/lib/gcra/rate_limiter.rb -------------------------------------------------------------------------------- /lib/gcra/redis_store.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viafintech/gcra-ruby/HEAD/lib/gcra/redis_store.rb -------------------------------------------------------------------------------- /lib/gcra/version.rb: -------------------------------------------------------------------------------- 1 | module GCRA 2 | VERSION = '1.3.1'.freeze 3 | end 4 | -------------------------------------------------------------------------------- /spec/lib/gcra/rate_limiter_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viafintech/gcra-ruby/HEAD/spec/lib/gcra/rate_limiter_spec.rb -------------------------------------------------------------------------------- /spec/lib/gcra/redis_store_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viafintech/gcra-ruby/HEAD/spec/lib/gcra/redis_store_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viafintech/gcra-ruby/HEAD/spec/spec_helper.rb --------------------------------------------------------------------------------