forked from grosser/ie_iframe_cookies
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
29 lines (25 loc) · 876 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << 'lib'
test.pattern = 'test/**/*_test.rb'
test.verbose = true
end
task :default do
sh "RAILS=2.3.12 && (bundle || bundle install) && bundle exec rake test"
sh "RAILS=3.0.10 && (bundle || bundle install) && exec rake test"
sh "RAILS=3.1.2 && (bundle || bundle install) && exec rake test"
sh "git checkout Gemfile.lock"
end
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = 'ie_iframe_cookies'
gem.summary = "Rails: Enabled cookies inside IFrames for IE via p3p headers"
gem.email = "michael@grosser.it"
gem.homepage = "http://github.com/grosser/#{gem.name}"
gem.authors = ["Michael Grosser"]
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler, or one of its dependencies, is not available. Install it with: gem install jeweler"
end