From caf3b858c009fa4f261c143d52c77ac2f78e97ea Mon Sep 17 00:00:00 2001 From: Brandon Keepers Date: Fri, 14 Jul 2023 12:52:55 -0400 Subject: [PATCH] Update gem metadata to point to docs and support email --- flipper-active_record.gemspec | 4 ++-- flipper-active_support_cache_store.gemspec | 4 ++-- flipper-api.gemspec | 4 ++-- flipper-cloud.gemspec | 4 ++-- flipper-dalli.gemspec | 4 ++-- flipper-moneta.gemspec | 4 ++-- flipper-mongo.gemspec | 4 ++-- flipper-redis.gemspec | 4 ++-- flipper-rollout.gemspec | 4 ++-- flipper-sequel.gemspec | 4 ++-- flipper-ui.gemspec | 4 ++-- flipper.gemspec | 4 ++-- lib/flipper/metadata.rb | 6 +++++- 13 files changed, 29 insertions(+), 25 deletions(-) diff --git a/flipper-active_record.gemspec b/flipper-active_record.gemspec index 60fb24a85..260d7db3b 100644 --- a/flipper-active_record.gemspec +++ b/flipper-active_record.gemspec @@ -8,10 +8,10 @@ end Gem::Specification.new do |gem| gem.authors = ['John Nunemaker'] - gem.email = ['nunemaker@gmail.com'] + gem.email = 'support@flippercloud.io' gem.summary = 'ActiveRecord adapter for Flipper' gem.license = 'MIT' - gem.homepage = 'https://github.com/jnunemaker/flipper' + gem.homepage = 'https://www.flippercloud.io' extra_files = [ 'lib/generators/flipper/templates/migration.erb', diff --git a/flipper-active_support_cache_store.gemspec b/flipper-active_support_cache_store.gemspec index e543f0c1d..e641f9476 100644 --- a/flipper-active_support_cache_store.gemspec +++ b/flipper-active_support_cache_store.gemspec @@ -8,10 +8,10 @@ end Gem::Specification.new do |gem| gem.authors = ['John Nunemaker'] - gem.email = ['nunemaker@gmail.com'] + gem.email = 'support@flippercloud.io' gem.summary = 'ActiveSupport::Cache store adapter for Flipper' gem.license = 'MIT' - gem.homepage = 'https://github.com/jnunemaker/flipper' + gem.homepage = 'https://www.flippercloud.io' gem.files = `git ls-files`.split("\n").select(&flipper_active_support_cache_store_files) + ['lib/flipper/version.rb'] gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n").select(&flipper_active_support_cache_store_files) diff --git a/flipper-api.gemspec b/flipper-api.gemspec index c0cc6b915..f6da5f894 100644 --- a/flipper-api.gemspec +++ b/flipper-api.gemspec @@ -8,10 +8,10 @@ end Gem::Specification.new do |gem| gem.authors = ['John Nunemaker'] - gem.email = ['nunemaker@gmail.com'] + gem.email = 'support@flippercloud.io' gem.summary = 'API for the Flipper gem' gem.license = 'MIT' - gem.homepage = 'https://github.com/jnunemaker/flipper' + gem.homepage = 'https://www.flippercloud.io' gem.files = `git ls-files`.split("\n").select(&flipper_api_files) + ['lib/flipper/version.rb'] gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n").select(&flipper_api_files) gem.name = 'flipper-api' diff --git a/flipper-cloud.gemspec b/flipper-cloud.gemspec index 288489708..010c10343 100644 --- a/flipper-cloud.gemspec +++ b/flipper-cloud.gemspec @@ -4,10 +4,10 @@ require File.expand_path('../lib/flipper/metadata', __FILE__) Gem::Specification.new do |gem| gem.authors = ['John Nunemaker'] - gem.email = ['nunemaker@gmail.com'] + gem.email = 'support@flippercloud.io' gem.summary = '[DEPRECATED] This gem has been merged into the `flipper` gem' gem.license = 'MIT' - gem.homepage = 'https://github.com/jnunemaker/flipper' + gem.homepage = 'https://www.flippercloud.io' gem.files = [ 'lib/flipper-cloud.rb', 'lib/flipper/version.rb' ] gem.name = 'flipper-cloud' diff --git a/flipper-dalli.gemspec b/flipper-dalli.gemspec index b4045ea06..d0e888fe7 100644 --- a/flipper-dalli.gemspec +++ b/flipper-dalli.gemspec @@ -8,10 +8,10 @@ end Gem::Specification.new do |gem| gem.authors = ['John Nunemaker'] - gem.email = ['nunemaker@gmail.com'] + gem.email = 'support@flippercloud.io' gem.summary = 'Dalli adapter for Flipper' gem.license = 'MIT' - gem.homepage = 'https://github.com/jnunemaker/flipper' + gem.homepage = 'https://www.flippercloud.io' gem.files = `git ls-files`.split("\n").select(&flipper_dalli_files) + ['lib/flipper/version.rb'] gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n").select(&flipper_dalli_files) diff --git a/flipper-moneta.gemspec b/flipper-moneta.gemspec index e1cdef480..1519157e5 100644 --- a/flipper-moneta.gemspec +++ b/flipper-moneta.gemspec @@ -7,10 +7,10 @@ end Gem::Specification.new do |gem| gem.authors = ['John Nunemaker'] - gem.email = ['nunemaker@gmail.com'] + gem.email = 'support@flippercloud.io' gem.summary = 'Moneta adapter for Flipper' gem.license = 'MIT' - gem.homepage = 'https://github.com/jnunemaker/flipper' + gem.homepage = 'https://www.flippercloud.io' gem.files = `git ls-files`.split("\n").select(&flipper_moneta_files) + ['lib/flipper/version.rb'] gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n").select(&flipper_moneta_files) diff --git a/flipper-mongo.gemspec b/flipper-mongo.gemspec index 64493596a..4cfcda783 100644 --- a/flipper-mongo.gemspec +++ b/flipper-mongo.gemspec @@ -8,10 +8,10 @@ end Gem::Specification.new do |gem| gem.authors = ['John Nunemaker'] - gem.email = ['nunemaker@gmail.com'] + gem.email = 'support@flippercloud.io' gem.summary = 'Mongo adapter for Flipper' gem.license = 'MIT' - gem.homepage = 'https://github.com/jnunemaker/flipper' + gem.homepage = 'https://www.flippercloud.io' gem.files = `git ls-files`.split("\n").select(&flipper_mongo_files) + ['lib/flipper/version.rb'] gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n").select(&flipper_mongo_files) diff --git a/flipper-redis.gemspec b/flipper-redis.gemspec index 4f0180dbb..cb1206d2c 100644 --- a/flipper-redis.gemspec +++ b/flipper-redis.gemspec @@ -8,10 +8,10 @@ end Gem::Specification.new do |gem| gem.authors = ['John Nunemaker'] - gem.email = ['nunemaker@gmail.com'] + gem.email = 'support@flippercloud.io' gem.summary = 'Redis adapter for Flipper' gem.license = 'MIT' - gem.homepage = 'https://github.com/jnunemaker/flipper' + gem.homepage = 'https://www.flippercloud.io' gem.files = `git ls-files`.split("\n").select(&flipper_redis_files) + ['lib/flipper/version.rb'] gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n").select(&flipper_redis_files) diff --git a/flipper-rollout.gemspec b/flipper-rollout.gemspec index 9bb31580e..4af30f165 100644 --- a/flipper-rollout.gemspec +++ b/flipper-rollout.gemspec @@ -8,10 +8,10 @@ end Gem::Specification.new do |gem| gem.authors = ['John Nunemaker'] - gem.email = ['nunemaker@gmail.com'] + gem.email = 'support@flippercloud.io' gem.summary = 'Rollout adapter for Flipper' gem.license = 'MIT' - gem.homepage = 'https://github.com/jnunemaker/flipper' + gem.homepage = 'https://www.flippercloud.io' gem.files = `git ls-files`.split("\n").select(&flipper_rollout_files) + ['lib/flipper/version.rb'] gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n").select(&flipper_rollout_files) diff --git a/flipper-sequel.gemspec b/flipper-sequel.gemspec index c3c3172c7..6c1e6246c 100644 --- a/flipper-sequel.gemspec +++ b/flipper-sequel.gemspec @@ -6,10 +6,10 @@ flipper_sequel_files = ->(file) { file =~ /sequel/ } Gem::Specification.new do |gem| gem.authors = ['John Nunemaker'] - gem.email = ['nunemaker@gmail.com'] + gem.email = 'support@flippercloud.io' gem.summary = 'Sequel adapter for Flipper' gem.license = 'MIT' - gem.homepage = 'https://github.com/jnunemaker/flipper' + gem.homepage = 'https://www.flippercloud.io' extra_files = [ 'lib/flipper/version.rb', diff --git a/flipper-ui.gemspec b/flipper-ui.gemspec index e8435fc02..75e9380a2 100644 --- a/flipper-ui.gemspec +++ b/flipper-ui.gemspec @@ -8,10 +8,10 @@ end Gem::Specification.new do |gem| gem.authors = ['John Nunemaker'] - gem.email = ['nunemaker@gmail.com'] + gem.email = 'support@flippercloud.io' gem.summary = 'UI for the Flipper gem' gem.license = 'MIT' - gem.homepage = 'https://github.com/jnunemaker/flipper' + gem.homepage = 'https://www.flippercloud.io' gem.files = `git ls-files`.split("\n").select(&flipper_ui_files) + ['lib/flipper/version.rb'] gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n").select(&flipper_ui_files) diff --git a/flipper.gemspec b/flipper.gemspec index 66710c810..cfa9e5f57 100644 --- a/flipper.gemspec +++ b/flipper.gemspec @@ -22,9 +22,9 @@ ignored_test_files.flatten!.uniq! Gem::Specification.new do |gem| gem.authors = ['John Nunemaker'] - gem.email = ['nunemaker@gmail.com'] + gem.email = 'support@flippercloud.io' gem.summary = 'Feature flipper for ANYTHING' - gem.homepage = 'https://github.com/jnunemaker/flipper' + gem.homepage = 'https://www.flippercloud.io' gem.license = 'MIT' gem.files = `git ls-files`.split("\n") - ignored_files + ['lib/flipper/version.rb'] diff --git a/lib/flipper/metadata.rb b/lib/flipper/metadata.rb index d8a39b743..a10b1c685 100644 --- a/lib/flipper/metadata.rb +++ b/lib/flipper/metadata.rb @@ -1,5 +1,9 @@ module Flipper METADATA = { - 'changelog_uri' => 'https://github.com/jnunemaker/flipper/blob/main/Changelog.md', + "documentation_uri" => "https://www.flippercloud.io/docs", + "homepage_uri" => "https://www.flippercloud.io", + "source_code_uri" => "https://github.com/jnunemaker/flipper", + "bug_tracker_uri" => "https://github.com/jnunemaker/flipper/issues", + "changelog_uri" => "https://github.com/jnunemaker/flipper/blob/main/Changelog.md", }.freeze end