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 +20 -2
- data/lib/last_hit/configure.rb +2 -2
- data/lib/last_hit/version.rb +1 -1
- metadata +3 -3
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
|
-
|
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
|
|
data/lib/last_hit/configure.rb
CHANGED
data/lib/last_hit/version.rb
CHANGED
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.
|
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: -
|
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: -
|
124
|
+
hash: -1049167699512735922
|
125
125
|
requirements: []
|
126
126
|
rubyforge_project:
|
127
127
|
rubygems_version: 1.8.23.2
|