Rakefile in i18n_column-0.0.2 vs Rakefile in i18n_column-0.0.3

- old
+ new

@@ -1,25 +1,8 @@ -require('rubygems') -require('rake') -require 'rspec/core/rake_task' +require('bundler') +require('rspec/core/rake_task') -begin - require 'jeweler' - Jeweler::Tasks.new do |gem| - gem.name = "i18n_column" - gem.summary = %Q{Storing and retrieving translations from a single database column} - gem.description = %Q{This extension provides the capabilities of storing and retrieving translations from a single database column. The translations are serialized using JSON.} - gem.email = "philipp.ullmann@create.at" - gem.homepage = "http://github.com/create-philipp-ullmann/i18n_column" - gem.authors = ["Philipp Ullmann"] - gem.add_development_dependency('rspec', '>= 2.0.0') - gem.add_development_dependency('sqlite3-ruby', '>= 1.3.1') - gem.add_development_dependency('activerecord', '>= 3.0.0') - end - Jeweler::GemcutterTasks.new -rescue LoadError - puts('Jeweler (or a dependency) not available. Install it with: gem install jeweler') -end +Bundler::GemHelper.install_tasks desc('Run RSpec') RSpec::Core::RakeTask.new do |t| t.verbose = false end