last_hit 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -20,8 +20,26 @@ Or install it yourself as:
20
20
 
21
21
  ## Usage
22
22
 
23
- - Run current modified tests
24
- `bundle exec rake last_hit:modified_tests`
23
+ - Run current modified tests (before commiting)
24
+
25
+ ```ruby
26
+ bundle exec rake last_hit:current_modified
27
+ ```
28
+
29
+ - Run all changed tests of a branch from its fork with another branch
30
+
31
+ ```ruby
32
+ bundle exec rake last_hit:current_branch
33
+ ```
34
+
35
+ - How to config LastHit: put these lines into /config/initializers/last_hit.rb
36
+
37
+ ```ruby
38
+ LastHit::Configure.config do |config|
39
+ config.test_command = "bundle exec rspec"
40
+ config.default_base_branch = "development"
41
+ end
42
+ ```
25
43
 
26
44
  ## Contributing
27
45
 
@@ -1,7 +1,7 @@
1
1
  module LastHit
2
2
  class Configure
3
- @@test_command = "bundle exec rspec"
4
- @@default_base_branch = "development"
3
+ @test_command = "bundle exec rspec"
4
+ @default_base_branch = "development"
5
5
 
6
6
  class << self
7
7
  attr_accessor :test_command, :default_base_branch
@@ -1,3 +1,3 @@
1
1
  module LastHit
2
- VERSION = "0.0.13"
2
+ VERSION = "0.0.14"
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.13
4
+ version: 0.0.14
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -112,7 +112,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
112
112
  version: '0'
113
113
  segments:
114
114
  - 0
115
- hash: -2055507750917036467
115
+ hash: -1049167699512735922
116
116
  required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  none: false
118
118
  requirements:
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
121
  version: '0'
122
122
  segments:
123
123
  - 0
124
- hash: -2055507750917036467
124
+ hash: -1049167699512735922
125
125
  requirements: []
126
126
  rubyforge_project:
127
127
  rubygems_version: 1.8.23.2