guard-jruby-rspec 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -58,7 +58,7 @@ module Guard
58
58
  raw_paths.each do |p|
59
59
  @custom_watchers.each do |w|
60
60
  if (m = w.match(p))
61
- paths << (w.action.nil? ? p : c.call_action(m))
61
+ paths << (w.action.nil? ? p : w.call_action(m))
62
62
  end
63
63
  end
64
64
  end
@@ -43,7 +43,11 @@ module Guard
43
43
  # $stderr.reopen(orig_stderr)
44
44
  # end
45
45
  else
46
- ::RSpec::Core::Runner.run(rspec_arguments(paths, @options))
46
+ begin
47
+ ::RSpec::Core::Runner.run(rspec_arguments(paths, @options))
48
+ rescue SyntaxError => e
49
+ UI.error e.message
50
+ end
47
51
  end
48
52
  end
49
53
 
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module JRubyRSpecVersion
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
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.3
5
+ version: 0.1.4
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-06-04 00:00:00 Z
13
+ date: 2012-10-24 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: guard
@@ -45,7 +45,7 @@ dependencies:
45
45
  version: "2.7"
46
46
  type: :development
47
47
  version_requirements: *id003
48
- description: Guard::JRuby::RSpec keeps a warmed up JVM ready to run your specs.
48
+ description: Guard::JRubyRSpec keeps a warmed up JVM ready to run your specs.
49
49
  email:
50
50
  - jpkutner@gmail.com
51
51
  executables: []