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: c15d3fbdfef9100c4ea913ea334e54121af90b9a3d1a8ebebadf058e3e6332cb
4
- data.tar.gz: 58bb317972ccb61b627973e957fc03f966d233312a45572b438e37ca61925c7f
3
+ metadata.gz: 9e1b4cd0cf2aeb8bb83afa7545fd6aca21c103f7902edf56567d0d1bab7fc596
4
+ data.tar.gz: a8dcc907c8c5ee3a5cb3073d41accb0b40bf2fa21006af15fceef3ab2e0bb065
5
5
  SHA512:
6
- metadata.gz: 9fc44988632c85c5d085b86fe6409577de935c781910d754edda255948e1a340951116fd130d0313c8a2390b837e47db3def437e4210fb566c00ebde60021e86
7
- data.tar.gz: d070bfcbe59fa94f9720721c85d76b1d9074f9e55d78b6f2e1eb8164f88921c7237ee3a3d4c49327a9e5d8b596b33811e4d4c2d1bf56d74fa99ebbbe75dbbb83
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: { section: 0, string: 1, integer: 2, boolean: 3, json: 4, selection: 5, set: 6 }
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BlueprintConfig
4
- VERSION = '1.3.0'
4
+ VERSION = '1.4.0'
5
5
  end
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.3.0
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-01-09 00:00:00.000000000 Z
12
+ date: 2024-08-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord