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 +4 -4
- data/README.md +8 -3
- data/lib/watchly/cli/command.rb +3 -3
- data/lib/watchly/cli/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6d57a27a98d6d15788b8782bb0a999819bf4f61cd5053fff34bbd34427816d9a
|
|
4
|
+
data.tar.gz: f5d1658ddf68c9992920013872694bed4f9e1b5afd610ac0205296d065e1bc5d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d7b7469b91fe4fdf635becc5ae8c393fae1a21b99d5256c32e7c6c7ae64aeb02dceb64bd0ca7a7b812c2e22a158c025881cf676e0af1c784059a31051728c92b
|
|
7
|
+
data.tar.gz: 128067aabe58c56481fbae59be53b5f7640a9feeca977ee2e796f40df63bc7ba96191bcab9f9da858d0a1edc98f2ff25f96ac7407b8cdc06c1c40c3cab6f35bd
|
data/README.md
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
# Watchly CLI
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
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
|
-
|
|
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
|
|
data/lib/watchly/cli/command.rb
CHANGED
|
@@ -65,9 +65,9 @@ module Watchly
|
|
|
65
65
|
end
|
|
66
66
|
|
|
67
67
|
def show_changes(changes)
|
|
68
|
-
changes.added.each { say "gb`+ #{
|
|
69
|
-
changes.modified.each { say "bb`* #{
|
|
70
|
-
changes.removed.each { say "rb`- #{
|
|
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 = {})
|
data/lib/watchly/cli/version.rb
CHANGED
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.
|
|
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.
|
|
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.
|
|
54
|
-
description: A small
|
|
55
|
-
|
|
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
|