istox 0.2.20.2 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/istox/helpers/gruf_listener_hook.rb +7 -7
- data/lib/istox/helpers/redis_manager.rb +0 -8
- data/lib/istox/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf92c8de5dc5407049f3a216cbf0d63df754aa1c4d23473a2a87a9628d71bbc8
|
4
|
+
data.tar.gz: 2cfce3c6ef9c45edcff3f9c34d8e27def16e6ed6cf94343acd9d810052d2ecb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f91e99b9bb7ae5fab66068e14d7c049187662b7265afcb45c7538af6b72bbd4c0e8d60eb7b0afd0e3eb60412709b32a42f38a3eebab8f07d8ef56d64f5fa76cd
|
7
|
+
data.tar.gz: 7f48b151239306cdfe9b754c195f7f2d01608efddec8342aaf10f779f6693fdf4b9ece2cf3208345e79ae3e605cc94b9ec5382ed229895a7fc7e28645bc5afe0
|
@@ -3,14 +3,14 @@ module Istox
|
|
3
3
|
def before_server_start(server:)
|
4
4
|
# do my thing before the server starts
|
5
5
|
|
6
|
-
@listener = ::Listen.to('app/rpc') do |modified, added, removed|
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
# @listener = ::Listen.to('app/rpc') do |modified, added, removed|
|
7
|
+
# puts "modified absolute path: #{modified}"
|
8
|
+
# puts "added absolute path: #{added}"
|
9
|
+
# puts "removed absolute path: #{removed}"
|
10
10
|
|
11
|
-
|
12
|
-
end
|
13
|
-
@listener.start # not blocking
|
11
|
+
# server.init_restart
|
12
|
+
# end
|
13
|
+
# @listener.start # not blocking
|
14
14
|
end
|
15
15
|
|
16
16
|
def after_server_stop(server:)
|
@@ -24,14 +24,6 @@ module Istox
|
|
24
24
|
db: 6
|
25
25
|
))
|
26
26
|
end
|
27
|
-
|
28
|
-
# for send_grid email templates cache
|
29
|
-
def sendgrid_email_templates
|
30
|
-
@sendgrid_email_templates ||= Redis::Namespace.new(:sendgrid_email_templates, redis: Redis.new(
|
31
|
-
url: ENV['REDIS_URL'] || 'redis://127.0.0.1:16379',
|
32
|
-
db: 5
|
33
|
-
))
|
34
|
-
end
|
35
27
|
end
|
36
28
|
end
|
37
29
|
end
|
data/lib/istox/version.rb
CHANGED
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.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Siong Leng
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: amazing_print
|
@@ -519,7 +519,7 @@ files:
|
|
519
519
|
homepage: http://www.abc.com
|
520
520
|
licenses: []
|
521
521
|
metadata: {}
|
522
|
-
post_install_message:
|
522
|
+
post_install_message:
|
523
523
|
rdoc_options: []
|
524
524
|
require_paths:
|
525
525
|
- lib
|
@@ -534,8 +534,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
534
534
|
- !ruby/object:Gem::Version
|
535
535
|
version: '0'
|
536
536
|
requirements: []
|
537
|
-
rubygems_version: 3.0.
|
538
|
-
signing_key:
|
537
|
+
rubygems_version: 3.0.6
|
538
|
+
signing_key:
|
539
539
|
specification_version: 4
|
540
540
|
summary: istox backend shared gem
|
541
541
|
test_files: []
|