-
Notifications
You must be signed in to change notification settings - Fork 67
/
opal-rails.gemspec
48 lines (37 loc) · 1.84 KB
/
opal-rails.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
40
41
42
43
44
45
46
47
48
# frozen_string_literal: true
require_relative 'lib/opal/rails/version'
Gem::Specification.new do |spec|
spec.name = 'opal-rails'
spec.version = Opal::Rails::VERSION
spec.authors = ['Elia Schito']
spec.email = ['elia@schito.me']
spec.summary = %q{Rails bindings for opal JS engine}
spec.description = %q{Rails bindings for opal JS engine}
spec.homepage = 'https://github.com/opal/opal-rails#readme'
spec.license = 'MIT-LICENSE'
spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = 'https://github.com/opal/opal-rails#readme'
spec.metadata['changelog_uri'] = 'https://github.com/opal/opal-rails/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 'rails', '>= 6.0', '< 7.1'
spec.add_dependency 'sprockets-rails', '>= 3.0'
spec.add_dependency 'opal', '~> 1.0'
spec.add_dependency 'opal-sprockets', '~> 1.0'
spec.add_development_dependency 'haml'
spec.add_development_dependency 'execjs'
spec.add_development_dependency 'launchy'
spec.add_development_dependency 'capybara', '~> 3.25'
spec.add_development_dependency 'cuprite'
spec.add_development_dependency 'rspec-rails'
spec.add_development_dependency 'appraisal', '~> 2.1'
spec.add_development_dependency 'sqlite3'
spec.add_development_dependency 'puma'
end