Rakefile in teamon-merb-flash-0.1.2 vs Rakefile in teamon-merb-flash-0.1.3
- old
+ new
@@ -3,14 +3,14 @@
require 'merb-core'
require 'merb-core/tasks/merb'
GEM_NAME = "merb-flash"
-GEM_VERSION = "0.1.2"
-AUTHOR = "Tymon <teamon> Tobolski"
+GEM_VERSION = "0.1.3"
+AUTHOR = "Tymon Tobolski"
EMAIL = "i@teamon.eu"
-HOMEPAGE = "http://teamon.eu/"
+HOMEPAGE = "http://blog.teamon.eu/projekty/"
SUMMARY = "Merb plugin that provides rails-like flash messages"
spec = Gem::Specification.new do |s|
s.rubyforge_project = 'merb'
s.name = GEM_NAME
@@ -24,11 +24,10 @@
s.email = EMAIL
s.homepage = HOMEPAGE
s.add_dependency('merb-core', '>= 1.0')
s.require_path = 'lib'
s.files = %w(LICENSE README.textile Rakefile TODO) + Dir.glob("{lib,spec}/**/*")
-
end
Rake::GemPackageTask.new(spec) do |pkg|
pkg.gem_spec = spec
end
@@ -47,5 +46,10 @@
task :gemspec do
File.open("#{GEM_NAME}.gemspec", "w") do |file|
file.puts spec.to_ruby
end
end
+
+desc "Run specs"
+task :spec do
+ system("spec -O spec/spec.opts spec")
+end
\ No newline at end of file