Skip to content

Commit

Permalink
What if rspec_ewwww_gross_hack? isn't defined? That's a recipe for di…
Browse files Browse the repository at this point in the history
…saster.
  • Loading branch information
cowboyd committed Jan 30, 2012
1 parent 644b4a8 commit fba0ce5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/jenkins/cli/command_proxy.rb
Expand Up @@ -6,7 +6,7 @@ module Jenkins::CLI
# Jenkins instance. This disgusting hack detects if we're in
# RSpec mode and just creates the proxy class without descending
# from the Java class.
if Jenkins.rspec_ewwww_gross_hack?
if Jenkins.respond_to?(:rspec_ewwww_gross_hack?)
class CommandProxy; end
else
class CommandProxy < Java.hudson.cli.CLICommand; end
Expand Down
2 changes: 1 addition & 1 deletion lib/jenkins/plugin/runtime/version.rb
@@ -1,7 +1,7 @@
module Jenkins
class Plugin
module Runtime
VERSION = "0.1.20"
VERSION = "0.1.21"
end
end
end

0 comments on commit fba0ce5

Please sign in to comment.