guard-jruby-rspec 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  This guard extention allows you to run all of your specs on JRuby without the initial start up cost. It loads all of your application files in advance, and reloads any that change. That way, when you run RSpec, the JVM is already running, and your files have already been required.
4
4
 
5
- Most of the config options available to `guard-rspec` work with this extension too. Notably missing (but coming soon) is `:cli`.
5
+ Most of the config options available to `guard-rspec` work with this extension too.
6
6
 
7
7
  ## How to Use On-Demand mode
8
8
 
@@ -42,7 +42,7 @@ Add something like this to your guard file (alternatives are in the template fil
42
42
 
43
43
  Proceed as in on-demand mode.
44
44
 
45
- # Using CLI Options
45
+ ## Using CLI Options
46
46
 
47
47
  The format that `guard-jruby-rspec` expects CLI options to be in is a little different than what `guard-rspec` exepcts. Here is an example:
48
48
 
@@ -57,7 +57,9 @@ module Guard
57
57
 
58
58
  raw_paths.each do |p|
59
59
  @custom_watchers.each do |w|
60
- paths << w.call_action(w.match(p))
60
+ if (m = w.match(p))
61
+ paths << (w.action.nil? ? p : c.call_action(m))
62
+ end
61
63
  end
62
64
  end
63
65
  super(paths)
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module JRubyRSpecVersion
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: guard-jruby-rspec
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.2
5
+ version: 0.1.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Joe Kutner
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-05-31 00:00:00 Z
13
+ date: 2012-06-04 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: guard