govuk_sidekiq 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -0
- data/lib/govuk_sidekiq/testing.rb +5 -0
- data/lib/govuk_sidekiq/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb12b700a2668dbfd07773e13a3420eb2fee4f61
|
4
|
+
data.tar.gz: 0d91b6780abdeb2dfbc56121556d59ca471bf115
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c89561d77443b2412e86a5099067d264243baa8e81bcd7828ccd3f99b4020e251a04df6a63bc03597e6e6db67cc5864e1cce92eea8e573f50579a14817d01f6d
|
7
|
+
data.tar.gz: 45fb1d788beca7b1f619a85f99bed833a7cb868f6f0644b60a612b65e7694aba2f4c6749bad94cf9dff7a89dbbd608e19043ee9b652965feb8467b2e1fcb4783
|
data/README.md
CHANGED
@@ -3,6 +3,22 @@
|
|
3
3
|
Provides a unified set of configurations and behaviours when using Sidekiq
|
4
4
|
in GOV.UK applications.
|
5
5
|
|
6
|
+
## Usage
|
7
|
+
|
8
|
+
### Testing
|
9
|
+
|
10
|
+
See [Sidekiq testing documentation](https://github.com/mperham/sidekiq/wiki/Testing)
|
11
|
+
on how to test Sidekiq workers.
|
12
|
+
|
13
|
+
|
14
|
+
Because of the way we use middleware, you may see errors that indicate that
|
15
|
+
your job is called with the wrong number invalid arguments. To set up testing
|
16
|
+
correctly, replace `require 'sidekiq/testing'` with:
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'govuk_sidekiq/testing'
|
20
|
+
```
|
21
|
+
|
6
22
|
## Technical documentation
|
7
23
|
|
8
24
|
When added to a Rails application, this gem uses a railtie to inject an
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_sidekiq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elliot Crosby-McCullough
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sidekiq
|
@@ -163,6 +163,7 @@ files:
|
|
163
163
|
- lib/govuk_sidekiq/api_headers.rb
|
164
164
|
- lib/govuk_sidekiq/railtie.rb
|
165
165
|
- lib/govuk_sidekiq/sidekiq_initializer.rb
|
166
|
+
- lib/govuk_sidekiq/testing.rb
|
166
167
|
- lib/govuk_sidekiq/version.rb
|
167
168
|
homepage: http://github.com/alphagov/govuk_sidekiq
|
168
169
|
licenses:
|
@@ -176,7 +177,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
176
177
|
requirements:
|
177
178
|
- - ">="
|
178
179
|
- !ruby/object:Gem::Version
|
179
|
-
version: '
|
180
|
+
version: '2.2'
|
180
181
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
181
182
|
requirements:
|
182
183
|
- - ">="
|