Sha256: 3bba5230b43e4b7ff1b177d2bbf6a3e63f0dd92e224297ee11809aeafd221544

Contents?: true

Size: 1.55 KB

Versions: 3

Compression:

Stored size: 1.55 KB

Contents

# frozen_string_literal: true

require_relative 'lib/living_document/version'

Gem::Specification.new do |spec|
  spec.name          = 'living_document'
  spec.version       = LivingDocument::VERSION
  spec.authors       = ['David Runger']
  spec.email         = ['davidjrunger@gmail.com']

  spec.summary       = 'Evaluate Ruby code live while editing a file!'
  spec.description   = 'Evaluate Ruby code live while editing a file!'
  spec.homepage      = 'https://github.com/davidrunger/living_document'
  spec.license       = 'MIT'

  required_ruby_version = File.read('.ruby-version').rstrip.sub(/\A(\d+\.\d+)\.\d+\z/, '\1.0')
  spec.required_ruby_version = ">= #{required_ruby_version}"

  spec.metadata['rubygems_mfa_required'] = 'true'
  spec.metadata['homepage_uri'] = spec.homepage
  spec.metadata['source_code_uri'] = 'https://github.com/davidrunger/living_document'
  spec.metadata['changelog_uri'] = 'https://github.com/davidrunger/living_document/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(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.add_dependency('activesupport', '>= 6')
  spec.add_dependency('listen', '>= 3.2')
  spec.add_dependency('memo_wise', '>= 1.7')
  spec.add_dependency('timecop', '>= 0.9.10')
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
living_document-1.1.1 living_document.gemspec
living_document-1.1.0 living_document.gemspec
living_document-1.0.0 living_document.gemspec