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.
@@ -1,4 +1,4 @@
1
- Copyright (c) 2008 FIXME full name
1
+ Copyright (c) 2008 New Bamboo
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.markdown CHANGED
@@ -83,7 +83,13 @@ Requirements
83
83
 
84
84
  Install
85
85
  -------
86
- * `rake install_gem`
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 'config/requirements'
2
- require 'config/hoe' # setup Hoe + all gem configuration
3
- require 'spec/rake/spectask'
4
-
5
- Dir['tasks/**/*.rake'].each { |rake| load rake }
6
-
7
- Spec::Rake::SpecTask.new('spec') do |t|
8
- t.spec_opts << '--format' << 'specdoc' << '--colour'
9
- t.spec_opts << '--loadby' << 'random'
10
- t.spec_files = Dir["spec/**/*_spec.rb"]
11
- end
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
@@ -2,7 +2,7 @@ module MerbExceptions #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- TINY = 0
5
+ TINY = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  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.0
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
- - History.txt
25
- - License.txt
24
+ - LICENSE
26
25
  files:
27
- - History.txt
28
- - License.txt
26
+ - LICENSE
29
27
  - README.markdown
30
28
  - Rakefile
31
29
  - lib/merb_exceptions.rb
data/History.txt DELETED
@@ -1,4 +0,0 @@
1
- == 0.0.1 2008-05-01
2
-
3
- * 1 major enhancement:
4
- * Initial release