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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f15483f3d01901dd9a9807691e315d3e5d2ac3e95d5a583b2422cd4487ed3ce9
4
- data.tar.gz: e41ebdc226aa538d13582432e8b1aacbbeef32f347392ff6147c14ea2fe6f65c
3
+ metadata.gz: 1dcd0ec61589ecc0a7b6441b224fc47a7a8827c3e63bda9abfa713f59dcb8060
4
+ data.tar.gz: f23c60d6e5be1d2356ca21bf42adf932c9b3e4e42b74b5cb0528afd0f562a943
5
5
  SHA512:
6
- metadata.gz: 25d10fe2876bd49114431ae4d655f83abbd7288446b86c3742bca58b1b2786758e030683e96155a037c804f78d02ef368cb9a4b675eb5ea4a374fb7fdecf1180
7
- data.tar.gz: b1dc29c5cbc17830a77a6a86cf671a3a2fde8f0854f2a37cd2b98e5b7fec2d9aa7e588c683c9eb7557b1bf122fb55471de5c0e0ad299a908c094fd4b2dbe2afc
6
+ metadata.gz: df20089630b617bda9bec1dd6140410e0a284461382a402b9cba08b16707f18cc4ad86a1b4b41d0d8092ebc612e2af41c46ee1edee5277c9e850841c60aad56c
7
+ data.tar.gz: dceec345d85e24a4ca3e6c655b28e71dffe8227c2aad2861b2461bf4ad9194521c737c79b1c98e428497c95b83152a54dcf6ec44fd02df3c2e8d1719db3cd1ea
@@ -1,3 +1,3 @@
1
1
  module Redisize
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
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.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-07-28 00:00:00.000000000 Z
11
+ date: 2022-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry