Sha256: 2a50b8fa02483943e3f8177901f1935a602bf2002ad8a04dd1d57ea43065371c

Contents?: true

Size: 1.02 KB

Versions: 2

Compression:

Stored size: 1.02 KB

Contents

# frozen_string_literal: true

require 'bundler/gem_tasks'
require_relative 'lib/dyny/version'

task :gemspec do
  specification = Gem::Specification.new do |s|
    s.name = 'dyny'
    s.version = Dyny::Version::LABEL
    s.author = ['Sandro Kalbermatter']
    s.summary = 'A tiny framework for writing dynamic Rails views directly in Ruby'
    s.files         = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
    s.executables   = []
    s.require_paths = ['lib']
    s.required_ruby_version = '>= 3.0.0'
    s.license = 'LGPL-3.0-or-later'
    s.homepage = 'https://github.com/kalsan/dyny'
    s.metadata = {
      'source_code_uri'   => 'https://github.com/kalsan/dyny',
      'documentation_uri' => 'https://github.com/kalsan/dyny'

    }

    # Dependencies
    s.add_runtime_dependency 'rails' # Tested with Rails 7, but olders may work. TBD.
  end

  File.open('dyny.gemspec', 'w') do |f|
    f.puts('# DO NOT EDIT')
    f.puts("# This file is auto-generated via: 'rake gemspec'.\n\n")
    f.write(specification.to_ruby.strip)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dyny-0.1.0 Rakefile
dyny-0.0.3 Rakefile