-
Notifications
You must be signed in to change notification settings - Fork 109
/
decent_exposure.gemspec
33 lines (30 loc) · 1.43 KB
/
decent_exposure.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
require_relative "lib/decent_exposure/version"
Gem::Specification.new do |spec|
spec.name = "decent_exposure"
spec.version = DecentExposure::VERSION
spec.authors = ["Pavel Pravosud", "Stephen Caudill"]
spec.email = ["info@hashrocket.com"]
spec.summary = "Create declarative interfaces in Ruby on Rails controllers & views"
spec.description = '
DecentExposure helps you program to an interface, rather than an
implementation in your Rails controllers. The fact of the matter is that
sharing state via instance variables in controllers promotes close coupling
with views. DecentExposure gives you a declarative manner of exposing an
interface to the state that controllers contain and thereby decreasing
coupling and improving your testability and overall design.
'
spec.homepage = "https://github.com/hashrocket/decent_exposure"
spec.license = "MIT"
spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject do |f|
(f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
end
end
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 2.7"
spec.add_dependency "activesupport", ">= 4.0"
spec.add_development_dependency "railties", ">= 4.0"
spec.add_development_dependency "actionmailer", ">= 4.0"
spec.add_development_dependency "rspec-rails", "~> 3.0"
spec.add_development_dependency "standard"
end