Skip to content

Commit

Permalink
Update gem metadata to point to docs and support email
Browse files Browse the repository at this point in the history
  • Loading branch information
bkeepers committed Aug 1, 2023
1 parent 9e05d05 commit caf3b85
Show file tree
Hide file tree
Showing 13 changed files with 29 additions and 25 deletions.
4 changes: 2 additions & 2 deletions flipper-active_record.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ end

Gem::Specification.new do |gem|
gem.authors = ['John Nunemaker']
gem.email = ['[email protected]']
gem.email = '[email protected]'
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',
Expand Down
4 changes: 2 additions & 2 deletions flipper-active_support_cache_store.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ end

Gem::Specification.new do |gem|
gem.authors = ['John Nunemaker']
gem.email = ['[email protected]']
gem.email = '[email protected]'
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)
Expand Down
4 changes: 2 additions & 2 deletions flipper-api.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ end

Gem::Specification.new do |gem|
gem.authors = ['John Nunemaker']
gem.email = ['[email protected]']
gem.email = '[email protected]'
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'
Expand Down
4 changes: 2 additions & 2 deletions flipper-cloud.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ require File.expand_path('../lib/flipper/metadata', __FILE__)

Gem::Specification.new do |gem|
gem.authors = ['John Nunemaker']
gem.email = ['[email protected]']
gem.email = '[email protected]'
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'
Expand Down
4 changes: 2 additions & 2 deletions flipper-dalli.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ end

Gem::Specification.new do |gem|
gem.authors = ['John Nunemaker']
gem.email = ['[email protected]']
gem.email = '[email protected]'
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)
Expand Down
4 changes: 2 additions & 2 deletions flipper-moneta.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ end

Gem::Specification.new do |gem|
gem.authors = ['John Nunemaker']
gem.email = ['[email protected]']
gem.email = '[email protected]'
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)
Expand Down
4 changes: 2 additions & 2 deletions flipper-mongo.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ end

Gem::Specification.new do |gem|
gem.authors = ['John Nunemaker']
gem.email = ['[email protected]']
gem.email = '[email protected]'
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)
Expand Down
4 changes: 2 additions & 2 deletions flipper-redis.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ end

Gem::Specification.new do |gem|
gem.authors = ['John Nunemaker']
gem.email = ['[email protected]']
gem.email = '[email protected]'
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)
Expand Down
4 changes: 2 additions & 2 deletions flipper-rollout.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ end

Gem::Specification.new do |gem|
gem.authors = ['John Nunemaker']
gem.email = ['[email protected]']
gem.email = '[email protected]'
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)
Expand Down
4 changes: 2 additions & 2 deletions flipper-sequel.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ flipper_sequel_files = ->(file) { file =~ /sequel/ }

Gem::Specification.new do |gem|
gem.authors = ['John Nunemaker']
gem.email = ['[email protected]']
gem.email = '[email protected]'
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',
Expand Down
4 changes: 2 additions & 2 deletions flipper-ui.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ end

Gem::Specification.new do |gem|
gem.authors = ['John Nunemaker']
gem.email = ['[email protected]']
gem.email = '[email protected]'
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)
Expand Down
4 changes: 2 additions & 2 deletions flipper.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ ignored_test_files.flatten!.uniq!

Gem::Specification.new do |gem|
gem.authors = ['John Nunemaker']
gem.email = ['[email protected]']
gem.email = '[email protected]'
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']
Expand Down
6 changes: 5 additions & 1 deletion lib/flipper/metadata.rb
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit caf3b85

Please sign in to comment.