last_hit 0.0.9 → 0.0.10

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.
@@ -2,12 +2,19 @@ module LastHit
2
2
  class TestHandler
3
3
  class << self
4
4
  def run(files)
5
- exec_command = command(files.join(" "))
5
+ file_string = files.join(" ")
6
+
7
+ before_run(file_string)
8
+ exec_command = command(file_string)
6
9
  system(exec_command)
7
10
  end
8
11
 
9
12
  private
10
13
 
14
+ def before_run(file_string)
15
+ p "Run files: #{file_string}"
16
+ end
17
+
11
18
  def command(file_string)
12
19
  "bundle exec rspec #{file_string}"
13
20
  end
@@ -1,3 +1,3 @@
1
1
  module LastHit
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: last_hit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -111,7 +111,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
111
111
  version: '0'
112
112
  segments:
113
113
  - 0
114
- hash: -2221881763921866329
114
+ hash: -1612300625904781020
115
115
  required_rubygems_version: !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements:
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  version: '0'
121
121
  segments:
122
122
  - 0
123
- hash: -2221881763921866329
123
+ hash: -1612300625904781020
124
124
  requirements: []
125
125
  rubyforge_project:
126
126
  rubygems_version: 1.8.23.2