services 7.0.2 → 7.0.3
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 +4 -4
- data/README.md +4 -1
- data/lib/services/asyncable.rb +2 -1
- data/lib/services/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 061cb612feb2b4f1da9bb7117fac09c029eff49c7372db3e8a8d7eacf85de384
|
|
4
|
+
data.tar.gz: 1d32e9e17ebe5c27413d1aad1ec243ecd7285e91e043969592964b7f002e1c7a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 66093db9f4b3199596f016c99a82f735e8576daeff3d6fc73dcaf4100b08fceace291e8eb9bf0c7f4a6a1f076aed62aa0bce81e31616914c1160056f6bd04af6
|
|
7
|
+
data.tar.gz: 6409121bf266995e1ad13c124f487ca5f5312dbbde47785bea5c088f6f6986a8b15ea5bffe40fa47d0bde7a12101df8387a53a4681f0d22cea48ce5a6c4d420f
|
data/README.md
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
[](http://badge.fury.io/rb/services)
|
|
4
4
|
[](http://travis-ci.org/krautcomputing/services)
|
|
5
|
-
[](https://gemnasium.com/krautcomputing/services)
|
|
6
5
|
[](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)! :)
|
data/lib/services/asyncable.rb
CHANGED
|
@@ -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
|
-
|
|
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)
|
data/lib/services/version.rb
CHANGED
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.
|
|
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:
|
|
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
|
-
|
|
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
|