Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v0.2.0
Fetching contributors…

Cannot retrieve contributors at this time

62 lines (47 sloc) 1.856 kb
# -*- mode: ruby -*-
source 'http://rubygems.org'
gem 'rails', '3.0.0'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
gem 'sqlite3-ruby', :require => 'sqlite3' unless defined?(JRUBY_VERSION)
gem "activerecord-jdbc-adapter" if defined?(JRUBY_VERSION)
gem "jdbc-sqlite3", :require => false if defined?(JRUBY_VERSION)
# Use unicorn as the web server
# gem 'unicorn'
# Deploy with Capistrano
# gem 'capistrano'
# To use debugger
# gem 'ruby-debug'
# Bundle the extra gems:
# gem 'bj'
# gem 'nokogiri'
# gem 'sqlite3-ruby', :require => 'sqlite3'
# gem 'aws-s3', :require => 'aws/s3'
# Bundle gems for the local environment. Make sure to
# put test-only gems in this group so their generators
# and rake tasks are available in development mode:
# group :development, :test do
# gem 'webrat'
# end
gem 'enforce-ssl'
if defined? MAVEN
properties({ "jruby.plugins.version" => '0.23.0-SNAPSHOT' })
#TODO allow :scope => :test, :classifier => "test", :exclusions => ['ant.ant']
#group :dev do
jar 'junit.junit', '3.8.2'
jar 'org.seleniumhq.selenium.client-drivers.selenium-java-client-driver', '1.0.1'
#end
plugin('org.mortbay.jetty.jetty-maven-plugin', '${jetty.version}') do |jetty|
jetty.with(:stopKey => 'foo', :stopPort => 9999)
jetty.in_phase('pre-integration-test').execute('run').with(:daemon => true)
jetty.in_phase('post-integration-test').execute('stop')
end
plugin('org.codehaus.mojo.selenium-maven-plugin', '1.1') do |selenium|
selenium.in_phase('pre-integration-test').execute("start-server").with({
:background => true, :firefoxProfileTemplate => "src/test/resources/selenium" })
end
plugin('surefire', '2.6') do |surefire|
surefire.with :skip => true
surefire.in_phase('integration-test').execute('test').with :skip => false
end
end
Jump to Line
Something went wrong with that request. Please try again.