Sha256: 522299d54bfff21e8dc585b04c0d1e0336e8b2ab24553f3043be6786f4c1af12
Contents?: true
Size: 1.23 KB
Versions: 22
Compression:
Stored size: 1.23 KB
Contents
require 'rubygems' require 'plugit' PLUGIT_ROOT = File.expand_path(File.dirname(__FILE__)) Plugit.describe do |dataset| dataset.environments_root_path = "#{PLUGIT_ROOT}/environments" vendor_directory = "#{PLUGIT_ROOT}/../vendor/plugins" dataset.environment :default, 'Released versions of Rails and RSpec' do |env| env.library :rails, :export => "git clone git://github.com/rails/rails.git" do |rails| rails.after_update { `git fetch origin 2-3-stable:2-3-stable; git checkout 2-3-stable` } rails.load_paths = %w{/activesupport/lib /activerecord/lib /actionpack/lib} rails.requires = %w{active_support active_record active_record/fixtures action_controller action_view} end env.library :rspec, :export => "git clone git://github.com/dchelimsky/rspec.git" do |rspec| rspec.after_update { `git checkout -b rspecrelease 1.1.12 && mkdir -p #{vendor_directory} && ln -nsf #{File.expand_path('.')} #{vendor_directory + '/rspec'}` } rspec.requires = %w{spec} end env.library :cucumber, :export => "git clone git://github.com/aslakhellesoy/cucumber.git" do |cukes| cukes.after_update { `git fetch origin master; git checkout v0.2.3.1` } cukes.requires = %w{cucumber} end end end
Version data entries
22 entries across 22 versions & 6 rubygems