ductwork 0.20.0 → 0.20.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
  SHA256:
3
- metadata.gz: 82de3534dfed89267c6a4aaca8e1337841fa81f66c6c42b494d9fddfe6ff4a0e
4
- data.tar.gz: 334f632bcf121d1bfcddb94046d797ca1e65b2cd74fe19100b1d6d3560b1f05a
3
+ metadata.gz: 73e5c5d390e132d819facdc1926167d9c38b13eb0378518d38f188b29d7be41d
4
+ data.tar.gz: 4f6220473b0ff6f8a0c07f7237bfb66c88370aab9b5f6cf972b3b83e482c2aaf
5
5
  SHA512:
6
- metadata.gz: 76ff2b157c3d85f4443178bf9a138c58dcead96c39c10c91cde45af88b7c07447c6cce73558f8f2a961d5fd2b3574fbbd8371442d1bf39bac4fbe30f80f415fa
7
- data.tar.gz: c8c060ebb944a64a3eb42e086f857f042b944a5bdaf1c07ff2d518409530febd4b68e21634452c861d885dcf6ea4d4cbb27a10b0231d99149a591b7a1c85546c
6
+ metadata.gz: 5fc28c47082da7e38e4bc60e1b077aeb940c0977d0296f378c0eb209ba58a6dc6c677df2dcb2dec08aee138bae685c2045424308b885240f35827424f70ae312
7
+ data.tar.gz: ac6cab0576435656530078892a45be877e48a64e421e8b148c398edb44d53adbd7121de725c66187cacefe2e385cef2a07193fa6fb423bb97cd2dbc8aacb6878
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Ductwork Changelog
2
2
 
3
+ ## [0.20.1]
4
+
5
+ - fix: fallback to hostname if machine id file is blank - came across this in heroku
6
+
3
7
  ## [0.20.0]
4
8
 
5
9
  - feat: add "timed_out" enum value to execution result model
@@ -3,7 +3,7 @@
3
3
  module Ductwork
4
4
  class MachineIdentifier
5
5
  def self.fetch
6
- File.read("/etc/machine-id").strip
6
+ File.read("/etc/machine-id").strip.presence || Socket.gethostname
7
7
  rescue Errno::ENOENT
8
8
  Socket.gethostname
9
9
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ductwork
4
- VERSION = "0.20.0"
4
+ VERSION = "0.20.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ductwork
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.20.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Ewing