lite-redis 1.0.0 → 1.0.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: 96e8c6fe7c1589911dbab2b31a09662788087a69eca0c384e7cb72dbbf9465cd
4
- data.tar.gz: 8faa2156ad8483ce1e65693bf77ef6794770df6d9c86729881399580cd7b67fc
3
+ metadata.gz: e07950f10c974dc019cff05227ab497573ffc43d10d67111899d28d1e330444f
4
+ data.tar.gz: 3db86218d226bec2f4b5bcd870302dfa8618d5302cb0051edf432e33eeb780b0
5
5
  SHA512:
6
- metadata.gz: a2e9500d1ca7e07bd363128d79f11d1586344b70cba80cfd13f7248230f596a8b39051c33c088e62a83a3530ad5d35e7c79489a372837c90bb53d8e43e0814fc
7
- data.tar.gz: 44660ee5b5e8257634f0d3dbb786ca4c53166609c01be56e275d0aba09071f5b251ebfe0ffda28cdc85159ecdf6956c29d5486930cb59987f638eae33ad60526
6
+ metadata.gz: 9cf3afb33c09cabf26ac98032cf2a3dd6c1de68775ccd3e718e824b611f50dded00a7743418ec5969bd5f5fbc10dfe237aa43e45b47ab0c6785072aadfcdfd43
7
+ data.tar.gz: 045173771446b6ffb8573c81c1ee7fcd3c783c50563d2f5f7c70ab82646ce6bf15e3b8d070219e77265b064c3924cc66e1bea10f9124b13cd19bbade3d55e4f4
data/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
7
  ## [Unreleased]
8
+ ## [1.0.1] - 2019-07-09
9
+ ### Changed
10
+ - Updated the client method construction
11
+
8
12
  ## [1.0.0] - 2019-07-08
9
13
  ### Added
10
14
  - Initial project version
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lite-redis (1.0.0)
4
+ lite-redis (1.0.1)
5
5
  redis
6
6
 
7
7
  GEM
@@ -4,12 +4,14 @@ module Lite
4
4
  module Redis
5
5
  module BaseHelper
6
6
 
7
+ attr_writer :client
8
+
7
9
  def initialize(redis = nil)
8
10
  @client = redis
9
11
  end
10
12
 
11
- def client(redis = nil)
12
- @client ||= redis ||= Lite::Redis.configuration.client
13
+ def client
14
+ @client ||= Lite::Redis.configuration.client
13
15
  end
14
16
 
15
17
  private
@@ -3,7 +3,7 @@
3
3
  module Lite
4
4
  module Redis
5
5
 
6
- VERSION ||= '1.0.0'
6
+ VERSION ||= '1.0.1'
7
7
 
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lite-redis
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez