spectator 1.1.a3 → 1.1.a4
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/spectator +5 -4
- data/lib/spectator/version.rb +1 -1
- metadata +3 -3
data/bin/spectator
CHANGED
@@ -38,7 +38,9 @@ end
|
|
38
38
|
|
39
39
|
peepr.set_files Dir[File.join(Dir.pwd, '{app,spec,lib,script}/**/*')]
|
40
40
|
|
41
|
-
|
41
|
+
|
42
|
+
|
43
|
+
$launcher = lambda do |_, file|
|
42
44
|
peepr.rules.each do |(regexp, action)|
|
43
45
|
regexp = Regexp.new(regexp)
|
44
46
|
if file =~ regexp
|
@@ -48,9 +50,8 @@ launcher = lambda do |_, file|
|
|
48
50
|
end
|
49
51
|
end
|
50
52
|
|
51
|
-
|
52
53
|
FSSM.monitor(Dir.pwd, '{app,spec,lib,script}/**/*') do
|
53
|
-
update {|base, relative| launcher
|
54
|
-
create {|base, relative| launcher
|
54
|
+
update {|base, relative| $launcher[base, relative] }
|
55
|
+
create {|base, relative| $launcher[base, relative] }
|
55
56
|
delete {|base, relative| '''do nothing''' }
|
56
57
|
end
|
data/lib/spectator/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spectator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 149
|
5
5
|
prerelease: 4
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
9
|
- a
|
10
|
-
-
|
11
|
-
version: 1.1.
|
10
|
+
- 4
|
11
|
+
version: 1.1.a4
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Elia
|