resque-unique_by_arity 1.0.11 → 1.0.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 41b95f0fb6ea9a5bb7f107893efb476b5bc533c1a76ec9d96a523589dbcdb89e
4
- data.tar.gz: d68bff5ca6ba72c92a009a53334be806edf0fad08fab8d095a01f26a0eda8a6d
3
+ metadata.gz: f5928902e215fcf41c92705e36c57cc6a56e6d41aa200a0877ceb573bab8831d
4
+ data.tar.gz: 5bf582a91c934187ef71a192dbcfa6bfb4374c2d6bd735cdaf5c9e467efebdcd
5
5
  SHA512:
6
- metadata.gz: f3f01c31058533db7534f51cc8b0c55f892b9c9ab3e45ce777eb3e327ff2ca6714b0237eab0bc1ff0d106524ea5e453ee323a5ccc607d11c148531ff9db79efa
7
- data.tar.gz: ad96c870c8d3c363553d402cd76c6791182b33623bd82724d86cb498724fe76e689704eeec38685bcdbf2cd5b1b84f4d4335331c91eab6f2459d0f4b16b3b823
6
+ metadata.gz: 154e126d3b23d5646c2fcee110bf184cec637813cd6fcf5ab5f6f06dd89f9f58353c3b06413ccdc217ad049954638785418d44b96a8fc67d751482629179dfb6
7
+ data.tar.gz: adae368b0a19f9d5ea756bbad1bc5384376515bcc083ce140a9e884ff376c66e8d6073df0a0677b1d07de2c1805220f6ea6293a7c6e1fb2f9ba3c149f0020355
data/.travis.yml CHANGED
@@ -1,6 +1,33 @@
1
- sudo: false
1
+ env:
2
+ global:
3
+ - JRUBY_OPTS="-Xcli.debug=true --debug"
4
+ - CC_TEST_REPORTER_ID=9e91e026a67407007dc44af5e96aa6e06446555bdfd8ef626f473cc1fd48e918
5
+
6
+ before_script:
7
+ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
8
+ - chmod +x ./cc-test-reporter
9
+ - ./cc-test-reporter before-build
10
+
11
+ script:
12
+ - bundle exec rspec
13
+
14
+ after_script:
15
+ - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
16
+
17
+ before_install:
18
+ - gem update --system
19
+ - gem install bundler
20
+
21
+ install:
22
+ - bundle install
23
+
24
+ bundler_args: --no-deployment --jobs 3 --retry 3
25
+
26
+ cache: bundler
27
+
2
28
  language: ruby
29
+ sudo: false
3
30
  rvm:
4
- - 2.4.3
5
- - 2.5.0
6
- before_install: gem install bundler
31
+ - 2.3.7
32
+ - 2.4.4
33
+ - 2.5.1
data/Gemfile CHANGED
@@ -1,4 +1,15 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ group :test do
6
+ gem 'rubocop', '~> 0.59.0'
7
+ gem 'rubocop-rspec', '~> 1.24.0'
8
+ gem 'byebug', '~> 10', platform: :mri, require: false
9
+ gem 'pry', '~> 0', platform: :mri, require: false
10
+ gem 'pry-byebug', '~> 3', platform: :mri, require: false
11
+ gem 'simplecov', '~> 0', require: false
12
+ end
13
+
3
14
  # Specify your gem's dependencies in resque-unique_by_arity.gemspec
4
15
  gemspec
data/README.md CHANGED
@@ -1,11 +1,30 @@
1
1
  # Resque::UniqueByArity
2
2
 
3
+ Because some jobs have parameters that you do not want to consider for determination of uniqueness.
4
+
3
5
  NOTE:
4
6
 
5
- Requires `resque_solo` gem, and `resque-unique_at_runtime` gem; the latter is a fork of `resque-lonely_job`.
7
+ Requires `resque_solo` gem, and `resque-unique_by_arity` gem; the latter is a fork of `resque-lonely_job`.
6
8
  Why? `resque-lonely_job` and `resque_solo` can't be used together, because their `redis_key` methods conflict.
7
9
 
