coprl.gemspec in coprl-0.1.0 vs coprl.gemspec in coprl-3.0.0.beta.1

- old
+ new

@@ -1,35 +1,43 @@ -# frozen_string_literal: true +# coding: utf-8 +lib = File.expand_path('../lib', __FILE__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) +require 'coprl/presenters/version' -require_relative "lib/coprl/version" - Gem::Specification.new do |spec| - spec.name = "coprl" - spec.version = Coprl::VERSION - spec.authors = ["Russell Edens"] - spec.email = ["russell@voomify.com"] + spec.name = 'coprl' + spec.version = Coprl::Presenters::Version::VERSION + spec.authors = ['Russell Edens'] + spec.email = ["rx@russelledens.net\n"] - spec.summary = "COmmon PResenter Language (COPRL)" - spec.description = "COPRL is a Ruby DSL for rendering user interfaces." - spec.homepage = "https://github.com/rx/coprl-ruby" - spec.license = "MIT" - spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0") + spec.summary = 'COPRL Presenters Gem' + spec.homepage = 'http://github.com/rx/presenters' + spec.license = 'MIT' - spec.metadata["homepage_uri"] = spec.homepage - spec.metadata["source_code_uri"] = "https://github.com/rx/coprl-ruby.git" - spec.metadata["changelog_uri"] = "https://github.com/rx/coprl-ruby/CHANGELOG.md" - - # Specify which files should be added to the gem when it is released. - # The `git ls-files -z` loads the files in the RubyGem that have been added into git. - spec.files = Dir.chdir(File.expand_path(__dir__)) do - `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) } + spec.files = `git ls-files -z`.split("\x0").reject do |f| + f.match(%r{^(test|spec|features)/}) end - spec.bindir = "exe" - spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) } - spec.require_paths = ["lib"] + spec.bindir = 'exe' + spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } + spec.require_paths = ['lib'] - # Uncomment to register a new dependency of your gem - # spec.add_dependency "example-gem", "~> 1.0" + spec.add_runtime_dependency 'ice_nine', '~>0.11' + spec.add_runtime_dependency 'dry-container', '~>0.6' + spec.add_runtime_dependency 'dry-configurable', '>0.1', '<= 7.0' + spec.add_runtime_dependency 'dry-inflector', '~>0.1' + spec.add_runtime_dependency 'sinatra', '>=1.4', '< 3.0' + spec.add_runtime_dependency 'tzinfo', '>=1.1', '< 3.0' + spec.add_runtime_dependency 'tzinfo-data', '~>1.2018' + spec.add_runtime_dependency 'redcarpet', '~>3.4' + spec.add_runtime_dependency 'filewatcher', '~> 1.1.1' + spec.add_runtime_dependency 'zeitwerk', '~> 2.1' - # For more information and examples about making a new gem, checkout our - # guide at: https://bundler.io/guides/creating_gem.html + spec.add_development_dependency 'thor', '~> 1.1.0' + spec.add_development_dependency 'rack-test', '~>0.8' + spec.add_development_dependency 'rack', '>= 2.0.6' + spec.add_development_dependency 'pry', '~>0.10' + spec.add_development_dependency 'bundler', '>= 1.13' + spec.add_development_dependency 'rake', '~> 13.0' + spec.add_development_dependency 'rspec', '~> 3.0' + spec.add_development_dependency 'gem-release', '~> 2.0' + spec.add_development_dependency 'shotgun', '~> 0.9' end