egov_utils 1.4.0 → 1.4.2

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: 9f72e2d5d10dee7d6101f3ddf873c9484b85037185dfb062460bcfe7fdb77d90
4
- data.tar.gz: 28964c1b315937a7bd0bcb77a2c178ebf7e72f9cbc47ba4cdd660c5fbbe41443
3
+ metadata.gz: c706bd457517726ec2f3e6aadfce8541fa03218e62eef83a41107dc348b86665
4
+ data.tar.gz: 2c37f8daad4ab35dbba9b0b4780d3a5faa243715bc5107e9ef0d039dea473ce0
5
5
  SHA512:
6
- metadata.gz: 979f062cbcda51f631b213c7fe2b0a5985d28c8fe9a2dec880b24d4d20c0a3976ae7ed3eb3d9ee43687184b2deaa3b2b8452ba3be5a5c105f8c526b76d22a9b8
7
- data.tar.gz: a3c04549ae77593022ff411e9604bfc73716e8f00c363d8726a5a7bd3f98fbe46320c68e9bb6b27c8fa8eb2f165510ee4c5dd14d51634ecd12e39faf83878bb5
6
+ metadata.gz: 90ea9f93593b1614d3c57da82a79edbfc07ebd8afb449e39b0bf2e0d9f37485712d93a7ca6767bb42cc101706a3f4eab0238435a5986b81fbd0186799a10e423
7
+ data.tar.gz: c823c3827673872f8a108b30b6ebefe3816b7a0e996b87f80eb344c5ae7bbf19b472134f3a833f2444d501277df4671980a56ea3b74388336a893bbc63a703c5
@@ -35,6 +35,9 @@ module EgovUtils
35
35
  Settings['redmine'] ||= Settingslogic.new({})
36
36
  Settings['redmine']['enabled'] ||= false
37
37
 
38
- Settings['mock_resources'] ||= Rails.env.production? || Rails.env.test?
38
+ if !Settings.key?('mock_resources')
39
+ Settings['mock_resources'] = !Rails.env.production?
40
+ end
39
41
 
42
+ Settings['mock_resources'] = true if Rails.env.test?
40
43
  end
@@ -1,3 +1,3 @@
1
1
  module EgovUtils
2
- VERSION = '1.4.0'
2
+ VERSION = '1.4.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: egov_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ondřej Ezr
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-06 00:00:00.000000000 Z
11
+ date: 2024-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails