lite-redis 1.1.0 → 1.1.1

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: 5fe6ed04a6a9ab1b783f2794945cd7a7dc71f9f6a7a31676a2b0c6e7f5b694eb
4
- data.tar.gz: bd31712a935a984c00b34251aacc80b5a8d6cb655e830de725949b0a585fd0bb
3
+ metadata.gz: f2c4f604a444a51b48d2a6036889370aa998b4e42818a56cdf2faeea7152922c
4
+ data.tar.gz: 4e1e89bc11ea0f1fa31db7bbdbcdf271818e48db716dbb154faa27f336f74e7d
5
5
  SHA512:
6
- metadata.gz: 4bb1b7d5c0a8cd365659485a81019a8f6134b496d76b03f41a3cfd744971867783bd25511d29a4b7da383dbe66ec53c9b7d3040e46a8067a01b192bbd9fe03b9
7
- data.tar.gz: a908627460933ff42a5ee702e8bf7da6610484122ef87a758efae44a47bce74933b2f4a989435ae838a9d8748323748d2f71a2c06173be6f3c2a54ebe508fc6f
6
+ metadata.gz: 710e03d9f5f70ea21bb06c5c4236afc6e7a6bbf614e14789058044901bebbc4d7401bf3861759575653d6aea7fb850d0d9daa3ec282a12d0cf7b1b74da220f07
7
+ data.tar.gz: 0c5f906f2ff86103dd9fa0d2aa573da2466eb9e625c6fe50e2735c00396a738feab09c31689a49af1e52ec98c4b6ee671f3dabaa44e27f9dde1ee5183e1ea646
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.1.1] - 2021-07-21
10
+ ### Changed
11
+ - Improved Railtie support
12
+
9
13
  ## [1.1.0] - 2021-07-19
10
14
  ### Added
11
15
  - Added Ruby 3.0 support
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lite-redis (1.1.0)
4
+ lite-redis (1.1.1)
5
5
  redis
6
6
 
7
7
  GEM
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'rails/generators'
4
-
5
3
  module Lite
6
4
  module Redis
7
5
  class InstallGenerator < Rails::Generators::Base
data/lib/lite/redis.rb CHANGED
@@ -1,9 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'redis'
3
+ require 'redis' unless defined?(Redis)
4
4
 
5
+ require 'generators/lite/redis/install_generator' if defined?(Rails::Generators)
6
+
7
+ require 'lite/redis/railtie' if defined?(Rails::Railtie)
5
8
  require 'lite/redis/version'
6
- require 'lite/redis/railtie' if defined?(Rails)
7
9
  require 'lite/redis/configuration'
8
10
 
9
11
  %w[
@@ -12,5 +14,3 @@ require 'lite/redis/configuration'
12
14
  require "lite/redis/helpers/#{file_name}_helper"
13
15
  require "lite/redis/#{file_name}"
14
16
  end
15
-
16
- require 'generators/lite/redis/install_generator'
@@ -1,10 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'rails/railtie'
4
-
5
3
  module Lite
6
4
  module Redis
7
- class Railtie < ::Rails::Railtie
5
+ class Railtie < Rails::Railtie
8
6
 
9
7
  rake_tasks do
10
8
  file = File.expand_path('../../../tasks/redis.rake', __FILE__)
@@ -3,7 +3,7 @@
3
3
  module Lite
4
4
  module Redis
5
5
 
6
- VERSION = '1.1.0'
6
+ VERSION = '1.1.1'
7
7
 
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lite-redis
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-07-20 00:00:00.000000000 Z
11
+ date: 2021-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis