diff --git a/.github/workflows/tag-and-release.yml b/.github/workflows/tag-and-release.yml index 612cf9a..bcdc8aa 100644 --- a/.github/workflows/tag-and-release.yml +++ b/.github/workflows/tag-and-release.yml @@ -13,10 +13,10 @@ jobs: steps: - uses: actions/checkout@main - - name: Set up Ruby 3.2.2 + - name: Set up Ruby 2.7 uses: ruby/setup-ruby@v1 with: - ruby-version: 3.2.2 + ruby-version: 2.7 - name: Get version id: get_version diff --git a/.rubocop.yml b/.rubocop.yml index 641aaa8..bdace35 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -46,6 +46,8 @@ Metrics/PerceivedComplexity: Enabled: false # Naming cop configuration +#Naming/FileName: +# Enabled: false Naming/MethodParameterName: Enabled: true Exclude: @@ -121,7 +123,3 @@ Style/RedundantSelf: Enabled: true Style/RescueStandardError: Enabled: false - -# Gem Spec cop configuration -Gemspec/RequireMFA: - Enabled: false diff --git a/CHANGELOG.md b/CHANGELOG.md index 8221ec5..f0ada1f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,5 @@ # Changelog -## [1.1.1] - -- Build Gem with ruby 3.2.2 and remove mfa for gem publishing CD - ## [1.1.0] - Update ruby version, add CI, rubocop autocorrect diff --git a/Gemfile.lock b/Gemfile.lock index 3835fb2..65e87ab 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,9 +1,9 @@ PATH remote: . specs: - omniauth-azure-devops (1.1.1) + omniauth-azure-devops (1.1.0) omniauth (>= 1, < 3) - omniauth-oauth2 (~> 1.8.0) + omniauth-oauth2 GEM remote: https://rubygems.org/ diff --git a/lib/omni_auth/azure_devops/version.rb b/lib/omni_auth/azure_devops/version.rb index fd3ed55..521d2c0 100644 --- a/lib/omni_auth/azure_devops/version.rb +++ b/lib/omni_auth/azure_devops/version.rb @@ -2,6 +2,6 @@ module OmniAuth module AzureDevops - VERSION = '1.1.1' + VERSION = '1.1.0' end end diff --git a/omniauth-azure-devops.gemspec b/omniauth-azure-devops.gemspec index 208a03d..f5e99d5 100644 --- a/omniauth-azure-devops.gemspec +++ b/omniauth-azure-devops.gemspec @@ -13,7 +13,7 @@ Gem::Specification.new do |gem| gem.homepage = 'https://github.com/rewind/omniauth-azure-devops' gem.license = 'MIT' gem.metadata = { - 'rubygems_mfa_required' => 'false', + 'rubygems_mfa_required' => 'true', 'bug_tracker_uri' => "#{gem.homepage}/issues", 'changelog_uri' => "#{gem.homepage}/blob/main/CHANGELOG.md", 'documentation_uri' => gem.homepage.to_s, @@ -29,5 +29,5 @@ Gem::Specification.new do |gem| gem.required_ruby_version = '>= 3.2' gem.add_runtime_dependency 'omniauth', '>= 1', '< 3' - gem.add_runtime_dependency 'omniauth-oauth2', '~> 1.8.0' + gem.add_runtime_dependency 'omniauth-oauth2' end