decidim-dev 0.23.5 → 0.23.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/decidim/dev/test/rspec_support/caching.rb +15 -0
- data/lib/decidim/dev/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ad5ceb0e132830c1d8974281e165ced3cac65c394431cd9f9694d07a67b1be0
|
4
|
+
data.tar.gz: 70768597d7e2d6f71e703d04b83b643a946347791784114f7b937d69e77586a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b27647ecbecea66b0240dce61e87abd9f0fe4bd01fc3c2877d02bca3a6b081773dfdcb3d4dcbfe7368205bc47a42657add65052c71e80f585a38ee609f3c5d3
|
7
|
+
data.tar.gz: bf9b55fde3e9eae43b26afebd9337cb92dcd90ba64a9d8c59b4e90e047b7ee65ff7eb2210763ce8ec5a81512ac7034203fdc480a551bf64e00d7845bf0b394d0
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
RSpec.configure do |config|
|
4
|
+
config.around(:each, :caching) do |example|
|
5
|
+
caching = ActionController::Base.perform_caching
|
6
|
+
cache_store = ActionController::Base.cache_store
|
7
|
+
ActionController::Base.perform_caching = true
|
8
|
+
ActionController::Base.cache_store = ActiveSupport::Cache::MemoryStore.new
|
9
|
+
|
10
|
+
example.run
|
11
|
+
|
12
|
+
ActionController::Base.perform_caching = caching
|
13
|
+
ActionController::Base.cache_store = cache_store
|
14
|
+
end
|
15
|
+
end
|
data/lib/decidim/dev/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-dev
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.23.
|
4
|
+
version: 0.23.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep Jaume Rey Peroy
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-
|
13
|
+
date: 2021-05-10 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: capybara
|
@@ -32,14 +32,14 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.23.
|
35
|
+
version: 0.23.6
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - '='
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.23.
|
42
|
+
version: 0.23.6
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: factory_bot_rails
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -487,6 +487,7 @@ files:
|
|
487
487
|
- lib/decidim/dev/test/rspec_support/attachment_helpers.rb
|
488
488
|
- lib/decidim/dev/test/rspec_support/attachments.rb
|
489
489
|
- lib/decidim/dev/test/rspec_support/authorization.rb
|
490
|
+
- lib/decidim/dev/test/rspec_support/caching.rb
|
490
491
|
- lib/decidim/dev/test/rspec_support/capybara.rb
|
491
492
|
- lib/decidim/dev/test/rspec_support/capybara_data_picker.rb
|
492
493
|
- lib/decidim/dev/test/rspec_support/capybara_scopes_picker.rb
|