Sha256: 886f07e14d098e315d0229053d0db394a65c117c32e9a3395fe1d7c698cfc8d0
Contents?: true
Size: 984 Bytes
Versions: 4
Compression:
Stored size: 984 Bytes
Contents
# encoding: utf-8 require 'bundler/gem_tasks' require 'rake/testtask' require 'yard' lib = File.expand_path('../lib/', __FILE__) $:.unshift lib unless $:.include?(lib) require('gmaps_geocoding/version') task gem: :build task :build do system 'gem build gmaps_geocoding.gemspec' end task install: :build do system "gem install gmaps_geocoding-#{GmapsGeocoding::VERSION}.gem" end task release: :build do system "git tag -a v#{GmapsGeocoding::VERSION} -m 'Tagging #{GmapsGeocoding::VERSION}'" system 'git push --tags' system "gem push gmaps_geocoding-#{GmapsGeocoding::VERSION}.gem" # system "rm gmaps_geocoding-#{GmapsGeocoding::VERSION}.gem" end Rake::TestTask.new do |t| t.libs << 'lib/gmaps_geocoding' t.test_files = FileList['test/**/*_test.rb'] t.verbose = true end desc 'Generate documentation' YARD::Rake::YardocTask.new do |t| t.files = ['lib/**/*.rb', '-', 'LICENSE.txt'] t.options = ['--main', 'README.md', '--no-private'] end task default: :test
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
gmaps_geocoding-0.1.4 | Rakefile |
gmaps_geocoding-0.1.3 | Rakefile |
gmaps_geocoding-0.1.2 | Rakefile |
gmaps_geocoding-0.1.1 | Rakefile |