doing 1.0.30 → 1.0.31

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9b8804eda56710f55c158ade59d30d906291c552949141d13d758b4058cb6f0e
4
- data.tar.gz: aee921d4b234b07f0e65d1b759da5faa160165de45d57341bac6bd0e75a63190
3
+ metadata.gz: 0255bb5d4f5bfeda0dc436ec5d7b39cc0076015b38367ae9a3f69aa377ae29aa
4
+ data.tar.gz: 765dff7df4c68a482a2f18db18afc2605945d0d87503aa2ec46da138f5cadef6
5
5
  SHA512:
6
- metadata.gz: 21b230f2ec73c53c1f7422d0111f776a97e030dec0510dbf5d88f68449128b01724206b11c1a94c233c1bf422b2904ebb993c72687542047f247745831032941
7
- data.tar.gz: a80e50e594d3a46924afe6813df728ae576bb40c5c887cbefdc426f5fc428a8be983dc6f7c9f7466747b0e641245f04811e821e4ce3e59387865a65212c55969
6
+ metadata.gz: b401382aaea67cea9e1ce6aaf414a8bcc104ef8375f044d674f0728e8110128285c9d0a88ed998537430546175220faaf821dce83779606b8281997aaf7fddd5
7
+ data.tar.gz: 5116d2b3723a1caf501380dfe501600644661a6fd019e214e4c5dc87920a9a9890a93dd8797b0a7cf5a8b0b6cefa0efc5af269a15a035c640847d689bd65a845
@@ -1,3 +1,3 @@
1
1
  module Doing
2
- VERSION = '1.0.30'
2
+ VERSION = '1.0.31'
3
3
  end
@@ -201,13 +201,15 @@ class WWID
201
201
  # end
202
202
  # end
203
203
 
204
- File.open(@config_file, 'w') { |yf| YAML::dump(@config, yf) } unless @config == user_config
204
+ unless File.exists?(@config_file)
205
+ File.open(@config_file, 'w') { |yf| YAML::dump(@config, yf) }
206
+ end
205
207
 
206
208
  @config = @local_config.deep_merge(@config)
207
209
 
208
210
  @current_section = @config['current_section']
209
211
  @default_template = @config['templates']['default']['template']
210
- @default_date_format = @config['templates']['default']['date_format']
212
+ @default_date_format = @config['templates']['default']['date_format'];
211
213
 
212
214
 
213
215
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.30
4
+ version: 1.0.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Terpstra
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-25 00:00:00.000000000 Z
11
+ date: 2020-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake