last_hit 0.0.10 → 0.0.11

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.
@@ -0,0 +1,11 @@
1
+ module LastHit
2
+ class Configure
3
+ class << self
4
+ attr_accessor :test_command
5
+
6
+ def config
7
+ yield(self)
8
+ end
9
+ end
10
+ end
11
+ end
@@ -16,7 +16,7 @@ module LastHit
16
16
  end
17
17
 
18
18
  def command(file_string)
19
- "bundle exec rspec #{file_string}"
19
+ "#{Configure.test_command} #{file_string}"
20
20
  end
21
21
  end
22
22
  end
@@ -1,3 +1,3 @@
1
1
  module LastHit
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
data/lib/last_hit.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require "last_hit/version"
2
+ require "last_hit/configure"
2
3
  require 'last_hit/railtie' if defined?(Rails::Railtie)
3
4
 
4
5
  require 'last_hit/rc_adapter/git_adapter'
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.10
4
+ version: 0.0.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -89,6 +89,7 @@ files:
89
89
  - Rakefile
90
90
  - last_hit.gemspec
91
91
  - lib/last_hit.rb
92
+ - lib/last_hit/configure.rb
92
93
  - lib/last_hit/file_filter/spec_filter.rb
93
94
  - lib/last_hit/railtie.rb
94
95
  - lib/last_hit/rc_adapter/git_adapter.rb
@@ -111,7 +112,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
111
112
  version: '0'
112
113
  segments:
113
114
  - 0
114
- hash: -1612300625904781020
115
+ hash: 652792306889065390
115
116
  required_rubygems_version: !ruby/object:Gem::Requirement
116
117
  none: false
117
118
  requirements:
@@ -120,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
121
  version: '0'
121
122
  segments:
122
123
  - 0
123
- hash: -1612300625904781020
124
+ hash: 652792306889065390
124
125
  requirements: []
125
126
  rubyforge_project:
126
127
  rubygems_version: 1.8.23.2