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 +4 -4
- data/bin/readonce +2 -2
- data/lib/readonce/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c317868b4f055d0b9cb81e248677f5e326634638
|
4
|
+
data.tar.gz: e24c01a6fe136867eece30816dab5a1276b1f6a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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?
|
data/lib/readonce/version.rb
CHANGED