Permalink
Browse files

move stuff to cap/notifier

  • Loading branch information...
1 parent edbea5b commit 6a386b1f6926afed78dbe941c25a7bd4ac388367 @smith smith committed Mar 22, 2012
View
@@ -3,6 +3,8 @@ source :rubygems
gemspec
group :development, :test do
+ gem 'rake'
+
group :darwin do
gem 'rb-fsevent'
gem 'growl'
View
@@ -13,7 +13,7 @@ and then `bundle install`
## Configure
```rb
-require 'capistrano-notifier'
+require 'capistrano/notifier'
set :notify_method, :test # :smtp, :sendmail, or any other valid ActionMailer delivery method
set :notify_from, "capistrano@domain.com"
@@ -1,20 +1,21 @@
# -*- encoding: utf-8 -*-
-require File.expand_path('../lib/capistrano_notifier/version', __FILE__)
+require File.expand_path('../lib/capistrano/notifier/version', __FILE__)
Gem::Specification.new do |gem|
- gem.authors = ["Justin Campbell"]
- gem.email = ["justin@justincampbell.me"]
+ gem.authors = ["Justin Campbell", "Nathan L Smith"]
+ gem.email = ["sysadmin@cramerdev.com"]
gem.description = %q{Capistrano Notifier}
gem.summary = %q{Capistrano Notifier}
- gem.homepage = "http://github.com/CramerDev/capistrano-notifier"
+ gem.homepage = "http://github.com/cramerdev/capistrano-notifier"
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
gem.files = `git ls-files`.split("\n")
gem.test_files = `git ls-files -- spec/*`.split("\n")
gem.name = "capistrano-notifier"
gem.require_paths = ["lib"]
- gem.version = CapistranoNotifier::VERSION
+ gem.version = Capistrano::Notifier::VERSION
+ gem.add_dependency 'capistrano', '>= 2'
gem.add_dependency 'actionmailer'
gem.add_dependency 'activesupport'
@@ -1 +0,0 @@
-require 'capistrano_notifier'
@@ -1,6 +1,6 @@
require "action_mailer"
require "active_support"
-require "capistrano_notifier/version"
+require 'capistrano/notifier/version'
Capistrano::Configuration::Namespaces::Namespace.class_eval do
def capture(*args)
@@ -0,0 +1,5 @@
+module Capistrano
+ class Notifier
+ VERSION = '0.0.3'
+ end
+end
@@ -1,3 +0,0 @@
-module CapistranoNotifier
- VERSION = "0.0.2"
-end
File renamed without changes.
View
@@ -1,2 +1,3 @@
-require "capistrano-notifier"
+require 'capistrano'
+require 'capistrano/notifier'

0 comments on commit 6a386b1

Please sign in to comment.