readonce 1.0.9 → 1.0.10
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: 4f2a13d3e04199da1361827ee5dab35c50332d96
|
4
|
+
data.tar.gz: 482f654ba6a9d680545c56f525b8e57dd172f6ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 915dc1ae7de190f842f750a7d93eb25db3946ed946bad14b3036957642d409edb1ba973b6eb265773980b49f3367dda40a16115f2b1b94dc71af31eb9472da21
|
7
|
+
data.tar.gz: c53be3375d26bd8623ba35c605e2fa3a7c2e9d68a6345357bb7801109316ffcad5bd357f6a0fddaeff42850566dd407a7921704d89d3e3e2cf57b0eda15bc9d8
|
data/bin/readonce
CHANGED
@@ -21,12 +21,12 @@ elsif ARGV.count == 1 && ARGV[0] == '-w' # Stash file, block until gone.
|
|
21
21
|
obj = ReadOnce.from_data(data)
|
22
22
|
puts obj.read_url
|
23
23
|
puts 'Waiting for file to be accessed...'
|
24
|
-
obj.
|
24
|
+
obj.block_until_read
|
25
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
|
-
obj.
|
29
|
+
obj.block_until_read
|
30
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])
|
data/lib/readonce/version.rb
CHANGED