last_hit 0.0.7 → 0.0.8

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.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # LastHit
2
2
 
3
- TODO: Write a gem description
3
+ Help you to run relevant tests
4
4
 
5
5
  ## Installation
6
6
 
@@ -20,7 +20,8 @@ Or install it yourself as:
20
20
 
21
21
  ## Usage
22
22
 
23
- TODO: Write usage instructions here
23
+ - Run current modified tests
24
+ `bundle exec rake last_hit:modified_tests`
24
25
 
25
26
  ## Contributing
26
27
 
@@ -3,8 +3,9 @@ module LastHit
3
3
  class << self
4
4
  def run(files)
5
5
  files.each do |file|
6
- p "Running file #{file}"
7
- p `bundle exec rspec #{file}`
6
+ p "Start to run file #{file}"
7
+ `bundle exec rspec #{file}`.split("\n").map(&method(:p))
8
+ 3.times { p "" }
8
9
  end
9
10
  end
10
11
  end
@@ -1,3 +1,3 @@
1
1
  module LastHit
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
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.7
4
+ version: 0.0.8
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: 4575794710231981630
114
+ hash: 3263514098857741043
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: 4575794710231981630
123
+ hash: 3263514098857741043
124
124
  requirements: []
125
125
  rubyforge_project:
126
126
  rubygems_version: 1.8.23.2