lite-redis 1.0.3 → 1.0.4

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: 7715d072a78522099f15d6a48a54682457cd69b91114c58b683228a2f7fb1512
4
- data.tar.gz: ee7d45424498d7c0cc074b1bf34ad698e2d0cd070a86164f5cf98704c57ad1cd
3
+ metadata.gz: 4d4059175cb26f3c063199d72f84effc0df7e2c2b3045e14a590e7691be9ed7e
4
+ data.tar.gz: a1b6f049d196b0142d4ec26ce3148a24e838883bb155768ac7f439e2144cff34
5
5
  SHA512:
6
- metadata.gz: 3b4ba8e72d8a59c77df434055a10849ac645db7812e069e2e98e9e26f053c1f9c710c83402d8cbc031fafa2047b90321d5f56e69f8d02260a7aae006a991290f
7
- data.tar.gz: b95411f5d41441ee71c9f89d9a8996f6880bb2d4c16b08c9c4a769ebda841b62548872391da306573d0a7d5c2e5b9dc0a1425c41c9204384d4489cdcf2a28551
6
+ metadata.gz: 7b1d9721351131c97375d9a71a10ad513c9cf775a3c5f023407d8b7f6db759a3c135b64a02e9afaebcd2a413539544f4de159d94fba316f9c22c5075f4f9eaa2
7
+ data.tar.gz: 6c220833f59a669194523777099bd40d3176542b88616d5765c512c3e9b50e90197d37b795afc650eb96530834d0c425495f2da7e51399c5b9ab69a253ac0d9e
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.0.4] - 2019-08-24
10
+ ### Changed
11
+ - Imporved how configuration works
12
+
9
13
  ## [1.0.3] - 2019-08-15
10
14
  ### Changed
11
15
  - Fix broken rake task
data/Gemfile.lock CHANGED
@@ -1,30 +1,31 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lite-redis (1.0.3)
4
+ lite-redis (1.0.4)
5
5
  redis
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actionpack (5.2.3)
11
- actionview (= 5.2.3)
12
- activesupport (= 5.2.3)
10
+ actionpack (6.0.0)
11
+ actionview (= 6.0.0)
12
+ activesupport (= 6.0.0)
13
13
  rack (~> 2.0)
14
14
  rack-test (>= 0.6.3)
15
15
  rails-dom-testing (~> 2.0)
16
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
17
- actionview (5.2.3)
18
- activesupport (= 5.2.3)
16
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
17
+ actionview (6.0.0)
18
+ activesupport (= 6.0.0)
19
19
  builder (~> 3.1)
20
20
  erubi (~> 1.4)
21
21
  rails-dom-testing (~> 2.0)
22
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
23
- activesupport (5.2.3)
22
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
23
+ activesupport (6.0.0)
24
24
  concurrent-ruby (~> 1.0, >= 1.0.2)
25
25
  i18n (>= 0.7, < 2)
26
26
  minitest (~> 5.1)
27
27
  tzinfo (~> 1.1)
28
+ zeitwerk (~> 2.1, >= 2.1.8)
28
29
  ast (2.4.0)
29
30
  builder (3.2.3)
30
31
  colorize (0.8.1)
@@ -63,12 +64,12 @@ GEM
63
64
  nokogiri (>= 1.6)
64
65
  rails-html-sanitizer (1.2.0)
65
66
  loofah (~> 2.2, >= 2.2.2)
66
- railties (5.2.3)
67
- actionpack (= 5.2.3)
68
- activesupport (= 5.2.3)
67
+ railties (6.0.0)
68
+ actionpack (= 6.0.0)
69
+ activesupport (= 6.0.0)
69
70
  method_source
70
71
  rake (>= 0.8.7)
71
- thor (>= 0.19.0, < 2.0)
72
+ thor (>= 0.20.3, < 2.0)
72
73
  rainbow (3.0.0)
73
74
  rake (12.3.3)
74
75
  redis (4.1.2)
@@ -113,6 +114,7 @@ GEM
113
114
  tzinfo (1.2.5)
114
115
  thread_safe (~> 0.1)
115
116
  unicode-display_width (1.6.0)
117
+ zeitwerk (2.1.9)
116
118
 
117
119
  PLATFORMS
118
120
  ruby
@@ -13,16 +13,22 @@ module Lite
13
13
 
14
14
  end
15
15
 
16
- def self.configuration
17
- @configuration ||= Configuration.new
18
- end
16
+ class << self
19
17
 
20
- def self.configuration=(config)
21
- @configuration = config
22
- end
18
+ attr_writer :configuration
19
+
20
+ def configuration
21
+ @configuration ||= Configuration.new
22
+ end
23
+
24
+ def configure
25
+ yield(configuration)
26
+ end
27
+
28
+ def reset_configuration!
29
+ @configuration = Configuration.new
30
+ end
23
31
 
24
- def self.configure
25
- yield(configuration)
26
32
  end
27
33
 
28
34
  end
@@ -3,7 +3,7 @@
3
3
  module Lite
4
4
  module Redis
5
5
 
6
- VERSION ||= '1.0.3'
6
+ VERSION ||= '1.0.4'
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.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-16 00:00:00.000000000 Z
11
+ date: 2019-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis