onch 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/onch +1 -1
  3. data/lib/onch/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d11823de77aeb939f664d76546adff37ca3978a5
4
- data.tar.gz: 8809e8c072538204cd0ff748e8be45b7e4b73e5d
3
+ metadata.gz: 9bfdc3a9e346a0fc8e7db9063d942e34998f6d1b
4
+ data.tar.gz: f65b7120f1a75517dbee34dc2c54677642fdc4d7
5
5
  SHA512:
6
- metadata.gz: 0059a14de3055d2382b024a1e23269f02d01b112e3dad06054b52af6f42ddd0f0c85fe1f0135247554740d7ad3e5a75abd1544d378f14231646f47d5f211cd89
7
- data.tar.gz: e417bb78ceb5d8d2ccf56ae83e4f8384aae6ab49eaf21d9f42cacce578b5dc14aacc4ff37cc60e8e04089d50ab7605ba0e9ec3017288167fd3f342e196ab0c3b
6
+ metadata.gz: d75301ab5b8d14be57cdf5001b98fefcac66d453f763302b0a9f3d27d7c38b154d4b82197fb99b5311a0681db2c7d78f38a2790b2e61906aaeefe6df57412795
7
+ data.tar.gz: 12143d39eef41f45eaa54a115206e9a98ff081cb5c7f386ab597acfcb131443c3ba7c980f6d7784103056b33cd6f04e340f9ccaef550095e31457806f5708a45
data/bin/onch CHANGED
@@ -34,7 +34,7 @@ when 1
34
34
  puts 'Error: Not a file' unless File.file? file
35
35
  puts 'Watching...'
36
36
 
37
- t = SafeFile.mtime
37
+ t = SafeFile.mtime(file)
38
38
  loop do
39
39
  if t != SafeFile.mtime(file)
40
40
  t = SafeFile.mtime(file)
@@ -1,3 +1,3 @@
1
1
  module Onch
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leon Shure