cache_json 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fe1d01d761ef7ff3aff1777d3a019704095b1f50a9ba2ab57fd5a5ba72e02816
4
- data.tar.gz: 64b4ac0d7350fbb3125c11c16c9d952e847efa8d230cd54d024f56cfb7ede509
3
+ metadata.gz: 4c1572a9f2ee90814922450cf91ec662472b736ba86b78b1d526749c1aa79bc0
4
+ data.tar.gz: b060d7548235ec62c9c1b350da2f874b138a74b988224de6e8f978fd22ee0a29
5
5
  SHA512:
6
- metadata.gz: ad7911c949d27461f994f16bfcb19e93a5c0830e7b606ccf87e4362042d888056d9a9e029608381550a997297691b34e5570827eb2da64666b0b8d407647fb8e
7
- data.tar.gz: 1cfde86c126160747298a70ef8ebc07dcfb0be8e6e66945c464262a99de4a227ef4e264a0d4e265ba5724afd1a5cee5e94dca78eea53e757b3cb0fdfa4c94bf7
6
+ metadata.gz: fad61288414aa4631a48be02c418840eefad4c07d8f1aff890970fd243b01806b1d65618a74e70d80f89886ba79f4c78d7d96700119c8ae9c09359cc7a9ebf8a
7
+ data.tar.gz: 9735828b606808072dc388176b4634fa6b7f49e28144b500dde1bc7cec17691cf226d362a58b3614d3a963d24c2f0154672ceee4238746552d87c081e0352b26
data/.rubocop.yml CHANGED
@@ -1,14 +1,41 @@
1
- Style/GlobalVars:
2
- Enabled: false
3
-
4
- Style/Documentation:
5
- Enabled: false
1
+ Metrics/BlockLength:
2
+ Enabled: true
3
+ Exclude:
4
+ - "spec/**/*"
6
5
 
7
- Metrics/LineLength:
6
+ Layout/LineLength:
8
7
  Enabled: true
9
8
  Max: 100
10
9
 
11
- Metrics/BlockLength:
10
+ Layout/EmptyLinesAroundAttributeAccessor:
12
11
  Enabled: true
13
- Exclude:
14
- - "spec/**/*"
12
+
13
+ Layout/SpaceAroundMethodCallOperator:
14
+ Enabled: true
15
+
16
+ Lint/RaiseException:
17
+ Enabled: true
18
+
19
+ Lint/StructNewOverride:
20
+ Enabled: true
21
+
22
+ Style/ExponentialNotation:
23
+ Enabled: true
24
+
25
+ Style/HashEachMethods:
26
+ Enabled: true
27
+
28
+ Style/HashTransformKeys:
29
+ Enabled: true
30
+
31
+ Style/HashTransformValues:
32
+ Enabled: true
33
+
34
+ Style/SlicingWithRange:
35
+ Enabled: true
36
+
37
+ Style/GlobalVars:
38
+ Enabled: false
39
+
40
+ Style/Documentation:
41
+ Enabled: false
@@ -23,7 +23,7 @@ module CacheJSON
23
23
 
24
24
  def refresh_cache!(args:, cache: nil)
25
25
  cache ||= Cache.new(args: args, options: self.class.cache_json_full_options)
26
- results = compute_results(args)
26
+ results = compute_results(**args)
27
27
  cache.cached_results = results
28
28
  results
29
29
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CacheJSON
4
- VERSION = '1.2.0'
4
+ VERSION = '1.2.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cache_json
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Gut
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-02 00:00:00.000000000 Z
11
+ date: 2020-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis
@@ -181,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  - !ruby/object:Gem::Version
182
182
  version: '0'
183
183
  requirements: []
184
- rubygems_version: 3.0.3
184
+ rubygems_version: 3.1.2
185
185
  signing_key:
186
186
  specification_version: 4
187
187
  summary: Extremely simple Redis caching for any Ruby class