From a7cb0fb239753c91d840ca1d5e66c89c957e394a Mon Sep 17 00:00:00 2001 From: Theo Nam Truong Date: Fri, 15 Sep 2023 11:32:48 -0600 Subject: [PATCH] Removed RubyGems MFA (#199) Signed-off-by: Theo Truong --- .rubocop.yml | 3 +++ opensearch-ruby.gemspec | 11 +++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 84c8c865a..36aee0a62 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -10,6 +10,9 @@ AllCops: Exclude: - 'api_generator/**/*' +Gemspec/RequireMFA: + Enabled: false + RSpec/ImplicitExpect: Enabled: false diff --git a/opensearch-ruby.gemspec b/opensearch-ruby.gemspec index 4a820063c..f86f69800 100644 --- a/opensearch-ruby.gemspec +++ b/opensearch-ruby.gemspec @@ -29,8 +29,8 @@ require_relative './lib/opensearch/version' Gem::Specification.new do |s| s.name = 'opensearch-ruby' s.version = OpenSearch::VERSION - s.authors = ['Jayesh Hathila', 'Vamshi Vijay Nakkirtha', 'Vijayan Balasubramanian', 'Yuvraj Jaiswal', 'Theo Truong'] - s.email = %w[jayehh@amazon.com vamshin@amazon.com balasvij@amazon.com jaiyuvra@amazon.com theo.nam.truong@gmail.com] + s.authors = ['Elastic', 'OpenSearch Contributors'] + s.email = 'opensearch@amazon.com' s.summary = 'Ruby Client for OpenSearch' s.homepage = 'https://github.com/opensearch-project/opensearch-ruby' s.license = 'Apache-2.0' @@ -44,11 +44,10 @@ Gem::Specification.new do |s| 'documentation_uri' => 'https://rubydoc.info/gems/opensearch-ruby', 'source_code_uri' => 'https://github.com/opensearch-project/opensearch-ruby/tree/main', 'bug_tracker_uri' => 'https://github.com/opensearch-project/opensearch-ruby/issues', - 'changelog_uri' => 'https://github.com/opensearch-project/opensearch-ruby/blob/main/CHANGELOG.md', - 'rubygems_mfa_required' => 'true' + 'changelog_uri' => 'https://github.com/opensearch-project/opensearch-ruby/blob/main/CHANGELOG.md' } - s.files = Dir['lib/**/*'] + s.files = Dir['lib/**/*', '*.gemspec'] s.test_files = Dir['spec**/*', 'test/**/*', 'features/**/*'] s.require_paths = ['lib'] s.bindir = 'bin' @@ -66,5 +65,5 @@ Gem::Specification.new do |s| s.required_ruby_version = '>= 2.5' s.add_dependency 'faraday', '>= 1.0', '< 3' - s.add_dependency 'multi_json' + s.add_dependency 'multi_json', '>= 1.0' end