-
Notifications
You must be signed in to change notification settings - Fork 17
/
opal-sprockets.gemspec
39 lines (31 loc) · 1.53 KB
/
opal-sprockets.gemspec
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
require_relative 'lib/opal/sprockets/version'
Gem::Specification.new do |spec|
spec.name = 'opal-sprockets'
spec.version = Opal::Sprockets::VERSION
spec.authors = ['Elia Schito', 'Adam Beynon', 'Andy Maleh']
spec.email = 'elia@schito.me'
spec.summary = 'Sprockets support for Opal.'
spec.homepage = 'https://github.com/opal/opal-sprockets#readme'
spec.license = 'MIT'
spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = 'https://github.com/opal/opal-sprockets'
spec.metadata['changelog_uri'] = 'https://github.com/opal/opal-sprockets/blob/master/CHANGELOG.md'
spec.required_ruby_version = Gem::Requirement.new('>= 2.5')
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
files = Dir.chdir(__dir__) { `git ls-files -z`.split("\x0") }
spec.files = files.grep_v(%r{^(test|spec|features)/})
spec.test_files = files.grep(%r{^(test|spec|features)/})
spec.bindir = "exe"
spec.executables = files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_dependency 'sprockets', "~> 4.0"
spec.add_dependency 'opal', [">= 1.0", "< 2.0"]
spec.add_dependency 'tilt', '>= 1.4'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'rack-test'
spec.add_development_dependency 'sourcemap'
spec.add_development_dependency 'ejs'
spec.add_development_dependency 'pry'
end