forked from defunkt/resque-lock
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from adgear/fix/PEDSP-0000-rack-version-bump
[PEDSP-0000] Update rack from 2.2.5 -> 2.2.9
- Loading branch information
Showing
8 changed files
with
48 additions
and
48 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ jobs: | |
|
||
strategy: | ||
matrix: | ||
ruby-version: ['2.6.10', '3.0'] | ||
ruby-version: ['2.7.7', '3.0'] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Ruby ${{ matrix.ruby-version }} | ||
|
@@ -39,7 +39,7 @@ jobs: | |
name: linters / rubocop | ||
runs-on: ubuntu-latest | ||
env: | ||
RUBY_VERSION: 2.6.10 | ||
RUBY_VERSION: 2.7.7 | ||
steps: | ||
- name: Codebase Checkout | ||
uses: actions/checkout@v3 | ||
|
@@ -52,9 +52,4 @@ jobs: | |
cache-version: 1 | ||
|
||
- name: rubocop | ||
uses: reviewdog/[email protected] | ||
with: | ||
rubocop_version: gemfile | ||
rubocop_extensions: rubocop-performance rubocop-rake rubocop-i18n | ||
reporter: github-check | ||
fail_on_error: true | ||
run: bundle exec rubocop |
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,2 +1,2 @@ | ||
AllCops: | ||
TargetRubyVersion: 2.6 | ||
TargetRubyVersion: 2.7 |
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,31 +1,34 @@ | ||
# frozen_string_literal: true | ||
|
||
Gem::Specification.new do |s| | ||
s.name = "resque-lock" | ||
s.version = "1.1.0" | ||
s.required_ruby_version = '>= 2.7' | ||
s.name = 'resque-lock' | ||
s.version = '1.1.0' | ||
s.date = Time.now.strftime('%Y-%m-%d') | ||
s.summary = "A Resque plugin for ensuring only one instance of your job is queued at a time." | ||
s.homepage = "http://github.com/defunkt/resque-lock" | ||
s.email = "[email protected]" | ||
s.authors = [ "Chris Wanstrath", "Ray Krueger" ] | ||
s.summary = 'A Resque plugin for ensuring only one instance of your job is queued at a time.' | ||
s.homepage = 'http://github.com/defunkt/resque-lock' | ||
s.email = '[email protected]' | ||
s.authors = ['Chris Wanstrath', 'Ray Krueger'] | ||
s.has_rdoc = false | ||
|
||
s.files = %w( README.md Rakefile LICENSE ) | ||
s.files += Dir.glob("lib/**/*") | ||
s.files += Dir.glob("test/**/*") | ||
s.files = %w[README.md Rakefile LICENSE] | ||
s.files += Dir.glob('lib/**/*') | ||
s.files += Dir.glob('test/**/*') | ||
|
||
s.description = <<desc | ||
A Resque plugin. If you want only one instance of your job | ||
queued at a time, extend it with this module. | ||
s.description = <<~DESC | ||
A Resque plugin. If you want only one instance of your job | ||
queued at a time, extend it with this module. | ||
For example: | ||
For example: | ||
class UpdateNetworkGraph | ||
extend Resque::Jobs::Locked | ||
class UpdateNetworkGraph | ||
extend Resque::Jobs::Locked | ||
def self.perform(repo_id) | ||
heavy_lifting | ||
end | ||
end | ||
desc | ||
def self.perform(repo_id) | ||
heavy_lifting | ||
end | ||
end | ||
DESC | ||
|
||
s.add_development_dependency 'rubocop', '~> 1.41.1' | ||
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