solid_cache 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ef3fc7a701fc5af744a290377eae445564a040ccb938e2ea64caf1bab5e90da
|
4
|
+
data.tar.gz: dffd9ee1ab8ea5f6f96620dfcaba35092bd7d5fd9ff5bed210271666e2b839fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22441a9d3132510beff5347788844f6bb05a7da369220ccdc2228587aabb8c2cd51dfb81eecff7ffc0febc0d8b1dea2f1ed852e6393e2a7bfa0af01418913d2a
|
7
|
+
data.tar.gz: 83b296209289d1399ac3b2b3857b6b2740d7d1da6e51f43ef9873e77179681ee65e05f6ca50afd9c10f0605279df637fa8ef8ba7dedd0f4b6a19349aa086c553
|
@@ -7,10 +7,8 @@ class SolidCache::InstallGenerator < Rails::Generators::Base
|
|
7
7
|
desc: "Skip migrations"
|
8
8
|
|
9
9
|
def add_rails_cache
|
10
|
-
|
11
|
-
|
12
|
-
gsub_file env_config, /(# )?config\.cache_store = (:(?!null_store).*)/, "config.cache_store = :solid_cache_store"
|
13
|
-
end
|
10
|
+
if (env_config = Pathname(destination_root).join("config/environments/production.rb")).exist?
|
11
|
+
gsub_file env_config, /(# )?config\.cache_store = (:.*)/, "config.cache_store = :solid_cache_store"
|
14
12
|
end
|
15
13
|
end
|
16
14
|
|
data/lib/solid_cache/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solid_cache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Donal McBreen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|