-
Notifications
You must be signed in to change notification settings - Fork 5
/
rails_drivers.gemspec
41 lines (33 loc) · 1.31 KB
/
rails_drivers.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
# frozen_string_literal: true
$LOAD_PATH.push File.expand_path('lib', __dir__)
# Maintain your gem's version:
require 'rails_drivers/version'
# Describe your gem and declare its dependencies:
Gem::Specification.new do |spec|
spec.name = 'rails_drivers'
spec.version = RailsDrivers::VERSION
spec.authors = ['Nigel Baillie']
spec.email = ['[email protected]']
spec.homepage = 'https://github.com/degica/rails_drivers'
spec.summary = 'De-coupled separation of concerns for Rails'
spec.description = 'Like Rails Engines, but without the friction. '\
"Your Rails app can't access them, and they can't access each other."
spec.license = 'MIT'
spec.files = Dir['{app,config,db,lib}/**/*', 'MIT-LICENSE', 'Rakefile', 'README.md']
spec.executables << 'driver'
spec.executables << 'nodriver'
spec.required_ruby_version = '>= 2.5' # rubocop:disable Gemspec/RequiredRubyVersion
rails = case ENV['RAILS_VERSION']
when '5.2'
'~> 5.2'
when '6.0'
'~> 6.0'
else
'>= 5.2'
end
spec.add_dependency 'rails', rails
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'rspec-rails'
spec.add_development_dependency 'sqlite3'
spec.add_development_dependency 'webpacker'
end