redisize 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/redisize/version.rb +1 -1
- data/lib/redisize.rb +16 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1dcd0ec61589ecc0a7b6441b224fc47a7a8827c3e63bda9abfa713f59dcb8060
|
4
|
+
data.tar.gz: f23c60d6e5be1d2356ca21bf42adf932c9b3e4e42b74b5cb0528afd0f562a943
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df20089630b617bda9bec1dd6140410e0a284461382a402b9cba08b16707f18cc4ad86a1b4b41d0d8092ebc612e2af41c46ee1edee5277c9e850841c60aad56c
|
7
|
+
data.tar.gz: dceec345d85e24a4ca3e6c655b28e71dffe8227c2aad2861b2461bf4ad9194521c737c79b1c98e428497c95b83152a54dcf6ec44fd02df3c2e8d1719db3cd1ea
|
data/lib/redisize/version.rb
CHANGED
data/lib/redisize.rb
CHANGED
@@ -1,6 +1,22 @@
|
|
1
1
|
require "redisize/version"
|
2
2
|
|
3
3
|
module Redisize
|
4
|
+
# autoloading is required for the proper module loading inside the sidekiq
|
5
|
+
module Adapter
|
6
|
+
autoload :Sidekiq, File.join(__dir__, 'redisize/adapter/sidekiq.rb')
|
7
|
+
autoload :Resque, File.join(__dir__, 'redisize/adapter/resque.rb')
|
8
|
+
autoload :Inline, File.join(__dir__, 'redisize/adapter/inline.rb')
|
9
|
+
end
|
10
|
+
module Cache
|
11
|
+
autoload :Rails, File.join(__dir__, 'redisize/cache/rails.rb')
|
12
|
+
end
|
13
|
+
module Log
|
14
|
+
autoload :Rails, File.join(__dir__, 'redisize/log/rails.rb')
|
15
|
+
end
|
16
|
+
module ORM
|
17
|
+
autoload :ActiveRecord, File.join(__dir__, 'redisize/orm/active_record.rb')
|
18
|
+
end
|
19
|
+
|
4
20
|
class << self
|
5
21
|
attr_writer :adapter
|
6
22
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redisize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel «Malo» Skrylev
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|