dry-events.gemspec in dry-events-0.2.0 vs dry-events.gemspec in dry-events-0.3.0

- old
+ new

@@ -1,25 +1,37 @@ -# coding: utf-8 -require File.expand_path('../lib/dry/events/version', __FILE__) +# frozen_string_literal: true +# this file is managed by dry-rb/devtools project +lib = File.expand_path('lib', __dir__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) +require 'dry/events/version' + Gem::Specification.new do |spec| spec.name = 'dry-events' - spec.version = Dry::Events::VERSION - spec.authors = ['Piotr Solnica'] - spec.email = ['piotr.solnica+oss@gmail.com'] - spec.summary = 'Pub/sub system' - spec.homepage = 'https://github.com/dry-rb/dry-events' + spec.authors = ["Piotr Solnica"] + spec.email = ["piotr.solnica+oss@gmail.com"] spec.license = 'MIT' + spec.version = Dry::Events::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 = "Pub/sub system" + spec.description = spec.summary + spec.homepage = 'https://dry-rb.org/gems/dry-events' + spec.files = Dir["CHANGELOG.md", "LICENSE", "README.md", "dry-events.gemspec", "lib/**/*"] + spec.bindir = 'bin' + spec.executables = [] spec.require_paths = ['lib'] - spec.add_runtime_dependency 'concurrent-ruby', '~> 1.0' - spec.add_runtime_dependency 'dry-core', '~> 0.4' - spec.add_runtime_dependency 'dry-equalizer', '~> 0.2' + spec.metadata['allowed_push_host'] = 'https://rubygems.org' + spec.metadata['changelog_uri'] = 'https://github.com/dry-rb/dry-events/blob/master/CHANGELOG.md' + spec.metadata['source_code_uri'] = 'https://github.com/dry-rb/dry-events' + spec.metadata['bug_tracker_uri'] = 'https://github.com/dry-rb/dry-events/issues' - spec.add_development_dependency 'bundler' - spec.add_development_dependency 'rake' - spec.add_development_dependency 'rspec' + spec.required_ruby_version = ">= 2.5.0" + + # to update dependencies edit project.yml + spec.add_runtime_dependency "concurrent-ruby", "~> 1.0" + spec.add_runtime_dependency "dry-core", "~> 0.5", ">= 0.5" + + spec.add_development_dependency "bundler" + spec.add_development_dependency "rake" + spec.add_development_dependency "rspec" end