loadable_config 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +5 -5
- data/lib/loadable_config/version.rb +1 -1
- data/lib/loadable_config.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33c373a5e0f4a214006136bab94ad6c340569d39243d42239aa6d585666b5504
|
4
|
+
data.tar.gz: 346a2170ef3e5c8c8c675ee63e725d775fe6b58918f37fb5cc90b720277cf7f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a7a4699f631c1929510007fb0bb2f57aedbe8b9dd948f2646fada1e5e1ab9ccad49fe33b5b801450658e667acf308c481e5222cb3c80ab7396c4f99ec4ad972
|
7
|
+
data.tar.gz: 444ed617779485ad69f4667c4be6d6781e57b304d1e7d24b9860c3f324d3f8fbc40f46f265d428bf131689228d1a8ea9c6d95240a5c9a26b648a93bad394af5a
|
data/.circleci/config.yml
CHANGED
@@ -10,7 +10,7 @@ executors:
|
|
10
10
|
type: string
|
11
11
|
default: "Gemfile"
|
12
12
|
docker:
|
13
|
-
- image:
|
13
|
+
- image: cimg/ruby:<< parameters.ruby-version >>
|
14
14
|
environment:
|
15
15
|
BUNDLE_JOBS: 3
|
16
16
|
BUNDLE_RETRY: 3
|
@@ -81,20 +81,20 @@ workflows:
|
|
81
81
|
version: 2.1
|
82
82
|
build:
|
83
83
|
jobs:
|
84
|
-
- test:
|
85
|
-
name: 'ruby 2.6'
|
86
|
-
ruby-version: "2.6"
|
87
84
|
- test:
|
88
85
|
name: 'ruby 2.7'
|
89
86
|
ruby-version: "2.7"
|
90
87
|
- test:
|
91
88
|
name: 'ruby 3.0'
|
92
89
|
ruby-version: "3.0"
|
90
|
+
- test:
|
91
|
+
name: 'ruby 3.1'
|
92
|
+
ruby-version: "3.1"
|
93
93
|
- publish:
|
94
94
|
requires:
|
95
|
-
- 'ruby 2.6'
|
96
95
|
- 'ruby 2.7'
|
97
96
|
- 'ruby 3.0'
|
97
|
+
- 'ruby 3.1'
|
98
98
|
filters:
|
99
99
|
branches:
|
100
100
|
only: master
|
data/lib/loadable_config.rb
CHANGED
@@ -21,7 +21,7 @@ class LoadableConfig
|
|
21
21
|
@_config_file = path
|
22
22
|
end
|
23
23
|
|
24
|
-
def attribute(attr, type: :string, schema: {},
|
24
|
+
def attribute(attr, type: :string, schema: {}, serializer: nil, default: nil, optional: !default.nil?)
|
25
25
|
@_attributes ||= []
|
26
26
|
attr = attr.to_sym
|
27
27
|
if ATTRIBUTE_BLACKLIST.include?(attr)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: loadable_config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- iKnow Team
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json_schema
|
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
106
|
- !ruby/object:Gem::Version
|
107
107
|
version: '0'
|
108
108
|
requirements: []
|
109
|
-
rubygems_version: 3.
|
109
|
+
rubygems_version: 3.3.11
|
110
110
|
signing_key:
|
111
111
|
specification_version: 4
|
112
112
|
summary: Simple declarative configuration files
|