dry-monitor.gemspec in dry-monitor-0.3.1 vs dry-monitor.gemspec in dry-monitor-0.3.2
- old
+ new
@@ -1,28 +1,40 @@
# frozen_string_literal: true
+# this file is managed by dry-rb/devtools project
-require File.expand_path('lib/dry/monitor/version', __dir__)
+lib = File.expand_path('lib', __dir__)
+$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
+require 'dry/monitor/version'
Gem::Specification.new do |spec|
spec.name = 'dry-monitor'
- spec.version = Dry::Monitor::VERSION
- spec.authors = ['Piotr Solnica']
- spec.email = ['piotr.solnica@gmail.com']
- spec.summary = 'Monitoring and instrumentation APIs'
- spec.homepage = 'https://github.com/dry-rb/dry-monitor'
+ spec.authors = ["Piotr Solnica"]
+ spec.email = ["piotr.solnica@gmail.com"]
spec.license = 'MIT'
+ spec.version = Dry::Monitor::VERSION.dup
- spec.files = `git ls-files -z`.split("\x0")
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
+ spec.summary = "Monitoring and instrumentation APIs"
+ spec.description = spec.summary
+ spec.homepage = 'https://dry-rb.org/gems/dry-monitor'
+ spec.files = Dir["CHANGELOG.md", "LICENSE", "README.md", "dry-monitor.gemspec", "lib/**/*"]
+ spec.bindir = 'bin'
+ spec.executables = []
spec.require_paths = ['lib']
- spec.add_runtime_dependency 'dry-configurable', '~> 0.5'
- spec.add_runtime_dependency 'dry-core', '~> 0.4'
- spec.add_runtime_dependency 'dry-equalizer', '~> 0.2'
- spec.add_runtime_dependency 'dry-events', '~> 0.1'
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
+ spec.metadata['changelog_uri'] = 'https://github.com/dry-rb/dry-monitor/blob/master/CHANGELOG.md'
+ spec.metadata['source_code_uri'] = 'https://github.com/dry-rb/dry-monitor'
+ spec.metadata['bug_tracker_uri'] = 'https://github.com/dry-rb/dry-monitor/issues'
- spec.add_development_dependency 'bundler'
- spec.add_development_dependency 'rake'
- spec.add_development_dependency 'rouge', '~> 2.0', '>= 2.2.1'
- spec.add_development_dependency 'rspec'
+ spec.required_ruby_version = ">= 2.4.0"
+
+ # to update dependencies edit project.yml
+ spec.add_runtime_dependency "dry-configurable", "~> 0.5"
+ spec.add_runtime_dependency "dry-core", "~> 0.4"
+ spec.add_runtime_dependency "dry-equalizer", "~> 0.2"
+ spec.add_runtime_dependency "dry-events", "~> 0.2"
+
+ spec.add_development_dependency "bundler"
+ spec.add_development_dependency "rake"
+ spec.add_development_dependency "rouge", "~> 2.0", ">= 2.2.1"
+ spec.add_development_dependency "rspec"
end