evt-settings 0.2.2.0 → 0.3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/settings/settings.rb +2 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 461bb531932b930e1deb61a45f4eb13b60a0086dabab22cefabc0c2a8f385b9c
|
4
|
+
data.tar.gz: 67704b366bed7931f46847ac0c071dd12f821b9c5139ac1311f41f8f3265162d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca727125e8547363edb502ad9c1aba0f0fb31085109e41f685a8316149814196348e1838aefcf91ae73444f34f8d7b4f66be5adcb8410dc9fb9adf033c279552
|
7
|
+
data.tar.gz: 3027889799c196aea49dfb96e8ea05a1328efa5d4b07de983ce19571765ade4a7e20605395d570bafa0067da0e68c60f4b96d8f08b24026c7d6b2cd17d9d01b8
|
data/lib/settings/settings.rb
CHANGED
@@ -4,11 +4,9 @@ class Settings
|
|
4
4
|
include Log::Dependency
|
5
5
|
|
6
6
|
attr_reader :data
|
7
|
-
attr_reader :pathname
|
8
7
|
|
9
|
-
def initialize(data
|
8
|
+
def initialize(data)
|
10
9
|
@data = data
|
11
|
-
@pathname = pathname
|
12
10
|
end
|
13
11
|
|
14
12
|
def self.logger
|
@@ -22,7 +20,7 @@ class Settings
|
|
22
20
|
|
23
21
|
data = data_source.get_data
|
24
22
|
|
25
|
-
instance = new
|
23
|
+
instance = new(data)
|
26
24
|
|
27
25
|
instance
|
28
26
|
end
|
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: 0.
|
4
|
+
version: 0.3.0.0
|
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: 2018-
|
11
|
+
date: 2018-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: evt-log
|