garbageman 0.3.4 → 0.3.5

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NThlZTFhMzMzYzAxYjYzNjJiODE2NzAwMmEwOTk1YzMzYmI1OGQyZg==
4
+ ZDIzZmI4OTVlOTVhZTA2Y2M4ZTQwZTRhYWFlMjAzYjc2MmU5YjE3MA==
5
5
  data.tar.gz: !binary |-
6
- Mjk1ZjdiNTYzYTljYzY2ZjI4ZjQwYzMwMTExNzNkODUxMGEwOGI2ZQ==
6
+ YTRjM2E2ZTE4NDg2N2E0NDg4YzVlYjE5ZTY0OTE5MzkzM2VhNzc4NQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MWJhNjE5MjEwYWU3ZThmYWNkZGQwOTRlMWE2YTFkNTdjMDlkNjhmYjkwNWMx
10
- ODIxZWQ3NGQ2NWFkNDQ2YTI0ZDZkNTMzMmVhOThhZTA0NWE0YTg0NjY4ZTli
11
- NzU4OWVjMjhkMGVhMTZjYTNkMTBlMTk3OWZkODJlZDNjMWU0Yzk=
9
+ ZDU5NjY5MjE4YmQ4NDkyZGU4NjM4ZmVmMzY4NGRhMGFmOWVmYmQzNGEyZTJl
10
+ Y2Y3MTcxNTc4MzIyYzlmYzE5NTdkZDJkNDIyOWVmZjE3MGVmZTc3YmYyY2M3
11
+ MjVkOGZlZjY0OGU5YjMwYjBlMjRjODJiMmIzMjdhZDcwMjdlOTk=
12
12
  data.tar.gz: !binary |-
13
- OWE4MDExYWIzZGQ4YjIzMGJiMmJkMDkxMGU3NGY3NDU3OTRmZmQ5OTc3MDFi
14
- YzRmOGI4NDU3YmM4NzZlYzJjOWVmNmM2MTE3NjYxNDAzMjMyODYwYzkzZTRi
15
- OTZjOTMzZTA3NTcxYzU3ODBmYWUzMzM1ZTM5OGJmZjgyZWMxN2U=
13
+ ZThhNjUyMTViMmM5NmEzMWY4MTNjZTRjYTFiYjhhMTVlYTllNzNjMzk4OTRj
14
+ NTYxZTEyMjQ3NTBhMzBjN2FhMDlkNTdhM2FjNDY5ZDQ4ZTZiZjE3MjFlMGM3
15
+ YjNmNDQxODJmYTE1OTY3MGYwN2Q4NTAxOThmM2UxNWNhY2M5NjM=
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.8
1
+ 0.3.5
data/garbageman.gemspec CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "garbageman"
9
- s.version = "0.3.4"
9
+ s.version = "0.3.5"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
@@ -130,9 +130,14 @@ module GarbageMan
130
130
  end
131
131
  end
132
132
 
133
+ # creates the gc yaml file or resets the status back to selected
133
134
  def create_gc_yaml
134
135
  return unless server_index
135
- return if File.exists?(Config.gc_yaml_file) && ! current_server?
136
+ if File.exists?(Config.gc_yaml_file)
137
+ return unless current_server?
138
+ else
139
+ return unless server_index == 0
140
+ end
136
141
  write_gc_yaml server_index, SELECTED
137
142
  end
138
143
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: garbageman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Doug Youch