   '(rails-rspec ruby-rspec rails-test ruby-test)
   "Known project types for dm-guard.")
 
-(defvar rails-test-enabled
+(defvar dm-guard-enabled
   t
-  "Global variable that can disable rails-tests.")
+  "Global variable that can disable dm-guard.")
 
-(defun rails-test-global-toggle ()
-  "Globally toggle rails-test runners."
+(defun dm-guard-global-toggle ()
+  "Globally toggle dm-guard runners."
   (interactive)
-  (setq rails-test-enabled (not rails-test-enabled))
-  (message (if rails-test-enabled "Enabled" "Disabled")))
+  (setq dm-guard-enabled (not dm-guard-enabled))
+  (message (if dm-guard-enabled "Enabled" "Disabled")))
 
-(defun rails-test ()
+(defun dm-guard-test ()
   "Use tmux to execute a rails test."
   (interactive)
-  (if (and rails-test-enabled (projectile-project-p))
+  (if (and dm-guard-enabled (projectile-project-p))
       (let* ((project-type (projectile-project-type))
              (spec-mode (or (eq project-type 'rails-rspec) (eq project-type 'ruby-rspec)))
              (test-cmd (cond

     ((string-match "\\(.+\\)s$" word) (match-string 1 word))
     (t (error (concat "Can't singularize " word))))))

(defun rails-test--pluralize (word)
  "Pluralize WORD very stupidly."
  (save-match-data
    (cond


;;; Code:

(defun dm-guard--singularize (word)
  "Singularize WORD very stupidly."
  (save-match-data
    (cond
