Sha256: e8193d191560d48bb789e5757143a8feca728e627755e529dddf189924f0a73c

Contents?: true

Size: 1.09 KB

Versions: 1

Compression:

Stored size: 1.09 KB

Contents

require 'pathname'

source 'https://rubygems.org'

gemspec

SOURCE         = ENV.fetch('SOURCE', :git).to_sym
REPO_POSTFIX   = SOURCE == :path ? ''                                : '.git'
DATAMAPPER     = SOURCE == :path ? Pathname(__FILE__).dirname.parent : 'https://github.com/ar-dm'
DM_VERSION     = '~> 1.2.0'
CURRENT_BRANCH = ENV.fetch('GIT_BRANCH', 'master')
RAILS_VERSION  = '~> 3.1.0'

gem 'ardm-core',     DM_VERSION, SOURCE  => "#{DATAMAPPER}/ardm-core#{REPO_POSTFIX}", :branch => CURRENT_BRANCH

gem 'activemodel', RAILS_VERSION, :require => nil

group :development do
  gem 'ardm-validations', DM_VERSION, SOURCE  => "#{DATAMAPPER}/ardm-validations#{REPO_POSTFIX}", :branch => CURRENT_BRANCH
end

platforms :mri_18 do
  group :quality do

    gem 'rcov',      '~> 0.9.10'
    gem 'yard',      '~> 0.7.2'
    gem 'yardstick', '~> 0.4'

  end
end

group :datamapper do

  plugins = ENV['PLUGINS'] || ENV['PLUGIN']
  plugins = plugins.to_s.tr(',', ' ').split.uniq

  plugins.each do |plugin|
    gem plugin, DM_VERSION, SOURCE  => "#{DATAMAPPER}/#{plugin}#{REPO_POSTFIX}", :branch => CURRENT_BRANCH
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ardm-active_model-1.2.0 Gemfile