watchly-cli 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e8ba362e4fd559aab05ea2ccedf8b60a68fa0f394621b6b69abf0c470ee25170
4
- data.tar.gz: 16344f7295f4d3803260a6fb10ed0d98906eabc8e6949fe73b2266058dc90cbd
3
+ metadata.gz: 6d57a27a98d6d15788b8782bb0a999819bf4f61cd5053fff34bbd34427816d9a
4
+ data.tar.gz: f5d1658ddf68c9992920013872694bed4f9e1b5afd610ac0205296d065e1bc5d
5
5
  SHA512:
6
- metadata.gz: 6c8acb838e6d54b3fc1d34870e2082ad73c3eb020e1dddf22d9aa31540f8e3fc3ee8c3c5289db9913d1f3d55b1871c226c85a1ce8269e069ffa2bfcf7120b754
7
- data.tar.gz: 2b6e914589926b03cea07b5948ff3e8d9b71f61fb8c542540e8320df63ac6231776fca06d065ceaea09c373a36140a8a3ed2c56b1ee28a4b25437f4ce3e4b081
6
+ metadata.gz: d7b7469b91fe4fdf635becc5ae8c393fae1a21b99d5256c32e7c6c7ae64aeb02dceb64bd0ca7a7b812c2e22a158c025881cf676e0af1c784059a31051728c92b
7
+ data.tar.gz: 128067aabe58c56481fbae59be53b5f7640a9feeca977ee2e796f40df63bc7ba96191bcab9f9da858d0a1edc98f2ff25f96ac7407b8cdc06c1c40c3cab6f35bd
data/README.md CHANGED
@@ -1,9 +1,14 @@
1
1
  # Watchly CLI
2
2
 
3
- [Watchly][watchly] is a lightweight, dependency-free, polling-based file watcher for Ruby.
4
- It watches one or more glob patterns and reports changes.
3
+ `watchly` is a command-line tool that watches for file system changes and
4
+ executes a command when changes are detected.
5
5
 
6
- This is its command line interface.
6
+ It uses a polling-based approach rather than native file system events. This
7
+ makes it reliable across environments where evented file watchers are
8
+ unavailable or unreliable, including virtual machines, Vagrant setups, network
9
+ file systems, containers, and remote or synced volumes.
10
+
11
+ *`watchly-cli` is a thin wrapper around the [Watchly][watchly] Ruby gem.*
7
12
 
8
13
  ## Installation
9
14
 
@@ -65,9 +65,9 @@ module Watchly
65
65
  end
66
66
 
67
67
  def show_changes(changes)
68
- changes.added.each { say "gb`+ #{it}`" }
69
- changes.modified.each { say "bb`* #{it}`" }
70
- changes.removed.each { say "rb`- #{it}`" }
68
+ changes.added.each { |change| say "gb`+ #{change}`" }
69
+ changes.modified.each { |change| say "bb`* #{change}`" }
70
+ changes.removed.each { |change| say "rb`- #{change}`" }
71
71
  end
72
72
 
73
73
  def run_command(env = {})
@@ -1,5 +1,5 @@
1
1
  module Watchly
2
2
  module CLI
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: watchly-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Ben Shitrit
@@ -43,16 +43,16 @@ dependencies:
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: 0.1.0
46
+ version: 0.1.1
47
47
  type: :runtime
48
48
  prerelease: false
49
49
  version_requirements: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: 0.1.0
54
- description: A small, dependency-free, polling-based executable that watches one or
55
- more glob patterns and reports on change
53
+ version: 0.1.1
54
+ description: A small polling-based executable that watches one or more glob patterns
55
+ and reports on change
56
56
  email: db@dannyben.com
57
57
  executables:
58
58
  - watchly