-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdekorator.gemspec
36 lines (29 loc) · 1.46 KB
/
dekorator.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
# frozen_string_literal: true
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "dekorator/version"
Gem::Specification.new do |spec|
spec.name = "dekorator"
spec.version = Dekorator::VERSION
spec.authors = ["Pantographe"]
spec.email = ["[email protected]"]
spec.summary = "An opinionated way of organizing model-view code in Ruby on Rails, based on decorators"
spec.description = "An opinionated way of organizing model-view code in Ruby on Rails, based on decorators"
spec.homepage = "https://github.com/komposable/dekorator"
spec.license = "MIT"
spec.metadata = {
"homepage_uri" => spec.homepage,
"changelog_uri" => "https://github.com/komposable/dekorator/blob/main/CHANGELOG.md",
"source_code_uri" => spec.homepage,
"bug_tracker_uri" => "https://github.com/komposable/dekorator/issues",
"rubygems_mfa_required" => "true",
}
# 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.
spec.files = Dir["CHANGELOG.md", "LICENSE.txt", "README.md", "lib/**/*"]
spec.require_paths = ["lib"]
spec.required_ruby_version = Gem::Requirement.new(">= 3.1.0")
spec.add_runtime_dependency "actionview", ">= 7.0", "< 8.1"
spec.add_runtime_dependency "activerecord", ">= 7.0", "< 8.1"
spec.add_runtime_dependency "activesupport", ">= 7.0", "< 8.1"
end