require_relative 'lib/alego_pdf/version' Gem::Specification.new do |spec| spec.name = 'alego_pdf' spec.version = AlegoPdf::VERSION spec.authors = ['Rodrigo de Sá'] spec.email = ['rodrigo.sa@al.go.leg.br'] spec.homepage = 'https://gitlab.al.go.leg.br/gem/alego_pdf' spec.summary = 'Summary of AlegoPdf.' spec.description = 'Description of AlegoPdf.' spec.license = 'MIT' spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0") begin s.metadata['allowed_push_host'] = ENV['GEM_SERVER'] || '' rescue StandardError end spec.metadata['homepage_uri'] = spec.homepage # spec.metadata['source_code_uri'] = 'TODO: Put your gems public repo URL here.' # spec.metadata['changelog_uri'] = 'TODO: Put your gems CHANGELOG.md URL here.' # 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{^(test|spec|features)/}) } end spec.bindir = 'exe' spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] spec.add_development_dependency 'bundler' # , '~> 1.2', '>= 1.2.0' spec.add_development_dependency 'rake' # , "~> 11.2.2" spec.add_runtime_dependency 'factory_bot_rails' # , "~> 4.4.1" spec.add_dependency 'hexapdf' # , "~> 0.24.0" spec.add_dependency 'open-uri' # , "~> 0.2.0" spec.add_dependency 'rspec-rails' # , "~> 3.0.0.beta" end