-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathservice_actor.gemspec
86 lines (62 loc) · 2.63 KB
/
service_actor.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# frozen_string_literal: true
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "service_actor/version"
Gem::Specification.new do |spec|
spec.name = "service_actor"
spec.version = ServiceActor::VERSION
spec.authors = ["Sunny Ripert"]
spec.email = ["[email protected]"]
spec.summary = "Service objects for your application logic"
spec.description = "Service objects for your application logic"
spec.licenses = ["MIT"]
spec.homepage = "https://github.com/sunny/actor"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/main/CHANGELOG.md"
spec.metadata["rubygems_mfa_required"] = "true"
spec.require_paths = ["lib"]
spec.extra_rdoc_files = %w[
LICENSE.txt
README.md
]
files = %w[git ls-files -z lib]
spec.files = IO.popen(files, chdir: __dir__, err: IO::NULL) do |ls|
ls.readlines("\x0", chomp: true)
end
spec.required_ruby_version = [">= 2.7"]
# Loader
spec.add_runtime_dependency "zeitwerk", ">= 1.0"
# Tests
spec.add_development_dependency "rspec", ">= 3.0"
# Development Tasks
spec.add_development_dependency "rake", ">= 13.0"
# Debugger
spec.add_development_dependency "pry", ">= 0.12"
# Linting rubocop-lts is a RuboCop wrapper for Ruby
# and should only be bumped when dropping old Ruby support
# see: https://rubocop-lts.gitlab.io/HOW_TO_UPGRADE_RUBY/
spec.add_development_dependency "rubocop-lts", "~> 18.2"
# rubocop-lts dependency. Can be removed when RuboCop LTS is upgraded.
# https://github.com/sunny/actor/pull/126#issuecomment-1966682674
spec.add_development_dependency "standard-rubocop-lts", ">= 1.0.10"
# Update RuboCop rules gradually.
# rubocop-lts dependency. Can be removed when RuboCop LTS is upgraded.
spec.add_development_dependency "rubocop-gradual", ">= 0.3"
# Lint RSpec code
spec.add_development_dependency "rubocop-rspec", ">= 2.0"
# Add performance linting
spec.add_development_dependency "rubocop-performance", ">= 1.0"
# Add Rakefile linting
spec.add_development_dependency "rubocop-rake", ">= 0.1"
# Thread-safety checks
spec.add_development_dependency "rubocop-thread_safety", ">= 0.1"
# Formatter for GitHub’s code scanning
spec.add_development_dependency "code-scanning-rubocop", ">= 0.6"
# For testing Interactor migration support
spec.add_development_dependency "interactor", ">= 3.0"
# Code coverage reporter
spec.add_development_dependency "simplecov", ">= 0.0"
# https://github.com/ruby/ruby/pull/12531
spec.add_development_dependency "ostruct", ">= 0.0"
end