istox 0.1.142 → 0.1.143

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: 8f12e2a04dc4fcb089b33a43ae11a0b476fff150947dfa61216ae03f11d2552c
4
- data.tar.gz: 72a1f3d5ee725ea0499f7b87a67933d48a7cc76d9988fb5270e7491b556521db
3
+ metadata.gz: ddaa85effb88fb8ad0aec645915a72dcf59a4172e72385b746cadf944fa6ad65
4
+ data.tar.gz: 4ccbb6bdbff34b2ff55e3eef969d68cbcfb70426b9615519b9177acbfef96ead
5
5
  SHA512:
6
- metadata.gz: 6a846f6a61a57de7018a983422a1f800441ebe89b308d373d7c8f951177240b0be4a22ee12adea9ef19e716e0a2aa7acc1e286924a063dc6c7fc45eee7aeaebb
7
- data.tar.gz: 956e5ff28171c2471a56bd4aaaaa068a705007cc7e049490c49177e78ac6947bddd6d9d1c19a421d84f714b27ee01f70b0bf8afa042f8a37d94e4d6320018bbb
6
+ metadata.gz: ab103fef87e685967ba4cb629db6926be38f8feab8115144553a907a22f83ac50fb9ea59c21a169501ce7797c3cbb6404a90b5d72f761f0cbccb4751842b9fc4
7
+ data.tar.gz: bc2c565d2c4bdf6ccc5e4af8c343de42162af3764c5bdd3e97d028cbcc4512a300d643a86109f81ebe92167cfa564ea5d20398b77ce2b7d12fa213f36113f39c
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- istox (0.1.141.pre.4)
4
+ istox (0.1.142)
5
5
  awesome_print
6
6
  binding_of_caller
7
7
  bunny (>= 2.12.0)
@@ -98,7 +98,7 @@ GEM
98
98
  ffi (1.12.2)
99
99
  globalid (0.4.2)
100
100
  activesupport (>= 4.2.0)
101
- google-protobuf (3.11.4)
101
+ google-protobuf (3.11.4-universal-darwin)
102
102
  googleapis-common-protos-types (1.0.5)
103
103
  google-protobuf (~> 3.11)
104
104
  graphlient (0.3.7)
@@ -109,7 +109,7 @@ GEM
109
109
  graphql-client (0.16.0)
110
110
  activesupport (>= 3.0)
111
111
  graphql (~> 1.8)
112
- grpc (1.28.0)
112
+ grpc (1.28.0-universal-darwin)
113
113
  google-protobuf (~> 3.11)
114
114
  googleapis-common-protos-types (~> 1.0)
115
115
  grpc-tools (1.28.0)
@@ -72,6 +72,10 @@ module Istox
72
72
  yield if block_given?
73
73
  end
74
74
 
75
+ def flush
76
+ redis.flushdb
77
+ end
78
+
75
79
  def redis
76
80
  @redis ||= Redis::Namespace.new(:platform_cache, redis: Redis.new(
77
81
  url: ENV['REDIS_URL'] || 'redis://127.0.0.1:16379',
@@ -1,3 +1,3 @@
1
1
  module Istox
2
- VERSION = '0.1.142'.freeze
2
+ VERSION = '0.1.143'.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.1.142
4
+ version: 0.1.143
5
5
  platform: ruby
6
6
  authors:
7
7
  - Siong Leng
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-04-12 00:00:00.000000000 Z
11
+ date: 2020-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print