-
Notifications
You must be signed in to change notification settings - Fork 5
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
Added SLE15-SP5 targets, newer Rubocop #37
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
2150897
Do not hardcode the default Ruby version
lslezak 6cd2102
Rubocop automatic fixes (-a)
lslezak 8279127
Rubocop automatic fixes (-A)
lslezak 1281424
Manual Rubocop fixes
lslezak 9f2e1fe
Updated submit data
lslezak 4912308
0.1.24
lslezak 4ebcd05
Added MFA comment
lslezak File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
source "https://rubygems.org" | ||
|
||
gemspec | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.1.23 | ||
0.1.24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
#-- | ||
# Copyright (C) 2015 SUSE LLC | ||
# This library is free software; you can redistribute it and/or modify | ||
|
@@ -17,31 +19,36 @@ | |
Gem::Specification.new do |spec| | ||
# gem name and description | ||
spec.name = "libyui-rake" | ||
spec.version = File.read(File.expand_path("../VERSION", __FILE__)).chomp | ||
spec.version = File.read(File.expand_path("VERSION", __dir__)).chomp | ||
spec.summary = "Rake tasks that provide basic workflow for libyui development" | ||
spec.license = "LGPL-2.1" | ||
|
||
# author | ||
spec.author = "YaST team" | ||
spec.email = "[email protected]" | ||
spec.homepage = "https://github.com/openSUSE/libyui-rake" | ||
|
||
spec.summary = "Rake tasks providing basic workflow for libyui development" | ||
spec.description = <<-end | ||
Rake tasks that support the workflow of a libyui developer. It allows packaging | ||
a repo, sending it to the build service, creating a submit request to the | ||
target repo or running the client from the git repo. | ||
Heavily inspired by yast-rake. | ||
end | ||
spec.email = "[email protected]" | ||
spec.homepage = "https://github.com/libyui/libyui-rake" | ||
|
||
spec.description = <<~DESCRIPTION | ||
Rake tasks that support the workflow of a libyui developer. It allows packaging | ||
a repo, sending it to the build service, creating a submit request to the | ||
target repo or running the client from the git repo. | ||
Heavily inspired by yast-rake. | ||
DESCRIPTION | ||
|
||
# gem content | ||
spec.files = Dir["lib/**/*.rb", "lib/tasks/*.rake", "data/*", "COPYING", "README.md", "VERSION"] | ||
|
||
# define LOAD_PATH | ||
spec.require_path = "lib" | ||
|
||
# Ruby 2.5.0+ is required | ||
spec.required_ruby_version = ">= 2.5.0" | ||
|
||
# dependencies | ||
spec.add_runtime_dependency("rake", "> 10.0", "< 99") | ||
spec.add_runtime_dependency("packaging_rake_tasks", "~> 1.5") | ||
# "~> 1.5" means ">= 1.5 and < 2" (thanks to darix) | ||
spec.add_runtime_dependency("packaging_rake_tasks", "~> 1.5") | ||
spec.add_runtime_dependency("rake", "> 10.0", "< 99") | ||
# enable MFA (2FA) authentication at rubygems.org | ||
# see https://guides.rubygems.org/mfa-requirement-opt-in/ | ||
spec.metadata["rubygems_mfa_required"] = "true" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
------------------------------------------------------------------- | ||
Fri Apr 8 07:14:20 UTC 2022 - Ladislav Slezák <[email protected]> | ||
|
||
- Use Rubocop 1.24.1 (the old one does not work in Ruby 3) | ||
- Updated data in Gemspec | ||
- Updated submit data, added SLE15-SP5 target, "sle_latest" moved | ||
to SLE15-SP5 (related to bsc#1198109) | ||
- 0.1.24 | ||
|
||
------------------------------------------------------------------- | ||
Wed Mar 31 13:35:58 UTC 2021 - Ladislav Slezák <[email protected]> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was automatically added by Rubocop, but IMHO it makes sense. See https://guides.rubygems.org/mfa-requirement-opt-in/ for more details.
Personally I have enabled MFA. @jreidinger @mvidner @imobachgs, what about you? Is this change OK?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well, I would have to enable it, but not critical for me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is OK for me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, I haven't tried this option yet. Can we lock ourselves out if the other maintainers haven't either? 🤣
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You cannot lock out yourselves, if you do not use MFA then just enable it and then you can do whatever you need.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fine for me