-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathGemfile
More file actions
28 lines (20 loc) · 770 Bytes
/
Copy pathGemfile
File metadata and controls
28 lines (20 loc) · 770 Bytes
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
source 'https://rubygems.org'
gemspec
github = -> repo { "https://github.com/#{repo}" }
version = -> rs { -> vs { Gem::Requirement.new(rs) === Gem::Version.new(vs) } }
haml_version = ENV['HAML_VERSION'] ? "~> #{ENV['HAML_VERSION']}" : ">= 0"
gem 'haml', haml_version
case ENV['OPAL_VERSION']
when 'local'
gem 'opal', path: '../opal'
gem 'opal-sprockets', path: '../opal-sprockets'
gem 'opal-rspec', path: '../opal-rspec'
when 'master'
gem 'opal', git: github['opal/opal'], branch: :master
gem 'opal-sprockets', git: github['opal/opal-sprockets']
gem 'opal-rspec', git: github['opal/opal-rspec'], branch: 'master', submodules: true
when version['~> 1.0.0']
gem 'opal-rspec', '~> 0.8.0.alpha1'
when version['~> 0.10.0']
gem 'opal', '~> 0.10.5'
end