tcfg 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/tcfg/tcfg_helper.rb +2 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bbfdbdd6c15939ee12601567c3a500533152d5ab
4
- data.tar.gz: 7f6357741984ab34df388bef696b75e81d605628
3
+ metadata.gz: 1358999454d7787be530c874c31806dd3a302547
4
+ data.tar.gz: 517080283ff4b362ce4ab1bec8dd699f2b4c0376
5
5
  SHA512:
6
- metadata.gz: 310f1ef7283cd174f008a7d6b32eae4bbc9b7df4e85b1dca450a0398b625f42cb0c92c1c62224adcf14c56d0e547526487824f9e34e90e284fe594fcc2efc72d
7
- data.tar.gz: 9b4420e6f2a72d4ea544e5dacca1fdb5d0ed71a0c76a1a1aba27a2871cf3489dcb6397aa548b457c10751761b5628cb68b907dd7871892912784af89e74564ab
6
+ metadata.gz: e35374ce1d8c29cf1b9671225a4a5ab974c24a068292d0fbfd08f580caa799f36281e6cc03bcbac9e8c743640f25dbb20c18e7593fd175ff9b93969a115d4695
7
+ data.tar.gz: 7835ce6da03b1b85b4063ac48c18c2a814b66c08b412f18db14cec50247f4b38558be9eb0ebaad81a05fd0788d6fead6c309a170d461dbb0bc086163ff4442ab
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
@@ -276,7 +276,7 @@ module TCFG
276
276
 
277
277
 
278
278
  def possible_config_file_name
279
- possible_file_name = if @tcfg_config_filename
279
+ possible_file_name = if instance_variable_defined? :@tcfg_config_filename
280
280
  @tcfg_config_filename
281
281
  else
282
282
  DEFAULT_CONFIG_FILE
@@ -285,7 +285,7 @@ module TCFG
285
285
  end
286
286
 
287
287
  def possible_secret_config_file_name
288
- possible_file_name = if @tcfg_secret_config_filename
288
+ possible_file_name = if instance_variable_defined? :@tcfg_secret_config_filename
289
289
  @tcfg_secret_config_filename
290
290
  else
291
291
  # turn 'somedir/tcfg.yml' into 'somedir/tcfg.secret.yml'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tcfg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - robert schultheis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-29 00:00:00.000000000 Z
11
+ date: 2017-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport