evt-settings 2.1.1.1 → 2.1.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/settings/controls/data.rb +0 -10
- data/lib/settings/settings.rb +6 -5
- data/lib/settings.rb +0 -1
- metadata +3 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40c3555c5c94058f4d1dc79bdc9151934d7122ae8005e78403fd80d896368dcf
|
4
|
+
data.tar.gz: 9e0746254079233e1051211b385116409017f846fb5bc0ba687526d716dbdd28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b8499a274a9f2f11f0c41102c4377d89fac7ab7600dcaf1732d758c43a6c19f7f60f3f8330bd04cf2365c18b9dc026a1176ac589106c1d5994d53141cb86d5d
|
7
|
+
data.tar.gz: f3f33bd0a909e67cdf7b19e64fbe440b2037adf7b6d2519fc509e37d49725abd50c8f9d6d14a346d2a6d59d059e9a0b6dc016f3f736440c3de82c1752e8c23f4
|
data/lib/settings/settings.rb
CHANGED
@@ -10,17 +10,18 @@ class Settings
|
|
10
10
|
def self.build(source=nil)
|
11
11
|
source ||= implementer_source
|
12
12
|
|
13
|
-
|
14
|
-
|
15
|
-
data = data_source.get_data
|
16
|
-
|
17
|
-
data = Casing::Underscore.(data)
|
13
|
+
data = get_data(source)
|
18
14
|
|
19
15
|
instance = new(data)
|
20
16
|
|
21
17
|
instance
|
22
18
|
end
|
23
19
|
|
20
|
+
def self.get_data(source)
|
21
|
+
data_source = DataSource::Build.(source)
|
22
|
+
data = data_source.get_data
|
23
|
+
end
|
24
|
+
|
24
25
|
def self.implementer_source
|
25
26
|
unless self.respond_to?(:data_source)
|
26
27
|
return nil
|
data/lib/settings.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evt-settings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.1.
|
4
|
+
version: 2.1.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Eventide Project
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: evt-attribute
|
@@ -24,20 +24,6 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: evt-casing
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: test_bench
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -93,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
93
79
|
- !ruby/object:Gem::Version
|
94
80
|
version: '0'
|
95
81
|
requirements: []
|
96
|
-
rubygems_version: 3.
|
82
|
+
rubygems_version: 3.3.3
|
97
83
|
signing_key:
|
98
84
|
specification_version: 4
|
99
85
|
summary: Settings data access and assignment
|