readonce 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2183df3ccb695c789832305051cc68408afd445a
4
- data.tar.gz: 846e4214b2182d7150255e87e436f7258ce17253
3
+ metadata.gz: c317868b4f055d0b9cb81e248677f5e326634638
4
+ data.tar.gz: e24c01a6fe136867eece30816dab5a1276b1f6a6
5
5
  SHA512:
6
- metadata.gz: f1fa3df30db8b836c82e65833aebf31c05f335784fb577e765f9f10aeb652adb5ead7254dcc42d55853e5b48565b201d1ee72c033de7e017b30462034a9eaa53
7
- data.tar.gz: 187b767aebec564884dce9fa27e47c8ba5a034b3759586fd55c08c7f33b65d80b9d4e5827e8137a815fbcf2ddc8e8f61f9686bbb0ede7b239a1bb2450e1228a5
6
+ metadata.gz: c9091d284a3dcf7f1f11d21e804ae129eb9e61977b17470dcf469b21b35c3f092d0a4dfdcc05b1fede6ea9163c1d1c423ae94cb3b7898df7abf62093e5c3d3e1
7
+ data.tar.gz: 0768e1f9781a379370bc4f601be6ef35abc0e0adbd909c2676c1fe787ea0319a2279d5ee2b9bbfe34488a0278f684fcb95aa04787e06c250a321297926a14349
data/bin/readonce CHANGED
@@ -22,12 +22,12 @@ elsif ARGV.count == 1 && ARGV[0] == '-w' # Stash file, block until gone.
22
22
  puts obj.read_url
23
23
  puts 'Waiting for file to be accessed...'
24
24
  obj.block_while_exists
25
- puts "File accessed at #{Time.zone.now} (local time)."
25
+ puts "File accessed at #{Time.now} (local time)."
26
26
  elsif ARGV.count == 2 && ARGV[0] == '-w' # Block until gone.
27
27
  obj = ReadOnce.from_key(ARGV[1])
28
28
  puts 'Waiting for file to be accessed...'
29
29
  obj.block_while_exists
30
- puts "File accessed at #{Time.zone.now} (local time)."
30
+ puts "File accessed at #{Time.now} (local time)."
31
31
  elsif ARGV.count == 2 && ARGV[0] == '-s' # Get status of file
32
32
  obj = ReadOnce.from_key(ARGV[1])
33
33
  if obj.exists?
@@ -1,3 +1,3 @@
1
1
  module Readonce
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: readonce
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robby Grossman