From cab3b60e912b92a0099fedd14075772e19764cfc Mon Sep 17 00:00:00 2001 From: Sandro Kalbermatter Date: Wed, 7 Dec 2022 12:12:11 +0100 Subject: [PATCH] Add some metadata for the gem, resulting in 0.0.3 --- Rakefile | 9 ++++++++- dyny.gemspec | 7 +++++-- lib/dyny/version.rb | 2 +- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/Rakefile b/Rakefile index eecac33..102a969 100644 --- a/Rakefile +++ b/Rakefile @@ -13,9 +13,16 @@ task :gemspec do 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' + s.add_runtime_dependency 'rails' # Tested with Rails 7, but olders may work. TBD. end File.open('dyny.gemspec', 'w') do |f| diff --git a/dyny.gemspec b/dyny.gemspec index b930fcc..f5a32c4 100644 --- a/dyny.gemspec +++ b/dyny.gemspec @@ -2,17 +2,20 @@ # This file is auto-generated via: 'rake gemspec'. # -*- encoding: utf-8 -*- -# stub: dyny 0.0.2 ruby lib +# stub: dyny 0.0.3 ruby lib Gem::Specification.new do |s| s.name = "dyny".freeze - s.version = "0.0.2" + s.version = "0.0.3" s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version= + s.metadata = { "documentation_uri" => "https://github.com/kalsan/dyny", "source_code_uri" => "https://github.com/kalsan/dyny" } if s.respond_to? :metadata= s.require_paths = ["lib".freeze] s.authors = ["Sandro Kalbermatter".freeze] s.date = "2022-12-07" s.files = [".gitignore".freeze, ".ruby-version".freeze, "LICENSE".freeze, "README.md".freeze, "Rakefile".freeze, "dyny.gemspec".freeze, "lib/dyny.rb".freeze, "lib/dyny/helper.rb".freeze, "lib/dyny/railtie.rb".freeze, "lib/dyny/template_handler.rb".freeze, "lib/dyny/version.rb".freeze] + s.homepage = "https://github.com/kalsan/dyny".freeze + s.licenses = ["LGPL-3.0-or-later".freeze] s.required_ruby_version = Gem::Requirement.new(">= 3.0.0".freeze) s.rubygems_version = "3.2.33".freeze s.summary = "A tiny framework for writing dynamic Rails views directly in Ruby".freeze diff --git a/lib/dyny/version.rb b/lib/dyny/version.rb index 4caf0b8..4208c95 100644 --- a/lib/dyny/version.rb +++ b/lib/dyny/version.rb @@ -4,7 +4,7 @@ module Dyny module Version MAJOR = 0 MINOR = 0 - PATCH = 2 + PATCH = 3 EDGE = false