sploek 0.1.2 → 0.1.3

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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/sploek.watchr.rb +4 -10
  3. data/sploek.gemspec +1 -1
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
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
- if system("spec #{specpath}")
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 "=" * 80
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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{sploek}
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ehren Murdick"]
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: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ehren Murdick