newbamboo-merb_exceptions 0.1.0 → 0.1.1
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/{License.txt → LICENSE} +1 -1
- data/README.markdown +7 -1
- data/Rakefile +44 -11
- data/lib/merb_exceptions/version.rb +1 -1
- metadata +3 -5
- data/History.txt +0 -4
data/{License.txt → LICENSE}
RENAMED
data/README.markdown
CHANGED
@@ -83,7 +83,13 @@ Requirements
|
|
83
83
|
|
84
84
|
Install
|
85
85
|
-------
|
86
|
-
|
86
|
+
Install gem from github
|
87
|
+
|
88
|
+
sudo gem install newbamboo-merb_exceptions --source=http://gems.github.com
|
89
|
+
|
90
|
+
or install from source with
|
91
|
+
|
92
|
+
rake install_gem
|
87
93
|
|
88
94
|
Licence
|
89
95
|
-------
|
data/Rakefile
CHANGED
@@ -1,11 +1,44 @@
|
|
1
|
-
require '
|
2
|
-
require '
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
1
|
+
require 'rubygems'
|
2
|
+
require 'rake/gempackagetask'
|
3
|
+
|
4
|
+
PLUGIN = "merb_exceptions"
|
5
|
+
NAME = "merb_exceptions"
|
6
|
+
VERSION = "0.1.1"
|
7
|
+
AUTHOR = 'Andy Kent'
|
8
|
+
EMAIL = "andy@new-bamboo.co.uk"
|
9
|
+
HOMEPAGE = "http://merb-plugins.rubyforge.org/me/"
|
10
|
+
SUMMARY = "Allows Merb to forward exceptions to emails or web hooks"
|
11
|
+
|
12
|
+
spec = Gem::Specification.new do |s|
|
13
|
+
s.name = NAME
|
14
|
+
s.version = VERSION
|
15
|
+
s.platform = Gem::Platform::RUBY
|
16
|
+
s.has_rdoc = true
|
17
|
+
s.extra_rdoc_files = ["LICENSE", 'TODO']
|
18
|
+
s.summary = SUMMARY
|
19
|
+
s.description = s.summary
|
20
|
+
s.author = AUTHOR
|
21
|
+
s.email = EMAIL
|
22
|
+
s.homepage = HOMEPAGE
|
23
|
+
s.add_dependency('merb', '>= 0.4.0')
|
24
|
+
s.require_path = 'lib'
|
25
|
+
s.autorequire = PLUGIN
|
26
|
+
s.files = %w(LICENSE README.markdown Rakefile TODO) + Dir.glob("{lib,spec}/**/*")
|
27
|
+
end
|
28
|
+
|
29
|
+
Rake::GemPackageTask.new(spec) do |pkg|
|
30
|
+
pkg.gem_spec = spec
|
31
|
+
end
|
32
|
+
|
33
|
+
task :install => [:package] do
|
34
|
+
sh %{sudo gem install pkg/#{NAME}-#{VERSION} --no-update-sources}
|
35
|
+
end
|
36
|
+
|
37
|
+
namespace :jruby do
|
38
|
+
|
39
|
+
desc "Run :package and install the resulting .gem with jruby"
|
40
|
+
task :install => :package do
|
41
|
+
sh %{#{SUDO} jruby -S gem install pkg/#{NAME}-#{Merb::VERSION}.gem --no-rdoc --no-ri}
|
42
|
+
end
|
43
|
+
|
44
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: newbamboo-merb_exceptions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Kent
|
@@ -21,11 +21,9 @@ executables: []
|
|
21
21
|
extensions: []
|
22
22
|
|
23
23
|
extra_rdoc_files:
|
24
|
-
-
|
25
|
-
- License.txt
|
24
|
+
- LICENSE
|
26
25
|
files:
|
27
|
-
-
|
28
|
-
- License.txt
|
26
|
+
- LICENSE
|
29
27
|
- README.markdown
|
30
28
|
- Rakefile
|
31
29
|
- lib/merb_exceptions.rb
|
data/History.txt
DELETED