services 7.0.2 → 7.0.3

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: b065533d21d6ca4c70a84c9954013b30fe1117029815136e7255187374e90491
4
- data.tar.gz: 94660090d080809e9b86e0ffaab444344797849fd6223395121590fa806bea58
3
+ metadata.gz: 061cb612feb2b4f1da9bb7117fac09c029eff49c7372db3e8a8d7eacf85de384
4
+ data.tar.gz: 1d32e9e17ebe5c27413d1aad1ec243ecd7285e91e043969592964b7f002e1c7a
5
5
  SHA512:
6
- metadata.gz: 0e66ba451286220dfe6452de7c51d6580174f7c7e8b46201f9b69e8999baaf7429b83e289d5a9d37b14f2034a2cc91a4ec0be7009e78a18836dee9206985d12e
7
- data.tar.gz: d83b44042182db49481a619f3546b06cd298c091daf4fc9f3c6a27a5e2da39b516441365dab12b5a8d4b980b0fc576456a24e6e38eb5b1a97f8372f8e2a53cff
6
+ metadata.gz: 66093db9f4b3199596f016c99a82f735e8576daeff3d6fc73dcaf4100b08fceace291e8eb9bf0c7f4a6a1f076aed62aa0bce81e31616914c1160056f6bd04af6
7
+ data.tar.gz: 6409121bf266995e1ad13c124f487ca5f5312dbbde47785bea5c088f6f6986a8b15ea5bffe40fa47d0bde7a12101df8387a53a4681f0d22cea48ce5a6c4d420f
data/README.md CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/services.png)](http://badge.fury.io/rb/services)
4
4
  [![Build Status](https://secure.travis-ci.org/krautcomputing/services.png)](http://travis-ci.org/krautcomputing/services)
5
- [![Dependency Status](https://gemnasium.com/krautcomputing/services.png)](https://gemnasium.com/krautcomputing/services)
6
5
  [![Code Climate](https://codeclimate.com/github/krautcomputing/services.png)](https://codeclimate.com/github/krautcomputing/services)
7
6
 
8
7
  Services is a collection of modules and base classes that let you simply add a service layer to your Rails app.
@@ -250,3 +249,7 @@ Or install it yourself as:
250
249
  ## Testing
251
250
 
252
251
  You need Redis to run tests, check out the [Guardfile](Guardfile) which loads it automatically when you start Guard!
252
+
253
+ ## Support
254
+
255
+ If you like this project, consider [buying me a coffee](https://www.buymeacoffee.com/279lcDtbF)! :)
@@ -38,7 +38,8 @@ module Services
38
38
  # Since the arguments to `perform` are serialized to the database before Sidekiq picks them up,
39
39
  # symbol keys are converted to strings.
40
40
  call_method = method(:call)
41
- while call_method.owner != self.class
41
+ # Find the first class that inherits from `Services::Base`.
42
+ while !(call_method.owner < Services::Base)
42
43
  call_method = call_method.super_method
43
44
  end
44
45
  if call_method.parameters.map(&:first).grep(/\Akey/).any? && args.last.is_a?(Hash)
@@ -1,3 +1,3 @@
1
1
  module Services
2
- VERSION = '7.0.2'.freeze
2
+ VERSION = '7.0.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: services
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.2
4
+ version: 7.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manuel Meurer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-29 00:00:00.000000000 Z
11
+ date: 2019-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -246,8 +246,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
246
246
  - !ruby/object:Gem::Version
247
247
  version: '0'
248
248
  requirements: []
249
- rubyforge_project:
250
- rubygems_version: 2.7.6
249
+ rubygems_version: 3.0.2
251
250
  signing_key:
252
251
  specification_version: 4
253
252
  summary: A nifty service layer for your Rails app