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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 17392d4bc25e085ef1205eb66b1b8614ab9fb3a6
4
- data.tar.gz: 9e981ee20fb33eec987c54a05ffefeb81e44d76f
3
+ metadata.gz: 4f2a13d3e04199da1361827ee5dab35c50332d96
4
+ data.tar.gz: 482f654ba6a9d680545c56f525b8e57dd172f6ac
5
5
  SHA512:
6
- metadata.gz: 8761472b02069c535a8541fe0ba92d6b85fbf359135d4ad3c13e8db327dc6f467ec9cc90f4deed7e6c9bd4b2c58fcf9b83093f03a22facb0c28028dd83d275fb
7
- data.tar.gz: 9ca52bbba5623b7e89285b5aa0598fad4f0edaa81b85f1ae1e6ffd851a9a7b5240579ca1522e950b5b7159f7a46adde46be6f4690cbd9790d1219c3e11efb09e
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.block_while_exists
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.block_while_exists
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])
@@ -1,6 +1,6 @@
1
1
  module Readonce
2
2
  MAJOR_VERSION = 1
3
3
  MINOR_VERSION = 0
4
- PATCH_VERSION = 9
4
+ PATCH_VERSION = 10
5
5
  VERSION = "#{MAJOR_VERSION}.#{MINOR_VERSION}.#{PATCH_VERSION}"
6
6
  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.9
4
+ version: 1.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robby Grossman