renderful 0.3.0 → 0.3.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: e8b21d6a36339a25124f85dc7a61596b84307b23d3931d163d72f543a592ae90
4
- data.tar.gz: bca04f50852ace266b6ce965159f0d1d9d681ada34727551e9ae3faa404d4aaf
3
+ metadata.gz: 2a4bc552a4dd46eb3cb2fd3d84cc27e638c7b890b2723f08a9866a4611e20169
4
+ data.tar.gz: 22e3c9bc355d74d29ec607a859ef7557bcabab756af2acb8047a19ffad61b402
5
5
  SHA512:
6
- metadata.gz: 8c2e0367a4297cf75dc9851122b77628321959d398c8cf5354af3a6d683462cdbf94d0225d58fa6eca7355a5c7451fe097204f25c96c7613e1dbbc9d0874bd4d
7
- data.tar.gz: 41fe4c2e8aadff79edad156da04ba42832f3443c2456aa45f969f3d52165ede301d88dc9d6bef5293341b2c119070c0a91880729cff7cc0f6b9c3f9e367f11d5
6
+ metadata.gz: d504e16ea42d14394ea07167ce9cb69e79e3292cea3a668486bfeca2f6cb8a2160b2a100ab0a272ef50d1f5cf673e02b77c6899af755c6819e567d025579b400
7
+ data.tar.gz: eb5d821928b7906c80d03b2cf314a6e3ef1f294a376c48bafac8f3fee9a563ddb5e5371a6eb7f60781ccc7e4c87735666a01653e70dcd7ebc85456d21ed23d00
@@ -1,8 +1,16 @@
1
1
  # Changelog
2
2
 
3
- ## [Unreleased](https://github.com/nebulab/renderful/tree/HEAD)
3
+ ## [v0.3.1](https://github.com/nebulab/renderful/tree/v0.3.1) (2020-04-24)
4
4
 
5
- [Full Changelog](https://github.com/nebulab/renderful/compare/v0.2.0...HEAD)
5
+ [Full Changelog](https://github.com/nebulab/renderful/compare/v0.3.0...v0.3.1)
6
+
7
+ **Merged pull requests:**
8
+
9
+ - Skip calls to cache store when no keys must be invalidated [\#25](https://github.com/nebulab/renderful/pull/25) ([aldesantis](https://github.com/aldesantis))
10
+
11
+ ## [v0.3.0](https://github.com/nebulab/renderful/tree/v0.3.0) (2020-04-20)
12
+
13
+ [Full Changelog](https://github.com/nebulab/renderful/compare/v0.2.0...v0.3.0)
6
14
 
7
15
  **Closed issues:**
8
16
 
@@ -24,6 +32,7 @@
24
32
  - Fix a typo and trim whitespace in the README [\#18](https://github.com/nebulab/renderful/pull/18) ([elia](https://github.com/elia))
25
33
  - Prismic integration [\#17](https://github.com/nebulab/renderful/pull/17) ([aldesantis](https://github.com/aldesantis))
26
34
  - Support for multiple providers [\#16](https://github.com/nebulab/renderful/pull/16) ([aldesantis](https://github.com/aldesantis))
35
+ - Update linting and testing infrastructure [\#6](https://github.com/nebulab/renderful/pull/6) ([aldesantis](https://github.com/aldesantis))
27
36
 
28
37
  ## [v0.2.0](https://github.com/nebulab/renderful/tree/v0.2.0) (2020-01-17)
29
38
 
@@ -35,7 +44,6 @@
35
44
 
36
45
  **Merged pull requests:**
37
46
 
38
- - Update linting and testing infrastructure [\#6](https://github.com/nebulab/renderful/pull/6) ([aldesantis](https://github.com/aldesantis))
39
47
  - Add support for Rails 6 [\#5](https://github.com/nebulab/renderful/pull/5) ([aldesantis](https://github.com/aldesantis))
40
48
 
41
49
  ## [v0.1.0](https://github.com/nebulab/renderful/tree/v0.1.0) (2019-05-02)
@@ -26,7 +26,7 @@ module Renderful
26
26
  def invalidate_cache_from_webhook(body)
27
27
  result = provider.cache_keys_to_invalidate(body)
28
28
 
29
- cache.delete(*result[:keys])
29
+ cache.delete(*result[:keys]) if result[:keys].any?
30
30
 
31
31
  result[:patterns].each do |pattern|
32
32
  cache.delete_matched(pattern)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Renderful
4
- VERSION = '0.3.0'
4
+ VERSION = '0.3.1'
5
5
  end
@@ -38,7 +38,7 @@ Gem::Specification.new do |spec|
38
38
  spec.add_development_dependency 'rails', ['>= 5.0.0', '< 7']
39
39
  spec.add_development_dependency 'rake', '~> 10.0'
40
40
  spec.add_development_dependency 'redis', '~> 4.1'
41
- spec.add_development_dependency 'rspec-rails', '~> 4.0.0.beta4'
41
+ spec.add_development_dependency 'rspec-rails', '~> 4.0'
42
42
  spec.add_development_dependency 'rspec_junit_formatter', '~> 0.4.1'
43
43
  spec.add_development_dependency 'rubocop', '~> 0.79.0'
44
44
  spec.add_development_dependency 'rubocop-rspec', '~> 1.37'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: renderful
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alessandro Desantis
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-04-20 00:00:00.000000000 Z
11
+ date: 2020-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: appraisal
@@ -176,14 +176,14 @@ dependencies:
176
176
  requirements:
177
177
  - - "~>"
178
178
  - !ruby/object:Gem::Version
179
- version: 4.0.0.beta4
179
+ version: '4.0'
180
180
  type: :development
181
181
  prerelease: false
182
182
  version_requirements: !ruby/object:Gem::Requirement
183
183
  requirements:
184
184
  - - "~>"
185
185
  - !ruby/object:Gem::Version
186
- version: 4.0.0.beta4
186
+ version: '4.0'
187
187
  - !ruby/object:Gem::Dependency
188
188
  name: rspec_junit_formatter
189
189
  requirement: !ruby/object:Gem::Requirement