Skip to content

Commit

Permalink
Merge pull request #39 from inkstak/upgrade-ci
Browse files Browse the repository at this point in the history
Upgrade CI
  • Loading branch information
inkstak authored Aug 21, 2024
2 parents 503f003 + 74308c8 commit b851bd3
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 42 deletions.
17 changes: 6 additions & 11 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,21 @@
inherit_from: .rubocop_todo.yml

require:
- standard
- standard-custom
- standard-performance
- rubocop-performance
- rubocop-rspec
- rubocop-rake
- standard

inherit_gem:
standard:
- config/base.yml
- config/ruby-2.5.yml
- config/ruby-2.6.yml
- config/ruby-2.7.yml
- config/ruby-3.0.yml
standard: config/base.yml
standard-custom: config/base.yml
standard-performance: config/base.yml

AllCops:
TargetRubyVersion: 3.3
NewCops: enable
Exclude:
- '**/tmp/**/*'
- '**/vendor/**/*'

RSpec/FilePath:
SpecSuffixOnly:
true
2 changes: 1 addition & 1 deletion .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2024-01-12 07:13:01 UTC using RuboCop version 1.59.0.
# on 2024-08-21 14:58:16 UTC using RuboCop version 1.65.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
Expand Down
11 changes: 8 additions & 3 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,25 @@
# Supported versions of Rails:
# https://endoflife.date/rails
#
appraise "activejob-6.1" do
appraise "rails-6.1" do
gem "activejob", "~> 6.1.x"
gem "activesupport", "~> 6.1.x"
gem "base64"
gem "bigdecimal"
gem "mutex_m"
end

appraise "activejob-7.0" do
appraise "rails-7.0" do
gem "activejob", "~> 7.0.x"
gem "activesupport", "~> 7.0.x"
end

appraise "activejob-7.1" do
appraise "rails-7.1" do
gem "activejob", "~> 7.1.x"
gem "activesupport", "~> 7.1.x"
end

appraise "rails-7.2" do
gem "activejob", "~> 7.2.x"
gem "activesupport", "~> 7.2.x"
end
58 changes: 31 additions & 27 deletions activejob-status.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,35 @@
$:.push File.expand_path("lib", __dir__)
require "activejob-status/version"

Gem::Specification.new do |s|
s.name = "activejob-status"
s.version = ActiveJob::Status::VERSION

s.authors = ["Savater Sebastien"]
s.email = "[email protected]"

s.homepage = "https://github.com/inkstak/activejob-status"
s.licenses = ["MIT"]
s.summary = "Monitor your jobs"

s.files = Dir["lib/**/*"] + %w[LICENSE README.md]
s.require_paths = ["lib"]

s.add_dependency "activejob", ">= 6.0"
s.add_dependency "activesupport", ">= 6.0"

s.add_development_dependency "appraisal"
s.add_development_dependency "rake"
s.add_development_dependency "rspec"
s.add_development_dependency "rubocop"
s.add_development_dependency "rubocop-rake"
s.add_development_dependency "rubocop-rspec"
s.add_development_dependency "rubocop-performance"
s.add_development_dependency "simplecov"
s.add_development_dependency "standard", ">= 1.0"
s.add_development_dependency "timecop"
Gem::Specification.new do |spec|
spec.name = "activejob-status"
spec.version = ActiveJob::Status::VERSION

spec.authors = ["Savater Sebastien"]
spec.email = "[email protected]"

spec.summary = "Monitor your jobs"
spec.licenses = ["MIT"]

spec.homepage = "https://github.com/inkstak/activejob-status"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.metadata["changelog_uri"] = "#{spec.homepage}/releases"

spec.files = Dir["lib/**/*"] + %w[LICENSE README.md]
spec.require_paths = ["lib"]

spec.add_dependency "activejob", ">= 6.0"
spec.add_dependency "activesupport", ">= 6.0"

spec.add_development_dependency "appraisal"
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec"
spec.add_development_dependency "rubocop"
spec.add_development_dependency "rubocop-rake"
spec.add_development_dependency "rubocop-rspec"
spec.add_development_dependency "rubocop-performance"
spec.add_development_dependency "simplecov"
spec.add_development_dependency "standard", ">= 1.0"
spec.add_development_dependency "timecop"
end

0 comments on commit b851bd3

Please sign in to comment.