diff --git a/.rubocop.yml b/.rubocop.yml index 199184681..f9b9bf1f0 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -18,6 +18,13 @@ Gemspec/OrderedDependencies: - 'packages/forest_admin_datasource_toolkit/forest_admin_datasource_toolkit.gemspec' - 'packages/forest_admin_datasource_active_record/forest_admin_datasource_active_record.gemspec' +Gemspec/RequireMFA: + Exclude: + - 'packages/forest_admin_agent/forest_admin_agent.gemspec' + - 'packages/forest_admin_rails/forest_admin_rails.gemspec' + - 'packages/forest_admin_datasource_toolkit/forest_admin_datasource_toolkit.gemspec' + - 'packages/forest_admin_datasource_active_record/forest_admin_datasource_active_record.gemspec' + # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). Lint/PercentStringArray: diff --git a/packages/forest_admin_agent/forest_admin_agent.gemspec b/packages/forest_admin_agent/forest_admin_agent.gemspec index eb089740e..08018a515 100644 --- a/packages/forest_admin_agent/forest_admin_agent.gemspec +++ b/packages/forest_admin_agent/forest_admin_agent.gemspec @@ -18,7 +18,7 @@ admin work on any Ruby application." spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = "https://github.com/ForestAdmin/agent-ruby" spec.metadata["changelog_uri"] = "https://github.com/ForestAdmin/agent-ruby/CHANGELOG.md" - spec.metadata["rubygems_mfa_required"] = "true" + spec.metadata["rubygems_mfa_required"] = "false" # Specify which files should be added to the gem when it is released. # The `git ls-files -z` loads the files in the RubyGem that have been added into git. diff --git a/packages/forest_admin_datasource_active_record/forest_admin_datasource_active_record.gemspec b/packages/forest_admin_datasource_active_record/forest_admin_datasource_active_record.gemspec index 96275fcfa..029eb54af 100644 --- a/packages/forest_admin_datasource_active_record/forest_admin_datasource_active_record.gemspec +++ b/packages/forest_admin_datasource_active_record/forest_admin_datasource_active_record.gemspec @@ -18,7 +18,7 @@ admin work on any Ruby application." spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = "https://github.com/ForestAdmin/agent-ruby" spec.metadata["changelog_uri"] = "https://github.com/ForestAdmin/agent-ruby/CHANGELOG.md" - spec.metadata["rubygems_mfa_required"] = "true" + spec.metadata["rubygems_mfa_required"] = "false" # Specify which files should be added to the gem when it is released. # The `git ls-files -z` loads the files in the RubyGem that have been added into git. diff --git a/packages/forest_admin_datasource_toolkit/forest_admin_datasource_toolkit.gemspec b/packages/forest_admin_datasource_toolkit/forest_admin_datasource_toolkit.gemspec index 92bfde785..c669efd93 100644 --- a/packages/forest_admin_datasource_toolkit/forest_admin_datasource_toolkit.gemspec +++ b/packages/forest_admin_datasource_toolkit/forest_admin_datasource_toolkit.gemspec @@ -18,7 +18,7 @@ admin work on any Ruby application." spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = "https://github.com/ForestAdmin/agent-ruby" spec.metadata["changelog_uri"] = "https://github.com/ForestAdmin/agent-ruby/CHANGELOG.md" - spec.metadata["rubygems_mfa_required"] = "true" + spec.metadata["rubygems_mfa_required"] = "false" # Specify which files should be added to the gem when it is released. # The `git ls-files -z` loads the files in the RubyGem that have been added into git. diff --git a/packages/forest_admin_rails/forest_admin_rails.gemspec b/packages/forest_admin_rails/forest_admin_rails.gemspec index 24582f87d..90b67d6aa 100644 --- a/packages/forest_admin_rails/forest_admin_rails.gemspec +++ b/packages/forest_admin_rails/forest_admin_rails.gemspec @@ -15,7 +15,7 @@ admin work on any Rails application (Rails >= 6.1)." spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = "https://github.com/ForestAdmin/rails-forest_admin" spec.metadata["changelog_uri"] = "https://github.com/ForestAdmin/rails-forest_admin/CHANGELOG.md" - spec.metadata['rubygems_mfa_required'] = 'true' + spec.metadata['rubygems_mfa_required'] = 'false' spec.files = Dir.chdir(File.expand_path(__dir__)) do Dir["{app,config,lib}/**/*", "LICENSE", "Rakefile", "README.md"]