sploek 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/sploek.watchr.rb +4 -10
- data/sploek.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
data/lib/sploek.watchr.rb
CHANGED
@@ -52,23 +52,15 @@ def run_spec match
|
|
52
52
|
specpath = find_spec(match)
|
53
53
|
return unless specpath
|
54
54
|
print magenta, "spec", reset, " ", specpath, nl
|
55
|
-
# result = %x{ spec #{specpath} }
|
56
55
|
|
57
56
|
|
58
|
-
|
59
|
-
system("clear")
|
60
|
-
print magenta, "spec", reset, " ", specpath, nl
|
61
|
-
print green, "success", reset, nl
|
62
|
-
true
|
63
|
-
else
|
64
|
-
false
|
65
|
-
end
|
57
|
+
system("spec #{specpath}")
|
66
58
|
end
|
67
59
|
|
68
60
|
def run_cmd(cmd, match)
|
69
61
|
match = find_file(match)
|
70
62
|
return unless match
|
71
|
-
puts "
|
63
|
+
puts "-" * 80
|
72
64
|
print magenta, cmd, reset, " ", match, nl
|
73
65
|
system "#{cmd} #{match}"
|
74
66
|
end
|
@@ -80,4 +72,6 @@ watch("^(.*/(.*))\.rb$") do |md|
|
|
80
72
|
run_cmd("flog", md)
|
81
73
|
run_cmd("reek", md)
|
82
74
|
end
|
75
|
+
|
76
|
+
puts "=" * 80
|
83
77
|
end
|
data/sploek.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sploek
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 3
|
10
|
+
version: 0.1.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ehren Murdick
|