barnyard2waldo 0.0.2 → 0.0.3

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: baa6f97d3dda4f9b0a6f80c347253f6c949799e5
4
- data.tar.gz: 883bf9af78da33420ce40e62756862be2c4731ce
3
+ metadata.gz: 9bc85cd037506951f02937deb2453dc149306a2d
4
+ data.tar.gz: ba2b6f9c1d65bcd50d1b7a514c818b05dc0e5177
5
5
  SHA512:
6
- metadata.gz: c332b94f719055cbdc80564fbc94b763509f29d75304782ebee20011a2b184fd9678bb3a113826956be74e5cd3e50fea64a3349c45efce762e02fa766fb137d4
7
- data.tar.gz: 0207b1acc65d531d4f66ce6374d47ea43bb4d9e6a9c85ef53ff15c1e6117f11792e825a4f0d687a486a4860e93752fad21fcec28d6d83a7e07472ac140d94752
6
+ metadata.gz: c6ca42d74fd9943c695bc693961e84263908401a47d01b1a7a8339798e2ab7c28d95f667ce7b50737c08f138b653d3657d6919c29259b3a78d79ae4927700fb5
7
+ data.tar.gz: a7a4363e33157e58fe7c26c0c5f7b5f424567d79489c9a430d63766fc166d1bc2293aa50c61eae0b30d0b490d684bb2bec20383f9adeed55a40bebc4dbd1c056
@@ -23,7 +23,7 @@ module Barnyard2
23
23
  end
24
24
 
25
25
  opt.on("-z","Print Zulu time (utc)"," Default: #{options[:utc]}") do |value|
26
- options[:bookmark] = value
26
+ options[:utc] = value
27
27
  end
28
28
 
29
29
  opt.separator "Options::"
@@ -1,5 +1,5 @@
1
1
  module Barnyard2
2
2
  module Waldo
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
@@ -25,7 +25,7 @@ module Barnyard2
25
25
 
26
26
  # Unpack the bytes and the array:
27
27
  def to_s
28
- if @utc
28
+ if @utc == true
29
29
  "Barnyard spool: #{@spool_dir}/#{@spool_filebase}.#{@epoch}\nRecord Idx: #{@record}\n#{Time.at(@epoch).utc}"
30
30
  else
31
31
  "Barnyard spool: #{@spool_dir}/#{@spool_filebase}.#{@epoch}\nRecord Idx: #{@record}\n#{Time.at(@epoch)}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: barnyard2waldo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - shadowbq