8
- Also - you must configure this gem *after* you define the perform class method in your job or the arity validation will not work properly.
10
+ | Project | Resque::UniqueByArity |
11
+ |------------------------ | ----------------------- |
12
+ | gem name | [resque-unique_by_arity](https://rubygems.org/gems/resque-unique_by_arity) |
13
+ | license | [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT) |
14
+ | download rank | [![Downloads Today](https://img.shields.io/gem/rd/resque-unique_by_arity.svg)](https://github.com/pboling/resque-unique_by_arity) |
15
+ | version | [![Version](https://img.shields.io/gem/v/resque-unique_by_arity.svg)](https://rubygems.org/gems/resque-unique_by_arity) |
16
+ | dependencies | [![Depfu](https://badges.depfu.com/badges/25c6e1e4c671926e9adea898f2df9a47/count.svg)](https://depfu.com/github/pboling/resque-unique_by_arity?project_id=2729) |
17
+ | continuous integration | [![Build Status](https://travis-ci.org/pboling/resque-unique_by_arity.svg?branch=master)](https://travis-ci.org/pboling/resque-unique_by_arity) |
18
+ | test coverage | [![Test Coverage](https://api.codeclimate.com/v1/badges/7520df3968eb146c8894/test_coverage)](https://codeclimate.com/github/pboling/resque-unique_by_arity/test_coverage) |
19
+ | maintainability | [![Maintainability](https://api.codeclimate.com/v1/badges/7520df3968eb146c8894/maintainability)](https://codeclimate.com/github/pboling/resque-unique_by_arity/maintainability) |
20
+ | code triage | [![Open Source Helpers](https://www.codetriage.com/pboling/resque-unique_by_arity/badges/users.svg)](https://www.codetriage.com/pboling/resque-unique_by_arity) |
21
+ | homepage | [on Github.com][homepage], [on Railsbling.com][blogpage] |
22
+ | documentation | [on RDoc.info][documentation] |
23
+ | Spread ~♡ⓛⓞⓥⓔ♡~ | [🌍 🌎 🌏](https://about.me/peter.boling), [🍚](https://www.crowdrise.com/helprefugeeswithhopefortomorrowliberia/fundraiser/peterboling), [➕](https://plus.google.com/+PeterBoling/posts), [👼](https://angel.co/peter-boling), [🐛](https://www.topcoder.com/members/pboling/), [:shipit:](http://coderwall.com/pboling), [![Tweet Peter](https://img.shields.io/twitter/follow/galtzo.svg?style=social&label=Follow)](http://twitter.com/galtzo) |
24
+
25
+ ## Important Note
26
+
27
+ You must configure this gem *after* you define the perform class method in your job or the arity validation will not work properly.
9
28
 
10
29
  Example:
11
30
 
@@ -273,5 +292,48 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
273
292
 
274
293
  ## Contributing
275
294
 
276
- Bug reports and pull requests are welcome on GitHub at https://github.com/pboling/resque-unique_by_arity.
295
+ Bug reports and pull requests are welcome on GitHub at https://github.com/pboling/resque-unique_by_arity. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
296
+
297
+ 1. Fork it
298
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
299
+ 3. Commit your changes (`git commit -am 'Added some feature'`)
300
+ 4. Push to the branch (`git push origin my-new-feature`)
301
+ 5. Create new Pull Request
302
+
303
+ ## Code of Conduct
304
+
305
+ Everyone interacting in the Resque::UniqueByArity project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/pboling/resque-unique_by_arity/blob/master/CODE_OF_CONDUCT.md).
306
+
307
+ ## Versioning
308
+
309
+ This library aims to adhere to [Semantic Versioning 2.0.0][semver].
310
+ Violations of this scheme should be reported as bugs. Specifically,
311
+ if a minor or patch version is released that breaks backward
312
+ compatibility, a new version should be immediately released that
313
+ restores compatibility. Breaking changes to the public API will
314
+ only be introduced with new major versions.
315
+
316
+ As a result of this policy, you can (and should) specify a
317
+ dependency on this gem using the [Pessimistic Version Constraint][pvc] with two digits of precision.
318
+
319
+ For example:
320
+
321
+ ```ruby
322
+ spec.add_dependency 'resque-unique_by_arity', '~> 0.0'
323
+ ```
324
+
325
+
326
+ ## License
327
+
328
+ * Copyright (c) 2017 - 2018 [Peter H. Boling][peterboling] of [Rails Bling][railsbling]
329
+
330
+ [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
277
331
 
332
+ [license]: LICENSE
333
+ [semver]: http://semver.org/
334
+ [pvc]: http://guides.rubygems.org/patterns/#pessimistic-version-constraint
335
+ [railsbling]: http://www.railsbling.com
336
+ [peterboling]: http://www.peterboling.com
337
+ [documentation]: http://rdoc.info/github/pboling/resque-unique_by_arity/frames
338
+ [homepage]: https://github.com/pboling/resque-unique_by_arity/
339
+ [blogpage]: http://www.railsbling.com/tags/resque-unique_by_arity/
@@ -1,5 +1,5 @@
1
1
  module Resque
2
2
  module UniqueByArity
3
- VERSION = "1.0.11"
3
+ VERSION = "1.0.12"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-unique_by_arity
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.11
4
+ version: 1.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-04-02 00:00:00.000000000 Z
11
+ date: 2018-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: resque-unique_at_runtime
@@ -137,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
137
137
  version: '0'
138
138
  requirements: []
139
139
  rubyforge_project:
140
- rubygems_version: 2.7.6
140
+ rubygems_version: 2.7.7
141
141
  signing_key:
142
142
  specification_version: 4
143
143
  summary: Magic hacks which allow integration of resque_solo and resque-unique_at_runtime_simultaneously