Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v0.2.0
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 62 lines (47 sloc) 1.856 kb
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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
# -*- 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
Something went wrong with that request. Please try again.