Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 47 lines (39 sloc) 1.398 kb
871bde8 Jason Morrison Initial commit to capybara-envjs-fixes.
jasonm authored
1 require 'rubygems'
2 require 'rake'
3
4 begin
5 require 'jeweler'
6 Jeweler::Tasks.new do |gem|
7 gem.name = "capybara-envjs-fixes"
fd27f66 Jason Morrison Add gemspec and description
jasonm authored
8 gem.summary = %Q{Fixes on top of capybara-envjs}
9 gem.description = %Q{Fixes on top of capybara-envjs}
33cd881 Updated authors on Rakefile, regenerated gemspec
Harold Giménez authored
10 gem.email = "support@thoughtbot.com"
871bde8 Jason Morrison Initial commit to capybara-envjs-fixes.
jasonm authored
11 gem.homepage = "http://github.com/jasonm/capybara-envjs-fixes"
33cd881 Updated authors on Rakefile, regenerated gemspec
Harold Giménez authored
12 gem.authors = ["Jason Morrison", "Joe Ferris", "Harold Giménez"]
871bde8 Jason Morrison Initial commit to capybara-envjs-fixes.
jasonm authored
13 gem.add_development_dependency "rspec", ">= 1.2.9"
8dd368e Jason Morrison Depend on capybara-envjs gem
jasonm authored
14 gem.add_dependency('capybara-envjs', '>= 0.1.6')
871bde8 Jason Morrison Initial commit to capybara-envjs-fixes.
jasonm authored
15 # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
16 end
17 Jeweler::GemcutterTasks.new
18 rescue LoadError
19 puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
20 end
21
22 require 'spec/rake/spectask'
23 Spec::Rake::SpecTask.new(:spec) do |spec|
24 spec.libs << 'lib' << 'spec'
25 spec.spec_files = FileList['spec/**/*_spec.rb']
26 end
27
28 Spec::Rake::SpecTask.new(:rcov) do |spec|
29 spec.libs << 'lib' << 'spec'
30 spec.pattern = 'spec/**/*_spec.rb'
31 spec.rcov = true
32 end
33
34 task :spec => :check_dependencies
35
36 task :default => :spec
37
38 require 'rake/rdoctask'
39 Rake::RDocTask.new do |rdoc|
40 version = File.exist?('VERSION') ? File.read('VERSION') : ""
41
42 rdoc.rdoc_dir = 'rdoc'
43 rdoc.title = "capybara-envjs-fixes #{version}"
44 rdoc.rdoc_files.include('README*')
45 rdoc.rdoc_files.include('lib/**/*.rb')
46 end
Something went wrong with that request. Please try again.