istox 0.2.7 → 0.2.8

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: 55b3c9aa9a02afcb1419637b7eac9ff25b2ac69c157668826af65e13d3c37c00
4
- data.tar.gz: bcdcbe386c2ca95a3a4f8e68b617a92dbc8ea37272909a1ab48fb1e95f678f2d
3
+ metadata.gz: 994fc5810c55f2637b138a872add0d6cc3eb3b3b0f4720d3121ada69bffcd037
4
+ data.tar.gz: f90911bd0bb0673a231e76fa4f26820b0ba96039d745aa2f23d0dd09be3e9e3f
5
5
  SHA512:
6
- metadata.gz: a9817547969c289454deab78634271d6cb44d9f3a190de1c4de8d3e3def3f0ec7a320522bc601845286412ba215550ef8ed26fc0ffbfd02bc20a48582c8673d7
7
- data.tar.gz: b071f1d3a181cd90f30e235d7425050f9c8871c4a2b8f7c1c52cf95ffe5137ff1eade6e70782dd8b9e7a9f6ce7e3c4a653e1b99210571e7eaf744f66ed8d3cc4
6
+ metadata.gz: a8973bb6040837fd3937f0e85576c8e312a1485dbed490e1d9981a5e7fee3762707443f64194df33f69940072c59a627ea9442495959bbae59b80694de929971
7
+ data.tar.gz: bc817295ac6e4b1d82ec546f7c0537d23d2e2dc980b02c735aa05e5c97d1fd959bc9f8d1189cf03afe6509be87b0bc078b8865a8b0c9fc2bdc214203ec7f2556
data/.gitignore CHANGED
File without changes
data/.rubocop.yml CHANGED
File without changes
data/.solargraph.yml CHANGED
File without changes
data/CODE_OF_CONDUCT.md CHANGED
File without changes
data/Gemfile CHANGED
File without changes
data/README.md CHANGED
File without changes
data/Rakefile CHANGED
File without changes
data/istox.gemspec CHANGED
@@ -37,7 +37,6 @@ Gem::Specification.new do |spec|
37
37
  spec.add_dependency 'bunny', '>= 2.12.0'
38
38
  spec.add_dependency 'exponential-backoff', '0.0.4'
39
39
  spec.add_dependency 'graphlient'
40
- spec.add_dependency 'gruf'
41
40
  spec.add_dependency 'hashie', '~> 3.5.7'
42
41
  spec.add_dependency 'istox_gruf', '~> 2.7.3'
43
42
  spec.add_dependency 'listen', '~> 3.0.5'
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -16,6 +16,14 @@ module Istox
16
16
  db: 6
17
17
  ))
18
18
  end
19
+
20
+ # for rate limit redis cache
21
+ def rate_limit_redis
22
+ @rate_limit_redis ||= Redis::Namespace.new(:rate_limit_cache, redis: Redis.new(
23
+ url: ENV['REDIS_URL'] || 'redis://127.0.0.1:16379',
24
+ db: 6
25
+ ))
26
+ end
19
27
  end
20
28
  end
21
29
  end
File without changes
File without changes
File without changes
File without changes
File without changes
data/lib/istox/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Istox
2
- VERSION = '0.2.7'.freeze
2
+ VERSION = '0.2.8'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: istox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Siong Leng
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-05-20 00:00:00.000000000 Z
11
+ date: 2021-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: amazing_print
@@ -108,20 +108,6 @@ dependencies:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
- - !ruby/object:Gem::Dependency
112
- name: gruf
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - ">="
116
- - !ruby/object:Gem::Version
117
- version: '0'
118
- type: :runtime
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - ">="
123
- - !ruby/object:Gem::Version
124
- version: '0'
125
111
  - !ruby/object:Gem::Dependency
126
112
  name: hashie
127
113
  requirement: !ruby/object:Gem::Requirement
@@ -546,7 +532,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
546
532
  - !ruby/object:Gem::Version
547
533
  version: '0'
548
534
  requirements: []
549
- rubygems_version: 3.2.11
535
+ rubygems_version: 3.0.6
550
536
  signing_key:
551
537
  specification_version: 4
552
538
  summary: istox backend shared gem