Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/update ruby version for ci and remove mfa for gem upload #5

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 2.7
- name: Set up Ruby 3.2.2
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
ruby-version: 3.2.2

- name: Get version
id: get_version
Expand Down
6 changes: 4 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ Metrics/PerceivedComplexity:
Enabled: false

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

# Gem Spec cop configuration
Gemspec/RequireMFA:
Enabled: false
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# 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.0)
omniauth-azure-devops (1.1.1)
omniauth (>= 1, < 3)
omniauth-oauth2
omniauth-oauth2 (~> 1.8.0)

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.0'
VERSION = '1.1.1'
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' => 'true',
'rubygems_mfa_required' => 'false',
'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'
gem.add_runtime_dependency 'omniauth-oauth2', '~> 1.8.0'
end