service_record 1.4.1 → 1.4.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: 66a63b54af431cc368206110f80b04419130698a73a412c0e803d0db5a543ee5
4
- data.tar.gz: 19553c5c121484b683d076ed2937f6fb97f1e18cdbb6d15e8ce0482be59b0bed
3
+ metadata.gz: 1e3d9b8524c630d0705f40faa6c00ba54ab1abc2c5f45a244d0042538f0f5401
4
+ data.tar.gz: f377e41731968202feeb8637ccb10ce2c0047ee2b9a7889c98d47f0c0b1a9226
5
5
  SHA512:
6
- metadata.gz: 6c7b393c464c97bc71804d69a470d9e3b3a592b6cb68d51f13335075076e76804f68f45f0012846c5c651a56097b89de0924c0d702fddb0377c553c9a901dcce
7
- data.tar.gz: 4b465a4ebe6db175aebb6ed12900a2468367f82ca4696e7d4daf1c39bf31aa19a63e3394c924da4e6485aa39b519a262947767fec7f2a45361d0c6ac663048c6
6
+ metadata.gz: d3e693ac83d7d53d41fdc7c6bdf5df6cc545663d75e6fd575bdc9fc03dcf8934fd574b617ec84ff7960f46d96e33c3fd2744e14d5f902d114ebb5411df6967e7
7
+ data.tar.gz: 94671e35c3136ab172c05b304d395847c9d5da30715fb6a5a0c974b513ed33787eff869ad7f0aa9963d4011a4cda9e95b24efbfad5587cb316109c4ec2c9c395
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.3'
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.3
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-08-17 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.11
201
201
  signing_key:
202
202
  specification_version: 4
203
203
  summary: Service objects for rails