Lipsiasoft-exception-notifier 1.3 → 1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Rakefile
CHANGED
@@ -4,7 +4,7 @@ require 'rake/rdoctask'
|
|
4
4
|
require 'rake/gempackagetask'
|
5
5
|
|
6
6
|
PKG_NAME = 'exception-notifier'
|
7
|
-
PKG_VERSION = "1.
|
7
|
+
PKG_VERSION = "1.4"
|
8
8
|
PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
|
9
9
|
|
10
10
|
$LOAD_PATH << File.join(File.dirname(__FILE__), 'lib')
|
@@ -12,7 +12,7 @@ $LOAD_PATH << File.join(File.dirname(__FILE__), 'lib')
|
|
12
12
|
desc 'Default: install the gem.'
|
13
13
|
task :default => [:install]
|
14
14
|
|
15
|
-
desc 'Generate documentation for the
|
15
|
+
desc 'Generate documentation for the plugin.'
|
16
16
|
Rake::RDocTask.new(:rdoc) do |rdoc|
|
17
17
|
rdoc.rdoc_dir = 'doc'
|
18
18
|
rdoc.title = 'Lipsiadmin Exception Notifier'
|
@@ -1,11 +1,6 @@
|
|
1
|
-
class ExceptionNotifierGenerator < Rails::Generator::
|
1
|
+
class ExceptionNotifierGenerator < Rails::Generator::Base
|
2
2
|
default_options :haml_templates => false
|
3
|
-
|
4
|
-
def initialize(runtime_args, runtime_options = {})
|
5
|
-
runtime_args = ["none"].concat(runtime_args) # Skip usage
|
6
|
-
super
|
7
|
-
end
|
8
|
-
|
3
|
+
|
9
4
|
def manifest
|
10
5
|
template = options[:haml_templates] ? "haml" : "erb"
|
11
6
|
|
@@ -32,6 +27,6 @@ class ExceptionNotifierGenerator < Rails::Generator::NamedBase
|
|
32
27
|
opt.separator ''
|
33
28
|
opt.separator 'Options:'
|
34
29
|
opt.on("-t", "--haml-templates",
|
35
|
-
"Generate exception templates using haml template") { |v| options[:haml_templates] = v
|
30
|
+
"Generate exception templates using haml template") { |v| options[:haml_templates] = v }
|
36
31
|
end
|
37
32
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: Lipsiasoft-exception-notifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: "1.
|
4
|
+
version: "1.4"
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Davide D'Agostino
|
@@ -9,7 +9,7 @@ autorequire: exception_notifier
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-03-04 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|