Permalink
Browse files

Trying to get check_buster working

  • Loading branch information...
1 parent bf2ba42 commit ca7079fca176796f1053c54894f2d86c6d8141eb @malandrew committed Jan 5, 2012
Showing with 3 additions and 4 deletions.
  1. +1 −1 Changelog.markdown
  2. +1 −2 lib/busterjs/buster.rb
  3. +1 −1 lib/busterjs/utils.rb
View
@@ -1,3 +1,3 @@
-Version 1.0.0 (18.01.2011)
+Version 0.1.0 (05.01.2012)
* first gem release
View
@@ -73,8 +73,7 @@ def check_node
def check_buster
unless @buster_ok
buster_test = call_buster_with_output(BUSTER_CONFIG_JS_FILE)
- puts buster_test
- if buster_test.strip == "1 test case, 1 test, 1 assertion, 0 failures, 0 errors, 0 timeouts"
+ if buster_test.strip == "A module: .\n1 test case, 1 test, 1 assertion, 0 failures, 0 errors, 0 timeouts"
@buster_ok = true
else
raise NoBusterException, "Please install Buster.js globally using NPM before running Buster.js on Rails."
View
@@ -3,7 +3,7 @@
module BusterJs
- VERSION = "0.1.0"
+ VERSION = "0.1.1"
DEFAULT_CONFIG_FILE = File.expand_path(File.dirname(__FILE__) + "/config/busterjs.yml")
class << self

0 comments on commit ca7079f

Please sign in to comment.