resqutils 1.2.1 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.circleci/config.yml +96 -0
- data/.gitignore +1 -0
- data/.ruby-version +1 -1
- data/.travis.yml +2 -4
- data/Rakefile +11 -0
- data/bin/rake +17 -0
- data/bin/rspec +17 -0
- data/build-matrix.json +4 -0
- data/gemfiles/rspec2.gemfile.lock +26 -19
- data/lib/resqutils/version.rb +1 -1
- data/owners.json +7 -0
- data/resqutils.gemspec +1 -0
- metadata +25 -6
- data/Gemfile.lock +0 -59
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 9934067c2b34e6207535fbce3b974cf8fc2d4fa3332e9cd570b8af8020763787
|
4
|
+
data.tar.gz: 9af9ccbc0677338fe766907fb0eb9ab1ddb8fab1f58d5e404122616364d1ac24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 548c7d4031d8ad1e8516562a5d4f09e139057b2a0e2090e49c6fe0e397e0138bbbec401f405b7434ff6c31b33791301e714e154207c01433751a809c78ec9c61
|
7
|
+
data.tar.gz: 0f7925016e8f76856f3ca69439ca2710187418ff8583fcf09dd7164397f36b775afa5766874d65887506bca5d76bd12dab133d47fd327a50a3de444ab93a67a5
|
@@ -0,0 +1,96 @@
|
|
1
|
+
# DO NOT MODIFY - this is managed by Git Reduce in goro
|
2
|
+
#
|
3
|
+
---
|
4
|
+
version: 2
|
5
|
+
jobs:
|
6
|
+
release:
|
7
|
+
docker:
|
8
|
+
- image: circleci/ruby:2.7.0
|
9
|
+
steps:
|
10
|
+
- checkout
|
11
|
+
- run: bundle config stitchfix01.jfrog.io $ARTIFACTORY_USER:$ARTIFACTORY_TOKEN
|
12
|
+
- run: bundle install --full-index
|
13
|
+
- run:
|
14
|
+
name: Artifactory login
|
15
|
+
command: mkdir -p ~/.gem && curl -u$ARTIFACTORY_USER:$ARTIFACTORY_TOKEN https://stitchfix01.jfrog.io/stitchfix01/api/gems/eng-gems/api/v1/api_key.yaml
|
16
|
+
> ~/.gem/credentials && chmod 0600 ~/.gem/credentials
|
17
|
+
- run:
|
18
|
+
name: Build/release gem to artifactory
|
19
|
+
command: bundle exec rake push_artifactory
|
20
|
+
ruby-2.7.0:
|
21
|
+
docker:
|
22
|
+
- image: circleci/ruby:2.7.0
|
23
|
+
working_directory: "~/resqutils"
|
24
|
+
steps:
|
25
|
+
- checkout
|
26
|
+
- run: bundle config stitchfix01.jfrog.io $ARTIFACTORY_USER:$ARTIFACTORY_TOKEN
|
27
|
+
- run: bundle install --full-index
|
28
|
+
- run: bundle exec rspec --format RspecJunitFormatter --out /tmp/test-results/rspec.xml
|
29
|
+
--format=doc
|
30
|
+
- run:
|
31
|
+
name: Run Additional CI Steps
|
32
|
+
command: if [ -e bin/additional-ci-steps ]; then bin/additional-ci-steps;
|
33
|
+
fi
|
34
|
+
- run:
|
35
|
+
name: Notify Pager Duty
|
36
|
+
command: bundle exec y-notify "#devex-alerts"
|
37
|
+
when: on_fail
|
38
|
+
- store_test_results:
|
39
|
+
path: "/tmp/test-results"
|
40
|
+
ruby-2.6.5:
|
41
|
+
docker:
|
42
|
+
- image: circleci/ruby:2.6.5
|
43
|
+
working_directory: "~/resqutils"
|
44
|
+
steps:
|
45
|
+
- checkout
|
46
|
+
- run: bundle config stitchfix01.jfrog.io $ARTIFACTORY_USER:$ARTIFACTORY_TOKEN
|
47
|
+
- run: bundle install --full-index
|
48
|
+
- run: bundle exec rspec --format RspecJunitFormatter --out /tmp/test-results/rspec.xml
|
49
|
+
--format=doc
|
50
|
+
- run:
|
51
|
+
name: Run Additional CI Steps
|
52
|
+
command: if [ -e bin/additional-ci-steps ]; then bin/additional-ci-steps;
|
53
|
+
fi
|
54
|
+
- run:
|
55
|
+
name: Notify Pager Duty
|
56
|
+
command: bundle exec y-notify "#devex-alerts"
|
57
|
+
when: on_fail
|
58
|
+
- store_test_results:
|
59
|
+
path: "/tmp/test-results"
|
60
|
+
workflows:
|
61
|
+
version: 2
|
62
|
+
on-commit:
|
63
|
+
jobs:
|
64
|
+
- release:
|
65
|
+
context: org-global
|
66
|
+
requires:
|
67
|
+
- ruby-2.7.0
|
68
|
+
- ruby-2.6.5
|
69
|
+
filters:
|
70
|
+
tags:
|
71
|
+
only: /^[0-9]+\.[0-9]+\.[0-9]+(\.?RC[-\.]?\d*)?$/
|
72
|
+
branches:
|
73
|
+
ignore: /.*/
|
74
|
+
- ruby-2.7.0:
|
75
|
+
context: org-global
|
76
|
+
filters:
|
77
|
+
tags:
|
78
|
+
only: &1 /.*/
|
79
|
+
- ruby-2.6.5:
|
80
|
+
context: org-global
|
81
|
+
filters:
|
82
|
+
tags:
|
83
|
+
only: *1
|
84
|
+
scheduled:
|
85
|
+
triggers:
|
86
|
+
- schedule:
|
87
|
+
cron: 40 17 * * 1,2,3,4,5
|
88
|
+
filters:
|
89
|
+
branches:
|
90
|
+
only:
|
91
|
+
- master
|
92
|
+
jobs:
|
93
|
+
- ruby-2.7.0:
|
94
|
+
context: org-global
|
95
|
+
- ruby-2.6.5:
|
96
|
+
context: org-global
|
data/.gitignore
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.7.0
|
data/.travis.yml
CHANGED
data/Rakefile
CHANGED
@@ -5,6 +5,17 @@ rescue LoadError
|
|
5
5
|
end
|
6
6
|
require 'rubygems/package_task'
|
7
7
|
require 'rspec/core/rake_task'
|
8
|
+
|
9
|
+
# Fix for NoMethodError: undefined method `last_comment'
|
10
|
+
# Deprecated in Rake 12.x
|
11
|
+
module FixForRakeLastComment
|
12
|
+
def last_comment
|
13
|
+
last_description
|
14
|
+
end
|
15
|
+
end
|
16
|
+
Rake::Application.send :include, FixForRakeLastComment
|
17
|
+
### end of fix
|
18
|
+
|
8
19
|
RSpec::Core::RakeTask.new(:spec)
|
9
20
|
|
10
21
|
require 'rdoc/task'
|
data/bin/rake
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
#
|
4
|
+
# This file was generated by Bundler.
|
5
|
+
#
|
6
|
+
# The application 'rake' is installed as part of a gem, and
|
7
|
+
# this file is here to facilitate running it.
|
8
|
+
#
|
9
|
+
|
10
|
+
require "pathname"
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
12
|
+
Pathname.new(__FILE__).realpath)
|
13
|
+
|
14
|
+
require "rubygems"
|
15
|
+
require "bundler/setup"
|
16
|
+
|
17
|
+
load Gem.bin_path("rake", "rake")
|
data/bin/rspec
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
#
|
4
|
+
# This file was generated by Bundler.
|
5
|
+
#
|
6
|
+
# The application 'rspec' is installed as part of a gem, and
|
7
|
+
# this file is here to facilitate running it.
|
8
|
+
#
|
9
|
+
|
10
|
+
require "pathname"
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
12
|
+
Pathname.new(__FILE__).realpath)
|
13
|
+
|
14
|
+
require "rubygems"
|
15
|
+
require "bundler/setup"
|
16
|
+
|
17
|
+
load Gem.bin_path("rspec-core", "rspec")
|
data/build-matrix.json
ADDED
@@ -1,5 +1,5 @@
|
|
1
1
|
PATH
|
2
|
-
remote:
|
2
|
+
remote: ..
|
3
3
|
specs:
|
4
4
|
resqutils (1.2.1)
|
5
5
|
resque
|
@@ -7,22 +7,24 @@ PATH
|
|
7
7
|
GEM
|
8
8
|
remote: https://www.rubygems.org/
|
9
9
|
specs:
|
10
|
-
diff-lcs (1.
|
11
|
-
fakeredis (0.
|
12
|
-
redis (
|
10
|
+
diff-lcs (1.3)
|
11
|
+
fakeredis (0.7.0)
|
12
|
+
redis (>= 3.2, < 5.0)
|
13
13
|
mono_logger (1.1.0)
|
14
|
-
multi_json (1.
|
15
|
-
|
16
|
-
|
14
|
+
multi_json (1.14.1)
|
15
|
+
mustermann (1.1.0)
|
16
|
+
ruby2_keywords (~> 0.0.1)
|
17
|
+
rack (2.0.8)
|
18
|
+
rack-protection (2.0.8.1)
|
17
19
|
rack
|
18
|
-
rake (
|
19
|
-
redis (
|
20
|
-
redis-namespace (1.
|
21
|
-
redis (
|
22
|
-
resque (
|
20
|
+
rake (13.0.1)
|
21
|
+
redis (4.1.3)
|
22
|
+
redis-namespace (1.7.0)
|
23
|
+
redis (>= 3.0.4)
|
24
|
+
resque (2.0.0)
|
23
25
|
mono_logger (~> 1.0)
|
24
26
|
multi_json (~> 1.0)
|
25
|
-
redis-namespace (~> 1.
|
27
|
+
redis-namespace (~> 1.6)
|
26
28
|
sinatra (>= 0.9.2)
|
27
29
|
vegas (~> 0.1.2)
|
28
30
|
rspec (2.99.0)
|
@@ -33,11 +35,15 @@ GEM
|
|
33
35
|
rspec-expectations (2.99.2)
|
34
36
|
diff-lcs (>= 1.1.3, < 2.0)
|
35
37
|
rspec-mocks (2.99.4)
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
38
|
+
rspec_junit_formatter (0.4.1)
|
39
|
+
rspec-core (>= 2, < 4, != 2.12.0)
|
40
|
+
ruby2_keywords (0.0.1)
|
41
|
+
sinatra (2.0.8.1)
|
42
|
+
mustermann (~> 1.0)
|
43
|
+
rack (~> 2.0)
|
44
|
+
rack-protection (= 2.0.8.1)
|
45
|
+
tilt (~> 2.0)
|
46
|
+
tilt (2.0.10)
|
41
47
|
vegas (0.1.11)
|
42
48
|
rack (>= 1.0.0)
|
43
49
|
|
@@ -49,6 +55,7 @@ DEPENDENCIES
|
|
49
55
|
rake
|
50
56
|
resqutils!
|
51
57
|
rspec (~> 2)
|
58
|
+
rspec_junit_formatter
|
52
59
|
|
53
60
|
BUNDLED WITH
|
54
|
-
1.
|
61
|
+
2.1.2
|
data/lib/resqutils/version.rb
CHANGED
data/owners.json
ADDED
data/resqutils.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resqutils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stitch Fix Engineering
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2020-01-03 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: resque
|
@@ -68,15 +68,32 @@ dependencies:
|
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: rspec_junit_formatter
|
73
|
+
requirement: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
type: :development
|
79
|
+
prerelease: false
|
80
|
+
version_requirements: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '0'
|
71
85
|
description: Utilities for using Resque in a Rails app
|
72
86
|
email:
|
73
87
|
- opensource@stitchfix.com
|
74
88
|
- davetron5000@gmail.com
|
75
89
|
- simeon@simeons.net
|
76
|
-
executables:
|
90
|
+
executables:
|
91
|
+
- rake
|
92
|
+
- rspec
|
77
93
|
extensions: []
|
78
94
|
extra_rdoc_files: []
|
79
95
|
files:
|
96
|
+
- ".circleci/config.yml"
|
80
97
|
- ".gitignore"
|
81
98
|
- ".ruby-gemset"
|
82
99
|
- ".ruby-version"
|
@@ -84,10 +101,12 @@ files:
|
|
84
101
|
- CODE_OF_CONDUCT.md
|
85
102
|
- CONTRIBUTING.md
|
86
103
|
- Gemfile
|
87
|
-
- Gemfile.lock
|
88
104
|
- LICENSE.txt
|
89
105
|
- README.md
|
90
106
|
- Rakefile
|
107
|
+
- bin/rake
|
108
|
+
- bin/rspec
|
109
|
+
- build-matrix.json
|
91
110
|
- gemfiles/rspec2.gemfile
|
92
111
|
- gemfiles/rspec2.gemfile.lock
|
93
112
|
- lib/resqutils.rb
|
@@ -100,6 +119,7 @@ files:
|
|
100
119
|
- lib/resqutils/version.rb
|
101
120
|
- lib/resqutils/worker_killer_job.rb
|
102
121
|
- lib/resqutils/worker_task.rb
|
122
|
+
- owners.json
|
103
123
|
- resqutils.gemspec
|
104
124
|
- spec/resque_matchers_spec.rb
|
105
125
|
- spec/spec_helper.rb
|
@@ -126,8 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
126
146
|
- !ruby/object:Gem::Version
|
127
147
|
version: '0'
|
128
148
|
requirements: []
|
129
|
-
|
130
|
-
rubygems_version: 2.5.1
|
149
|
+
rubygems_version: 3.1.2
|
131
150
|
signing_key:
|
132
151
|
specification_version: 4
|
133
152
|
summary: Utilities for using Resque in a Rails app
|
data/Gemfile.lock
DELETED
@@ -1,59 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
resqutils (1.2.1)
|
5
|
-
resque
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://www.rubygems.org/
|
9
|
-
specs:
|
10
|
-
diff-lcs (1.2.5)
|
11
|
-
fakeredis (0.5.0)
|
12
|
-
redis (~> 3.0)
|
13
|
-
mono_logger (1.1.0)
|
14
|
-
multi_json (1.12.1)
|
15
|
-
rack (1.6.4)
|
16
|
-
rack-protection (1.5.3)
|
17
|
-
rack
|
18
|
-
rake (10.5.0)
|
19
|
-
redis (3.2.2)
|
20
|
-
redis-namespace (1.5.2)
|
21
|
-
redis (~> 3.0, >= 3.0.4)
|
22
|
-
resque (1.26.0)
|
23
|
-
mono_logger (~> 1.0)
|
24
|
-
multi_json (~> 1.0)
|
25
|
-
redis-namespace (~> 1.3)
|
26
|
-
sinatra (>= 0.9.2)
|
27
|
-
vegas (~> 0.1.2)
|
28
|
-
rspec (3.4.0)
|
29
|
-
rspec-core (~> 3.4.0)
|
30
|
-
rspec-expectations (~> 3.4.0)
|
31
|
-
rspec-mocks (~> 3.4.0)
|
32
|
-
rspec-core (3.4.3)
|
33
|
-
rspec-support (~> 3.4.0)
|
34
|
-
rspec-expectations (3.4.0)
|
35
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
36
|
-
rspec-support (~> 3.4.0)
|
37
|
-
rspec-mocks (3.4.1)
|
38
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
39
|
-
rspec-support (~> 3.4.0)
|
40
|
-
rspec-support (3.4.1)
|
41
|
-
sinatra (1.4.7)
|
42
|
-
rack (~> 1.5)
|
43
|
-
rack-protection (~> 1.4)
|
44
|
-
tilt (>= 1.3, < 3)
|
45
|
-
tilt (2.0.5)
|
46
|
-
vegas (0.1.11)
|
47
|
-
rack (>= 1.0.0)
|
48
|
-
|
49
|
-
PLATFORMS
|
50
|
-
ruby
|
51
|
-
|
52
|
-
DEPENDENCIES
|
53
|
-
fakeredis
|
54
|
-
rake
|
55
|
-
resqutils!
|
56
|
-
rspec
|
57
|
-
|
58
|
-
BUNDLED WITH
|
59
|
-
1.12.5
|