forked from ezcater/activerecord-postgres_pub_sub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
activerecord-postgres_pub_sub.gemspec
59 lines (52 loc) · 2.23 KB
/
activerecord-postgres_pub_sub.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
# frozen_string_literal: true
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "activerecord/postgres_pub_sub/version"
Gem::Specification.new do |spec|
spec.name = "activerecord-postgres_pub_sub"
spec.version = ActiveRecord::PostgresPubSub::VERSION
spec.authors = ["ezCater, Inc"]
spec.email = ["[email protected]"]
spec.summary = "Support for Postgres Notify/Listen"
spec.description = spec.summary
spec.homepage = "https://github.com/ezcater/activerecord-postgres_pub_sub"
spec.license = "MIT"
# Set "allowed_push_post" to control where this gem can be published.
if spec.respond_to?(:metadata)
spec.metadata["allowed_push_host"] = "https://rubygems.org"
else
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
end
excluded_files = %w(.circleci/config.yml
.github/PULL_REQUEST_TEMPLATE.md
.gitignore
.rspec
.rubocop.yml
.ruby-gemset
.ruby-version
.travis.yml
bin/console
bin/setup
Rakefile)
spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(/^(test|spec|features)\//)
end - excluded_files
spec.bindir = "bin"
spec.executables = []
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 2.7.0"
spec.add_runtime_dependency "activerecord", "> 5.1", "< 7.1"
spec.add_runtime_dependency "pg", "~> 1.1"
spec.add_runtime_dependency "private_attr"
spec.add_runtime_dependency "with_advisory_lock"
spec.add_development_dependency "appraisal"
spec.add_development_dependency "bundler", ">= 1.3.0"
spec.add_development_dependency "database_cleaner"
spec.add_development_dependency "ezcater_matchers"
spec.add_development_dependency "ezcater_rubocop", "~> 3.0"
spec.add_development_dependency "overcommit"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rspec", "~> 3.4"
spec.add_development_dependency "rspec_junit_formatter", "0.2.2"
spec.add_development_dependency "simplecov"
end