Sha256: a6dd676ec652ca9f10765e8945762d653352905101e770af4777fe1c1b949050

Contents?: true

Size: 1.78 KB

Versions: 8

Compression:

Stored size: 1.78 KB

Contents

require 'bundler/setup'
Bundler.require

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "ajax"
    gem.summary = %Q{A framework to augment a traditional Rails application with a completely AJAX frontend.}
    gem.description = %Q{Augment a traditional Rails application with a completely AJAX frontend, while transparently handling issues important to both the enterprise and end users, such as testing, SEO and browser history.}
    gem.email = "kjvarga@gmail.com"
    gem.homepage = "http://github.com/kjvarga/ajax"
    gem.authors = ["Karl Varga"]
    gem.files =  FileList["[A-Z]*", "init.rb", "{app,config,lib,public,rails,tasks}/**/*"] - FileList['spec/rails*/**/*']
    gem.test_files = []
    gem.add_development_dependency "rspec"
    gem.add_dependency "json"
    gem.add_dependency "rack"
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

desc 'Default: run spec tests.'
task :default => :spec

require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.spec_files = FileList['spec/ajax/**/*_spec.rb', 'spec/rack-ajax/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

namespace :release do
  desc "Release a new patch version"
  task :patch do
    Rake::Task['version:bump:patch'].invoke
    Rake::Task['release:current'].invoke
  end

  desc "Release the current version (e.g. after a version bump).  This rebuilds the gemspec, pushes the updated code, tags it and releases to RubyGems"
  task :current do
    Rake::Task['github:release'].invoke
    Rake::Task['git:release'].invoke
    Rake::Task['gemcutter:release'].invoke
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ajax-1.1.7 Rakefile
ajax-1.1.6 Rakefile
ajax-1.1.5 Rakefile
ajax-1.1.4 Rakefile
ajax-1.1.3 Rakefile
ajax-1.1.2 Rakefile
ajax-1.1.1 Rakefile
ajax-1.1.0 Rakefile