service_record 1.4.1 → 1.4.2

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: 66a63b54af431cc368206110f80b04419130698a73a412c0e803d0db5a543ee5
4
- data.tar.gz: 19553c5c121484b683d076ed2937f6fb97f1e18cdbb6d15e8ce0482be59b0bed
3
+ metadata.gz: f992dc522f3753b3ac315494c4f62201a3fe132c5b0ae0925c25a4d3c67751a4
4
+ data.tar.gz: ce53a6ca0424f9a2923edcfbd4d283ab2aa7e191a501f6a3fee546caf8fddee3
5
5
  SHA512:
6
- metadata.gz: 6c7b393c464c97bc71804d69a470d9e3b3a592b6cb68d51f13335075076e76804f68f45f0012846c5c651a56097b89de0924c0d702fddb0377c553c9a901dcce
7
- data.tar.gz: 4b465a4ebe6db175aebb6ed12900a2468367f82ca4696e7d4daf1c39bf31aa19a63e3394c924da4e6485aa39b519a262947767fec7f2a45361d0c6ac663048c6
6
+ metadata.gz: c16110b86a576dbc16401aa2e50f5b762cae36a9ae29725f52cb2e5edd9be882c1627b19bbf0e6d688c619c711f1e797f439c0a9e681cc53166c8e2adbaa8677
7
+ data.tar.gz: 010c85ab785258813a4c150852d96e3e156de34cc64b4e0963b135d33e0ea81764c8af1552f0de0ec2af6c3d3b705ae2d17a49603fc26c1f9abefeff80d39761
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # ServiceRecord
2
2
 
3
3
  [![Gem](https://img.shields.io/gem/v/service_record)](https://rubygems.org/gems/service_record)
4
- [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/uxxman/service_record/CI)](https://github.com/uxxman/service_record/actions?query=workflow%3ACI)
4
+ [![GitHub Workflow Status](https://github.com/uxxman/service_record/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/uxxman/service_record/actions/workflows/ci.yml)
5
5
  [![Code Climate coverage](https://img.shields.io/codeclimate/coverage/uxxman/service_record)](https://codeclimate.com/github/uxxman/service_record)
6
6
  [![Code Climate maintainability](https://img.shields.io/codeclimate/maintainability/uxxman/service_record)](https://codeclimate.com/github/uxxman/service_record)
7
7
 
@@ -12,16 +12,16 @@ module ServiceRecord
12
12
  end
13
13
 
14
14
  class_methods do
15
- def before_perform(*filters, &blk)
16
- set_callback(:perform, :before, *filters, &blk)
15
+ def before_perform(...)
16
+ set_callback(:perform, :before, ...)
17
17
  end
18
18
 
19
- def after_perform(*filters, &blk)
20
- set_callback(:perform, :after, *filters, &blk)
19
+ def after_perform(...)
20
+ set_callback(:perform, :after, ...)
21
21
  end
22
22
 
23
- def around_perform(*filters, &blk)
24
- set_callback(:perform, :around, *filters, &blk)
23
+ def around_perform(...)
24
+ set_callback(:perform, :around, ...)
25
25
  end
26
26
  end
27
27
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ServiceRecord
4
- VERSION = '1.4.1'
4
+ VERSION = '1.4.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: service_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Muhammad Usman
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-07-15 00:00:00.000000000 Z
11
+ date: 2024-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -197,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
197
197
  - !ruby/object:Gem::Version
198
198
  version: '0'
199
199
  requirements: []
200
- rubygems_version: 3.4.10
200
+ rubygems_version: 3.5.3
201
201
  signing_key:
202
202
  specification_version: 4
203
203
  summary: Service objects for rails