Skip to content

Commit

Permalink
Revert "Fix/update ruby version for ci and remove mfa for gem upload (#5
Browse files Browse the repository at this point in the history
)"

This reverts commit 9ca28d8.
  • Loading branch information
Parth-Rewind authored Sep 26, 2023
1 parent 9ca28d8 commit 4ca49fd
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tag-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 2 additions & 4 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ Metrics/PerceivedComplexity:
Enabled: false

# Naming cop configuration
#Naming/FileName:
# Enabled: false
Naming/MethodParameterName:
Enabled: true
Exclude:
Expand Down Expand Up @@ -121,7 +123,3 @@ Style/RedundantSelf:
Enabled: true
Style/RescueStandardError:
Enabled: false

# Gem Spec cop configuration
Gemspec/RequireMFA:
Enabled: false
4 changes: 0 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -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/
Expand Down
2 changes: 1 addition & 1 deletion lib/omni_auth/azure_devops/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module OmniAuth
module AzureDevops
VERSION = '1.1.1'
VERSION = '1.1.0'
end
end
4 changes: 2 additions & 2 deletions omniauth-azure-devops.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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

0 comments on commit 4ca49fd

Please sign in to comment.