web47core 0.7.4 → 0.7.6

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: 8717398ffc274873a8057965f099744e56c95730a3b06dbf465b2ae56bb48a28
4
- data.tar.gz: 3a519e7c3fd207057c8912c62ccb1e249fd268886bb82f6b431f4c7f88851109
3
+ metadata.gz: e8fbdc0d487e8fbc4f4b49b74603fb12b694a77267caa16e9c36d1f589418e28
4
+ data.tar.gz: 3587a074347a1807a3eb139aeb904eeb77394bfc76e754994b312736e8acc348
5
5
  SHA512:
6
- metadata.gz: e9d493aeb49b89723db88f171fb8efb2d79ba8d91b3e77dbcc82cec171bca779accc0eb4a7dfb03aeef539436ec338b04f2ab79b5ca476cba2c7a2f043d8252f
7
- data.tar.gz: 4e533fd3a6db8add02c7cfd40c3d5bce6512bec4656bd6f7a8eced741f8dae3a1ba030a6795feda080589540478b231e8670eff5d789ff0fc3c806262dacc743
6
+ metadata.gz: 5a324d1aa8cfacc3116268b1f173bd6b396f60b33c5c7e5efeefae85dd668786e603e44edd0c51b9fc299efafa5fe1d0d1cbc4b4d84a1bd1b9fe5c364537fc0f
7
+ data.tar.gz: 4139018431239a2edecbdcdb40109951636a6409c367fa4b7f9dea9aae1032ce0b7d01ec2ac348816fcd6e4bfff194491c9cc444f10e486f5ca5cd254a784c99
@@ -75,11 +75,7 @@ module CoreSystemConfiguration
75
75
 
76
76
  module ClassMethods
77
77
  def configuration
78
- @configuration ||= SystemConfiguration.find_or_create_by!(environment: Rails.env)
79
- end
80
-
81
- def reset
82
- @configuration = nil
78
+ SystemConfiguration.find_or_create_by!(environment: Rails.env)
83
79
  end
84
80
 
85
81
  def smtp_configuration
@@ -249,13 +245,4 @@ module CoreSystemConfiguration
249
245
  def slack_configured?
250
246
  slack_api_url.present?
251
247
  end
252
-
253
- # private
254
-
255
- #
256
- # Clear the cache when the object is saved
257
- #
258
- def clear_cache
259
- SystemConfiguration.reset
260
- end
261
248
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Web47core
4
- VERSION = '0.7.4'
4
+ VERSION = '0.7.6'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: web47core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.4
4
+ version: 0.7.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Schroeder