# frozen_string_literal: true lib = File.expand_path('lib', __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'r2-oas/version' Gem::Specification.new do |spec| spec.name = 'r2-oas' spec.version = R2OAS::VERSION spec.authors = ['yukihirop'] spec.email = ['te108186@gmail.com'] spec.summary = 'Provide rake tasks to management API Docment (OpenAPI)' spec.description = "Let's intuitively write API documentation with Swagger Editor in your Rails Project! 😊 Provide rake tasks to management API Docment (OpenAPI) 🎉" spec.homepage = 'https://yukihirop.github.io/r2-oas' spec.license = 'MIT' # 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.required_ruby_version = Gem::Requirement.new('>= 2.3.3p222') spec.add_runtime_dependency 'docker-api', '~> 1.34.2' spec.add_runtime_dependency 'easy_diff', '~> 1.0.0' spec.add_runtime_dependency 'eventmachine', '~> 1.2.0' spec.add_runtime_dependency 'paint' spec.add_runtime_dependency 'rails', '>= 4.2.5' spec.add_runtime_dependency 'terminal-table', '~> 1.6.0' spec.add_runtime_dependency 'watir', '~> 6.16.5' spec.add_development_dependency 'bundler', '~> 1.17' spec.add_development_dependency 'coveralls' spec.add_development_dependency 'pry' spec.add_development_dependency 'rake', '~> 13.0' spec.add_development_dependency 'rspec', '~> 3.0' spec.add_development_dependency 'rubocop' end