-
Notifications
You must be signed in to change notification settings - Fork 5
Feat: allow passing cronjob specific settings #12
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,27 @@ | ||
**/.bundle/ | ||
# Ignore bundler config. | ||
/.bundle | ||
|
||
# Ignore all environment files (except templates). | ||
/.env* | ||
!/.env*.erb | ||
|
||
# Ignore editor config. | ||
/.idea | ||
/.vscode | ||
/.zed | ||
|
||
# Ignore all log files and temp files. | ||
/.yardoc | ||
/_yardoc/ | ||
/coverage/ | ||
/doc/ | ||
/pkg/ | ||
/spec/reports/ | ||
/tmp/ | ||
|
||
# Ignore all cache files. | ||
/Gemfile.lock | ||
**/*.gemfile.lock | ||
|
||
# rspec failure tracking | ||
# Ignore rspec status files. | ||
.rspec_status |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.2.2 | ||
3.4.2 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec| | |
spec.description = "Configure and deploy Kubernetes CronJobs from ruby with a single schedule." | ||
spec.homepage = "https://github.com/keylimetoolbox/cron-kubernetes" | ||
spec.license = "MIT" | ||
spec.required_ruby_version = ">= 3.2" | ||
spec.required_ruby_version = "~> 3.4" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unless it's absolutely required to accomplish the goals in this PR, I'd recommend separating out ruby version changes |
||
|
||
spec.files = `git ls-files -z`.split("\x0").reject do |f| | ||
f.match(%r{^(test|spec|features)/}) | ||
|
@@ -25,15 +25,5 @@ Gem::Specification.new do |spec| | |
spec.executables << "cron_kubernetes" | ||
|
||
spec.add_dependency "kubeclient", ">= 3.1.2", "< 5.0" | ||
|
||
spec.add_development_dependency "appraisal" | ||
spec.add_development_dependency "bundler", "~> 2.4" | ||
spec.add_development_dependency "bundler-audit", "~> 0" | ||
spec.add_development_dependency "mocha", "~> 1.3" | ||
spec.add_development_dependency "rake", "~> 13.1" | ||
spec.add_development_dependency "rspec", "~> 3.12" | ||
spec.add_development_dependency "rubocop", "~> 1.57" | ||
|
||
# For connecting to a GKE cluster in development/test | ||
spec.add_development_dependency "googleauth" | ||
spec.metadata["rubygems_mfa_required"] = "true" | ||
end |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,6 @@ | |
|
||
source "https://rubygems.org" | ||
|
||
gem "kubeclient", "4.0.0" | ||
gem "kubeclient", "4.12.0" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bumped to latest due to vulnerability note: |
||
|
||
gemspec path: "../" |
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.
Is there some reason you moved these out of the gemspec? I seem to recall that keeping dev dependencies in the gemspec is more standard / better practice