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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/settings/settings.rb +2 -4
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e19e7dd6911eb5a8e91dba2ddec62744b1ecd0329ce48c3fdb5edecbef70dec
4
- data.tar.gz: aff8e511387eabbf84d3b416a172b902166d3f07fa3d2eb00eb23926e9b184e1
3
+ metadata.gz: 461bb531932b930e1deb61a45f4eb13b60a0086dabab22cefabc0c2a8f385b9c
4
+ data.tar.gz: 67704b366bed7931f46847ac0c071dd12f821b9c5139ac1311f41f8f3265162d
5
5
  SHA512:
6
- metadata.gz: 95944c9e9b87c7f445768c3dd00937984fe497221b92addf39a50a6e234ac77299309664bee534c4a6f937aa377fb90710d1ecfabc1cce7162e550b4cdafeb26
7
- data.tar.gz: 15033ce1e859a3c130f75a64195b4278dae740361394c9d8440490ea33409c7893a38c541572b0c98d992fb3fb7c7d1ac518d3cd14903d87d13bb247eb576e2b
6
+ metadata.gz: ca727125e8547363edb502ad9c1aba0f0fb31085109e41f685a8316149814196348e1838aefcf91ae73444f34f8d7b4f66be5adcb8410dc9fb9adf033c279552
7
+ data.tar.gz: 3027889799c196aea49dfb96e8ea05a1328efa5d4b07de983ce19571765ade4a7e20605395d570bafa0067da0e68c60f4b96d8f08b24026c7d6b2cd17d9d01b8
@@ -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, pathname=nil)
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 data
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.2.2.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-05-02 00:00:00.000000000 Z
11
+ date: 2018-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: evt-log