Sha256: 4be9303b1b29cfbf4193277217dd126e30839e575770319f08ffc4926dc687e2
Contents?: true
Size: 1.46 KB
Versions: 5
Compression:
Stored size: 1.46 KB
Contents
# 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 is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options gem.name = "iso-country-select" gem.homepage = "http://github.com/mcasimir/kaminari-bootstrap" gem.license = "MIT" gem.summary = %Q{Localized country select helper for rails that stores ISO 3166-1 alpha-3 codes} gem.description = %Q{Localized country select helper for rails that stores ISO 3166-1 alpha-3 country codes instead of names} gem.email = "maurizio.cas@gmail.com" gem.authors = ["mcasimir"] # dependencies defined in Gemfile end Jeweler::RubygemsDotOrgTasks.new task :push do message = ENV["message"] || "commit #{Time.now}" `git add . && git commit -a -m '#{message}' && git push` end task "release:patch" do Rake::Task["gemspec"].invoke Rake::Task["version:bump:patch"] Rake::Task["push"].invoke Rake::Task["release"].invoke end task "release:minor" do Rake::Task["gemspec"].invoke Rake::Task["version:bump:minor"] Rake::Task["push"].invoke Rake::Task["release"].invoke end task "release:major" do Rake::Task["gemspec"].invoke Rake::Task["version:bump:major"] Rake::Task["push"].invoke Rake::Task["release"].invoke end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
iso-country-select-0.1.5 | Rakefile |
iso-country-select-0.1.4 | Rakefile |
iso-country-select-0.1.3 | Rakefile |
iso-country-select-0.1.2 | Rakefile |
iso-country-select-0.1.1 | Rakefile |