when-files-change 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/when-files-change +2 -2
- data/lib/{change_listener.rb → when_files_change.rb} +1 -1
- metadata +42 -51
- data/lib/file_glob.rb +0 -19
data/bin/when-files-change
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
require 'optparse'
|
3
|
-
|
3
|
+
require_relative '../lib/when_files_change'
|
4
4
|
|
5
5
|
# Default Options
|
6
6
|
ignored_paths = nil
|
@@ -27,7 +27,7 @@ unless command
|
|
27
27
|
exit 1
|
28
28
|
end
|
29
29
|
|
30
|
-
listener =
|
30
|
+
listener = WhenFilesChange.new(command, *ARGV)
|
31
31
|
listener.ignore_paths(ignored_paths) if ignored_paths
|
32
32
|
listener.verbose = verbose
|
33
33
|
listener.start
|
metadata
CHANGED
@@ -1,81 +1,72 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: when-files-change
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 2
|
8
|
-
- 2
|
9
|
-
version: 0.2.2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.3
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Adam Sanderson
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2013-07-15 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: listen
|
16
|
+
requirement: &2319488420 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0.7'
|
22
|
+
type: :runtime
|
22
23
|
prerelease: false
|
23
|
-
|
24
|
+
version_requirements: *2319488420
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: file_glob
|
27
|
+
requirement: &2319487960 !ruby/object:Gem::Requirement
|
24
28
|
none: false
|
25
|
-
requirements:
|
29
|
+
requirements:
|
26
30
|
- - ~>
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
|
29
|
-
- 0
|
30
|
-
- 7
|
31
|
-
version: "0.7"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0.0'
|
32
33
|
type: :runtime
|
33
|
-
|
34
|
-
|
35
|
-
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *2319487960
|
36
|
+
description: Whenever files in your working directory change, execute a command, such
|
37
|
+
as "rake test".
|
38
|
+
email:
|
36
39
|
- netghost@gmail.com
|
37
|
-
executables:
|
40
|
+
executables:
|
38
41
|
- when-files-change
|
39
42
|
extensions: []
|
40
|
-
|
41
43
|
extra_rdoc_files: []
|
42
|
-
|
43
|
-
files:
|
44
|
+
files:
|
44
45
|
- bin/when-files-change
|
45
|
-
- lib/
|
46
|
-
- lib/file_glob.rb
|
46
|
+
- lib/when_files_change.rb
|
47
47
|
- README.markdown
|
48
|
-
has_rdoc: true
|
49
48
|
homepage: https://github.com/adamsanderson/when-files-change
|
50
49
|
licenses: []
|
51
|
-
|
52
50
|
post_install_message:
|
53
51
|
rdoc_options: []
|
54
|
-
|
55
|
-
require_paths:
|
52
|
+
require_paths:
|
56
53
|
- lib
|
57
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
54
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
58
55
|
none: false
|
59
|
-
requirements:
|
60
|
-
- -
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
|
63
|
-
|
64
|
-
version: "0"
|
65
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - ! '>='
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '0'
|
60
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
66
61
|
none: false
|
67
|
-
requirements:
|
68
|
-
- -
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
|
71
|
-
- 0
|
72
|
-
version: "0"
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '0'
|
73
66
|
requirements: []
|
74
|
-
|
75
67
|
rubyforge_project:
|
76
|
-
rubygems_version: 1.
|
68
|
+
rubygems_version: 1.8.11
|
77
69
|
signing_key:
|
78
70
|
specification_version: 3
|
79
71
|
summary: When files change, do something.
|
80
72
|
test_files: []
|
81
|
-
|
data/lib/file_glob.rb
DELETED