process_settings 0.3.0 → 0.3.1

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
  SHA1:
3
- metadata.gz: 4da1b4678116cf897726de9273822dadff5ffaf0
4
- data.tar.gz: 6679ca9c2cfdf4f6022b5bb4121b09fd1956f640
3
+ metadata.gz: ab9db3b4fdddeb7af46f7d4624ef1547a3801b19
4
+ data.tar.gz: eb889d147140be8004a447d102ae42b35aa67b30
5
5
  SHA512:
6
- metadata.gz: bb07fcbffc25721635643c43f86b95bb7207e95cb058ddb046dde708961ebdf037536b99d1b2748b5df5b1f730c715cb2f91a7e511ac38596b6f2c7667825ef2
7
- data.tar.gz: a7a28a9c6be634475492386f89730cf79ff00fbf6f403075315fa8717941da6edc18b2227b4b150b3bb57d0518bc048d9d53d7a6b1c00d3f021efbb0674a66e1
6
+ metadata.gz: 0250e37bfeb4d1958effc06ccaff80e51d00c1e05b1db33c1044fc992006b7bf1210827a64ee8ebb2988878d673434de702c8c115cf4fbebe8a68a2c478ebdd5
7
+ data.tar.gz: 74cf6478fd1b719cefd5fbf10a46d67b707df96a098471b1f6c50371b01afed18bf9a309d0841cd0b274bf57680bc7de9395514e70681c944284004d81c6fecb
@@ -11,6 +11,8 @@ require_relative '../lib/process_settings/targeted_settings'
11
11
  PROGRAM_NAME = File.basename($PROGRAM_NAME)
12
12
  SETTINGS_FOLDER = 'settings'
13
13
 
14
+ Logger::INFO
15
+
14
16
  def end_marker(version)
15
17
  {
16
18
  'meta' => {
@@ -111,8 +111,6 @@ if correlation_scorecard.any? { |_correllation_key, scorecard| scorecard[true].a
111
111
  else
112
112
  puts "No best correlation found?"
113
113
  end
114
- else
115
- puts "No changes"
116
114
  end
117
115
 
118
116
  # puts flat_services_with_targeted_settings.to_yaml
@@ -21,9 +21,8 @@ module ProcessSettings
21
21
 
22
22
  # to eliminate any race condition:
23
23
  # 1. set up file watcher
24
- # 2. start it
24
+ # 2. start it (this should trigger if any changes have been made since (1))
25
25
  # 3. load the file
26
- # 4. run the watcher (which should trigger if any changes have been made since (2))
27
26
 
28
27
  path = File.dirname(@file_path)
29
28
 
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: process_settings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
- - Colin Kelley
7
+ - Invoca
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
@@ -52,9 +52,9 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.0'
55
- description: Targed process settings that dynamically reload without restarting the
56
- process
57
- email: colin@invoca.com
55
+ description: Targeted process settings that dynamically reload without restarting
56
+ the process
57
+ email: development+ps@invoca.com
58
58
  executables:
59
59
  - combine_process_settings
60
60
  - diff_process_settings