forked from scalient/scalient-rails
-
Notifications
You must be signed in to change notification settings - Fork 0
/
scalient-rails.gemspec
32 lines (28 loc) · 1.21 KB
/
scalient-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
# frozen_string_literal: true
#
# Copyright 2013-2020 Scalient LLC
# All rights reserved.
require "pathname"
$LOAD_PATH.push(Pathname.new("../lib").expand_path(__FILE__).to_s)
require "scalient/rails/version"
Gem::Specification.new do |s|
s.name = "scalient-rails"
s.version = Scalient::Rails::Version.to_s
s.platform = Gem::Platform::RUBY
s.authors = ["Roy Liu"]
s.email = ["roy@scalient.io"]
s.homepage = "https://github.com/scalient/scalient-rails"
s.summary = "scalient-rails is a collection Ruby on Rails constructs specifically targeted for Scalient apps"
s.description = "scalient-rails is a collection Ruby on Rails constructs specifically targeted for Scalient apps." \
" With it, our aim is to deduplicate code and encourage use of a core set of tools."
s.add_runtime_dependency "rails", [">= 6.1"]
s.add_runtime_dependency "active_model_serializers", [">= 0.10.0"]
s.files = (
Pathname.glob("{app,config,lib,vendor}/**/*.rb") +
Pathname.glob("lib/tasks/**/*.rake") +
Pathname.glob("bin/*")
).map { |f| f.to_s }
s.test_files = Pathname.glob("{features,spec}/*").map { |f| f.to_s }
s.executables = Pathname.glob("bin/*").map { |f| f.basename.to_s }
s.require_paths = ["lib"]
end