Repository navigation
Expand file tree
/
Copy pathpatches.gemspec
More file actions
57 lines (48 loc) · 2.58 KB
/
Copy pathpatches.gemspec
File metadata and controls
57 lines (48 loc) · 2.58 KB
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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'patches/version'
Gem::Specification.new do |spec|
spec.name = "patches"
spec.version = Patches::VERSION
spec.authors = ["ReadyTech"]
spec.email = ["ruby_gems@readytech.io"]
spec.licenses = ['MIT']
spec.summary = %q{A simple gem for one off tasks}
spec.description = %q{A simple gem for one off tasks for example database patches}
spec.homepage = "https://github.com/rdytech/patches"
spec.metadata = {
"source_code_uri" => spec.homepage,
"changelog_uri" => "#{spec.homepage}/blob/v#{Patches::VERSION}/CHANGELOG.md",
"bug_tracker_uri" => "#{spec.homepage}/issues",
"documentation_uri" => "#{spec.homepage}/blob/v#{Patches::VERSION}/docs/usage.md"
}
# Only what a consumer needs: the library (including the generator templates,
# rake tasks and Capistrano integration), the install migration, and the
# documentation. Development files - Dockerfile, .devcontainer, .github, bin,
# Rakefile, RELEASING.md, specs - stay out of the package.
spec.files = `git ls-files -z lib db/migrate docs/usage.md README.md CHANGELOG.md LICENSE.md`.split("\x0")
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
# The floors 3.7.0 announced. Every combination CI verifies is at or above
# them; see the table in README.md.
spec.required_ruby_version = ">= 3.2"
spec.add_dependency "railties", ">= 7.2"
spec.add_dependency "activerecord", ">= 7.2"
# Slack notifications are optional, so the gem no longer installs
# slack-notifier - an application that sets config.use_slack adds it itself.
# Declared in the Gemfile for the suite, the way sidekiq is.
spec.add_development_dependency "bundler", "> 1.8"
spec.add_development_dependency "rake", "> 10.0"
spec.add_development_dependency "rspec", "~> 3.13"
spec.add_development_dependency "simplecov", "~> 0.17", '< 0.18' # sonarscanner requires < 0.18
spec.add_development_dependency "pry"
spec.add_development_dependency "webmock"
# rails, sqlite3, sidekiq and concurrent-ruby live in the Gemfile so CI can
# vary them across the range documented in README.md. capybara, factory_girl,
# timecop, generator_spec, byebug and database_cleaner were referenced by no
# spec, and rspec-rails was never required, so plain rspec replaces it.
# Sidekiq is an optional integration, not a runtime dependency, and the suite
# is expected to pass without it installed.
end