wcc-contentful-app.gemspec in wcc-contentful-app-1.0.0.pre.rc1 vs wcc-contentful-app.gemspec in wcc-contentful-app-1.0.0.pre.rc2

- old
+ new

@@ -2,10 +2,13 @@ lib = File.expand_path('lib', __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'wcc/contentful/app/version' +doc_version = Gem::Version.new(WCC::Contentful::App::VERSION).release.to_s.sub(/\.\d+$/, '') + +# rubocop:disable Metrics/LineLength Gem::Specification.new do |spec| spec.name = 'wcc-contentful-app' spec.version = WCC::Contentful::App::VERSION spec.authors = ['Watermark Dev'] spec.email = ['dev@watermark.org'] @@ -13,10 +16,14 @@ spec.summary = File.readlines(File.expand_path('README.md', __dir__)).join spec.description = 'Models, Controllers, and Views common to Watermark Church apps' spec.homepage = 'https://github.com/watermarkchurch/wcc-contentful' spec.license = 'MIT' + spec.metadata = { + 'documentation_uri' => "https://watermarkchurch.github.io/wcc-contentful/#{doc_version}/wcc-contentful-app" + } + spec.required_ruby_version = '>= 2.3' spec.files = `git ls-files -z`.split("\x0").reject do |f| f.match(%r{^(test|spec|features)/}) @@ -55,5 +62,6 @@ spec.add_development_dependency 'typhoeus', '~> 1.4.0' spec.add_dependency 'redcarpet', '~> 3.4' spec.add_dependency 'wcc-contentful', "~> #{WCC::Contentful::App::VERSION}" end +# rubocop:enable Metrics/LineLength