Sha256: c8cecab7b7ece32ad29b788b5a569d12ffadb6140e69f0b70466ac4ef7e35f29

Contents?: true

Size: 1.52 KB

Versions: 5

Compression:

Stored size: 1.52 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "pushify"
    gem.summary = "See updates you make to css, html, javascript, and images appear immediately in all of your browsers without having to refresh."
    gem.email = "tilleryj@thinklinkr.com"
    gem.homepage = "http://github.com/tilleryj/pushify"
    gem.authors = ["Jason Tillery"]
    gem.executables = "pushify"
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end

rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

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

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


task :default => :spec

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  if File.exist?('VERSION.yml')
    config = YAML.load(File.read('VERSION.yml'))
    version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
  else
    version = ""
  end

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "pushify #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end


desc "Creates a rails specification file"
task :rails_spec => :build do
  spec = Gem::Specification.load("pushify.gemspec")
  File.open(".specification", 'w') do |file|
    file.puts spec.to_yaml
  end
end



Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pushify-1.2.2 Rakefile
pushify-1.2.1 Rakefile
pushify-1.2.0 Rakefile
pushify-1.1.0 Rakefile
pushify-1.0.0 Rakefile