blueprint_config 1.3.0 → 1.4.0
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: 9e1b4cd0cf2aeb8bb83afa7545fd6aca21c103f7902edf56567d0d1bab7fc596
|
4
|
+
data.tar.gz: a8dcc907c8c5ee3a5cb3073d41accb0b40bf2fa21006af15fceef3ab2e0bb065
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65a35dc0a72caf730aca234e27a24b3f532571fb70480ae12b6ff39d541325d7ab246c43341ead9716a0c5629fafb8695aebbabaae4ce953e8cc4313118d2a6b
|
7
|
+
data.tar.gz: 6eadf4f45fcb8a9aa1e2dd88f868314469e28d360e4f8014de4fb23f83af3208f20f739a23bde87ab8d6f18bf4437e39e5bb53957d3075cf4949bbf091a4e148
|
@@ -69,7 +69,6 @@ module BlueprintConfig
|
|
69
69
|
unless @options[:silence_warnings]
|
70
70
|
puts MISSING_TABLE_WARNING
|
71
71
|
if defined?(Rails)
|
72
|
-
Rails.logger.warn(e.message)
|
73
72
|
Rails.logger.warn(MISSING_TABLE_WARNING)
|
74
73
|
end
|
75
74
|
end
|
@@ -87,7 +86,6 @@ module BlueprintConfig
|
|
87
86
|
unless @options[:silence_warnings]
|
88
87
|
puts MISSING_ATTRIBUTES_WARNING % missing
|
89
88
|
if defined?(Rails)
|
90
|
-
Rails.logger.warn(e.message)
|
91
89
|
Rails.logger.warn(MISSING_TABLE_WARNING)
|
92
90
|
end
|
93
91
|
end
|
@@ -6,7 +6,7 @@ module BlueprintConfig
|
|
6
6
|
class Setting < ::ActiveRecord::Base
|
7
7
|
self.inheritance_column = nil
|
8
8
|
|
9
|
-
enum type
|
9
|
+
enum :type, { section: 0, string: 1, integer: 2, boolean: 3, json: 4, selection: 5, set: 6 }
|
10
10
|
|
11
11
|
def parsed_json_value
|
12
12
|
parsed = begin
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blueprint_config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vladimir Elchinov
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-08-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|