Sha256: 1c9b64abf3be26eeea139a4b2c7b5be223ae75fed04b593d48186d2bee65289f
Contents?: true
Size: 1.1 KB
Versions: 1
Compression:
Stored size: 1.1 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' CURRENT_BRANCH = ENV.fetch('GIT_BRANCH', 'master') RAILS_VERSION = [ '>= 3.0', '< 5.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.3.0 | Gemfile |