Sha256: 640b06b7ef770108a857557c2106edf3bfe075344dfefb529b333bfc4746f597
Contents?: true
Size: 1.12 KB
Versions: 2
Compression:
Stored size: 1.12 KB
Contents
# frozen_string_literal: true # rubocop:disable Bundler/DuplicatedGem, Bundler/OrderedGems source 'https://rubygems.org' gemspec gem 'lint-config-ruby', git: 'https://github.com/Casecommons/lint-config-ruby.git', tag: 'v1.0.0' ar_branch = ENV['ACTIVE_RECORD_BRANCH'] ar_version = ENV['ACTIVE_RECORD_VERSION'] is_jruby = RUBY_PLATFORM == 'java' if ar_branch gem 'activerecord', git: 'https://github.com/rails/rails.git', branch: ar_branch if ar_branch == 'master' gem 'arel', git: 'https://github.com/rails/arel.git' gem 'activerecord-jdbcsqlite3-adapter', git: 'https://github.com/jruby/activerecord-jdbc-adapter.git' if is_jruby end elsif ar_version gem 'activerecord', ar_version # rubocop:disable Bundler/DuplicatedGem if is_jruby && Gem::Requirement.new(ar_version).satisfied_by?(Gem::Version.new('6.0.0')) gem 'activerecord-jdbcsqlite3-adapter', git: 'https://github.com/jruby/activerecord-jdbc-adapter.git' end end unless is_jruby if ar_branch == 'master' || Gem::Requirement.new(ar_version).satisfied_by?(Gem::Version.new('6.0.0')) gem 'sqlite3', '~> 1.4.1' else gem 'sqlite3', '~> 1.3.11' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
with_model-2.1.4 | Gemfile |
with_model-2.1.3 | Gemfile |