|
| 1 | +# frozen_string_literal: true |
| 2 | + |
1 | 3 | require_relative 'lib/fast_cqrs/version'
|
2 | 4 |
|
3 | 5 | Gem::Specification.new do |spec|
|
4 |
| - spec.name = "fast_cqrs" |
| 6 | + spec.name = 'fast_cqrs' |
5 | 7 | spec.version = FastCqrs::VERSION
|
6 |
| - spec.authors = ["Sebastian Wilgosz"] |
7 |
| - spec.email = ["[email protected]"] |
| 8 | + spec.authors = ['Sebastian Wilgosz'] |
| 9 | + spec.email = ['[email protected]'] |
8 | 10 |
|
9 |
| - spec.summary = %q{A lightweight CQRS scaffold for ruby-based web applications.} |
10 |
| - spec.description = %q{Write CQRS applications easily using functional endpoints without a hassle.} |
11 |
| - spec.homepage = "https://github.com/driggl/fast_cqrs" |
12 |
| - spec.license = "MIT" |
13 |
| - spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0") |
| 11 | + spec.summary = 'A lightweight CQRS scaffold for ruby-based web applications.' |
| 12 | + spec.description = 'Write CQRS applications easily using functional endpoints without a hassle.' |
| 13 | + spec.homepage = 'https://github.com/driggl/fast_cqrs' |
| 14 | + spec.license = 'MIT' |
| 15 | + spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0') |
14 | 16 |
|
15 | 17 | spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
16 | 18 |
|
17 |
| - spec.metadata["homepage_uri"] = spec.homepage |
18 |
| - spec.metadata["source_code_uri"] = "https://github.com/driggl/fast_cqrs" |
19 |
| - spec.metadata["changelog_uri"] = "https://github.com/driggl/fast_cqrs/releases" |
| 19 | + spec.metadata['homepage_uri'] = spec.homepage |
| 20 | + spec.metadata['source_code_uri'] = 'https://github.com/driggl/fast_cqrs' |
| 21 | + spec.metadata['changelog_uri'] = 'https://github.com/driggl/fast_cqrs/releases' |
20 | 22 |
|
21 | 23 | # Specify which files should be added to the gem when it is released.
|
22 | 24 | # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
23 |
| - spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do |
| 25 | + spec.files = Dir.chdir(File.expand_path(__dir__)) do |
24 | 26 | `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
25 | 27 | end
|
26 |
| - spec.bindir = "exe" |
| 28 | + spec.bindir = 'exe' |
27 | 29 | spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28 |
| - spec.require_paths = ["lib"] |
| 30 | + spec.require_paths = ['lib'] |
29 | 31 |
|
30 | 32 | spec.add_dependency 'dry-matcher'
|
31 | 33 | spec.add_dependency 'dry-monads'
|
|
0 commit comments