Rakefile in invisible_captcha-0.6.4 vs Rakefile in invisible_captcha-0.6.5
- old
+ new
@@ -1,51 +2 @@
-# encoding: utf-8
-
-require 'rubygems'
-require 'bundler'
-begin
- Bundler.setup(:default, :development)
-rescue Bundler::BundlerError => e
- $stderr.puts e.message
- $stderr.puts "Run `bundle install` to install missing gems"
- exit e.status_code
-end
-require 'rake'
-
-require 'jeweler'
-Jeweler::Tasks.new do |gem|
- gem.name = "invisible_captcha"
- gem.homepage = "http://github.com/markets/invisible_captcha"
- gem.license = "MIT"
- gem.summary = %Q{Simple honeypot protection for RoR apps}
- gem.description = %Q{Simple spam protection for Rails applications using honeypot strategy for better user experience.}
- gem.email = "srmarc.ai@gmail.com"
- gem.authors = ["Marc Anguera Insa"]
- # dependencies defined in Gemfile
-end
-Jeweler::RubygemsDotOrgTasks.new
-
-namespace :release do
- desc "create a patch release, create tag and push to github"
- task :patch do
- Rake::Task['version:bump:patch'].invoke
- Rake::Task['gemspec'].invoke
- `git commit -am 'Regenerate gemspec'`
- Rake::Task['git:release'].invoke
- end
-
- desc "create a minor, create tag and push to github"
- task :minor do
- Rake::Task['version:bump:minor'].invoke
- Rake::Task['gemspec'].invoke
- `git commit -am 'Regenerate gemspec'`
- Rake::Task['git:release'].invoke
- end
-
- desc "create a major, create tag and push to github"
- task :major do
- Rake::Task['version:bump:major'].invoke
- Rake::Task['gemspec'].invoke
- `git commit -am 'Regenerate gemspec'`
- Rake::Task['git:release'].invoke
- end
-end
+require "bundler/gem_tasks"
\ No newline at end of file