Sha256: 0d733e05b8dd49f32baa50315d7a0b57fe2d8e663fb5c93bc3d97b526d8bca01

Contents?: true

Size: 1.43 KB

Versions: 1

Compression:

Stored size: 1.43 KB

Contents

# frozen_string_literal: true

require_relative "lib/esquema/version"

Gem::Specification.new do |spec|
  spec.name = "model-to-schema"
  spec.version = Esquema::VERSION
  spec.authors = ["Sergio Bayona"]
  spec.email = ["bayona.sergio@gmail.com"]

  spec.summary = "Generate json-schema from ActiveRecord models."
  spec.description = "Generate json-schema from ActiveRecord models."
  spec.homepage = "https://github.com/sergiobayona/esquema"
  spec.license = "MIT"
  spec.required_ruby_version = ">= 3.1"

  spec.metadata["allowed_push_host"] = "https://rubygems.org"

  spec.metadata["homepage_uri"] = spec.homepage
  spec.metadata["source_code_uri"] = "https://github.com/sergiobayona/esquema"
  spec.metadata["changelog_uri"] = "https://github.com/sergiobayona/esquema/blob/main/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(__dir__) do
    `git ls-files -z`.split("\x0").reject do |f|
      (File.expand_path(f) == __FILE__) ||
        f.start_with?(*%w[bin/ spec/ .git .github Gemfile])
    end
  end
  spec.bindir = "exe"
  spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.add_dependency "activerecord", "~> 7.0"
  spec.add_development_dependency "pry-byebug", "~> 3.10", ">= 3.10.1"
  spec.add_development_dependency "rake", "~> 13.0"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
model-to-schema-0.1.0 esquema.gemspec