filewatcher-matrix 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/README.md +6 -2
- data/lib/filewatcher/matrix.rb +2 -2
- data/lib/filewatcher/matrix/version.rb +1 -1
- metadata +23 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 477dad665c7175a8e94ab4001d9f8f23381d16fc58cb8aeac26242a2d54205a8
|
4
|
+
data.tar.gz: f1f52f43fc81ba68484384233f765615e2bafa2cb9d107c08a20e95a191527f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 121031f8a5a1afdeb4e273c8c34c3b375dc1d589050d82ea0fbc7a5cbe67e98c4cbc33801ab3afa1fe50ed91ff247fd53e4d67c36be41ae47b27d3776424cf89
|
7
|
+
data.tar.gz: 2af9ca649e3e816ad7e633cb510c915bf1f7a19a2c27ab17396cbac14b4432caa70a49ed17d62aa77717af687b240805146bca6cebf8d77341b4bf7db4f0fd0d
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -43,10 +43,14 @@ gem install filewatcher-matrix
|
|
43
43
|
:exclude: '**/{spec/**/*,config/**/*.example*}'
|
44
44
|
:command: pumactl restart
|
45
45
|
|
46
|
-
- :pattern:
|
46
|
+
- :pattern:
|
47
|
+
- assets/styles/**/*
|
48
|
+
- postcss.config.js
|
47
49
|
:command: pnpm run build:styles
|
48
50
|
|
49
|
-
- :pattern:
|
51
|
+
- :pattern:
|
52
|
+
- assets/scripts/**/*
|
53
|
+
- rollup.config.js
|
50
54
|
:command: pnpm run build:scripts
|
51
55
|
|
52
56
|
- :pattern: 'package.json'
|
data/lib/filewatcher/matrix.rb
CHANGED
@@ -14,8 +14,8 @@ class Filewatcher
|
|
14
14
|
def initialize(path)
|
15
15
|
@filewatchers = YAML.load_file(path).map! do |args|
|
16
16
|
{
|
17
|
-
filewatcher: Filewatcher.new(args
|
18
|
-
command: args
|
17
|
+
filewatcher: Filewatcher.new(args.fetch(:pattern), exclude: args[:exclude]),
|
18
|
+
command: args.fetch(:command)
|
19
19
|
}
|
20
20
|
end
|
21
21
|
end
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: filewatcher-matrix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Popov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: filewatcher
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 2.0.0.beta3
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
22
|
+
version: '3'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.0.0.
|
29
|
+
version: 2.0.0.beta3
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '3'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: pry-byebug
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,14 +64,14 @@ dependencies:
|
|
58
64
|
requirements:
|
59
65
|
- - "~>"
|
60
66
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
67
|
+
version: 0.6.1
|
62
68
|
type: :development
|
63
69
|
prerelease: false
|
64
70
|
version_requirements: !ruby/object:Gem::Requirement
|
65
71
|
requirements:
|
66
72
|
- - "~>"
|
67
73
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
74
|
+
version: 0.6.1
|
69
75
|
- !ruby/object:Gem::Dependency
|
70
76
|
name: toys
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,14 +106,14 @@ dependencies:
|
|
100
106
|
requirements:
|
101
107
|
- - "~>"
|
102
108
|
- !ruby/object:Gem::Version
|
103
|
-
version: 0.
|
109
|
+
version: 0.4.3
|
104
110
|
type: :development
|
105
111
|
prerelease: false
|
106
112
|
version_requirements: !ruby/object:Gem::Requirement
|
107
113
|
requirements:
|
108
114
|
- - "~>"
|
109
115
|
- !ruby/object:Gem::Version
|
110
|
-
version: 0.
|
116
|
+
version: 0.4.3
|
111
117
|
- !ruby/object:Gem::Dependency
|
112
118
|
name: rspec
|
113
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,14 +134,14 @@ dependencies:
|
|
128
134
|
requirements:
|
129
135
|
- - "~>"
|
130
136
|
- !ruby/object:Gem::Version
|
131
|
-
version: 0.
|
137
|
+
version: 0.21.0
|
132
138
|
type: :development
|
133
139
|
prerelease: false
|
134
140
|
version_requirements: !ruby/object:Gem::Requirement
|
135
141
|
requirements:
|
136
142
|
- - "~>"
|
137
143
|
- !ruby/object:Gem::Version
|
138
|
-
version: 0.
|
144
|
+
version: 0.21.0
|
139
145
|
- !ruby/object:Gem::Dependency
|
140
146
|
name: rubocop
|
141
147
|
requirement: !ruby/object:Gem::Requirement
|
@@ -205,16 +211,19 @@ require_paths:
|
|
205
211
|
- lib
|
206
212
|
required_ruby_version: !ruby/object:Gem::Requirement
|
207
213
|
requirements:
|
208
|
-
- - "
|
214
|
+
- - ">="
|
209
215
|
- !ruby/object:Gem::Version
|
210
216
|
version: '2.5'
|
217
|
+
- - "<"
|
218
|
+
- !ruby/object:Gem::Version
|
219
|
+
version: '4'
|
211
220
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
212
221
|
requirements:
|
213
222
|
- - ">="
|
214
223
|
- !ruby/object:Gem::Version
|
215
224
|
version: '0'
|
216
225
|
requirements: []
|
217
|
-
rubygems_version: 3.
|
226
|
+
rubygems_version: 3.2.3
|
218
227
|
signing_key:
|
219
228
|
specification_version: 4
|
220
229
|
summary: Spawn Filewatchers from file with path-command matrix
|