-
Notifications
You must be signed in to change notification settings - Fork 12
/
Gemfile
55 lines (46 loc) · 1.53 KB
/
Gemfile
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
# frozen_string_literal: true
source "https://rubygems.org"
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
branch = ENV.fetch("SOLIDUS_BRANCH", "v3.1")
git "https://github.com/solidusio/solidus.git", branch: branch do
gem "solidus_core"
gem "solidus_backend"
gem "solidus_api"
gem "solidus_sample"
end
if (branch == 'main') || (branch >= 'v4.0')
gem "solidus_frontend", github: "solidusio/solidus_frontend", branch: 'main'
elsif (branch >= 'v3.2') && (branch < 'v4.0')
gem "solidus_frontend", github: "solidusio/solidus_frontend", branch: branch
else
gem "solidus_frontend", github: "solidusio/solidus", branch: branch
end
gem "rails"
# Provides basic authentication functionality for testing parts of your engine
gem "solidus_auth_devise"
case ENV["DB"]
when "mysql"
gem "mysql2"
when "postgresql"
gem "pg"
else
gem "sqlite3"
end
group :development, :test do
gem "pry"
gem "pry-stack_explorer"
gem "pry-byebug"
# FIXME:
# Once a new version of `solidus_dev_support` is released to RubyGems, we can
# use that.
gem "solidus_dev_support",
github: "solidusio/solidus_dev_support",
branch: "main"
end
gemspec
# Use a local Gemfile to include development dependencies that might not be
# relevant for the project or for other contributors, e.g. pry-byebug.
#
# We use `send` instead of calling `eval_gemfile` to work around an issue with
# how Dependabot parses projects: https://github.com/dependabot/dependabot-core/issues/1658.
send(:eval_gemfile, "Gemfile-local") if File.exist? "Gemfile-local"